Top on memcached server shows 110% cpu (memcached process) and 55% idle on cpu(s)

amazon-web-servicesmemcached

I tested on AWS ubuntu 10.04 memcached 1.4.2

When testing with memslap (different concurrent users numbers and different instance types (8G and 1.7G memory)

Top shows 110% cpu on the memcached process and 55% cpu idle in the cpus summary.

What is wrong here?

Is the server using just one core for memcached? If so is it possible to change it to get more out of the box?

Best Answer

One thought I have. In my experience with AWS instances using top may or may not return realistic values for CPU usage (usually not). Check cloudwatch and see if it is showing a high CPU usage. This especially applies to micro instances, on those top is absolutely useless.

Related Topic