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

Re: process selection



On Tue, 15 Jun 1999 12:28:06 +0200, Antonino Sabetta <copernico@tin.it> said:

>> 2. Also, in swap_out, it might make sense to steal more than a
>> single page from a victim process, to balance the overhead of
>> scanning all the processes.

> Or at least, steal more that a single page if the process owns a "big"
> number of pages.

This is something we really, really need to do eventually, to reduce the
overhead of the swapper.  Optimisations such as unmapping large chunks
at once for sequentially accessed mmap()s are an example of obvious
performance improvements, but by swapping multiple pages we also have
opportunities for reducing swap fragmentation.

--Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm my@address'
in the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://humbolt.geo.uu.nl/Linux-MM/