diff options
author | Peter Mikus <pmikus@cisco.com> | 2020-01-30 13:45:11 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-02-04 18:44:09 +0000 |
commit | 67b979944efad24f90d4ad002c6de4748e256ec5 (patch) | |
tree | a2db90b2cdfe90aa0f964d41696d1dc16ec7c1cc /tests | |
parent | f601a399ae4e5b6eca188c3431f7f76caf9d5485 (diff) |
T-Rex: CPU pinning
+ Detect NUMA
+ Pin based on numa location
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Ife350f8c70e5437ac7c1413c7753f2a2f62777d9
(cherry picked from commit 6bcf4d40d83bbf026f9fd0105bebf579423c65a6)
(cherry picked from commit 6cb55db44f4c9817395d5fe5d8391c88412a6d59)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dpdk/perf/__init__.robot | 12 | ||||
-rw-r--r-- | tests/vpp/device/__init__.robot | 3 | ||||
-rw-r--r-- | tests/vpp/perf/__init__.robot | 4 |
3 files changed, 9 insertions, 10 deletions
diff --git a/tests/dpdk/perf/__init__.robot b/tests/dpdk/perf/__init__.robot index 10878c2d19..096bc8865b 100644 --- a/tests/dpdk/perf/__init__.robot +++ b/tests/dpdk/perf/__init__.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -20,11 +20,11 @@ | Library | resources.libraries.python.DPDK.DPDKTools | | Suite Setup | Run Keywords | Setup performance global Variables -| ... | AND | Setup Framework | ${nodes} -| ... | AND | Install DPDK test on all DUTs | ${nodes} -| ... | AND | Get CPU Info from All Nodes | ${nodes} -| ... | AND | Update All Numa Nodes -| ... | ${nodes} | skip_tg=${True} +| ... | AND | Setup Framework | ${nodes} +| ... | AND | Install DPDK test on all DUTs | ${nodes} +| ... | AND | Get CPU Info from All Nodes | ${nodes} +| ... | AND | Update All Interface Data on All Nodes | ${nodes} +| ... | skip_tg=${True} | skip_vpp=${True} | | Suite Teardown | Cleanup Framework | ${nodes} diff --git a/tests/vpp/device/__init__.robot b/tests/vpp/device/__init__.robot index f166c124c4..0d31fc1876 100644 --- a/tests/vpp/device/__init__.robot +++ b/tests/vpp/device/__init__.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -26,7 +26,6 @@ | ... | AND | Verify Vpp on All Duts | ${nodes} | ... | AND | Get CPU Info from All Nodes | ${nodes} | ... | AND | Update All Interface Data on All Nodes | ${nodes} -| ... | skip_tg_udev=${True} | numa_node=${True} | | Suite Teardown | Cleanup Framework | ${nodes} diff --git a/tests/vpp/perf/__init__.robot b/tests/vpp/perf/__init__.robot index 90afe801cd..e5a2c751a0 100644 --- a/tests/vpp/perf/__init__.robot +++ b/tests/vpp/perf/__init__.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -28,7 +28,7 @@ | ... | AND | Show Vpp Version on All Duts | ${nodes} | ... | AND | Get CPU Info from All Nodes | ${nodes} | ... | AND | Update All Interface Data on All Nodes | ${nodes} -| ... | skip_tg=${True} | numa_node=${True} +| ... | skip_tg=${True} | | Suite Teardown | Cleanup Framework | ${nodes} |