Hi - I've heard others post with the same question over the span of many years, but I didn't quite find a solution. I'm getting really slow transfer speeds to my FreeNAS
Testing setup
Macbook Pro --->>>wireless-->>Unifi AP-->>unifi switch--->>unmanaged switch (Gigabit)--->>FreeNAS 11.2 U6
.............................................................................. |
...............................................................................|
..............................................................xcp-ng hypervisor<--- pfsense router VM
.......................................................................................... <--- ubuntu VM
...........................................................................................<---- arch VM
Hopefully that makes sense
ipef2 from MBP to FreeNAS
iperf from MBP to arch VM
iperf archVM to FreeNAS
Cat5e cabling for wired connection
Kernel parameters for freenas:
Testing setup
Macbook Pro --->>>wireless-->>Unifi AP-->>unifi switch--->>unmanaged switch (Gigabit)--->>FreeNAS 11.2 U6
.............................................................................. |
...............................................................................|
..............................................................xcp-ng hypervisor<--- pfsense router VM
.......................................................................................... <--- ubuntu VM
...........................................................................................<---- arch VM
Hopefully that makes sense
ipef2 from MBP to FreeNAS
Code:
iperf -c 10.0.1.197 -i 2 ✔ 175 06:38:00 ------------------------------------------------------------ Client connecting to 10.0.1.197, TCP port 5001 TCP window size: 85.0 KByte (default) ------------------------------------------------------------ [ 3] local 10.0.1.107 port 40530 connected with 10.0.1.197 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 2.0 sec 1.25 MBytes 5.24 Mbits/sec [ 3] 2.0- 4.0 sec 434 KBytes 1.78 Mbits/sec [ 3] 4.0- 6.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 6.0- 8.0 sec 1.25 MBytes 5.24 Mbits/sec [ 3] 8.0-10.0 sec 1.12 MBytes 4.72 Mbits/sec [ 3] 0.0-10.5 sec 4.05 MBytes 3.24 Mbits/sec
iperf from MBP to arch VM
Code:
iperf -c 10.0.1.107 -p 5001 -i 2 ✔ 601 06:29:59 ------------------------------------------------------------ Client connecting to 10.0.1.107, TCP port 5001 TCP window size: 129 KByte (default) ------------------------------------------------------------ [ 4] local 10.0.1.178 port 63627 connected with 10.0.1.107 port 5001 [ ID] Interval Transfer Bandwidth [ 4] 0.0- 2.0 sec 31.9 MBytes 134 Mbits/sec [ 4] 2.0- 4.0 sec 32.9 MBytes 138 Mbits/sec [ 4] 4.0- 6.0 sec 30.4 MBytes 127 Mbits/sec [ 4] 6.0- 8.0 sec 30.2 MBytes 127 Mbits/sec [ 4] 8.0-10.0 sec 29.0 MBytes 122 Mbits/sec [ 4] 0.0-10.0 sec 154 MBytes 129 Mbits/sec
iperf archVM to FreeNAS
Code:
iperf -c 10.0.1.197 -i 2 ✔ 178 06:47:30 ------------------------------------------------------------ Client connecting to 10.0.1.197, TCP port 5001 TCP window size: 136 KByte (default) ------------------------------------------------------------ [ 3] local 10.0.1.107 port 40534 connected with 10.0.1.197 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 2.0 sec 5.00 MBytes 21.0 Mbits/sec [ 3] 2.0- 4.0 sec 5.88 MBytes 24.6 Mbits/sec [ 3] 4.0- 6.0 sec 8.00 MBytes 33.6 Mbits/sec [ 3] 6.0- 8.0 sec 5.38 MBytes 22.5 Mbits/sec [ 3] 8.0-10.0 sec 4.62 MBytes 19.4 Mbits/sec [ 3] 0.0-10.1 sec 28.9 MBytes 23.9 Mbits/sec
Cat5e cabling for wired connection
Kernel parameters for freenas:
iohyve_enable YES rc
iohyve_flags kmod=1 net=igb0 rc
kern.ipc.maxsockbuf 4194304 sysctl
kern.ipc.nmbclusters 4073002 sysctl
net.inet.tcp.delayed 0 sysctl
net-inet.tcp.mssdfit 1448 sysctl
net.inet.tcp.reass.maxqueuelen 4096 sysctl
net.inet.tcp.recvbuf_inc 524288 sysctl
net.inet.tcp.recvbuf_max 16777216 sysctl
net.inet.tcp.recvspace 262144 sysctl
net.inet.tcp.sendbuf_inc 16384
net.inet.tcp.sendbuf_max 16777216
net.inet.tcp.sendspace 262144
....
vfs tunables after this
Last edited: