I am using  c version  libmemcached, I have around 800k of entries
cached. The entries max size is 255 bytes. I am doing a get on these
entries, I am seeing lot of misses. I am running 4 instances of
memcached.

Is there a better way to do the gets, I can't do in multiples. Any
help is greatly appreciated.

thank you
-Durga

Here are the stats

memstat -slocalhost:99996
Listing 1 Server

Server: localhost (99996)
         pid: 32142
         uptime: 673
         time: 1225820196
         version: 1.2.6
         pointer_size: 64
         rusage_user: 0.791879
         rusage_system: 3.195514
         curr_items: 184742
         total_items: 184742
         bytes: 16404294
         curr_connections: 2
         total_connections: 4
         connection_structures: 3
         cmd_get: 4548
         cmd_set: 184742
         get_hits: 3581
         get_misses: 967
         evictions: 0
         bytes_read: 16404294
         bytes_written: 16404294
         limit_maxbytes: 67108864
         threads: 1
memstat -slocalhost:99997
Listing 1 Server

Server: localhost (99997)
         pid: 32139
         uptime: 683
         time: 1225820205
         version: 1.2.6
         pointer_size: 64
         rusage_user: 0.895863
         rusage_system: 3.108527
         curr_items: 184366
         total_items: 184366
         bytes: 16362752
         curr_connections: 2
         total_connections: 4
         connection_structures: 3
         cmd_get: 4353
         cmd_set: 184366
         get_hits: 3833
         get_misses: 520
         evictions: 0
         bytes_read: 16362752
         bytes_written: 16362752
         limit_maxbytes: 67108864
         threads: 1

Server: localhost (99998)
         pid: 32134
         uptime: 666
         time: 1225820185
         version: 1.2.6
         pointer_size: 64
         rusage_user: 0.885865
         rusage_system: 2.587606
         curr_items: 184515
         total_items: 184515
         bytes: 16381099
         curr_connections: 2
         total_connections: 4
         connection_structures: 3
         cmd_get: 4380
         cmd_set: 184515
         get_hits: 3403
         get_misses: 977
         evictions: 0
         bytes_read: 16381099
         bytes_written: 16381099
         limit_maxbytes: 67108864
         threads: 1


memstat -slocalhost:99999
Listing 1 Server

Server: localhost (99999)
         pid: 31957
         uptime: 833
         time: 1225820181
         version: 1.2.6
         pointer_size: 64
         rusage_user: 0.978851
         rusage_system: 2.687591
         curr_items: 183961
         total_items: 183961
         bytes: 16336807
         curr_connections: 2
         total_connections: 4
         connection_structures: 3
         cmd_get: 4131
         cmd_set: 183961
         get_hits: 3559
         get_misses: 572
         evictions: 0
         bytes_read: 16336807
         bytes_written: 16336807
         limit_maxbytes: 209715200
         threads: 1

Reply via email to