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

Re: Very slow network transfer

From: Christopher Key <cjk32_at_cam.ac.uk>
Date: 2006-04-07 01:08:44 CEST

Simon Large wrote:
> Christopher Key wrote:
>> Apologies if this has already been covered. I'm using tortoisesvn
>> with an SVN repository via http over the internet. Whilst the
>> transfer of files during an update following a switch is perfectly
>> fast, ~40kb/s, the initial 'handshake' that occurs is excruciatingly
>> slow, running at something of the order of 100 bytes per second and
>> often stalling altogether.
>>
>> Is this a known issue? Is it likely to be my configuration, or that
>> of the repository? Ethereal shows the traffic as repeated 'PROPFIND'
>> requests, and from what I can tell from the delay between requests is
>> with the server.
>>
>> If the problem is simply network latency, might it perhaps be
>> desirable to adapt the protocol slightly so that multiple requests
>> can either be sent concurrently, or per http request?
>
> Wrong mailing list - this is a Subversion question. TortoiseSVN just
> uses the SVN client libraries so it has no control over that side of
> it.
> The real bottleneck does indeed seem to be the server, or at least the
> WAN connection to it - the tortoisesvn repository is also painfully
> slow sometimes. I use svn:// protocol on my server at work and
> transactions over broadband from home are almost as responsive as
> over the LAN in the office. Going transatlantic might be slower of
> course. SVN is currently developing a new http layer based on Serf
> instead of Neon. That may help - maybe ...
>

Thanks for the reply. I really should have realised that this was an SVN
issue; my first thought was that this is a client issue, hence it must be
tortoisesvn. The problem does seem to be one of latency rather that just
raw bandwidth. Pinging the SVN server gives response times of around a
second or so, which seems of the right order for the interval between
packets noted. Sounds like the server as a whole, or its internet
connection is simply overloaded as you say.

I suspect however that an improvement in the protocol, if possible, to allow
multiple svn requests per http request would be beneficial. If the
connection is capable of ~50kb/s, it hardly seems optimal to be sending 1kb
packets every second or so! I'll send my queries along to the main
subversion mailing list.

Chris Key

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Apr 7 01:08:00 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.