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

Configuring the Client Host

The following sections describe how to test the forwarding performance of PMDs. The test procedures for open source solutions and software offloading are similar. Exceptions will be specified.

The configurations of the client host are consistent, and only the server host needs to be configured for various test cases. The following lists the process of configuring the client host.

  1. Start the OVS service.
    1
    service openvswitch start
    
  2. Configure OVS startup parameters.
    1
    ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true other_config:dpdk-socket-mem="4096" other_config:dpdk-lcore-mask="0x1F" other_config:pmd-cpu-mask="0x1E"
    
  3. Restart the OVS service.
    1
    service openvswitch restart
    
  4. Modify the networking script.
  5. Use the modified script to configure the network.
    1
    sh topology_all.sh setvxlan
    
  6. Start VMs.
    1
    2
    3
    4
    5
    6
    7
    8
    virsh start VM1
    virsh start VM2
    virsh start VM3
    virsh start VM4
    virsh start VM5
    virsh start VM6
    virsh start VM7
    virsh start VM8
    
  7. Log in to the VMs through eight console windows.
    1
    2
    3
    4
    5
    6
    7
    8
    virsh console VM1
    virsh console VM2
    virsh console VM3
    virsh console VM4
    virsh console VM5
    virsh console VM6
    virsh console VM7
    virsh console VM8
    

    Enter the username and password in each window to log in to the VM.