Thread (8 messages) 8 messages, 3 authors, 2002-07-31

Re: throttling dirtiers

From: Rik van Riel <hidden>
Date: 2002-07-31 21:25:10

On Wed, 31 Jul 2002, Benjamin LaHaise wrote:
On Wed, Jul 31, 2002 at 02:02:03PM -0700, Andrew Morton wrote:
quoted
But let's back off a bit.   The problem is that a process
doing a large write() can penalise innocent processes which
want to allocate memory.

How to fix that?
First off, make it obvious where we block in the allocation path (pawning
off all memory reaping to kswapd et al is an easy first step here).  Then
make allocators cycle through on a FIFO basis by using something like the
page reservation patch I came up with a while ago.  That'll give us an
easy place to change scheduling behaviour.
These ingredients are already in 2.4-rmap.

We need an extra component, a lower lateny shrink_cache/page_launder.

regards,

Rik
-- 
Bravely reimplemented by the knights who say "NIH".

http://www.surriel.com/		http://distro.conectiva.com/

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help