Thread (61 messages) 61 messages, 10 authors, 2011-03-23

Re: [PATCH v6 6/9] memcg: add cgroupfs interface to memcg dirty limits

From: Mike Heffner <hidden>
Date: 2011-03-15 14:01:05
Also in: linux-fsdevel, lkml

On 03/11/2011 01:43 PM, Greg Thelen wrote:
Add cgroupfs interface to memcg dirty page limits:
   Direct write-out is controlled with:
   - memory.dirty_ratio
   - memory.dirty_limit_in_bytes

   Background write-out is controlled with:
   - memory.dirty_background_ratio
   - memory.dirty_background_limit_bytes

What's the overlap, if any, with the current memory limits controlled by 
`memory.limit_in_bytes` and the above `memory.dirty_limit_in_bytes`? If 
I want to fairly balance memory between two cgroups be one a dirty page 
antagonist (dd) and the other an anonymous page (memcache), do I just 
set `memory.limit_in_bytes`? Does this patch simply provide a more 
granular level of control of the dirty limits?


Thanks,

Mike

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help