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

Re: Optimizing SVN switch

From: Bill Soudan <bill_at_soudan.net>
Date: 2004-04-09 19:41:40 CEST

On Fri, 9 Apr 2004 kfogel@collab.net wrote:

> Bill Soudan <bill@soudan.net> writes:
>
> > 1) Can wcprops be eliminated entirely? Why aren't they just stuffed into
> > the entries file? My guess is that the file is seperate for a good
> > reason, but if so, what is it?
>
> Only ra_dav uses the wcprops. An interesting experiment, if you have
> the setup to do it, would be to try the same operations over
> svnserve/ra_svn and see how the timings compare. That could tell us a
> lot.

Night and day. Great news, I didn't expect this to be an easy fix.
Timings for svn+rsh vs. http:

~/svn_rsh$ time svn switch svn+rsh://
0.70u 5.40s 0:11.60 52.5%

~/svn_http$ time svn switch http://
3.31u 156.62s 4:11.74 63.5%

For now, I'll switch over to svnserve. What should I do from here? File
an enhancement request for ra_dav? Or is this dramatic enough to be
considered a bug?

Most obvious fix to me would be to just maintain the wcprops in memory
during the operation and store them in the entries file in order to reduce
the huge number of file operations. Or, if possible, eliminate ra_dav's
need for them entirely. Keeping them in seperate files is just enormously
expensive for working copies on an NFS mount, a not exactly uncommon
situation.

Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 9 19:42:00 2004

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

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