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

Re: SVN performance -URGENT

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Sat, 3 Aug 2013 14:50:52 -0400

On Thu, Aug 1, 2013 at 10:18 AM, Somashekarappa, Anup (CWM-NR)
<anup.somashekarappa_at_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
Received on 2013-08-03 20:51:32 CEST

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