KS2012: memcg/mm: Improving kernel-memory accounting for memory cgroups
Posted Sep 18, 2012 19:43 UTC (Tue) by
vomlehn (subscriber, #45588)
Parent article:
KS2012: memcg/mm: Improving kernel-memory accounting for memory cgroups
Silly kernel people (including myself)! We keep looking at things from the kernel standpoint, and saying things like:
"memory.kmem.limit_in_bytes < memory.limit_in_bytes: ... Users of this setting should be aware that size of the kernel memory usage could differ between kernel releases."
Users don't manage kernel memory usage, they manage user space application usage. The user-visible knob has to be over something the user can control, so it's really worth considering whether this should be memory.umem.limit_in_bytes, with the kernel able to use the rest of memory. If we do that, the user doesn't have to change anything when upgrading the kernel.
(
Log in to post comments)