warriorcookie
Explorer
- Joined
- Apr 17, 2017
- Messages
- 67
Setting up a new backup server and getting really slow iperf3 speeds from my 2.5gbe link.
Terramaster F4-223. Celeron N4505, 16gb DDR4, I225-V 2.5GBE
TrueNAS-SCALE-23.10.2 baremetal
Getting slow transfer speeds.
dmesg shows igc link is Up 2500 Mbps Full Duplex.
Cubic flow control was enabled by default, tried dctcp with little change.
Added postinit modprobe tcp_dctcp
and loaded the following sysctl (saw ~30% improvement here):
net.core.netdev_max_backlog = 300000
net.core.optmem_max = 268435456
net.core.rmem_default = 212992
net.core.rmem_max = 134217728
net.core.somaxconn = 8192
net.core.wmem_default = 212992
net.core.wmem_max = 134217728
net.ipv4.tcp_congestion_control = dctcp
net.ipv4.tcp_rmem = 4096 87380 134217728
net.ipv4.tcp_sack = 0
net.ipv4.tcp_wmem = 4096 65536 134217728
So now iperf3 -P 10 shows 738 Mbps between the new backup server and my main server. iperf3 shows > 9Gbps from 2 other machines to the main server on same switch.
I've read some comments that the I225-V is garbage, but I've also read others getting full bandwidth. Any pointers in where I can look would be appreciated.
Terramaster F4-223. Celeron N4505, 16gb DDR4, I225-V 2.5GBE
TrueNAS-SCALE-23.10.2 baremetal
Getting slow transfer speeds.
dmesg shows igc link is Up 2500 Mbps Full Duplex.
Cubic flow control was enabled by default, tried dctcp with little change.
Added postinit modprobe tcp_dctcp
and loaded the following sysctl (saw ~30% improvement here):
net.core.netdev_max_backlog = 300000
net.core.optmem_max = 268435456
net.core.rmem_default = 212992
net.core.rmem_max = 134217728
net.core.somaxconn = 8192
net.core.wmem_default = 212992
net.core.wmem_max = 134217728
net.ipv4.tcp_congestion_control = dctcp
net.ipv4.tcp_rmem = 4096 87380 134217728
net.ipv4.tcp_sack = 0
net.ipv4.tcp_wmem = 4096 65536 134217728
So now iperf3 -P 10 shows 738 Mbps between the new backup server and my main server. iperf3 shows > 9Gbps from 2 other machines to the main server on same switch.
I've read some comments that the I225-V is garbage, but I've also read others getting full bandwidth. Any pointers in where I can look would be appreciated.