From ad71afc5baa8008bd5d4ea26f51a71eefe3fbe62 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Tue, 10 Jul 2018 06:10:41 +0000 Subject: Refactor perf test cases - Refactor Performance TCs due to changes in Hyperthreading and RXQ allocations. - Simplify the structure of suite to avoid large refactors in future. Change-Id: Ifb1b9719391f26745f075a900bd9fb39b6cb809c Signed-off-by: Peter Mikus --- ...psectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc.robot | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'tests/vpp/perf/crypto/40ge2p1xl710-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc.robot') diff --git a/tests/vpp/perf/crypto/40ge2p1xl710-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc.robot b/tests/vpp/perf/crypto/40ge2p1xl710-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc.robot index e9c29350a5..5bb5fe3ba2 100644 --- a/tests/vpp/perf/crypto/40ge2p1xl710-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc.robot +++ b/tests/vpp/perf/crypto/40ge2p1xl710-ethip4ipsectptlispgpe-ip4base-cbc-sha1-ndrpdrdisc.robot @@ -81,7 +81,6 @@ | | ... | | [Tags] | 64B | 1C | NDRDISC | | ... -| | # FIXME: Move repeated lines into a keyword. | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Set Variable | ${s_18.75Mpps} @@ -90,7 +89,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 1 | | And Add PCI devices to all DUTs | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${1} @@ -122,7 +121,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 1 | | And Add PCI devices to all DUTs | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${1} @@ -155,7 +154,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 1 | | And Add PCI devices to all DUTs | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 @@ -186,7 +185,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 1 | | And Add PCI devices to all DUTs | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 @@ -219,7 +218,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 1 | | And Add PCI devices to all DUTs | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 @@ -251,7 +250,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 1 | | And Add PCI devices to all DUTs | | And Add cryptodev to all DUTs | ${1} | | And Add DPDK dev default RXD to all DUTs | 2048 @@ -283,7 +282,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 2 | | And Add PCI devices to all DUTs | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${2} @@ -315,7 +314,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 2 | | And Add PCI devices to all DUTs | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${2} @@ -348,7 +347,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 4 | | And Add PCI devices to all DUTs | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${4} @@ -380,7 +379,7 @@ | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES CBC 128 | | ${auth_alg}= | Integ Alg SHA1 96 -| | Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology +| | Given Add worker threads and rxqueues to all DUTs | 4 | | And Add PCI devices to all DUTs | | And Add no multi seg to all DUTs | | And Add cryptodev to all DUTs | ${4} -- cgit 1.2.3-korg