From owner-freebsd-current Mon Dec 4 13:37:26 2000 From owner-freebsd-current@FreeBSD.ORG Mon Dec 4 13:37:20 2000 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from cs.utep.edu (mail.cs.utep.edu [129.108.5.3]) by hub.freebsd.org (Postfix) with ESMTP id 6D64737B400 for ; Mon, 4 Dec 2000 13:37:16 -0800 (PST) Received: from gecko (gecko [129.108.5.51]) by cs.utep.edu (8.10.1/8.10.1) with ESMTP id eB4LahM02635; Mon, 4 Dec 2000 14:36:43 -0700 (MST) Date: Mon, 4 Dec 2000 14:36:44 -0700 (MST) From: X-Sender: To: Bernd Walter Cc: David Greenman , Subject: Re: current paging strategy In-Reply-To: <20001105175745.A42346@cicely8.cicely.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG what exacly do you mean with critical path, here? JAn On Sun, 5 Nov 2000, Bernd Walter wrote: > On Thu, Nov 02, 2000 at 12:45:30AM -0800, David Greenman wrote: > > >Interesting. THis needs about two bytes per page for the counter? > > > > Actually, we found that a single byte per page was sufficient. Pages tended > > to be either heavily accessed or rarely accessed. Even in the unusual case > > where all pages are frequently accessed, the page reclaim rate (and thus > > adjustment rate of the page references count) increases high enough to still > > provide for a decent distribution of the counters and for the page LOU to be > > effective. > > One byte sounds good for i386. > Maybe it makes sense to have it 4 or 8 byte on risc platforms. > I wonder if it's a critical path and if there are more of this in > the kernel source. > > -- > B.Walter COSMO-Project http://www.cosmo-project.de > ticso@cicely.de Usergroup info@cosmo-project.de > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message