Re: [PATCH] swap write clustering

From: Marcelo Tosatti (marcelo@conectiva.com.br)
Date: Thu Dec 21 2000 - 04:45:12 EST


On Thu, 21 Dec 2000, Andrew Morton wrote:

> Marcelo Tosatti wrote:
> >
> > Hi,
> >
> > Basically this new swap_writepage function looks for dirty swapcache pages
> > which may be contiguous (reverse and forward searching wrt to the physical
> > address of the page being passed to swap_writepage) and builds a page list
> > which is written "at once".
> >
> > The patch is against test13pre3.
> >
> > Comments are welcome. (especially about the __find_page_nolock
> > modification)
> >
>
> Have you any benchmarks for this?

Not yet.

Under some stress tests on a 16mb machine, around 30% of the clustered
swapouts were reaching the limit of pages, which was 16.

Anyway, I hope to do some useful benchmarking today.

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



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:28 EST