Re: [RFC][PATCH 2/7] RSS controller core
- From: Pavel Emelianov <xemul@xxxxx>
- Date: Mon, 12 Mar 2007 11:31:08 +0300
[snip]
That's true. If you look at the patches you'llper container OOM killer does not require any containerAs I've already answered in my previous letter simpleWe need to decide whether we want to do per-container memorywhy not do simple page accounting (as done currently
limitation via these data structures, or whether we do it via
a physical scan of some software zone, possibly based on Mel's
patches.
in Linux) and use that for the limits, without
keeping the reference from container to page?
limiting w/o per-container reclamation and per-container
oom killer isn't a good memory management. It doesn't allow
to handle resource shortage gracefully.
page reference, you know _what_ tasks belong to the
container, and you know their _badness_ from the normal
OOM calculations, so doing them for a container is really
straight forward without having any page 'tagging'
find out that no code in oom killer uses page 'tag'.
so what do we keep the context -> page reference
then at all?
We need this for
1. keeping page's owner to uncharge to IT when page
goes away. Or do you propose to uncharge it to
current (i.e. ANY) container like you do all across
Vserver accounting which screws up accounting with
pages sharing?
2. managing LRU lists for good reclamation. See Balbir's
patches for details.
3. possible future uses - correct sharing accounting,
dirty pages accounting, etc
for the reclamation part, please elaborate how that willThis is all described in the code and in the
differ in a (shared memory) guest from what the kernel
currently does ...
discussions we had before.
must have missed some of them, please can you
point me to the relevant threads ...
lkml.org archives and google will help you :)
TIA,-
Herbert
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [RFC][PATCH 0/7] Resource controllers based on process containers
- From: Pavel Emelianov
- [RFC][PATCH 2/7] RSS controller core
- From: Pavel Emelianov
- Re: [RFC][PATCH 2/7] RSS controller core
- From: Andrew Morton
- Re: [RFC][PATCH 2/7] RSS controller core
- From: Herbert Poetzl
- Re: [RFC][PATCH 2/7] RSS controller core
- From: Pavel Emelianov
- Re: [RFC][PATCH 2/7] RSS controller core
- From: Herbert Poetzl
- Re: [RFC][PATCH 2/7] RSS controller core
- From: Pavel Emelianov
- Re: [RFC][PATCH 2/7] RSS controller core
- From: Herbert Poetzl
- [RFC][PATCH 0/7] Resource controllers based on process containers
- Prev by Date: Re: [PATCH 1/2] mm: move common segment checks to separate helper function (v6)
- Next by Date: Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2
- Previous by thread: Re: [RFC][PATCH 2/7] RSS controller core
- Next by thread: Re: [RFC][PATCH 2/7] RSS controller core
- Index(es):
Relevant Pages
|