Slow Network Performance

MikeUK

Cadet
Joined
Feb 3, 2020
Messages
9
Hi

I have the following setup router -> wireless to mesh nod -> Switch 1GBs. The Switch is connectenned wired to freenas box & ubuntu box
|
Latop (options or wifi or wire)

Wondering if anyone can help i am getting really slow transfer speed ~1-2 MBytes when copying files to my windows laptop (using wifi). If i copy from my other ubuntu box (on the same switch) i get around 10 MBytes to the laptop.

If i move to wired i get around 40+ MBytes to the latop from the freenas box, so i don't think it is the hardware on the freenas box but am a bit surprised that the other ubuntu box can get so much more if it was the laptop i would have expected it would have been the same for both machines.

The freenas box is using the on board Intel 82574L Gigabit (10/100/1000 Mb/s) Ethernet

Here are the results of the Iperf tests, which seeam to show if the freenas box is the client its much slower than it if server.

Anyone got any ideas?
Freenas IP = 192.168.x.x -
Windows laptop = 192.168.x.y

root@freenas[~]# iperf3 -c 192.168.x.x-bidir
Connecting to host 192.168.x.x, port 5201
[ 5] local 192.168.x.y port 53633 connected to 192.168.x.x port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1.46 MBytes 12.2 Mbits/sec 16 5.66 KBytes
[ 5] 1.00-2.00 sec 2.19 MBytes 18.4 Mbits/sec 25 8.53 KBytes
[ 5] 2.00-3.00 sec 1.52 MBytes 12.7 Mbits/sec 25 18.5 KBytes
[ 5] 3.00-4.00 sec 1.45 MBytes 12.2 Mbits/sec 28 18.5 KBytes
[ 5] 4.00-5.00 sec 1.90 MBytes 15.9 Mbits/sec 36 7.08 KBytes
[ 5] 5.00-6.00 sec 1.66 MBytes 13.9 Mbits/sec 30 9.98 KBytes
[ 5] 6.00-7.00 sec 1.80 MBytes 15.1 Mbits/sec 23 17.1 KBytes
[ 5] 7.00-8.00 sec 1.93 MBytes 16.2 Mbits/sec 25 5.68 KBytes
[ 5] 8.00-9.00 sec 1.81 MBytes 15.2 Mbits/sec 31 11.4 KBytes
[ 5] 9.00-10.00 sec 1.75 MBytes 14.7 Mbits/sec 28 11.4 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 17.5 MBytes 14.6 Mbits/sec 267 sender
[ 5] 0.00-10.00 sec 17.5 MBytes 14.6 Mbits/sec reciever


root@freenas[~]# iperf3 -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.x.y, port 51131
[ 5] local 192.168.X.x port 5201 connected to 192.168.X.y port 51132
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 10.6 MBytes 89.1 Mbits/sec
[ 5] 1.00-2.00 sec 11.0 MBytes 92.3 Mbits/sec
[ 5] 2.00-3.00 sec 11.1 MBytes 92.7 Mbits/sec
[ 5] 3.00-4.00 sec 11.3 MBytes 95.0 Mbits/sec
[ 5] 4.00-5.00 sec 11.4 MBytes 95.4 Mbits/sec
[ 5] 5.00-6.00 sec 11.2 MBytes 94.4 Mbits/sec
[ 5] 6.00-7.00 sec 11.1 MBytes 93.3 Mbits/sec
[ 5] 7.00-8.00 sec 11.4 MBytes 95.4 Mbits/sec
[ 5] 8.00-9.00 sec 11.4 MBytes 95.5 Mbits/sec
[ 5] 9.00-10.00 sec 11.4 MBytes 95.4 Mbits/sec
[ 5] 10.00-10.02 sec 256 KBytes 118 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.02 sec 112 MBytes 93.9 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5201 (test #2)
-----------------------------------------------------------
 
Joined
Dec 29, 2014
Messages
1,135
I am sure someone will mention that you should list your complete hardware configuration and software version (per forum rules). :smile:

With that out of the way, you need test throughput at each point in the network. What results do you get between the Ubuntu box and FreeNAS? You ought to be getting 90-95% of link speed there. It could be slower when the windows box is the server for a couple reasons. It could be CPU, or it could be the TCP window size. Window size is how much data the OS will leave unacknowledged before stopping transmission. This varies by OS. Does the speed change appreciably if you plug the laptop directly into the switch (with wireless off)?
 
Top