From owner-freebsd-hackers Wed Oct 29 14:56:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA22360 for hackers-outgoing; Wed, 29 Oct 1997 14:56:07 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA22301; Wed, 29 Oct 1997 14:55:59 -0800 (PST) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.7/8.8.5) id RAA00892; Wed, 29 Oct 1997 17:54:27 -0500 (EST) From: "John S. Dyson" Message-Id: <199710292254.RAA00892@dyson.iquest.net> Subject: Re: help with fstat? In-Reply-To: <199710292004.NAA17154@usr07.primenet.com> from Terry Lambert at "Oct 29, 97 08:04:04 pm" To: tlambert@primenet.com (Terry Lambert) Date: Wed, 29 Oct 1997 17:54:27 -0500 (EST) Cc: toor@dyson.iquest.net, tlambert@primenet.com, dyson@FreeBSD.ORG, angio@angio.net, perlsta@cs.sunyit.edu, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Terry Lambert said: > > Ideally, there would never be more than two pages in a MADV_SEQUENTIAL > marked region in real memory or swap at any one time: The page that > was previously accessed, and the page that was just accessed. > > > Really, I want per object working set quotas, and I want MADV_SEQUENTIAL > to set the quota on the backing object to two pages, but that's more of > an implementation detail. > I don't think that working set quotas are necessarily a good idea. The term "working set quota" is an interesting one anyway. Do you mean in-memory quota or mapped quota??? Our MADV_SEQUENTIAL mode attempts to deactivate or cache read pages. Cached pages are fair game. This whole thing starts bringing up the spectre of working set mgmt, and the folly of VMS and NT. PS. Terry, have you actually tried the sequential mode that we use? -- John dyson@freebsd.org jdyson@nc.com