Maybe he is asking HOW memcached allocates memory?

I'm no expert but from what I understand memcached will allocate memory in
"slabs" of a fixed length. If the data to be saved is smaller then the slab,
the entire slab will be used. Once a slab is no longer used, memcached will
still hold on to this allocation in order to re-use it at a later point in
time.

With the slab allocation you also prevent fragmentation of your memory,
increasing read/write times.



On Thu, Jun 18, 2009 at 3:43 AM, Dustin <[email protected]> wrote:

>
>
> On Jun 17, 11:00 am, romeo <[email protected]> wrote:
> > what does memory allocation memcached do  ?
>
>  It's not clear what you're trying to ask.  Can you rephrase your
> question?

Reply via email to