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

Re: svn commit/checkout performance issues (P5)

From: Sergey Bogdanov <Serge.Bogdanov_at_intel.com>
Date: 2004-12-01 22:45:31 CET
ššš I was doing more experiments. First of all as it turned out, subversion was initially built with fsfs support only. I spent some time to add bdb 4.2.52 suppoprt to it and ran some experiments on different configurations. The size of the clients after the last update was 899,576K (du -sk).

Here are the results:

ššš šššššššššššš nosyncššš ššš syncššš ššš fsfs
(client: nfs)ššš ššš

importššš šššš 8:42.89ššš ššš 16:07.87ššš 2:14.71
rep size(k)ššš 403,756ššš ššš 403,760šššš 181,112

checkoutšššššš 20:12.19šššššš 22:39.56šššš 17:43.4ššš
add --forceššš š3:11.6ššš ššš š3:13.80ššš š 3:06.98
commitššš šššš 57:59.91šššš 1:00:44.99šššš 45:00.68šš !!! ššš ššš ššš šš
rep size(k)ššš 798,128ššš šššš 798,132ššš š 310,080ššš ššš ššš ššš ššš ššš

So, the client was on a nfs site. The most interesting is that 'fsfs' has the best times and repository sizes. Can you tell me why you switched over to the berkley db?

I also noticed that putting client workspace on a local disk produced much better performance. I am going to repeate the test sequence from above in the local-disk client mode.

Brandon Ehle wrote:

accurev updateššššššš 5:02
svn checkoutššššššššš 17:36 (pretty long)ššššššššššššššššš
repository size:

svnššššššššššššššššš 493,024K (~180,000 per kit version) (impressive)
accurevššššššššššš 1,379,852K (~400,000K per kit version)

What are the working copy (client) sizes after checkout?š Also what filesystem are you running on the clients?

Also, do you know about the --bdb-txn-nosync flag or did you use the FSFS repository format?š During imports or commmits, setting the --bdb-txn-nosync flag on the repository can be as much as 30x or more speedup.š On checkouts with this flag set, you should see about a 2x speedup.

>> Sergey Bogdanov

      INTEL massachusetts	
      77 Reed Rd, Hudson, MA 01749
      Tel: (978) 553-2724
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Wed Dec 1 23:27:46 2004

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.