[RFC][-mm] [2/2] Simple stats for memory resource controller

Balbir Singh balbir at linux.vnet.ibm.com
Wed Mar 26 11:53:36 PDT 2008


Paul Menage wrote:
> On Wed, Mar 26, 2008 at 11:18 AM, Balaji Rao <balajirrao at gmail.com> wrote:
>>         [MEM_CGROUP_STAT_RSS] = { "rss", PAGE_SIZE, },
>>  +       [MEM_CGROUP_STAT_PGIN_COUNT] = {"page_in_count", 1, },
>>  +       [MEM_CGROUP_STAT_PGOUT_COUNT] = {"page_out_count", 1, },
>>   };
>>
> 
> Should these be called "pgpgin" and "pgpgout" for consistency with /proc/vmstat?
> 
> Paul

Yes, that is a good name. We also want to instantaneous metrics like
page_in_count per second and page_out_count per second to help the administrator
monitor what is going on within the tasks in the cgroup w.r.t. memory.


-- 
	Warm Regards,
	Balbir Singh
	Linux Technology Center
	IBM, ISTL


More information about the Containers mailing list