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.
- Start the OVS service.
1service openvswitch start
- Configure OVS startup parameters.
1ovs-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"
- Restart the OVS service.
1service openvswitch restart
- Modify the networking script.
For details, see Changing the PCI Address in the Script.
- Use the modified script to configure the network.
1sh topology_all.sh setvxlan
- 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
- 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.
Parent topic: Test Cases and Records