Re: Reading /proc/stat is slooow

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2005-12-06 11:19:22
On Tue, Dec 06, 2005 at 12:36:20AM +0100, Andreas Schwab wrote:
> 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.

I just tried CONFIG_NR_CPUS=1024 ... and I don't see anything
like a 20ms delay on 2.6.15-rc5.  How many actual cpus on your
machine (I only have two on the machine where I tested)?

-Tony
-
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 11:20:04 2005

This archive was generated by hypermail 2.1.8 : 2005-12-06 11:20:11 EST