PK -

Just a side point here, but:

> memcached -d -m 96 -n 10 -c 4096 -f 1.05 -l 127.0.0.1 -p 11211


*-m <num>*Use <num> MB memory max to use for object storage; the default is
64 megabytes.
*-c <num>*Use <num> max simultaneous connections; the default is 1024.

So, my question is, you're starting memcached on a server with 8GB of RAM to
use only 96 mb of with 4096 connections?

Your question is probably still valid and unanswered but for what it's worth
if you do -m 1024 (1GB) it'll take over 10 times longer to fill up...


> the actual number of bytes stores including the characters needed to store
keys + their values, it is 632,817.

Yeah, 63K - so 96mb ought to be plenty anyway - where do you see that?


I know that Redis is recommended 32-bit, so I checked if there are
differences between 32-bit and 64-bit memcached.

Based on:
http://serverfault.com/questions/172237/memcached-memory-usage-difference-on-32-and-64-bit

...it appears to be likely that memcached has to allocate more blocks to
store the same data on a 64-bit machine than on a 32-bit machine, though if
you really only have 64K of data it should all be a moot point.

Reply via email to