Number of threads used by memcached
Hi, we are using Membase from the Git repo. We deploy it on EC2 and use EBS volume for the persistent storage. The instances we use are only two core. I was wondering if it would be good for us to start the memcached process with two threads instead of the defualt 4 (using -t). I couldn't figure out the corretc way to set that in the config file, it seems there is a ports_server option or something like that, but I would like to just add the "-t 2" without redefining all the server config. So far I created a memcached wrapper script called "memcached" and moved the original one being call by the wrapper with the correct options but it's really hacky.
Any idea how to do that clean ? Do you think this change could help on EC2 env that has bad cpu perf ?
PS : I wanted to post on the 1.7.x forum but the form doesn't allow me to do so.