Re: [Lse-tech] Re: per cpu time statistics

William Lee Irwin III (wli@holomorphy.com)
Fri, 6 Dec 2002 09:55:57 -0800


On Wed, 2002-12-04 at 04:43, Erich Focht wrote:
>> I had to learn from Michael Hohnbaum that you've eliminated the per
>> CPU time statistics in 2.5.50 (akpm changeset from Nov. 26).
> ...
>> For those who miss this feature I'm attaching a patch doing what wli
>> suggested. The config option is CONFIG_CPUS_STAT and can be found in
>> the "Kernel Hacking" menu, as wli suggested. Just didn't like
>> DEBUG_SCHED, we want to monitor the statistics and this is not
>> necessarily related to bugs in the scheduler. Also added as last line
>> in /proc/pid/cpu the current CPU of the task. It's often needed and
>> /proc/pid/stat is much too cryptic.

On Fri, Dec 06, 2002 at 09:31:43AM -0800, Michael Hohnbaum wrote:
> I use a set of tests provided by Erich that use the cpu information from
> the task. This information is crucial for understanding how processes
> are dispatched across CPUs (and nodes on NUMA boxes). I've applied
> Erich's patch and it restores this data, making his tests useful. Could
> this patch be considered for inclusion? Please.

We've already come to a resolution on this one (going with Erich's patch),
or at least I got that impression.

Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/