Doesn't BerkelyDB write to disk? (of course I could use a tmpfs...... hmmm ) And I us the auto expire of items in memcache....
Thanks for the tip, I definitely will consider it! Hans On Tue, Apr 28, 2015 at 2:43 PM, Perrin Harkins <[email protected]> wrote: > You might want to look at alternatives in that kind of setup. For example, > BerkeleyDB is quite a bit faster than memcached when your cache is just on > one local system. The advantages of memcached come into play when you have > a large cache across multiple machines. > > - Perrin > > On Mon, Apr 27, 2015 at 6:00 AM, Hans Kramer <[email protected]> > wrote: > >> Hi, >> >> I am using memcached on a system with very modest RAM: 64Mb to be precise >> (an Artila Matrix 504). >> I have specified -M 1 -t 1 to reduce the memory allocated by memcached. >> Now RSS is always modest and around an explainable value, however, VSZ is >> at least 20Mb and with every >> thread I add VSZ increases with at least 6 Mbytes. If I understand this >> correctly, this relative "high" VSZ, increases the oom_score >> a lot. Hence I would like to reduce unnecessary alloc as much as >> possible. >> I have briefly looked at the memcached source and I cannot any >> significant mallocs. Is this perhaps coming from the libevent >> library? >> >> Any insights will be helpful. >> >> Kind regards >> >> Hans >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "memcached" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "memcached" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/memcached/c-jJSFKZ1d0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
