Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 1996 14:44:22 -0500 (EST)
From:      John Dyson <dyson@dyson.iquest.net>
To:        guido@gvr.win.tue.nl (Guido van Rooij)
Cc:        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
Message-ID:  <199610071944.OAA02756@dyson.iquest.net>
In-Reply-To: <199610071906.VAA14622@gvr.win.tue.nl> from "Guido van Rooij" at Oct 7, 96 09:06:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> John Dyson wrote:
> > dyson       96/10/06 15:26:17
> > 
> >   Modified:    sys/vm    vm_page.h
> >   Log:
> >   Make the default cache size optim to be 256K, the old default was
> >   64K.  The change has essentially neutral effect on those machines with
> >   little or no cache, and has a positive effect on "normal" machines
> >   with 256K or more cache.
> >   
> >   Revision  Changes    Path
> >   1.33      +10 -9     src/sys/vm/vm_page.h
> > 
> 
> It seems like PQ_L2_SIZE is about 25% of the cache size. If this is indeed
> the general size, wouldn't it be nice to make it controlable from the
> kernel config file?
> 
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!!!

John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610071944.OAA02756>