我要评分
获取效率
正确性
完整性
易理解

Installing and Using the Feature

This document optimizes networking environments utilizing Docker with bond4 and IPVLAN configurations. Before installing and using this feature, ensure that the networking environment has been set up.

  1. Configure the environment baseline.
    1
    2
    3
    4
    5
    6
    7
    8
    systemctl stop firewalld.service
    systemctl disable firewalld.service
    sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconfig/selinux
    setenforce 0
    systemctl stop irqbalance.service
    systemctl disable irqbalance.service
    swapoff -a
    systemctl start irqbalance
    

    Run the following three commands separately:

    1
    sed -i "s/CleanupModulesOnExit=no/CleanupModulesOnExit=yes/g" /etc/firewalld/*.conf
    
    1
    systemctl restart firewalld
    
    1
    systemctl stop firewalld
    
  2. Disable irqbalance.
    1
    systemctl stop irqbalance
    
  3. The network multipathing module depends on the hisi_l3t.ko module. Check whether the module has been loaded.
    1
    lsmod | grep hisi_l3t
    
    If the command output is empty, load hisi_l3t.ko.
    1
    modprobe hisi_l3t
    
  4. Configure the NIC information and enable the network multipathing feature.
    1
    modprobe oenetcls ifname="Eth1#Eth2" mode=1
    
    • Replace Eth1 and Eth2 with the NIC device names used in Configuring the Server.
    • After the network multipathing feature is enabled, NIC interrupts are evenly bound to the first N CPUs of each NUMA node according to the number of queues.
    • If no bond4 is configured, run the modprobe oenetcls ifname="Eth1" mode=1 command to enable network multipathing.
  5. Use Sysbench for testing. For details about the test procedure, see MySQL Database Sysbench Test Guide.