Re: per cpu time statistics

From: Andrew Morton (akpm@digeo.com)
Date: Wed Dec 04 2002 - 12:47:26 EST


Erich Focht wrote:
>
> Andrew, Bill,
>
> 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). Reading
> the cset comments I understood that the motivation was to save
> 8*NR_CPUS bytes of memory in the task_struct. Maybe that was really an
> issue at the time when Bill suggested the patch (July), but in the
> mean time we got configurable NR_CPUS (October) and that small amount
> of additional memory really doesn't matter. Most people running SMP
> have 2 CPUs.

It's mainly the big ia32 boxes which a) have a lot of CPUs and
b) have a lot of memory and c) run a lot of tasks. They're
gasping for normal-zone memory.

I'm half-inclined to just revert the whole thing and put the stats
back, rather than adding yet another obscure config option. But
your patch is certainly very tidy...
-
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/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:19 EST