[Devel] Re: [PATCH v4 00/11] memcg: per cgroup dirty page accounting

2010-11-02 Thread Ciju Rajan K
dirty.sh true : dd 55.4MB/s stddev 0.958%, tar 3.8s stddev 0.250% # tar in root_cgroup, dd in cgroup Reviewed-by: Ciju Rajan K c...@linux.vnet.ibm.com Tested-by: Ciju Rajan K c...@linux.vnet.ibm.com The cgroup reserved dirty memory resources for the rest of the system processes (tar

[Devel] Re: [PATCH v4 03/11] memcg: create extensible page stat update routines

2010-11-02 Thread Ciju Rajan K
Greg Thelen wrote: Ciju Rajan K c...@linux.vnet.ibm.com writes: Greg Thelen wrote: Replace usage of the mem_cgroup_update_file_mapped() memcg statistic update routine with two new routines: * mem_cgroup_inc_page_stat() * mem_cgroup_dec_page_stat() As before, only the file_mapped

[Devel] Re: [PATCH v4 03/11] memcg: create extensible page stat update routines

2010-11-01 Thread Ciju Rajan K
Greg Thelen wrote: Ciju Rajan K c...@linux.vnet.ibm.com writes: Greg Thelen wrote: Replace usage of the mem_cgroup_update_file_mapped() memcg statistic update routine with two new routines: * mem_cgroup_inc_page_stat() * mem_cgroup_dec_page_stat() As before, only the file_mapped

[Devel] Re: [PATCH v4 03/11] memcg: create extensible page stat update routines

2010-10-31 Thread Ciju Rajan K
Greg Thelen wrote: Replace usage of the mem_cgroup_update_file_mapped() memcg statistic update routine with two new routines: * mem_cgroup_inc_page_stat() * mem_cgroup_dec_page_stat() As before, only the file_mapped statistic is managed. However, these more general interfaces allow for new

[Devel] Re: [PATCH v2][memcg+dirtylimit] Fix overwriting global vm dirty limit setting by memcg (Re: [PATCH v3 00/11] memcg: per cgroup dirty page accounting

2010-10-25 Thread Ciju Rajan K
Greg Thelen wrote: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com writes: Fixed one here. == From: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Now, at calculating dirty limit, vm_dirty_param() is called. This function returns dirty-limit related parameters considering memory

[Devel] Re: [PATCH 03/10] memcg: create extensible page stat update routines

2010-10-18 Thread Ciju Rajan K
Greg Thelen wrote: Replace usage of the mem_cgroup_update_file_mapped() memcg statistic update routine with two new routines: * mem_cgroup_inc_page_stat() * mem_cgroup_dec_page_stat() As before, only the file_mapped statistic is managed. However, these more general interfaces allow for new

[Devel] Re: [PATCH 00/10] memcg: per cgroup dirty page accounting

2010-10-18 Thread Ciju Rajan K
Greg Thelen wrote: Balbir Singh bal...@linux.vnet.ibm.com writes: * Greg Thelen gthe...@google.com [2010-10-03 23:57:55]: This patch set provides the ability for each cgroup to have independent dirty page limits. Limiting dirty memory is like fixing the max amount of dirty (hard

[Devel] Re: [PATCH 03/10] memcg: create extensible page stat update routines

2010-10-18 Thread Ciju Rajan K
Greg Thelen wrote: Ciju Rajan K c...@linux.vnet.ibm.com writes: Greg Thelen wrote: Replace usage of the mem_cgroup_update_file_mapped() memcg statistic update routine with two new routines: * mem_cgroup_inc_page_stat() * mem_cgroup_dec_page_stat() As before, only the file_mapped

[Devel] Re: [PATCH 08/10] memcg: add cgroupfs interface to memcg dirty limits

2010-10-18 Thread Ciju Rajan K
Greg Thelen wrote: Add cgroupfs interface to memcg dirty page limits: Direct write-out is controlled with: - memory.dirty_ratio - memory.dirty_bytes Background write-out is controlled with: - memory.dirty_background_ratio - memory.dirty_background_bytes Signed-off-by: Andrea