From owner-cvs-sys Tue Oct 8 03:16:31 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA15900 for cvs-sys-outgoing; Tue, 8 Oct 1996 03:16:31 -0700 (PDT) Received: from minnow.render.com (render.demon.co.uk [158.152.30.118]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id DAA15886; Tue, 8 Oct 1996 03:16:18 -0700 (PDT) Received: from minnow.render.com (minnow.render.com [193.195.178.1]) by minnow.render.com (8.6.12/8.6.9) with SMTP id LAA13741; Tue, 8 Oct 1996 11:15:06 +0100 Date: Tue, 8 Oct 1996 11:15:03 +0100 (BST) From: Doug Rabson To: dyson@freebsd.org cc: Guido van Rooij , dyson@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/vm vm_page.h In-Reply-To: <199610072028.PAA02845@dyson.iquest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-sys@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 7 Oct 1996, John Dyson wrote: > > John Dyson wrote: > > > > > > > PQ_L2_SIZE is the size in pages... PQ_L2_SIZE * PAGE_SIZE = 256k. > > > IMO, It is kind-of bogus to "hard-code" the value, and I am thinking about > > > a good solution for that problem. The value is controllable from the > > > config file, but my naming conventions leave something to be desired, > > > so I haven't documented them (yet.) If you have any ideas, let me know!!! > > > > > > > Perhaps we could introduce a new word in the kernel config file. > > Something like > > cache > > where is the amount of L2 cache. The L1 cache is processor specific > > and thus can be obtained via the cpu directive. The rest can then be > > doen with macros. > > > Actually, the L1 cache will be changing on P5 class machines soon. Yup. P55c (Pentium with MMX extensions) have 32k cache. It actually improves performance quite a bit. We have a few P55c machines here. I bet you could write a fast bcopy using MMX instructions to feed 64 bits at a time to the write buffers. -- Doug Rabson, Microsoft RenderMorphics Ltd. Mail: dfr@render.com Phone: +44 171 734 3761 FAX: +44 171 734 6426