Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 15 Feb 2003 06:53:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 15 Feb 2003 06:53:11 -0500 Received: from pop.gmx.net ([213.165.64.20]:56153 "HELO mail.gmx.net") by vger.kernel.org with SMTP id ; Sat, 15 Feb 2003 06:53:08 -0500 Message-Id: <5.1.1.6.2.20030215130207.00ccc338@pop.gmx.net> X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sat, 15 Feb 2003 13:07:43 +0100 To: Rik van Riel From: Mike Galbraith Subject: Re: [PATCH] CFQ scheduler, #2 Cc: Jens Axboe , Linux Kernel In-Reply-To: References: <5.1.1.6.2.20030215123533.00cd3e70@pop.gmx.net> <5.1.1.6.2.20030215105330.00c84da8@pop.gmx.net> <5.1.1.6.2.20030215105330.00c84da8@pop.gmx.net> <5.1.1.6.2.20030215123533.00cd3e70@pop.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1335 Lines: 37 At 09:49 AM 2/15/2003 -0200, Rik van Riel wrote: >On Sat, 15 Feb 2003, Mike Galbraith wrote: > > > >Judging from your log, it ends up stalling kswapd and > > >dramatically increases the number of times that normal > > >processes need to go into the pageout code. > > > > > >If this provides an anti-thrashing benefit, something's > > >wrong with the VM in 2.5 ;) > > > > Which number are you looking at? > >pgscan 2751953 5328260 <== ? hmm > >kswapd_steal 380282 522126 >pageoutrun 1107 1956 >allocstall 3472 1238 > >- we scan far less pages >- kswapd reclaims less pages >- we go into the pageout code less often >- allocations stall more often for a lack of free memory I would interpret that differently. I would say we scan less because we don't need to scan as much, kswapd reclaims less for the same reason, and ditto for pageout ;-) The reduction in scans does seem _way_ high though... wrt allocstall, I bet if I do a few runs, I'll see mucho variance there (could be wrong.. hunch) -Mke - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/