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

Re: Relative performance of http:// vs. svn://

From: John Waycott <javajohn_at_cox.net>
Date: 2005-09-20 06:38:42 CEST

Paul Koning wrote:

> John> Some testing my group has done (I don't have exact figures
> John> here) showed that for us the biggest issue seems to be network
> John> latency. If the ping times between the server and client are
> John> short, you may see less of a difference. The round-trip ping
> John> times between some of our offices is about 500ms. For
> John> checkouts, we see svn:// about 2-3 times faster than
> John> http://. We see very little difference when accessing the
> John> repository from the local LAN. 'svn ls' over http:// is
> John> excruciatingly slow, never taking less than 10 seconds to even
> John> get a response back. With svn:// it takes maybe 2 seconds.
>
>I'm a bit confused whether you're saying the two are a lot different,
>or not different.
>
>Anyway, I've been doing a whole bunch of tests on a large repository
>(71k files) on a local LAN, fast server, pretty fast client. (Server
>is Linux, client is NetBSD.)
>
>svnserve is consistently significantly faster. Specifically:
>
>checkout 20:37 vs. 32:52
>switch 8:55 vs. 21:32
>status 3:53 vs. 5:21
>update 6:30 vs. 9:01
>
>
>
The slowness we experience with http: seems to do more with the number
of packets sent rather than the number of bytes. On our LAN, the
round-trip time between my workstation and our svn server is less than
1ms. Our developers in Russia experience a round-trip time of about
500ms between client and server. We are working to upgrade our network
which will reduce the latency.

The 'svn ls' experiment, for example, 20 packets are exchanged between
the client and server when running over http: before anything really
happens. This translates to a 10-second delay for the remote users, and
an unnoticeable 16ms delay for local users. svn: is faster on our LAN,
the difference is just not as dramatic as it is for our Russian office.
I'm glad we aren't using satellite links for connecting our remote
offices :-)

---
John
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 20 06:40:36 2005

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.