-Original Message-
From: Brian Moon [mailto:br...@moonspot.net]
Sent: Tuesday, July 06, 2010 8:36 PM
To: memcached@googlegroups.com
Cc: siroga
Subject: Re: LRU mechanism question
Just to pile on, test data that is all the same size like that is
probably a very bad test of memcached
: Re: LRU mechanism question
Just to pile on, test data that is all the same size like that is
probably a very bad test of memcached. Most likely, all your data is not
the exact same size.
Brian.
http://brian.moonspot.net/
On 7/6/10 5:36 PM, siroga wrote:
Hi,
I just started
Hi Sergei,
For various reasons (performance, avoiding memory fragmentation),
memcached uses a memory allocation approach called slab allocation. The
memcached flavor of it can be found here:
http://code.google.com/p/memcached/wiki/MemcachedSlabAllocator
Chances are, your items didn't fit
Here's a more succinct and to the point page:
http://code.google.com/p/memcached/wiki/NewUserInternals
^ If your question isn't answered here ask for clarification and I'll
update the page.
Your problem is about the slab preallocation I guess.
On Tue, 6 Jul 2010, Matt Ingenthron wrote:
Hi
Sergei,
One more tidbit would be that doesn't appear in either of those links
(though I'm not sure it'd necessarily be super-appropriate in either)
that may throw off new users is that `flush`-based commands are
only invalidating objects, _not_ clearing the data store. The above
links should be
Just to pile on, test data that is all the same size like that is
probably a very bad test of memcached. Most likely, all your data is not
the exact same size.
Brian.
http://brian.moonspot.net/
On 7/6/10 5:36 PM, siroga wrote:
Hi,
I just started playing with memcached. While doing
-Original Message-
From: Brian Moon [mailto:br...@moonspot.net]
Sent: Tuesday, July 06, 2010 8:36 PM
To: memcached@googlegroups.com
Cc: siroga
Subject: Re: LRU mechanism question
Just to pile on, test data that is all the same size like that is
probably a very bad test of memcached. Most likely
@googlegroups.com
Cc: siroga
Subject: Re: LRU mechanism question
Just to pile on, test data that is all the same size like that is
probably a very bad test of memcached. Most likely, all your data is not
the exact same size.
Brian.
http://brian.moonspot.net/
On 7/6/10 5:36 PM, siroga