2
I have 2 machines running Windows Xp SP3. I have cygwin installed on both, version 1.7. I have rsync and ssh installed on both, and configured using default settings as per ssh-host-config and ssh-user-config programs provided.
I moved the public keys into their respective locations, and basically ssh is working fine. i began an rsync operation, using:
rsync -av --delete --hard-links local_dir username@other_machine:/some_dir
well... on both machines, the processor is running near idle, no heavy usage. I checked IO using process explorer on both machines, and that too is at normal levels (1~2 MB/s), so I can't see where the bottlenecks are, because network performance is aweful. I'm not going over 1MB/s... when a normal file copy using windows sharing achieves some ~10 MB/s..
What could be wrong?
edit1:
As suggested, i ran an iperf test, with not-so-good results at all...
$ iperf -c 192.168.66.3 -t 10
------------------------------------------------------------
Client connecting to 192.168.66.3, TCP port 5001
TCP window size: 64.0 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.66.5 port 1220 connected with 192.168.66.3 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-17.0 sec 72.0 KBytes 34.7 Kbits/sec
edited post.. iperf was dead slow :S – Waleed Hamra – 2012-11-30T11:19:17.360
Could you run iperf between cygwin+windows (in both variants)? Maybe only one of the cygwin installations has a problem. – C-Otto – 2012-11-30T12:03:15.037
same results. so i decided to do another test. this time in UDP. it's not perfect, but much better, around 1 MB/s in contrast to the 35KB/s i'm getting using TCP.. – Waleed Hamra – 2012-11-30T12:10:21.140
Also very slow. I found out that VirtualBox NAT is the culprit, solve the problem with this command: VBoxManage modifyvm "VM Name" --natsettings1 1500,1024,1024,1024,1024 (more information: http://techblog.geeksbrain.net/2012/11/how-i-solved-slow-windows-upload-speed-when-using-virtualbox-nat-or-bridged/)
– cmc – 2014-03-15T20:35:52.523