lkml.org 
[lkml]   [2000]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] 2.3.39 zone balancing

On Thu, 13 Jan 2000, Kanoj Sarcar wrote:

> There's been some arguments against per-zone, or per-node kswapd's,
> so the other alternative is to pass the list of unbalanced zones to
> kswapd, which can then scan only the unbalanced ones. This is the
> best solution when there are fairly large number of nodes.

the current kswapd is not quite suited to go per-zone and/or per-node, i
agree. But the swap_out() logic itself i believe has to be per-node in the
long term. Especially as we are already able to allocate from a given
node. Thus it would be natural to be able to do swap_out() from a given
node - both page tables and pages will likely be bound to a node. Per-node
kswapds are simple - they only have to take a look at p->node or
p->processor to pick up the right mm. This means that every kswapd would
pick up preferred mm's from it's own node.

the pagecache and other 'global' freeing stuff should only run on one of
the kswapds. (or in a separate 'global' freeing daemon, just like bdflush
- although that i think would be an overkill.)

-- mingo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.062 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site