Commit 6521bc65 authored by Andrea Petrucci's avatar Andrea Petrucci
Browse files

references #226: add new AMD daq3val machines numa exception

parent c2073ee8
......@@ -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)
......
......@@ -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']
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment