Which way is better for running memcached?

Jm lists practicalperl at gmail.com
Fri Feb 16 03:04:36 UTC 2007


Hello lists,

I have the host which would run memcached.It has 3G memory totally and
I would like to run memcached with 2G memory.Which is the more
effective way below?

the first way:

./memcached -d -m 1024 -l 192.168.1.102 -p 1230
./memcached -d -m 1024 -l 192.168.1.102 -p 1231

the second way:

./memcached -d -m 2048 -l 192.168.1.102 -p 1230


I want to know,would the first way decrease the chance of blocking for
socket connection?

Thanks!


More information about the memcached mailing list