Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 14 Jul 2001 16:12:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 14 Jul 2001 16:12:36 -0400 Received: from sciurus.rentec.com ([192.5.35.161]:50109 "EHLO sciurus.rentec.com") by vger.kernel.org with ESMTP id ; Sat, 14 Jul 2001 16:12:29 -0400 Message-ID: <3B50A7ED.7A8A1BF0@rentec.com> Date: Sat, 14 Jul 2001 16:13:33 -0400 From: Dirk X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4 i686) X-Accept-Language: en MIME-Version: 1.0 To: Marcelo Tosatti CC: lkml , Rik van Riel , Mike Galbraith , linux-mm@kvack.org, "Stephen C. Tweedie" Subject: Re: [PATCH] Separate global/perzone inactive/free shortage In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Marcelo Tosatti wrote: > Hi, > > As well known, the VM does not make a distiction between global and > per-zone shortages when trying to free memory. That means if only a given > memory zone is under shortage, the kernel will scan pages from all zones. > > The following patch (against 2.4.6-ac2), changes the kernel behaviour to > avoid freeing pages from zones which do not have an inactive and/or > free shortage. > > Now I'm able to run memory hogs allocating 4GB of memory (on 4GB machine) > without getting real long hangs on my ssh session. (which used to happen > on stock -ac2 due to exhaustion of DMA pages for networking). > > Comments ? > > Dirk, Can you please try the patch and tell us if it fixes your problem ? > great!! that is definitely better, the machine talks to me again. there are some small "but"s. however. i write them up and let you know. ~dirkw - 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/