From 095b162010491a4759e05ca46f0e5a47e8ace141 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Thu, 22 Mar 2018 13:21:05 +0100 Subject: Optimize Qemu installation to speed up vhost tests Currently Qemu is being installed if there is a change of qsz parameter between tests/suites. Qemu is installed always into the same directory. This patch changes the default behavior to install qemu over and install pathced version to separate directory. It also disables force install. Change-Id: I0d7493a02b026a6ae4a5ea8bacf54656de9db567 Signed-off-by: Peter Mikus --- tests/vpp/perf/__init__.robot | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/vpp/perf/__init__.robot') diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index 742c5804ce..5e47502d54 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -34,10 +34,9 @@ | | ... | - perf_pdr_loss_acceptance - Loss acceptance treshold | | ... | - perf_pdr_loss_acceptance_type - Loss acceptance treshold type | | ... | - perf_vm_image - Guest VM disk image -| | ... | - perf_qemu_bin - Path to QEMU binary -| | ... | - perf_qemu_qsz - QEMU virtio queue size +| | ... | - perf_qemu_path - Path prefix to QEMU binary | | ... | - use_tuned_cfs - Switch to set scheduler policy -| | ... | - qemu_built - Information if QEMU build is already prepared +| | ... | - qemu_build - Whether Qemu will be built | | ... | - pkt_trace - Switch to enable packet trace for test | | ... | - plugins_to_disable - List of plugins to be disabled for test | | ... @@ -45,10 +44,9 @@ | | Set Global Variable | ${perf_pdr_loss_acceptance} | 0.5 | | Set Global Variable | ${perf_pdr_loss_acceptance_type} | percentage | | Set Global Variable | ${perf_vm_image} | /var/lib/vm/csit-nested-1.7.img -| | Set Global Variable | ${perf_qemu_path} | /opt/qemu-2.5.0/bin/ -| | Set Global Variable | ${perf_qemu_qsz} | 1024 +| | Set Global Variable | ${perf_qemu_path} | /opt/qemu-2.5.0 | | Set Global Variable | ${use_tuned_cfs} | ${False} -| | Set Global Variable | ${qemu_built} | ${False} +| | Set Global Variable | ${qemu_build} | ${True} | | Set Global Variable | ${pkt_trace} | ${False} | | @{plugins_to_disable}= | Create List | | ... | acl_plugin.so -- cgit 1.2.3-korg