[OpenAFS-devel] memory cache size limits?

Edward Moy emoy@apple.com
Tue, 4 Feb 2003 17:23:41 -0800


On Tuesday, February 4, 2003, at 04:39  PM, Matthew Miller wrote:

> On Tue, Feb 04, 2003 at 04:22:33PM -0800, Edward Moy wrote:
>> I just started playing with memory caching myself under Mac OS X.   
>> When
>> I tried to set it to 100000 KB, it froze.  But on a hunch, I used a
>> number divisible by the default 8K blocksize, 80000 KB in my case, it
>> worked fine.  You might give that a try.
>
> Y'know, 100000 is evenly-divisible by 8 too. :)

On Tuesday, February 4, 2003, at 04:36  PM, Nickolai Zeldovich wrote:

>> I just started playing with memory caching myself under Mac OS X.   
>> When
>> I tried to set it to 100000 KB, it froze.  But on a hunch, I used a
>> number divisible by the default 8K blocksize, 80000 KB in my case, it
>> worked fine.  You might give that a try.
>
> You mean 100000KB isn't divisible by 8KB? :)
>
>   mountain-dew~/capsule> echo 100000/8 | bc
>   12500

OK, I can't divide.  Where is my slide ruler ;-)

It is odd that 80000 worked and 100000 didn't, since its got plenty of  
memory.  Maybe there is some upper limit, or a bug.  I'll try some  
other values when I get a chance.
------------------------------------------------------------------------ 
--
Edward Moy
Apple Computer, Inc.
emoy@apple.com

(This message is from me as a reader of this list, and not a statement
from Apple.)