Greetings, All!
I'm planning to migrate a handful of office servers to LAGG/LACP and I've been wondering if enabling Jumbo frames will improve performance with Samba/NFS/ISCSI. So, after reading ifconfig(8) and lagg(4), I made up the following network configuration on one of the storage servers (/etc/rc.conf.d/network):
LAGG is also configured on the switch and after executing
Destroying the LAGG interface, increasing the MTU of physical interfaces and creating the LAGG interface manually works fine. But can someone suggest how to make this work using rc.conf(5)? Thanks in advance!
I'm planning to migrate a handful of office servers to LAGG/LACP and I've been wondering if enabling Jumbo frames will improve performance with Samba/NFS/ISCSI. So, after reading ifconfig(8) and lagg(4), I made up the following network configuration on one of the storage servers (/etc/rc.conf.d/network):
sh:
cloned_interfaces="lagg0"
ifconfig_igb0="-lro -tso -vlanhwtag mtu 9000 up"
ifconfig_igb1="-lro -tso -vlanhwtag mtu 9000 up"
ifconfig_lagg0="laggproto lacp laggport igb0 laggport igb1 192.168.1.8/24 description 'mgmt'"
LAGG is also configured on the switch and after executing
service netif restart
(thankfully servers also provide IPMI) LAGG interface is created and is working fine. However its MTU is not 9000, but the default -- 1500; so is the MTU of both Intel gigabit adapters. After going through /etc/rc.d/netif and /etc/network.subr, it seems that cloned interfaces are created before physical interfaces are being configured (netif_start()
calls clone_up()
before setting-up physical interfaces), hence before MTU is applied, leading to LAGG running with MTU of 1500 bytes. And once LAGG is up and running MTU of physical interfaces can no-longer be changed.Destroying the LAGG interface, increasing the MTU of physical interfaces and creating the LAGG interface manually works fine. But can someone suggest how to make this work using rc.conf(5)? Thanks in advance!