[PATCH 1/4] maps: PSS(proportional set size) accounting in smaps

2007-08-19 Thread Fengguang Wu
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 mu

Re: [PATCH 1/4] maps: PSS(proportional set size) accounting in smaps

2007-08-16 Thread Fengguang Wu
On Thu, Aug 16, 2007 at 09:13:47PM -0500, Matt Mackall wrote: > 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

Re: [PATCH 1/4] maps: PSS(proportional set size) accounting in smaps

2007-08-16 Thread Matt Mackall
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 othe

[PATCH 1/4] maps: PSS(proportional set size) accounting in smaps

2007-08-16 Thread Fengguang Wu
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 mu