linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Suresh Duddi <dp@netscape.com>
Cc: linux-mm@kvack.org
Subject: Re: .Help with measuring working-set
Date: Wed, 6 Feb 2002 10:03:44 +0100	[thread overview]
Message-ID: <20020206100344.A28700@wotan.suse.de> (raw)
In-Reply-To: <3C5F418C.6030808@netscape.com>

On Mon, Feb 04, 2002 at 06:21:00PM -0800, Suresh Duddi wrote:
> hi, I am developer of Mozilla (open source web browser from mozilla.org) 
> We are trying to make footprint improvements to the browser and have 
> settled on minimizing working set and max-vm-usage as our goals.
> 
> 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.

The only metric the kernel supports for the working set currently is a 
single RSS integer telling you have many pages are currently mapped into
a process. There may be more pages from your process unmapped in RAM, 
but being unmapped is usually the first step to swap the page out or 
throw it away. 

> 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.

-Andi
--
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/

  reply	other threads:[~2002-02-06  9:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-05  2:21 Suresh Duddi
2002-02-06  9:03 ` Andi Kleen [this message]
2002-02-06  9:58   ` bert hubert
2002-02-06 12:25   ` Rik van Riel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020206100344.A28700@wotan.suse.de \
    --to=ak@suse.de \
    --cc=dp@netscape.com \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox