diff options
-rw-r--r-- | tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot | 40 | ||||
-rw-r--r-- | tests/perf/Short_IPv4_Policer_Intel-X520-DA2.robot | 22 |
2 files changed, 56 insertions, 6 deletions
diff --git a/tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot b/tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot index d0c0e2109c..6803b0f660 100644 --- a/tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot +++ b/tests/perf/Long_IPv4_Policer_Intel-X520-DA2.robot @@ -49,9 +49,7 @@ *** Variables *** | ${cir}= | ${100} -| ${eir}= | ${100} -| ${cb}= | ${100} -| ${eb}= | ${100} +| ${eir}= | ${150} *** Test Cases *** | TC01: 64B NDR binary search - DUT IPv4 2r3c-ca policer - 1thread 1core 1rxq @@ -67,6 +65,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -91,6 +91,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -116,6 +118,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -140,6 +144,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -165,6 +171,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -188,6 +196,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -213,6 +223,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -237,6 +249,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -262,6 +276,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -286,6 +302,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -311,6 +329,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -334,6 +354,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -358,6 +380,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -382,6 +406,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -407,6 +433,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -431,6 +459,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -456,6 +486,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -479,6 +511,8 @@ | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs diff --git a/tests/perf/Short_IPv4_Policer_Intel-X520-DA2.robot b/tests/perf/Short_IPv4_Policer_Intel-X520-DA2.robot index e6967dc1da..2592b067d0 100644 --- a/tests/perf/Short_IPv4_Policer_Intel-X520-DA2.robot +++ b/tests/perf/Short_IPv4_Policer_Intel-X520-DA2.robot @@ -47,9 +47,7 @@ *** Variables *** | ${cir}= | ${100} -| ${eir}= | ${100} -| ${cb}= | ${100} -| ${eb}= | ${100} +| ${eir}= | ${150} *** Test Cases *** | TC01: Verify 64B ref-NDR at 2x 3.1Mpps - DUT IPv4 2r3c-ca policer - 1thread 1core 1rxq @@ -61,6 +59,8 @@ | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 3.1mpps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -79,6 +79,8 @@ | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -97,6 +99,8 @@ | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -114,6 +118,8 @@ | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 5.6mpps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -132,6 +138,8 @@ | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -150,6 +158,8 @@ | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs @@ -167,6 +177,8 @@ | | ${framesize}= | Set Variable | 64 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 8.9mpps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -185,6 +197,8 @@ | | ${framesize}= | Set Variable | 1518 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 812743pps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs @@ -203,6 +217,8 @@ | | ${framesize}= | Set Variable | 9000 | | ${duration}= | Set Variable | 10 | | ${rate}= | Set Variable | 138580pps +| | Set Test Variable | ${cb} | ${framesize} +| | Set Test Variable | ${eb} | ${framesize} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs | | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs |