On Fri, 18 Aug 2006 07:45:48 -0700 Dave Hansen <[email protected]> wrote: > On Fri, 2006-08-18 at 12:08 +0400, Andrey Savochkin wrote: > > > > A) Have separate memory management for each container, > > with separate buddy allocator, lru lists, page replacement mechanism. > > That implies a considerable overhead, and the main challenge there > > is sharing of pages between these separate memory managers. > > Hold on here for just a sec... > > It is quite possible to do memory management aimed at one container > while that container's memory still participates in the main VM. > > There is overhead here, as the LRU scanning mechanisms get less > efficient, but I'd rather pay a penalty at LRU scanning time than divide > up the VM, or coarsely start failing allocations. > I have this mad idea that you can divide a 128GB machine up into 256 fake NUMA nodes, then you use each "node" as a 512MB unit of memory allocation. So that 4.5GB job would be placed within an exclusive cpuset which has nine "mems" (what are these called?) and voila: the job has a hard 4.5GB limit, no kernel changes needed. Unfortunately this is not testable because numa=fake=256 doesn't come even vaguely close to working. Am trying to get that fixed. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- From: Kirill Korotaev <[email protected]>
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- From: Magnus Damm <[email protected]>
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- From: Chandra Seetharaman <[email protected]>
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- From: Paul Jackson <[email protected]>
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- From: Rohit Seth <[email protected]>
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- From: Dave Hansen <[email protected]>
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- References:
- [RFC][PATCH] UBC: user resource beancounters
- From: Kirill Korotaev <[email protected]>
- [RFC][PATCH 4/7] UBC: syscalls (user interface)
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 4/7] UBC: syscalls (user interface)
- From: Rohit Seth <[email protected]>
- Re: [RFC][PATCH 4/7] UBC: syscalls (user interface)
- From: Alan Cox <[email protected]>
- Re: [RFC][PATCH 4/7] UBC: syscalls (user interface)
- From: Rohit Seth <[email protected]>
- Re: [RFC][PATCH 4/7] UBC: syscalls (user interface)
- From: Kirill Korotaev <[email protected]>
- Re: [RFC][PATCH 4/7] UBC: syscalls (user interface)
- From: Andrew Morton <[email protected]>
- Re: [PATCH 4/7] UBC: syscalls (user interface)
- From: Andrey Savochkin <[email protected]>
- Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- From: Dave Hansen <[email protected]>
- [RFC][PATCH] UBC: user resource beancounters
- Prev by Date: Re: oops while loading snd-seq-oss (was: Re: 2.6.18-rc4-mm1 BUG, drm related)
- Next by Date: Re: oops while loading snd-seq-oss (was: Re: 2.6.18-rc4-mm1 BUG, drm related)
- Previous by thread: Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- Next by thread: Re: [ckrm-tech] [PATCH 4/7] UBC: syscalls (user interface)
- Index(es):