Re: removing mm->rss and mm->anon_rss from kernel?

From: William Lee Irwin III <>
Date: 2004-11-07 07:05:09
On Sat, Nov 06, 2004 at 08:19:55AM -0800, Christoph Lameter wrote:
> Yes but I think this is preferable because of the generally faster
> operations of the vm without having to continually update statistics. And
> these statistics seem to be quite difficult to properly generate (why else
> introduce anon_rss). Without the counters other optimizations are easier
> to do.
> Doing a ps is not a frequent event. Of course this may cause
> significant load if one does regularly access /proc entities then. Are
> there any threads from the past with some numbers of what the impact was
> when we calculated rss via proc?

It was catastrophic. Failure of monitoring tools to make forward
progress, long-lived delays of "victim" processes whose locks were held
by /proc/ observers, and the like.

On Sat, Nov 06, 2004 at 08:19:55AM -0800, Christoph Lameter wrote:
> That has its own complications and would require lots of memory with
> systems that already have up to 10k cpus.

Split counters are a solved problem, even for the 10K cpus case.

-- wli
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Sat Nov 6 15:08:39 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:32 EST