Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 26 Apr 2001 08:00:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 26 Apr 2001 08:00:16 -0400 Received: from www.wen-online.de ([212.223.88.39]:1797 "EHLO wen-online.de") by vger.kernel.org with ESMTP id ; Thu, 26 Apr 2001 08:00:08 -0400 Date: Thu, 26 Apr 2001 13:59:10 +0200 (CEST) From: Mike Galbraith X-X-Sender: To: Marcelo Tosatti cc: Ingo Molnar , lkml Subject: Re: [patch] swap-speedup-2.4.3-B3 (fwd) In-Reply-To: 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, 26 Apr 2001, Marcelo Tosatti wrote: > On Thu, 26 Apr 2001, Mike Galbraith wrote: > > > > (i cannot see how this chunk affects the VM, AFAICS this too makes the > > > zapping of the cache less agressive.) > > > > (more folks get snagged on write.. they can't eat cache so fast) > > What about GFP_BUFFER allocations ? :) > > I suspect the jiffies hack is avoiding GFP_BUFFER allocations to eat cache > insanely. (I think it's aging speed in general. If user tasks aren't doing it, kswapd is.) > Easy way to confirm that: add the kswapd wait queue again and make > allocators which don't have __GFP_IO set wait on that in > try_to_free_pages(). I've tried not allowing those to enter try_to_free_pages() [nogo]. I'll try a waitqueue. wait_event(waitqueue_active(&kswapd_wait)) ok? -Mike - 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/