[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reduce shrink_mmap rate of failure (initial attempt)



Roger Larsson <roger.larsson@norran.net> writes:

> Hi all,
> 
> This is a trivial first attempt to reduce shrink_mmap failures
> (leading to swap)
> 
> It is against 2.4.0-test1-ac7-riel3 but that is almost what
> we have currently - and it is trivial to apply with an editor.
> 
> It might be possible to improve this further - but it is a start.
> (Time for bed...)
> 

Very nice idea, but...

I tried exactly that a week or two ago and it was freezing the system
like Juan noted (under heavy I/O loads). That's very unfortunate
because it is my opinion too that shrink_mmap() fails too easily and
falls back to swapping when it really shouldn't do that.

Regards,
-- 
Zlatko
--
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.eu.org/Linux-MM/