subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nico Kadel-Garcia <nka...@gmail.com>
Subject Re: SVN performance -URGENT
Date Sat, 03 Aug 2013 18:50:52 GMT
On Thu, Aug 1, 2013 at 10:18 AM, Somashekarappa, Anup (CWM-NR)
<anup.somashekarappa@rbc.com> wrote:
>
>
> Hello Bob,
>
> Thanks for your response.
>
> I tried in the same server where svn is hosted but there also it is taking too much of
time I e it is taking 110 mins to checkout the 2200 Mbytes of data(in Windows it took 143
mins).

CIFS is a very chatty protocol. May I assume that you're checkout out
to a network mounted directory? In this case, you might try checkout
out to a locally mounted directory, then simply copying the checkout
out directory over to your CIFS mount. It's ugly, but it was much,
much faster way back in Subversion 1.4.x days.

Also, 2 GBytes over a translatlantic checkout is.... not really that
bad. And remember that Subversion is writing all the files *twice*,
once in .svn, and once in the actually checkout out copy, so you're
effectively transmitting 2 GB and writing 4 GB.

Directories with many thousands of files in one directory are *hell*
on most operating systems, especially inefficiently configured network
mounts. Check for directories that have tens our hundreds of thousands
of files in one directory, and avoid that practice.

You might also try splitting up the upstream repository, and using
"svn:extern" to cross reference to other repositories. It can make for
much smaller, safer checkouts.


> I have not tried the command line option.Could you please tell how to do it from windows
machine?
>
> In windows when the checkout is completed I got a message saying 361 Mbytes(different
repository) transferred in 102 mins,but it is showing as 1.13GB when I checked the folder
size.Why there is so much of difference .

See the contents of the ".svn" subdirectory, which maintains prisitine
copies of all the files.

> Ideally for 361 Mbytes,the checkout should complete in few mins but it is taking 102
mins. :-(
>
> I cannot turn off the anti-virus part and check.

If nothing else comes to light, consider keeping a pre-staged checkout
in a central directory. Download a clean copy of *that*, and simply do
"svn update" and/or "svn switch" to switch to the relevant tag or
branch.

>
>
> Thanks,
> Anup

Mime
View raw message