[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070817021346.GH30556@waste.org>
Date: Thu, 16 Aug 2007 21:13:47 -0500
From: Matt Mackall <mpm@...enic.com>
To: Fengguang Wu <wfg@...l.ustc.edu.cn>
Cc: Andrew Morton <akpm@...l.org>,
John Berthels <jjberthels@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/4] maps: PSS(proportional set size) accounting in smaps
On Fri, Aug 17, 2007 at 06:05:17AM +0800, Fengguang Wu wrote:
> The "proportional set size" (PSS) of a process is the count of pages it has in
> memory, where each page is divided by the number of processes sharing it. So if
> a process has 1000 pages all to itself, and 1000 shared with one other process,
> its PSS will be 1500.
> - lwn.net: "ELC: How much memory are applications really using?"
>
> The PSS proposed by Matt Mackall is a very nice metic for measuring an process's
> memory footprint. So collect and export it via /proc/<pid>/smaps.
>
> Matt Mackall's pagemap/kpagemap and John Berthels's exmap can also do the job.
> They are comprehensive tools. But for PSS, let's do it in the simple way.
It's a bit odd that you attribute the description of PSS to LWN rather
than me. But anyway:
Acked-by: Matt Mackall <mpm@...enic.com>
--
Mathematics is the supreme nostalgia of our time.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists