Re: Reading /proc/stat is slooow

From: Andreas Schwab <schwab_at_suse.de>
Date: 2005-12-06 10:36:20
"Luck, Tony" <tony.luck@intel.com> writes:

> How slow is sloow?

About 20 miliseconds, ten times of what I see with 2.6.13.  It appears to
be that the generation of /proc/stat doesn't scale well any more with the
number of configured CPUs (CONFIG_NR_CPUS is 512 here).  Processes that
monitor /proc/stat add a significant amount of load to the system.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Dec 06 10:36:54 2005

This archive was generated by hypermail 2.1.8 : 2005-12-06 10:37:01 EST