Page 1 of 1

Download speed slower than upload speed

Posted: 14 Jan 2013 11:00
by macrobug
Hi All
I'm using Nas4free(9.1.0.1.573) on ECS 915P-A (V3.0) with NIC RTL8110S.

When i copy large file from my PC to the NAS i reach a speed of 45MB/s. When I copy a large file from the NAS to PC i just reach a speed of 4MB/s!

I down samba and ran iperf

Code: Select all

Upload to NAS
iperf.exe -c 192.168.1.77 -P 1 -i 1 -p 5001 -f M -t 10 -w 64K
[ ID] Interval       Transfer     Bandwidth
[132]  0.0- 1.0 sec  74.6 MBytes  74.6 MBytes/sec
[132]  1.0- 2.0 sec  77.0 MBytes  77.0 MBytes/sec
[132]  2.0- 3.0 sec  76.1 MBytes  76.1 MBytes/sec
[132]  3.0- 4.0 sec  75.5 MBytes  75.5 MBytes/sec
[132]  4.0- 5.0 sec  52.1 MBytes  52.1 MBytes/sec
[132]  5.0- 6.0 sec  76.5 MBytes  76.5 MBytes/sec
[132]  6.0- 7.0 sec  76.3 MBytes  76.3 MBytes/sec
[132]  7.0- 8.0 sec  76.0 MBytes  76.0 MBytes/sec
[132]  8.0- 9.0 sec  76.3 MBytes  76.3 MBytes/sec
[132]  9.0-10.0 sec  77.0 MBytes  77.0 MBytes/sec
[132]  0.0-10.0 sec   738 MBytes  73.6 MBytes/sec

Code: Select all

Download from NAS
$ iperf -c 192.168.1.100 -P 1 -i 1 -p 5001 -f M -t 10 -w 64K
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec  6.62 MBytes  6.62 MBytes/sec
[  3]  1.0- 2.0 sec  5.50 MBytes  5.50 MBytes/sec
[  3]  2.0- 3.0 sec  4.25 MBytes  4.25 MBytes/sec
[  3]  3.0- 4.0 sec  4.62 MBytes  4.62 MBytes/sec
[  3]  4.0- 5.0 sec  5.00 MBytes  5.00 MBytes/sec
[  3]  5.0- 6.0 sec  11.0 MBytes  11.0 MBytes/sec
[  3]  6.0- 7.0 sec  5.62 MBytes  5.62 MBytes/sec
[  3]  7.0- 8.0 sec  6.50 MBytes  6.50 MBytes/sec
[  3]  8.0- 9.0 sec  4.50 MBytes  4.50 MBytes/sec
[  3]  9.0-10.0 sec  6.00 MBytes  6.00 MBytes/sec
[  3]  0.0-10.2 sec  59.8 MBytes  5.86 MBytes/sec
Why are download speed is much slower than upload speed?

Re: Download speed slower than upload speed

Posted: 14 Jan 2013 11:24
by raulfg3
First try to eliminate cable from equation, change cable by a cat-6 and repeat test, if not works, perhaps you need some tunning:

read : viewtopic.php?f=55&t=206

and start to play with: net.inet.tcp.sendbuf and net.inet.tcp.recvbuf I play with default=64240 , I'll try 64240/2 and 64240*2 , try one a one each time and do test copying a big ISO file From and to NAS, in recv and in send variables, and use best for you.