Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 21 Dec 2000 07:09:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 21 Dec 2000 07:08:56 -0500 Received: from perninha.conectiva.com.br ([200.250.58.156]:62731 "EHLO perninha.conectiva.com.br") by vger.kernel.org with ESMTP id ; Thu, 21 Dec 2000 07:08:45 -0500 Date: Thu, 21 Dec 2000 07:45:12 -0200 (BRST) From: Marcelo Tosatti To: Andrew Morton cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] swap write clustering In-Reply-To: <3A41E522.B6C65F21@uow.edu.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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/