Hi,
I saw this formula; is it correct?
RAM needed ~= 10MB x <cache_dir GB> + <cache_mem> + 20MB
recommanded ~= 2*RAM
Exemple for 100GB of disk cache and 128MB of cache_mem:
RAM ~= 10*100+128+20 ~= 1.148GB
recommanded ~= 2*RAM ~= 2.296GB
Exemple for 2GB of RAM and 128MB of cache_mem:
disk cache ~= (2048-128-20)/10 ~= 190GB
recommanded ~= disk cache / 2 ~= 95GB
On what the 10MB x <cachedir GB> is based?
An average object size?
By example, we have objects with an average size of 10KB.
1 GB of cachedir would hold around 100.000 objects (not counting metadata, etc...).
So 10MB of RAM for 100.000 objects = 100 bytes of RAM per object?
But if we have 10MB objects, it would hold 100 objects.
So 10MB of RAM for 100 objects = 100KB of RAM per object?
And, basicaly, what is the max number of objects that can be cached in general, aside from memory/disk limits?
Thx,
JD
Received on Tue Jul 22 2008 - 15:37:12 MDT
This archive was generated by hypermail 2.2.0 : Wed Jul 23 2008 - 12:00:05 MDT