IPv4 2M scale tests - adjust heapsize to 3G 34/3234/5
authorMiroslav Miklus <mmiklus@cisco.com>
Mon, 3 Oct 2016 14:30:44 +0000 (16:30 +0200)
committerMiroslav Miklus <mmiklus@cisco.com>
Wed, 5 Oct 2016 08:14:53 +0000 (08:14 +0000)
Change-Id: I78e700e2137fd35d79c9b6b5ba27bb21adc3f6fa
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
resources/libraries/robot/default.robot
tests/perf/Long_IPv4_Fib_2M_Intel-X520-DA2.robot
tests/perf/Short_IPv4_Fib_2M_Intel-X520-DA2.robot

index 4764bf6..238749a 100644 (file)
 | | [Arguments] | ${node} | ${pci_address}
 | | Add PCI device | ${node} | ${pci_address}
 
+| Add Heapsize Config to all DUTs
+| | [Documentation] | Add Add Heapsize Config to VPP startup configuration
+| | ...             | to all DUTs
+| | ... | *Arguments:*
+| | ... | - ${heapsize} - Heapsize string (5G, 200M, ...)
+| | [Arguments] | ${heapsize}
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | Add Heapsize Config | ${nodes['${dut}']} | ${heapsize}
+
 | Add No Multi Seg to all DUTs
 | | [Documentation] | Add No Multi Seg to VPP startup configuration to all
 | | ...             | DUTs
index de7450b..5a04275 100644 (file)
@@ -69,6 +69,7 @@
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
@@ -93,6 +94,7 @@
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${threshold}= | Set Variable | ${min_rate}
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${threshold}= | Set Variable | ${min_rate}
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${threshold}= | Set Variable | ${min_rate}
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${threshold}= | Set Variable | ${min_rate}
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${threshold}= | Set Variable | ${min_rate}
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${threshold}= | Set Variable | ${min_rate}
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
index 9adaf23..aaf94d5 100644 (file)
@@ -56,6 +56,7 @@
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
@@ -75,6 +76,7 @@
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
@@ -93,6 +95,7 @@
 | | ${rate}= | Set Variable | 138580pps
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${rate}= | Set Variable | 138580pps
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | 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
+| | And   Add Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}
 | | ${rate}= | Set Variable | 138580pps
 | | 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 Heapsize Config to all DUTs | 3G
 | | And   Apply startup configuration on all VPP DUTs
 | | And   Scale IPv4 forwarding initialized in a 3-node circular topology
 | | ...   | ${rts_per_flow}