first time user with out of memory question

timeless time at digg.com
Tue Jun 13 00:12:34 UTC 2006


timeless wrote:

> Our memcached nodes utilise 1/50% CPU at 400 hits/sec. At volumes 
> around 400 hits/sec, the CPU:workload (C:W) ratio is <1. Assuming a 
> constant C:W ratio, this means we should utilise <<20% CPU at 400k 
> hits/sec.

By the way, if anyone actually cared to follow that paragraph, I 
recommend you discard what you might've gleaned from it. I've gone back 
to check my work and found a faulty assumption.

Which brings me to a question... when asking Memcached for stats, what 
is the meaning of these two values?

rusage_user:5221530
rusage_system:23429010

They are counters. But how do you count user and system resource usage? 
If the user value changes from 100 to 103 in 10 seconds, and the system 
value from 1000 to 1024 in the same 10 seconds... what does that mean?

--
timeless



More information about the memcached mailing list