Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cmsos
worksuite
Commits
6521bc65
Commit
6521bc65
authored
Jan 16, 2021
by
Andrea Petrucci
Browse files
references #226: add new AMD daq3val machines numa exception
parent
c2073ee8
Changes
2
Hide whitespace changes
Inline
Side-by-side
evb/test/scripts/Context.py
View file @
6521bc65
...
...
@@ -43,7 +43,10 @@ class Context:
def
addPeerTransport
(
self
,
maxMessageSize
):
try
:
if
'd3v'
in
self
.
hostinfo
[
'i2oHostname'
]
or
'rbs1v0'
in
self
.
hostinfo
[
'i2oHostname'
]
or
'ebs0v0'
in
self
.
hostinfo
[
'i2oHostname'
]
or
'ebs1v0'
in
self
.
hostinfo
[
'i2oHostname'
]:
# run unit tests on daq3val machine with ptutcp because no evb-unittests machine on CentOS 8 (TODO remove the following line)
if
'd3vrubu-c2e33-06-01'
in
self
.
hostinfo
[
'i2oHostname'
]:
app
=
self
.
getPtUtcpApplication
(
maxMessageSize
)
elif
'd3v'
in
self
.
hostinfo
[
'i2oHostname'
]
or
'rbs1v0'
in
self
.
hostinfo
[
'i2oHostname'
]
or
'ebs0v0'
in
self
.
hostinfo
[
'i2oHostname'
]
or
'ebs1v0'
in
self
.
hostinfo
[
'i2oHostname'
]:
app
=
self
.
getPtIbvApplication
(
maxMessageSize
)
else
:
app
=
self
.
getPtUtcpApplication
(
maxMessageSize
)
...
...
evb/test/scripts/xdaqLauncher.py
View file @
6521bc65
...
...
@@ -40,7 +40,10 @@ class xdaqThread(threading.Thread):
numaCtl
=
[
'/usr/bin/numactl'
,
'--cpunodebind=1'
,
'--membind=1'
]
elif
'dvrubu-'
in
hostname
:
numaCtl
=
[
'/usr/bin/numactl'
,
'--cpunodebind=0'
,
'--membind=0'
]
elif
'd3vrubu-c2e33-10-01'
in
hostname
or
'd3vrubu-c2e34-20-01'
in
hostname
or
'd3vrubu-c2e34-27-01'
in
hostname
:
# no numa configuration for DAQ3VAL AMD machines
elif
'd3vrubu-c2e33-10-01'
in
hostname
or
'd3vrubu-c2e34-20-01'
in
hostname
or
'd3vrubu-c2e34-27-01'
in
hostname
or
\
'd3vrubu-c2e33-06-01'
in
hostname
or
'd3vrubu-c2e33-08-01'
in
hostname
or
'd3vrubu-c2e33-10-01'
in
hostname
or
\
'd3vrubu-c2e33-12-01'
in
hostname
:
pass
elif
'd3vrubu-'
in
hostname
:
numaCtl
=
[
'/usr/bin/numactl'
,
'--cpunodebind=1'
,
'--membind=1'
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment