vom
Dabbler
- Joined
- Nov 13, 2012
- Messages
- 24
Hello,
I'm noticing something that might have been an issue for a while, but other troubleshooting seems to have uncovered it for me. I have FreeNAS 9.3 connected via gig (wired), and my primary client is my Macbook Air connected via 802.11ac. Using iperf - I get very good numbers. Using scp (to /dev/null to rule out disk) - I get ~ 10% of the iperf numbers. Doing the same tests to a linux server however results in better more consistent numbers.
Here are the iperf numbers, FreeNAS first, linux server second:
Here's where I scratch my head - scp'ing an ISO to FreeNAS /dev/null gets 5.9MB/s - and the same to linux gets 47.0MB/s. These boxes are the same hardware, connected to the same switch.
Scp'ing from the wired linux to wired FreeNAS results in pretty good numbers (>30MB/s). It almost feels like FreeBSD is more sensitive to latency on the wireless and Linux adapts ?
PS: Yes I know wireless sucks. I'm simply looking for anyone with any ideas regarding the above data points and apparent discrepancies. In other words - I know how to "solve" the problem (don't use wireless) - but I'm bothered that I can get numbers I expect out of linux but not FreeNAS.
Thanks in advance.
I'm noticing something that might have been an issue for a while, but other troubleshooting seems to have uncovered it for me. I have FreeNAS 9.3 connected via gig (wired), and my primary client is my Macbook Air connected via 802.11ac. Using iperf - I get very good numbers. Using scp (to /dev/null to rule out disk) - I get ~ 10% of the iperf numbers. Doing the same tests to a linux server however results in better more consistent numbers.
Here are the iperf numbers, FreeNAS first, linux server second:
Code:
[vom@freenas ~]$ iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 64.0 KByte (default) ------------------------------------------------------------ [ 4] local 192.168.64.12 port 5001 connected with 192.168.64.21 port 56236 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 634 MBytes 531 Mbits/sec [vom@freenas ~]$ iperf -c 192.168.64.21 ------------------------------------------------------------ Client connecting to 192.168.64.21, TCP port 5001 TCP window size: 32.5 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.64.12 port 30023 connected with 192.168.64.21 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 545 MBytes 457 Mbits/sec --- vom@ice:~$ iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 192.168.64.1 port 5001 connected with 192.168.64.21 port 56353 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 735 MBytes 615 Mbits/sec vom@ice:~$ iperf -c 192.168.64.21 ------------------------------------------------------------ Client connecting to 192.168.64.21, TCP port 5001 TCP window size: 23.5 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.64.1 port 49390 connected with 192.168.64.21 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 516 MBytes 432 Mbits/sec
Here's where I scratch my head - scp'ing an ISO to FreeNAS /dev/null gets 5.9MB/s - and the same to linux gets 47.0MB/s. These boxes are the same hardware, connected to the same switch.
Code:
onosendai:~ vom$ scp isos/ubuntu-14.04-server-amd64.iso vom@freenas:/dev/null ubuntu-14.04-server-amd64.iso 100% 564MB 5.9MB/s 01:36 onosendai:~ vom$ scp -P 54321 isos/ubuntu-14.04-server-amd64.iso vom@ice:/dev/null ubuntu-14.04-server-amd64.iso 100% 564MB 47.0MB/s 00:12
Scp'ing from the wired linux to wired FreeNAS results in pretty good numbers (>30MB/s). It almost feels like FreeBSD is more sensitive to latency on the wireless and Linux adapts ?
PS: Yes I know wireless sucks. I'm simply looking for anyone with any ideas regarding the above data points and apparent discrepancies. In other words - I know how to "solve" the problem (don't use wireless) - but I'm bothered that I can get numbers I expect out of linux but not FreeNAS.
Thanks in advance.