X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance.robot;h=e19b8cfbde73a9a48d8d8cb6e5145d739219d743;hp=b7516ba477de5c23a6346eab2012ed081152033a;hb=2415648fb8c852ca5f01ac37c5b36440472d6b18;hpb=359b07cc72476a29da235f47f05fb539cd339b42 diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot index b7516ba477..e19b8cfbde 100644 --- a/resources/libraries/robot/performance.robot +++ b/resources/libraries/robot/performance.robot @@ -78,7 +78,7 @@ | | ... | | Set Suite Variable | ${glob_loss_acceptance} | 0.5 | | Set Suite Variable | ${glob_loss_acceptance_type} | percentage -| | Set Suite Variable | ${glob_vm_image} | /var/lib/vm/csit-nested-1.3.img +| | Set Suite Variable | ${glob_vm_image} | /var/lib/vm/csit-nested-1.5.img | 2-node circular Topology Variables Setup | | [Documentation] @@ -676,11 +676,11 @@ | | ... | | ... | \| 2-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \| | | [Arguments] | ${topology_type} | ${nic_model} -| | Setup default startup configuration of VPP on all DUTs | | Show vpp version on all DUTs | | Setup performance global Variables | | 2-node circular Topology Variables Setup with DUT interface model | | ... | ${nic_model} +| | Setup default startup configuration of VPP on all DUTs | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} | | ... | ${dut1} | ${dut1_if1} | | ... | ${dut1} | ${dut1_if2} @@ -701,11 +701,11 @@ | | ... | | ... | \| 3-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \| | | [Arguments] | ${topology_type} | ${nic_model} -| | Setup default startup configuration of VPP on all DUTs | | Show vpp version on all DUTs | | Setup performance global Variables | | 3-node circular Topology Variables Setup with DUT interface model | | ... | ${nic_model} +| | Setup default startup configuration of VPP on all DUTs | | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} | | ... | ${dut1} | ${dut1_if1} | | ... | ${dut2} | ${dut2_if2} @@ -1168,8 +1168,8 @@ | Guest VM with dpdk-testpmd connected via vhost-user is setup | | [Documentation] | | ... | Start QEMU guest with two vhost-user interfaces and interconnecting -| | ... | DPDK testpmd. Qemu Guest is using 3 cores pinned to physical cores 5, -| | ... | 6, 7 and 2048M. Testpmd is using 3 cores (1 main core and 2 cores +| | ... | DPDK testpmd. Qemu Guest is using 5 cores pinned to physical cores +| | ... | 5-9, and 2048M. Testpmd is using 5 cores (1 main core and 4 cores | | ... | dedicated to io) mem-channel=4, txq/rxq=256, burst=64, | | ... | disable-hw-vlan, disable-rss, driver usr/lib/librte_pmd_virtio.so | | ... | and fwd mode is io. @@ -1190,24 +1190,23 @@ | | Run keyword | ${vm_name}.Qemu Add Vhost User If | ${sock1} | | Run keyword | ${vm_name}.Qemu Add Vhost User If | ${sock2} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} -| | Run keyword | ${vm_name}.Qemu Set Smp | 3 | 3 | 1 | 1 +| | Run keyword | ${vm_name}.Qemu Set Smp | 5 | 5 | 1 | 1 | | Run keyword | ${vm_name}.Qemu Set Mem Size | 2048 -| | Run keyword | ${vm_name}.Qemu Set Huge Allocate | | Run keyword | ${vm_name}.Qemu Set Disk Image | ${glob_vm_image} | | ${vm}= | Run keyword | ${vm_name}.Qemu Start -| | Run keyword | ${vm_name}.Qemu Set Affinity | 5 | 6 | 7 -| | Dpdk Testpmd Start | ${vm} | eal_coremask=0x7 +| | Run keyword | ${vm_name}.Qemu Set Affinity | 5 | 6 | 7 | 8 | 9 +| | Run keyword | ${vm_name}.Qemu Set Scheduler Policy +| | Dpdk Testpmd Start | ${vm} | eal_coremask=0x1f | | ... | eal_mem_channels=4 | | ... | pmd_fwd_mode=io | | ... | pmd_disable_hw_vlan=${True} -| | ... | pmd_disable_rss=${True} | | Return From Keyword | ${vm} | Guest VM with dpdk-testpmd-mac connected via vhost-user is setup | | [Documentation] | | ... | Start QEMU guest with two vhost-user interfaces and interconnecting -| | ... | DPDK testpmd. Qemu Guest is using 3 cores pinned to physical cores 5, -| | ... | 6, 7 and 2048M. Testpmd is using 3 cores (1 main core and 2 cores +| | ... | DPDK testpmd. Qemu Guest is using 5 cores pinned to physical cores +| | ... | 5-9 and 2048M. Testpmd is using 5 cores (1 main core and 4 cores | | ... | dedicated to io) mem-channel=4, txq/rxq=256, burst=64, | | ... | disable-hw-vlan, disable-rss, driver usr/lib/librte_pmd_virtio.so | | ... | and fwd mode is mac rewrite. @@ -1232,20 +1231,18 @@ | | Run keyword | ${vm_name}.Qemu Add Vhost User If | ${sock1} | | Run keyword | ${vm_name}.Qemu Add Vhost User If | ${sock2} | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} -| | Run keyword | ${vm_name}.Qemu Set Smp | 3 | 3 | 1 | 1 +| | Run keyword | ${vm_name}.Qemu Set Smp | 5 | 5 | 1 | 1 | | Run keyword | ${vm_name}.Qemu Set Mem Size | 2048 -| | Run keyword | ${vm_name}.Qemu Set Huge Allocate -| | Run keyword | ${vm_name}.Qemu Set Disk Image -| | ... | /var/lib/vm/csit-nested-1.3.img +| | Run keyword | ${vm_name}.Qemu Set Disk Image | ${glob_vm_image} | | ${vm}= | Run keyword | ${vm_name}.Qemu Start -| | Run keyword | ${vm_name}.Qemu Set Affinity | 5 | 6 | 7 -| | Dpdk Testpmd Start | ${vm} | eal_coremask=0x7 +| | Run keyword | ${vm_name}.Qemu Set Affinity | 5 | 6 | 7 | 8 | 9 +| | Run keyword | ${vm_name}.Qemu Set Scheduler Policy +| | Dpdk Testpmd Start | ${vm} | eal_coremask=0x1f | | ... | eal_mem_channels=4 | | ... | pmd_fwd_mode=mac | | ... | pmd_eth_peer_0=0,${eth0_mac} | | ... | pmd_eth_peer_1=1,${eth1_mac} | | ... | pmd_disable_hw_vlan=${True} -| | ... | pmd_disable_rss=${True} | | Return From Keyword | ${vm} | Guest VM with Linux Bridge connected via vhost-user is setup @@ -1272,10 +1269,10 @@ | | Run keyword | ${vm_name}.Qemu Set Node | ${dut_node} | | Run keyword | ${vm_name}.Qemu Set Smp | 3 | 3 | 1 | 1 | | Run keyword | ${vm_name}.Qemu Set Mem Size | 2048 -| | Run keyword | ${vm_name}.Qemu Set Huge Allocate | | Run keyword | ${vm_name}.Qemu Set Disk Image | ${glob_vm_image} | | ${vm}= | Run keyword | ${vm_name}.Qemu Start | | Run keyword | ${vm_name}.Qemu Set Affinity | 5 | 6 | 7 +| | Run keyword | ${vm_name}.Qemu Set Scheduler Policy | | ${br}= | Set Variable | br0 | | ${vhost1}= | Get Vhost User If Name By Sock | ${vm} | ${sock1} | | ${vhost2}= | Get Vhost User If Name By Sock | ${vm} | ${sock2}