My company is currently using TortoiseSVN 1.6.16 32-bit on Windows XP to connect via HTTPS to a VisualSVN-Server 2.1.19 running on a Windows Server 2003 residing in the same network (no proxy). We use a self-signed certificate and Kerberos authentication using windows credentials (I suppose this is a VisualSVN-specific feature). In this setup, everything works dandy.
When my company decided to move on to Windows 7, we tried TortoiseSVN 1.7.6 64-bit on Windows 7 64-bit which resulted in the following problem:
- Any operation involving the server (repo-browser, checkout, update, checkin, ...) is unbearably slow e.g.
- opening the repo-browser (10 projects): 15 min
- update on a fresh checkout of 50 files: 1 min
- checkin of a single empty file: 30 sec
- Tortoise shows alternatively normal transmission speeds and 0 byte/s. Many small files seem to be slower than a few big ones.
- The slow connection results in various failures when using neon as http-lib (serf is still slow, but operation finishes successfully without errors)
- EasySVN, SmartSVN and the SVN command line client that comes with TortoiseSVN show the same behaviour. Same with TortoiseSVN 1.6.16 64-bit.
- Changing the server protocol to HTTP (no SSL) does not improve the situation
On the other hand
- TortoiseSVN 1.7.6 32-bit on Windows XP works fine with our server
- Access via browser/WebDAV works well even under Windows 7
- Server side logs do not show errors or even warnings
I found several posts which also complained about slow behaviour on Windows 7, but they didn't fit my bill because they were local operations or were restricted to TortoiseSVN.
As there is no indication that there is a general problem with Subversion on Windows 7, I suspect that it could be our OS' networking parameters or protocol versions. Are there any parameters which are known to influence Subversion's performance?
I have to admit I am not familiar with how exactly Subversion (or rather neon/serf) relies on the OS and on which parts. Any information on that would be greatly appreciated.
Are there any parameters in the subversion 'servers' file which I should test? How would you consider my chances that Wireshark'ing the connection will help me?
Similar experiences, opinions, hints, help and straws are welcome.
Wireshark shows sporadic gaps of ca. 5 sec in the TCP stream apparently caused by VisualSVN Server.
- https: the server acknowledges the client hello then waits for 5 secs before sending its server hello
- https: the server acknowledges the client key and than takes 5 secs before supplying its encrypted handshake data
- https: even outside the handshake, server sometimes sends an ACK (on TCP level) and then waits for 5 sec before sending something back to the client (the data is encrypted so it's hard to tell whether the break occurs at some point of interest)
- http: at both server side transmissions during the NTLM authentication
- http: before server sending a FIN flag
hosts
entry and it sprang to life. – Sepalous