Optimize Qemu installation to speed up vhost tests
[csit.git] / tests / vpp / perf / vm_vhost / 10ge2p1x520-ethip4-ip4base-eth-2vhostvr1024-1vm-pdrchk.robot
index 34e0cf8..e47e9bc 100644 (file)
@@ -39,7 +39,7 @@
 | ... | interconnecting 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 mac, rxd/txd=256, burst=64. DUT1, DUT2 are tested with 2p10GE
+| ... | set to mac, 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
 | ${sock1}= | /tmp/sock-1
 | ${sock2}= | /tmp/sock-2
 | ${fib_table_1}= | 100
 | ${fib_table_2}= | 101
 # Traffic profile:
-| ${traffic_profile} | trex-sl-3n-ethip4-ip4src253
+| ${traffic_profile}= | trex-sl-3n-ethip4-ip4src253
 
 *** Keywords ***
 | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | ... | ${dut2} | ${sock1} | ${sock2} | DUT2_VM1 | ${dut2_vif1_mac}
 | | ... | ${dut2_vif2_mac}
 | | 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-ip4base-eth-2vhost-1vm-pdrchk
+| tc01-64B-1t1c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy\
 | | ... | core, 1 receive queue per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=${64} | rate=2.5mpps | wt=1 | rxq=1
 
-| tc02-1518B-1t1c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc02-1518B-1t1c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy\
 | | ... | core, 1 receive queue per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=${1518} | rate=300000pps | wt=1 | rxq=1
 
-| tc03-IMIX-1t1c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc03-IMIX-1t1c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 1 thread, 1 phy\
 | | ... | core, 1 receive queue per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=IMIX_v4_1 | rate=0.9mpps | wt=1 | rxq=1
 
-| tc04-64B-2t2c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc04-64B-2t2c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy\
 | | ... | cores, 1 receive queue per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=${64} | rate=3.0mpps | wt=2 | rxq=1
 
-| tc05-1518B-2t2c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc05-1518B-2t2c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy\
 | | ... | cores, 1 receive queue per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=${1518} | rate=350000pps | wt=2 | rxq=1
 
-| tc06-IMIX-2t2c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc06-IMIX-2t2c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 2 threads, 2 phy\
 | | ... | cores, 1 receive queue per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=IMIX_v4_1 | rate=2.0mpps | wt=2 | rxq=1
 
-| tc07-64B-4t4c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc07-64B-4t4c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy\
 | | ... | cores, 2 receive queues per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=${64} | rate=3.8mpps | wt=4 | rxq=2
 
-| tc08-1518B-4t4c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc08-1518B-4t4c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy\
 | | ... | cores, 2 receive queues per NIC port.
 | | [Template] | Check PDR for IPv4 routing with vhost and VM with dpdk-testpmd
 | | framesize=${1518} | rate=350000pps | wt=4 | rxq=2
 
-| tc09-IMIX-4t4c-eth-ip4base-eth-2vhost-1vm-pdrchk
+| tc09-IMIX-4t4c-eth-ip4base-eth-2vhostvr1024-1vm-pdrchk
 | | [Documentation]
 | | ... | [Cfg] DUT runs IPv4 routing config with 4 threads, 4 phy\
 | | ... | cores, 2 receive queues per NIC port.