p23 schrieb:
Hi,
I've 3 server running apache,MySQL and memcached.
i monitor the CPU+Memory usage of MySQL.
it show when i'm using MySQL with memcached (dedicated server), the
cpu usage is very low but the memory quite higher a little bit. It's
not much, but i'm wonder why it goes higher (than MySQL with memcached
disabled) since items are already cached and memcached reside in
dedicated server. I run it many times and it shows the same result.

MySQL + query cache:
Mem: 45.0 %
Cpu:  19.0 %

MySQL + memcached:
Mem: 47.0 %
Cpu: 2 %

Thanks in advance :)

I don't know, how you are using memcached exactly, but if you are using memcached as an object-cache for your application ist quite obvious, that a memcached needs more memory to store needed informations.

In general I would advice you to be very carefull running multiple instances of memory and connection (yes, a connection to localhost is still a connection) consuming entities on one machine. In various scenarios this will produce unpredictable behavior.

Kind regards,

Jérôme

To unsubscribe from this group, send email to memcached+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to