lkml.org 
[lkml]   [2004]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: per-process shared information
On Fri, Oct 15, 2004 at 11:30:25AM -0700, William Lee Irwin III wrote:
>> I just checked in with some Oracle people and the primary concern
>> is splitting up RSS into shared and private. Given either shared
>> or private the other is calculable.

On Fri, Oct 15, 2004 at 08:40:09PM +0200, Andrea Arcangeli wrote:
> can you define private a bit more? Is private the page_count == 1 like
> 2.4? Or is "private" == anonymous? that's the only question.
> In Hugh's patch private == "anonymous". With 2.4 private == "page_count
> == 1" (which is a subset of anonymous).

Private should be "anonymous" as far as I can tell. What's actually
going on is that they're trying to estimate per-process user memory
footprints so that the amount of client load that should be distributed
to a given box may be estimated from that. They at least used to
believe (I've since debunked this) that 2.4.x reported this information.
Their task (and hence our reporting) is not providing the complete
information to determine per-process memory footprints for general
workloads, rather it's known up-front that no fork()-based COW sharing
is going on in Oracle's case, so in this case, "anonymous" very happily
corresponds to "process-private". In fact, the /proc/ changes to report
threads only under the directory hierarchy of some distinguished thread
assists in this estimation effort.


-- wli
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.095 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site