Hello,
With default settings (FreeBSD 10.1 fresh install):
By disabling IPv6, /etc/rc.conf:
After rebooting, testing again:
The latter seems more in tune with the hardware (both
Why is there such a big difference by disabling IPv6? Or am I missing some key aspect?
With default settings (FreeBSD 10.1 fresh install):
Code:
# iperf -f M -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 0.06 MByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.5 port 5001 connected with 192.168.1.226 port 50533
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-30.0 sec 1030 MBytes 34.3 MBytes/sec
By disabling IPv6, /etc/rc.conf:
Code:
ip6addrctl_enable="NO" # New way to disable IPv6 support
ip6addrctl_policy="ipv4_prefer" # Use IPv4 instead of IPv6
ipv6_activate_all_interfaces="NO" # Do not automatically add IPv6 addresses
After rebooting, testing again:
Code:
iperf -f M -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 0.06 MByte (default)
------------------------------------------------------------
[ 4] local 192.168.1.5 port 5001 connected with 192.168.1.226 port 50757
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-30.0 sec 3356 MBytes 112 MBytes/sec
The latter seems more in tune with the hardware (both
iperf client and server have 1Gb nic, 16 GB ram, and are connected directly with Cat 7 cable).Why is there such a big difference by disabling IPv6? Or am I missing some key aspect?