You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sergey Bogdanov <Se...@intel.com> on 2004/12/01 21:45:31 UTC

Re: svn commit/checkout performance issues (P5)

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=KOI8-R" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
    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).<br>
<br>
Here are the results:<br>
<br>
<font face="Courier New, Courier, monospace">                 nosync   
    sync        fsfs<br>
======================================================<br>
(client: nfs)        <br>
<br>
import         8:42.89        16:07.87    2:14.71<br>
rep size(k)    403,756        403,760     181,112<br>
<br>
checkout       20:12.19       22:39.56     17:43.4    <br>
add --force     3:11.6         3:13.80      3:06.98<br>
commit         57:59.91     1:00:44.99     45:00.68   !!!            
   <br>
rep size(k)    798,128         798,132      310,080                   
    <br>
=====================================================<br>
</font><br>
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?<br>
<br>
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. <br>
<br>
Brandon Ehle wrote:
<blockquote cite="mid41AB8A7C.5030902@yahoo.com" type="cite"><br>
  <blockquote type="cite"><br>
=========================================
    <br>
checkout
    <br>
========
    <br>
accurev update        5:02
    <br>
svn checkout          17:36 (pretty long)                  <br>
=========================================
    <br>
repository size:
    <br>
    <br>
svn                  493,024K (~180,000 per kit version) (impressive)
    <br>
accurev            1,379,852K (~400,000K per kit version)
    <br>
    <br>
  </blockquote>
  <br>
What are the working copy (client) sizes after checkout?  Also what
filesystem are you running on the clients?
  <br>
  <br>
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.
  <br>
  <br>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
&gt;&gt; Sergey Bogdanov

      INTEL massachusetts	
      HD2-2/246
      77 Reed Rd, Hudson, MA 01749
      Tel: (978) 553-2724
</pre>
</body>
</html>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org