Hi,

On Wed, Apr 22, 2009 at 9:54 PM, Anatoly Vorobey
>
>
>> It was a standard installlation (memcached 1.2.6), and is a fairly
>> simple invocation like so:
>> /usr/local/bin/memcached -u nobody -d -m 1536 -l 127.0.0.1 -p 11211 -
>> P /tmp/memcached.pid
>>
>
Have you tried experimenting with the "-f" option? The default increment in
case the value does not fit in a current bucket is to increase the size by
25% percent. Its possible this is causing wastage in your specific use case
- in case your values are a wee bit beyond the standard bucket size. Using
smaller fractions might help here (-f 1.05 and in smaller such increments
for example)

Regards,
Nikhils


>
>> Running the code on a test machine, killing memcache and to re-
>> starting it, then pre-loading as much cache as I can think of at the
>> moment: looking at stats()->{total}->{bytes_written} ... I only appear
>> to be using ~100M.
>>
>> I have absolutely no measuring stick and would be delighted beyond
>> words if this was true. Because if it is then I can't believe the
>> amount data I can keep in cache (if I can get it working). And I
>> should probably upgrade to a more recent version, but I don't think
>> this will change my current problem.
>
>
>
>
> --
> Anatoly Vorobey, [email protected]
> http://avva.livejournal.com (Russian)
> http://www.lovestwell.org (English)
>
>

Reply via email to