From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 6 Nov 2004 02:53:14 -0800 From: William Lee Irwin III Subject: Re: removing mm->rss and mm->anon_rss from kernel? Message-ID: <20041106105314.GD2890@holomorphy.com> References: <418AD329.3000609@yahoo.com.au> <418AE0F0.5050908@yahoo.com.au> <418AE9BB.1000602@yahoo.com.au> <1099622957.29587.101.camel@gaston> <418C55A7.9030100@yahoo.com.au> <418CA535.1030703@yahoo.com.au> <20041106103103.GC2890@holomorphy.com> <418CAA44.3090007@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <418CAA44.3090007@yahoo.com.au> Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Christoph Lameter , Benjamin Herrenschmidt , Hugh Dickins , linux-mm@kvack.org, linux-ia64@kernel.vger.org List-ID: William Lee Irwin III wrote: >> Forget it. Veto. >> Normal-sized systems need to monitor their workloads without crippling >> them. Do the per-cpu splitting of the counters etc. instead, or other >> proper incremental algorithms. Catastrophic /proc/ overhead won't fly. On Sat, Nov 06, 2004 at 09:41:08PM +1100, Nick Piggin wrote: > Out of interest, what sort of systems and workloads are we talking > about here? Normal ones where sysadmins e.g. monitor for students with runaway processes, or DBA's gauge client capacity to estimate redundancy needs, or Joe Blow wants to see what's eating the cpu. <= 4 cpus most likely. On Sat, Nov 06, 2004 at 09:41:08PM +1100, Nick Piggin wrote: > Also, can you suggest how one would do the per-cpu splitting or > other proper incremental algorithm? I am not aware of any way > except per-cpu magazines which I presume also won't fly due to > being inaccurate and hugely bloating the mm_struct on big machines. Per-cpu magazines look okay to me. Failing that, per groups of cpus. Failing that, hash. And so on. This is all boilerplate material. Split counters are not rocket science. No calc of variations, no time- dependent densities or moments of inertia, etc. -- wli -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org