Hi there, I'm the author of this code. I don't normally follow this list, so I missed this query.
This explanation is correct. If the terms used are confusing, I can rename them to whatever you suggest. Ryan On Mon, Mar 23, 2009 at 1:49 PM, Eric Lambert <[email protected]> wrote: > > Hi: > > I am not at all familiar with jmemcached, but I took a quick look at the > code and from what I can tell, max memory defines the total number of bytes > allocated to the cache and the 'ceiling' is used to control when items will > be evicted from the cache. Once the total amount of data in the cache > exceeds maxMemory - ceiling, it will start evicting items from the cache. > So, for example , if I define maxMemory to be 1,000,000 bytes and define > ceiling to be 100,000 bytes, once the total number of bytes in the cache > exceeds 900,000 bytes (1,000,000 - 100,000), it will start to evict items. > > Hope this helps > > Eric > > > > theRat wrote: >> >> All, >> >> I'm setting up the running of the server portion of jmemcached. It >> takes a couple of arguments including: >> >> -c ceiling memory to use (default .976M) >> -m max memory to use (default .062G) >> >> the default values confuse me and make me thinking I am interpreting >> these values incorrectly. Can anyone help explain these values? I >> would have thought that -c would be much higher by default - so I'm >> wondering what "ceiling" means in this context... >> >> Help! >> >> 8) >> > >
