Re: mem_node memory usage in 2.x

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 22 Apr 2008 17:39:08 +0200

tis 2008-04-22 klockan 19:35 +0800 skrev Adrian Chadd:
> yeah, thats pretty invalid. :) I wonder if your method for returning
> RSS is valid.

RSS is Resident Set Size, the number of in-core memory pages currently
occupied by the process. Not the process size, or even amount of used
memory for this process.

Swapping reduces RSS as pages swapped out is no longer resident in
memory.

Virtual memory allocations/reservations don't show up in RSS as those
just exists "in void".

Shared objects gets accounted for all their in-core pages, even if not
touched by this specific process or shared by a zillion other processes.

Regards
Henrik
Received on Tue Apr 22 2008 - 15:39:39 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT