PQ_CACHESIZE now too small?
Alexander Leidinger
Alexander at Leidinger.net
Fri Sep 15 07:10:11 PDT 2006
Quoting Michael Butler <imb at protected-networks.net> (from Fri, 15 Sep
2006 09:12:52 -0400):
> I note in /sys/vm/vm_page.h we have ..
>
> /* Backward compatibility for existing PQ_*CACHE config options. */
> #if !defined(PQ_CACHESIZE)
> #if defined(PQ_HUGECACHE)
> #define PQ_CACHESIZE 1024
If you post to current@, you should quote code from -current... while
the numbers are still the same, the corresponding code has switched to
auto-tuning at boot time instead from the the fixed tuning at compile
time you presented here.
> .. given the ever-increasing availability of L2 cache (even my core duo
> laptop has 2MB of unified cache between two cores), are these numbers
> now too small?
>
> Alternatively, are these parameters subject to the laws of diminishing
> returns?
I was told there are other ways of doing the page coloring which don't
depend on such magic numbers which need to be reviewed from time to
time.
Bye,
Alexander.
--
I'm sorry I missed.
-- Squeaky Fromme
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-current
mailing list