[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Trials with memcached

From: Geoff Hoffman <ghoffman_at_cardinalpath.com>
Date: Thu, 7 Jul 2011 17:31:32 -0700

Tony -

Strange results to be sure. You probably thought of all this, but...
Did you check Memcached is working correctly without Subversion?
Did you check the results of checking out or updating the 2nd or 3rd time?
In other words, it may take longer the first time because every object in
the repo has to be checked for existence/expiry in the cache.
Did you check that you gave Memcached enough memory to fit the entire 250mb
repo (comfortably) in RAM?
If not then memcached itself tries to use swap space?
32-bit or 64-bit VM?
Did you try it on physical hardware?

On Thu, Jul 7, 2011 at 4:59 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name>wrote:

> This doesn't address memcached directly, but there has been a /lot/ of
> work on server-side optimization and caching in 1.7 (also for
> non-memcached-backed caches).
>
>
> http://subversion.apache.org/docs/release-notes/1.7#server-performance-tuning
>
> You might want to take 1.7.0-alpha3 for a spin...
>
> Tony Butt wrote on Wed, Jul 06, 2011 at 15:20:27 +1000:
> > We are running subversion 1.6.17 on a vmware hosted server. We recently
> > reconfigured the server to give 4 virtual CPUs (up from 1), and a
> > significant amount of memory.
> >
> >
> > In order to spruce up our performance a little, I looked into the use of
> > memcached with subversion again, found the correct config parameter, and
> > set it up. Our server is running Ubuntu 10.04, Apache 2.2. Access
> > mechanism is http (of course). The client used is running Ubuntu 11.04,
> > and svn commandline (1.6.17 also)
> >
> > The results were interesting, to say the least.
> >
> > Checkout of a tree, about 250M in size:
> >
> > Without memcached, 1 1/2 to 2 minutes, varies with server load
> > With memcached, 12 minutes (!)
> >
> > Update of the same tree,
> > Without memcached, 9 seconds
> > With memcached, 14 seconds - repeated several times, similar results.
> >
> > I am not sure what anyone else's experience is, but we will not be
> > enabling memcached for subversion any time soon.
> > --
> > Tony Butt <tjb_at_cea.com.au>
> > CEA Technologies
> >
>
Received on 2011-07-08 02:32:09 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.