Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2010 09:31:58 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        fs@freebsd.org
Subject:   arc cache: pagesize and/or power of 2 constraints?
Message-ID:  <20100729093158.86036msee9pbayw4@webmail.leidinger.net>

next in thread | raw e-mail | index | archive | help
Hi,

while writting some acceptance tests for the Solaris machines at work  
I wondered if the size of the arc cache should be a multiple of the  
page size and/or a power of 2. I searched the net, but was not able to  
find some info regarding this.

I would expect that it does not make sense to have an arc cache size  
which is not a multiple of the page size. And depending on how the arc  
cache is implemented, it would make sense to have it even as a power  
of 2 size (even if it is able to handle non-power-of-2 sizes).

Did someone had a look at this in FreeBSD?

Bye,
Alexander.

-- 
Reporter, n.:
	A writer who guesses his way to the truth and dispels it with a
	tempest of words.
		-- Ambrose Bierce, "The Devil's Dictionary"

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



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