Oracle 5.0 Reference Manual page 1377

Table of Contents

Advertisement

slab class
31: chunk size
slab class
32: chunk size
slab class
33: chunk size 120320 perslab
slab class
34: chunk size 150400 perslab
slab class
35: chunk size 188000 perslab
slab class
36: chunk size 235000 perslab
slab class
37: chunk size 293752 perslab
slab class
38: chunk size 367192 perslab
slab class
39: chunk size 458992 perslab
<26 server listening (auto-negotiate)
<29 server listening (auto-negotiate)
<30 send buffer was 57344, now 2097152
<31 send buffer was 57344, now 2097152
<30 server listening (udp)
<30 server listening (udp)
<31 server listening (udp)
<30 server listening (udp)
<30 server listening (udp)
<31 server listening (udp)
<31 server listening (udp)
<31 server listening (udp)
Using this verbosity level can be a useful way to check the effects of the growth factor used on slabs
with different memory allocations, which in turn can be used to better tune the growth factor to suit
the data you are storing in the cache. For example, if you set the growth factor to 4 (quadrupling the
size of each slab):
shell> memcached -f 4 -m 1g -vv
slab class
1: chunk size
slab class
2: chunk size
slab class
3: chunk size
slab class
4: chunk size
slab class
5: chunk size
slab class
6: chunk size
slab class
7: chunk size 327680 perslab
...
During use of the cache, this verbosity level also prints out detailed information on the storage
and recovery of keys and other information. An example of the output during a typical set/get and
increment/decrement operation is shown below.
32: Client using the ascii protocol
<32 set my_key 0 0 10
>32 STORED
<32 set object_key 1 0 36
>32 STORED
<32 get my_key
>32 sending key my_key
>32 END
<32 get object_key
>32 sending key object_key
>32 END
<32 set key 0 0 6
>32 STORED
<32 incr key 1
>32 789544
<32 decr key 1
>32 789543
<32 incr key 2
>32 789545
<32 set my_key 0 0 10
>32 STORED
<32 set object_key 1 0 36
>32 STORED
<32 get my_key
>32 sending key my_key
>32 END
<32 get object_key
>32 sending key object_key1 1 36
Using
memcached
77000 perslab
13
96256 perslab
10
8
6
5
4
3
2
2
80 perslab 13107
320 perslab
3276
1280 perslab
819
5120 perslab
204
20480 perslab
51
81920 perslab
12
3
1357

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents