From owner-freebsd-hackers Mon Apr 19 13:44:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from iquest3.iquest.net (iquest3.iquest.net [209.43.20.203]) by hub.freebsd.org (Postfix) with SMTP id 86AA015051 for ; Mon, 19 Apr 1999 13:44:50 -0700 (PDT) (envelope-from dyson@dyson.iquest.net) Received: (qmail 12453 invoked from network); 19 Apr 1999 20:42:23 -0000 Received: from dyson.iquest.net (198.70.144.127) by iquest3.iquest.net with SMTP; 19 Apr 1999 20:42:23 -0000 Received: (from root@localhost) by dyson.iquest.net (8.9.1/8.9.1) id PAA20471; Mon, 19 Apr 1999 15:42:21 -0500 (EST) From: "John S. Dyson" Message-Id: <199904192042.PAA20471@dyson.iquest.net> Subject: Re: Directories not VMIO cached at all! In-Reply-To: from Duncan Barclay at "Apr 18, 99 07:18:10 pm" To: dmlb@ragnet.demon.co.uk (Duncan Barclay) Date: Mon, 19 Apr 1999 15:42:21 -0500 (EST) Cc: hackers@freebsd.org, dillon@apollo.backplane.com X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > On 18-Apr-99 John S. Dyson wrote: > > Perhaps before getting rid of B_MALLOC, take a look at the standard > > mix of directory sizes (don't just look at news servers.) If there is an > > extreme bias towards 512 or 2048, then you might consider keeping B_MALLOC. > > > > John > > >From my home machine which I'd classify as a workstation: > > Directory Size Count > 512 34354 > 1024 963 > 1536 358 > 2048 245 > 2560 74 > 3072 50 > 3584 37 > 4096 39 .... > Your results show the wastefulness of using a page for everything. There is NO gain from wasting the memory by rounding everything up to a page. If buffers are not used for sub-page entities, another scheme should be used. I fear expediency or sloppiness will prevail. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message