HELP ! How Memcached objects are stored in the good SLAB

2015-11-14 Thread Nicolas Martinez
Hi, few days i'm reading Memcached documentation and blogs... and i don't understand how objects are stored. *My test* 3 slabs : - 96.0 Bytes - 120.0 Bytes - 240.0 Bytes Everywhere, it's told : - if data is < 96 Bytes, it will be stored in Slabs1 (96B) - if data >

Re: HELP ! How Memcached objects are stored in the good SLAB

2015-11-14 Thread Nicolas Martinez
Add: Memcached version : 1.4.4 (RedHat) Le samedi 14 novembre 2015 14:49:37 UTC+1, Nicolas Martinez a écrit : > > Hi, > few days i'm reading Memcached documentation and blogs... and i don't > understand how objects are stored. > > *My test* > > 3 slabs : > > >- 96.0 Bytes > - 120.0

Re: HELP ! How Memcached objects are stored in the good SLAB

2015-11-14 Thread dormando
The mysql docs don't speak for the main tree... that's their own thing. the "sizes" binary that comes with the source tree tells you how many bytes an item will use (though I intend to add this output to the 'stats' output somewhere). With CAS this is 56 bytes. 56 + 2 + 30 == 88. Class 1 by