Re: PQ_CACHESIZE now too small?

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Fri, 15 Sep 2006 16:09:53 +0200
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_at_, 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 _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild _at_ FreeBSD.org  : PGP ID = 72077137
Received on Fri Sep 15 2006 - 12:10:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC