On Tue, 02 Sep 2008 15:42:43 +0530 Balbir Singh <balbir@linux.vnet.ibm.com> wrote:Maybe it's good time to share my concerns. IMHO, the memory resource controller is for dividing memory into groups. We have following choices to divide memory into groups, now. - cpuset(+ fake NUMA) - VM (kvm, Xen, etc...) - memory resource controller. (memcg) Considering 3 aspects peformance, flexibility, isolation(security). My expectaion is peroformance : cpuset > memcg >> VMs flexibility : memcg > VMs >> cpuset. isolation : VMs >> cpuset >= memcg The word 'flexibility' sounds sweet *but* it's just one of aspects. If the peformance is cpuset > VMs > memcg, I'll advise users to use VMs. I think VMs are getting faster and faster. memcg will be slower when we add new 'fancy' feature more. (I think we need some more features.) So, I want to keep memcg fast as much as possible at this stage. But yes, memory usage overhead of page->page_cgroup, struct page_cgroup is big on 32bit arch. I'll say users to use VMs, maybe ;) Thanks, -Kame --
| Artem Bityutskiy | [PATCH 10/44 take 2] [UBI] debug unit implementation |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Dave Young | Re: Linux v2.6.24-rc1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Linus Torvalds | Re: [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Natalie Protasevich | [BUG] New Kernel Bugs |
