fitbodylife / phpmemcacheadmin

Automatically exported from code.google.com/p/phpmemcacheadmin
0 stars 0 forks source link

Usage discrepency #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. display stats for two servers using phpmemcacheadmin and 
/usr/share/pear/doc/memcache/memcache.php

What is the expected output? What do you see instead?
The stats for cache used in phpmemcacheadmin is far higher that the stats for 
memcache.php

Am I missing something or is there a problem?

Original issue reported on code.google.com by visseraj on 23 Nov 2011 at 5:07

Attachments:

GoogleCodeExporter commented 8 years ago
Hello, will look at it today :)

Original comment by eli...@free.fr on 28 Nov 2011 at 9:10

GoogleCodeExporter commented 8 years ago
For all the rate(s) in /s :
GET : 1800000 / 17 min ~= 1800 request/sec -> i think memcache.php divide this 
request rate by the number of server in cluster so while i make an addition of 
all stats to represent a cluster stats, memcache.php do an average.
SET : Same here, divided by 2
HIT % : Same stat on both, that good :)

For Cache size, i used a stats slabs command to check what is wasted in memory, 
while i think memcache.php does not

It you make Used - Wasted (121 - 40) you find the Used from memcache.php

So don't worry, both admins tell the same thing, but not the same way.

Original comment by eli...@free.fr on 29 Nov 2011 at 8:56