diff options
author | Peter Mikus <pmikus@cisco.com> | 2020-01-30 13:45:11 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-01-31 15:57:36 +0000 |
commit | 6bcf4d40d83bbf026f9fd0105bebf579423c65a6 (patch) | |
tree | f223e6562f15fc7544b339d3317d2a42ae073588 /tests | |
parent | 47a26ef592c8b3f321fd69e053748606feba09f5 (diff) |
T-Rex: CPU pinning
+ Detect NUMA
+ Pin based on numa location
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Ife350f8c70e5437ac7c1413c7753f2a2f62777d9
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} |