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

SVN Client Very Slow on Windows Compared to Linux

From: Andrea Rosso <aarosso_at_gmail.com>
Date: Mon, 11 Jan 2010 10:56:24 -0800

Hi,

I've been a long time user of SVN but am running into a strange performance
issue with Windows that I cannot figure out.

I have a 1.6.6 SVN Server running on Debian Linux (Sparc). I've created a
repository with about 10,000 files taking up about 130Mb (website with lots
of small files like dojo, cake, etc.). I'm serving out the repository via
apache 2.2 over http and https (I ultimately want https but am trying http
to see if there are any differences) and there repos is password protected.

On a Fedora Core 11 machine running the SVN 1.6.6 client (over the
internet), the check out of the entire repository runs fine. I don't expect
it to be blazing fast over the internet but the files being checked
out consistently scroll across my window and I can get the whole repository
in a reasonable amount of time.

On a Windows XP Machine and Windows Vista Machine running the SVN 1.6.6
Command line client, on the same network as the Fedora Core 11 machine, I
consistently get very slow performance. The checkout starts out fast, but
then slows down considerably. It seems like the files are checked out in
batches, and that each batch gets slower and slower. I don't get very far in
the check out when each batch takes more than 1-2 minutes (a batch seems to
contain maybe 10-15 files) and gets slower and slower.

I've run strace on the server and all I can tell is that the server is
waiting to write out to the socket. Both client and server aren't using any
CPU and memory is fine. Windows machines are not running anti-virus or
indexing.

I've tried this over http and https and even though http is slightly faster
it has the same behaviour.

I've tried svn+ssh using TortoiseSVN and with that I see better performance
but I'd prefer to use https (http and https in TortoiseSVN are also slow
like the command line).

I used to have this repository on Fedora Core 5 but I don't remember the
exact version (I think it might have been 1.4.2) and I did not run into
these problems. Unfortunately that machine is gone so I can't compare.

I've tried the 1.4.2 SVN Server (started with that and then upgraded it to
1.6.6). I've also tried the 1.5.3 and 1.4.5 svn command line clients and
have the same issues.

What could this be? It seems to be some sort of hand shake issue between
client and server. Maybe there is some tweaking in the Apache config that
needs to be done for windows clients?

Thanks,

Andrea
Received on 2010-01-11 21:03:43 CET

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