Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 17 Mar 2003 11:40:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 17 Mar 2003 11:40:22 -0500 Received: from 217-125-129-224.uc.nombres.ttd.es ([217.125.129.224]:27374 "HELO cocodriloo.com") by vger.kernel.org with SMTP id ; Mon, 17 Mar 2003 11:40:21 -0500 From: wind@cocodriloo.com Date: Mon, 17 Mar 2003 17:52:23 +0100 To: Rik van Riel Cc: linux-kernel@vger.kernel.org, akpm@digeo.com Subject: Re: 2.4 vm, program load, page faulting, ... Message-ID: <20030317165223.GA11526@wind.cocodriloo.com> References: <20030317151004.GR20188@holomorphy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 35 On Mon, Mar 17, 2003 at 11:01:31AM -0500, Rik van Riel wrote: > On Mon, 17 Mar 2003, William Lee Irwin III wrote: > > On Sat, 15 Mar 2003, Paul Albrecht wrote: > > >> ... Why does the kernel page fault on text pages, present in the page > > >> cache, when a program starts? Couldn't the pte's for text present in the > > >> page cache be resolved when they're mapped to memory? > > > > SVR4 did and saw an improvement wrt. page fault rate, according to > > Vahalia. > > An improvement in the _page fault rate_, well DUH. > > > I'd like to see whether this is useful for Linux. > > The question is, does it result in an improvement in the > run speed of processes... > > cheers, > > Rik You should ask Andrew about his patch to do exactly that: he forced all PROC_EXEC mmaps to be nonlinear-mapped and this forced all programs to suck entire binaries into memory... I recall he saw at least 25% improvement at launching gnome. Andrew? -- Antonio Vargas - 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/