Thank you for the information,
Sorry for miss using the word there, yes that's all threads. I'm using the Memcached 1.5.20. I build it myself and then run my experiments($MEMCACHED -u root -p 11211 -m $MAXMEM -c 1024 -t $MEMCACHED_THREADS). And I'm checking the number of Memcached threads in htop output. It showed me 10 threads(workers included) in one machine and 6 threads(workers included) on the other one.
To share some more information, I have 200GB of memory for the bigger machine that creates only 6 threads, and we have only 16GB of memory for the machine that creates 10 threads. I'm just thinking maybe because the smaller machine has less amount of space, and I'm actually filling in up to 15GB then I might have more work to do and creates more threads.
According to your information, I should expect at least 5 threads other than the main workers. So 10 threads look OK, but how about the bigger machine which spawns only 6 threads?
I also had difficulties in detecting the worker threads that respond to GET/SET requests on my results, I have attached two pictures, one of them shows the actual location of each worker on various cores, and the second one is showing userspace time spent for each worker. Apparently worker thread number 1,2,4 and 5 have spent more time in userspace, so I'm concluding here that 1,2,4 and 5 are my actual worker threads, and worker 3 and 6 are just internal worker threads of Memcached. Does that make sense to you?
Thanks,
Alireza