Re: Slow Network transfer Speed in Fedora 13
There are many variables. rsync is usually faster than ftp. Encrypted transfers are slower still. Is all your network hardware gigabit capable (and if it is are you running gigabit in Linux).
or whatever your port name is will give you link information.
Have you done any parameter optimization in the kernel and drivers?
Upping your txqueuelen may help
ifconfig eth0 txqueuelen 10000
might be a good test.
Does your Windows box do MTU discovery to see if it can send larger packets and have you configured your eth port for big packets locally?
system-config-network, edit the device and set MTU to the largest size valid for your network. I'm sure network manager will do this as well, but I've never made the switch. Be sure to enable MTU discovery if all the boxes aren't running at the same MTU level.
There are tons of configurations you can do to the kernel configuration as well. Examples include
net.ipv4.tcp_mtu_probing = 1
net.core.rmem_max = 8388608
net.core.wmem_max = 8388608
net.ipv4.tcp_rmem = 4096 87380 8388608
net.ipv4.tcp_wmem = 4096 87380 8388608
net.ipv4.route.flush = 1
net.ipv4.tcp_no_metrics_save = 0
net.ipv4.tcp_moderate_rcvbuf = 1
net.core.netdev_max_backlog = 2500
net.ipv4.tcp_congestion_control = cubic
net.ipv4.tcp_abc = 2
net.ipv4.tcp_ecn = 1
net.ipv4.tcp_adv_win_scale = 7
These can go in /etc/sysctl.conf and were taken from various network speed optimization pages for Linux. You can also edit them directly
echo "7" >/proc/sys/net/ipv4/tcp_adv_win_scale
but the changes won't be saved through startup - edit /etc/sysctl.conf when you're happy.
With these settings, I can run around 40 to 50 megabytes per second with rsync even with an MTU of 1500. If I upgraded my hardware on the box on the receiving end to something that handled jumbo packets, it would do better.