Re: .Help with measuring working-set
From: Rik van Riel <hidden>
Date: 2002-02-06 12:25:34
On Wed, 6 Feb 2002, Andi Kleen wrote:
On Mon, Feb 04, 2002 at 06:21:00PM -0800, Suresh Duddi wrote:
quoted
http://www.mozilla.org/projects/footprint/footprint-guide.html One thing we are struggling with is measurement of working set of app during a time interval.
quoted
Any pointers ? Are the metrics the best ones to measure and optimize ?I guess you would prefer to know which pages are mapped at a given point. This would require some custom patching to add a trace facility for that. Shouldn't be that hard to implement, but I don't know of a ready patch.
I think Mike Shaver (you know him) has made a kernel patch
to measure exacty this, also for Mozilla development.
You should be able to just use his patch, if he still has
it.
regards,
Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document
http://www.surriel.com/ http://distro.conectiva.com/
--
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/