On Mon, 8 Feb 1999, Matthew Hixson wrote:

> Just was wondering why xosview is showing that at least one cpu blips up
> to about 10% cpu usage about every second?  [...]

it's si_meminfo(), it's a bit inefficient when working on gobs of RAM. We
scan the whole memory map for usage statistics, instead of accumulating
them, this speeds up the common case and slows down the rare case.
si_meminfo() is especially slow since we scan through a large array,
loading/dropping cachelines. 

-- mingo

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to