Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 5 Dec 2002 21:21:11 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 5 Dec 2002 21:21:11 -0500 Received: from [195.223.140.107] ([195.223.140.107]:60289 "EHLO athlon.random") by vger.kernel.org with ESMTP id ; Thu, 5 Dec 2002 21:21:10 -0500 Date: Fri, 6 Dec 2002 03:28:53 +0100 From: Andrea Arcangeli To: William Lee Irwin III , Andrew Morton , Norman Gaywood , linux-kernel@vger.kernel.org Subject: Re: Maybe a VM bug in 2.4.18-18 from RH 8.0? Message-ID: <20021206022853.GJ1567@dualathlon.random> References: <20021206111326.B7232@turing.une.edu.au> <3DEFF69F.481AB823@digeo.com> <20021206011733.GF1567@dualathlon.random> <3DEFFEAA.6B386051@digeo.com> <20021206014429.GI1567@dualathlon.random> <20021206021559.GK9882@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021206021559.GK9882@holomorphy.com> User-Agent: Mutt/1.4i X-GPG-Key: 1024D/68B9CB43 X-PGP-Key: 1024R/CB4660B9 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2402 Lines: 49 On Thu, Dec 05, 2002 at 06:15:59PM -0800, William Lee Irwin III wrote: > On Fri, Dec 06, 2002 at 02:44:29AM +0100, Andrea Arcangeli wrote: > > Or it hurts when you can't allocate an inode because such 100M are in > > pagetables on a 64G box and you still have 60G free of highmem. > > This is the zone vs. zone watermark stuff that penalizes/fails > allocations made with a given GFP mask from being satisfied by > fallback. This is largely old news wrt. various kinds of inability > to pressure those ZONE_NORMAL (maybe also ZONE_DMA) consumers. > > Admission control for fallback is valuable, sure. I suspect the > question akpm raised is about memory utilization. My own issues are > centered around allocations targeted directly at ZONE_NORMAL, > which fallback prevention does not address, so the watermark patch > is not something I'm personally very concerned about. you must be very concerned about it too. If you don't have the fallback prevention all your efforts around the allocations targeted directoy zone normal will be completely worthless. Either that or you want to drop ZONE_NORMAL enterely because it means nothing uses zone-normal dynamically anymore (ZONE_NORMAL seen as a place that is directly mapped, not necessairly always 32bit dma capable). > 64GB isn't getting any testing that I know of; I'd hold off until > someone's actually stood up and confessed to attempting to boot > Linux on such a beast. Or until I get some more RAM. =) 64GB is an example, a good example for this thing, but a 16G machine or a 4G machine can run in the very same issues. As said just swapoff -a and malloc(1G) and such 1G is all ZONE_NORMAL before you could allocate enough inodes for your workload. Or alloc 1G of pagetables by setting everything protnone, and sugh 1G of pagetables goes in zone-normal because the highmem is filled by cache. Choose whatever is your preferred example of real life bug fixed by the lowmem-reservation patch that is absolutely necessary to run stable on a big box with normal zone and highmem (not only a 64G box). The only place where you must not be concerned about these fixes are the 64bit archs. Andrea - 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/