Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1834f33
)
Fix numa detection
69/26569/1
author
Vratko Polak
<
[email protected]
>
Fri, 17 Apr 2020 14:42:56 +0000
(16:42 +0200)
committer
Vratko Polak
<
[email protected]
>
Fri, 17 Apr 2020 14:42:56 +0000
(16:42 +0200)
On 3n-hsw, xl-710 is numa 1.
The old code returned 0, causing performance regression.
Fixes:
14a71b74b414df7616ccb5ada3d50ecb90d96bae
Change-Id: I81d3f711b6a37438f6411e29baafae9dec1c00a4
Signed-off-by: Vratko Polak <
[email protected]
>
resources/libraries/robot/shared/default.robot
patch
|
blob
|
history
diff --git
a/resources/libraries/robot/shared/default.robot
b/resources/libraries/robot/shared/default.robot
index
0a3efc2
..
0ec86cb
100644
(file)
--- a/
resources/libraries/robot/shared/default.robot
+++ b/
resources/libraries/robot/shared/default.robot
@@
-187,7
+187,7
@@
| | ${txd_count_int}= | Set variable | ${txd}
| | FOR | ${dut} | IN | @{duts}
| | | ${numa}= | Get interfaces numa node
-| | | ... | ${nodes['${dut}']} | @{${dut}_pf
_pci
}
+| | | ... | ${nodes['${dut}']} | @{${dut}_pf
1
}
| | | ${smt_used}= | Is SMT enabled | ${nodes['${dut}']['cpuinfo']}
| | | ${skip_cnt}= | Set variable | ${CPU_CNT_SYSTEM}
| | | ${cpu_main}= | Cpu list per node str | ${nodes['${dut}']} | ${numa}