Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-19 Thread Eric W. Biederman
"Paul Menage" <[EMAIL PROTECTED]> writes: > On 3/13/07, Dave Hansen <[EMAIL PROTECTED]> wrote: >> How do we determine what is shared, and goes into the shared zones? >> Once we've allocated a page, it's too late because we already picked. >> Do we just assume all page cache is shared? Base it on

Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-18 Thread Paul Menage
On 3/13/07, Dave Hansen <[EMAIL PROTECTED]> wrote: How do we determine what is shared, and goes into the shared zones? Once we've allocated a page, it's too late because we already picked. Do we just assume all page cache is shared? Base it on filesystem, mount, ...? Mount seems the most logica

Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-13 Thread Kirill Korotaev
Eric, >>>And misses every resource sharing opportunity in sight. >> >>that was my point too. >> >> >>>Except for >>>filtering the which pages are eligible for reclaim an RSS limit should >>>not need to change the existing reclaim logic, and with things like the >>>memory zones we have had that kin

Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-13 Thread Herbert Poetzl
On Tue, Mar 13, 2007 at 03:48:34AM -0800, Andrew Morton wrote: > > On Tue, 13 Mar 2007 13:19:53 +0300 Kirill Korotaev <[EMAIL PROTECTED]> > > wrote: > > Andrew Morton wrote: > > - shared mappings of 'shared' files (binaries > > and libraries) to allow for reduced memory > > foo

Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-13 Thread Andrew Morton
> On Tue, 13 Mar 2007 13:19:53 +0300 Kirill Korotaev <[EMAIL PROTECTED]> wrote: > Andrew Morton wrote: > - shared mappings of 'shared' files (binaries > and libraries) to allow for reduced memory > footprint when N identical guests are running > >>> > >>>So, it sounds like this

Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-13 Thread Kirill Korotaev
Andrew Morton wrote: - shared mappings of 'shared' files (binaries and libraries) to allow for reduced memory footprint when N identical guests are running >>> >>>So, it sounds like this can be phrased as a requirement like: >>> >>> "Guests must be able to share pages." >>>

Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-13 Thread Eric W. Biederman
Kirill Korotaev <[EMAIL PROTECTED]> writes: > Eric, > >> And misses every resource sharing opportunity in sight. > > that was my point too. > >> Except for >> filtering the which pages are eligible for reclaim an RSS limit should >> not need to change the existing reclaim logic, and with things li

Re: [Devel] Re: [RFC][PATCH 2/7] RSS controller core

2007-03-12 Thread Kirill Korotaev
Eric, > And misses every resource sharing opportunity in sight. that was my point too. > Except for > filtering the which pages are eligible for reclaim an RSS limit should > not need to change the existing reclaim logic, and with things like the > memory zones we have had that kind of restricti