Optimize Qemu installation to speed up vhost tests
[csit.git] / tests / vpp / perf / vm_vhost / 10ge2p1x520-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk.robot
index 14cb2c3..a71f904 100644 (file)
@@ -40,7 +40,7 @@
 | ... | vhost-user interfaces using 5 cores pinned to cpus 5-9 and 2048M
 | ... | memory. Testpmd is using socket-mem=1024M (512x2M hugepages), 5 cores
 | ... | (1 main core and 4 cores dedicated for io), forwarding mode is set to
-| ... | io, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520
+| ... | io, rxd/txd=1024, burst=64. DUT1, DUT2 are tested with 2p10GE NIC X520
 | ... | Niantic by Intel.
 | ... | *[Ver] TG verification:* TG verifies throughput PDR (Partial Drop
 | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage
 | ... | *[Ref] Applicable standard specifications:* RFC2544.
 
 *** Variables ***
+| ${perf_qemu_qsz}= | 1024
 | ${bd_id1}= | 1
 | ${bd_id2}= | 2
 | ${sock1}= | /tmp/sock-1-${bd_id1}
 | ${sock2}= | /tmp/sock-1-${bd_id2}
 # Traffic profile:
-| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
+| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254
 
 *** Keywords ***
 | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | ${vm2}= | And Configure guest VM with dpdk-testpmd connected via vhost-user
 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1
 | | Set To Dictionary | ${dut2_vm_refs} | DUT2_VM1 | ${vm2}
-| | Run Keyword Unless | ${qemu_built} | Set Suite Variable | ${qemu_built}
-| | ... | ${True}
 | | Then Traffic should pass with partial loss | ${perf_trial_duration}
 | | ... | ${rate} | ${framesize} | ${traffic_profile}
 | | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
 
 *** Test Cases ***
-| tc01-64B-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc01-64B-1t1c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy\
 | | ... | core, 1 receive queue per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=${64} | rate=1.6mpps | wt=1 | rxq=1
 
-| tc02-1518B-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc02-1518B-1t1c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy\
 | | ... | core, 1 receive queue per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=${1518} | rate=400000pps | wt=1 | rxq=1
 
-| tc03-IMIX-1t1c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc03-IMIX-1t1c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy\
 | | ... | core, 1 receive queue per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=IMIX_v4_1 | rate=1.0mpps | wt=1 | rxq=1
 
-| tc04-64B-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc04-64B-2t2c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy\
 | | ... | cores, 1 receive queue per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=${64} | rate=3.0mpps | wt=2 | rxq=1
 
-| tc05-1518B-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc05-1518B-2t2c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy\
 | | ... | cores, 1 receive queue per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=${1518} | rate=0.7mpps | wt=2 | rxq=1
 
-| tc06-IMIX-2t2c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc06-IMIX-2t2c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 2 threads, 2 phy\
 | | ... | cores, 1 receive queue per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=IMIX_v4_1 | rate=2.0mpps | wt=2 | rxq=1
 
-| tc07-64B-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc07-64B-4t4c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy\
 | | ... | cores, 2 receive queues per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=${64} | rate=4.2mpps | wt=4 | rxq=2
 
-| tc08-1518B-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc08-1518B-4t4c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy\
 | | ... | cores, 2 receive queues per NIC port.
 | | [Template] | Check PDR for L2XC with vhost and VM with dpdk-testpmd
 | | framesize=${1518} | rate=0.7mpps | wt=4 | rxq=2
 
-| tc09-IMIX-4t4c-eth-l2xcbase-eth-2vhost-1vm-pdrchk
+| tc09-IMIX-4t4c-eth-l2xcbase-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs L2XC switching config with 4 threads, 4 phy\
 | | ... | cores, 2 receive queues per NIC port.