Commit 0e7e193a authored by Remi Mommsen's avatar Remi Mommsen
Browse files

references #94: latest NUMA and EvB optimizations

parent 56ca1ea8
......@@ -442,9 +442,19 @@ class ConfigFromFile(Configuration):
if app.params['class'] in ('evb::EVM','evb::RU'):
newProp = [
('numberOfResponders','unsignedInt','8'),
('fragmentFIFOCapacity','unsignedInt','64'),
]
for prop in app.properties:
if prop[0] not in ('numberOfResponders'):
if prop[0] not in ('numberOfResponders','fragmentFIFOCapacity'):
newProp.append(prop)
app.properties = newProp
elif app.params['class'] in ('evb::BU'):
newProp = [
('numberOfBuilders','unsignedInt','6'),
('numberOfDiskWriters','unsignedInt','7'),
]
for prop in app.properties:
if prop[0] not in ('numberOfBuilders','numberOfDiskWriters'):
newProp.append(prop)
app.properties = newProp
......@@ -462,8 +472,8 @@ class ConfigFromFile(Configuration):
return None
def getPolicyForRUBUonSkylake(self,hostinfo):
policy = [
def getPolicyForRUBUonSkylake(self,hostinfo,directSocketRead):
return [
{'affinity':'5', 'memnode':'1','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:pt::ibv::acceptor(.*)/waiting','type':'thread'},
{'affinity':'11','memnode':'1','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:pt::ibv::eventworkloop/polling','type':'thread'},
{'affinity':'19','memnode':'1','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:pt::ibv::completionworkloopr(.*)/polling','type':'thread'},
......@@ -487,8 +497,27 @@ class ConfigFromFile(Configuration):
{'mempolicy':'onnode','node':'0','package':'numa','pattern':'urn:fragmentFIFO_FED(.+)','type':'alloc'},
{'mempolicy':'onnode','node':'1','package':'numa','pattern':'urn:frameFIFO_BU(.+)','type':'alloc'},
{'mempolicy':'onnode','node':'1','package':'numa','pattern':'urn:fragmentRequestFIFO(.+)','type':'alloc'},
{'affinity':'14','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp-receiver-dispatcher/'+hostinfo['frlHostname']+'([:/])60500/waiting','type':'thread'},
{'affinity':'14','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp-receiver-dispatcher/'+hostinfo['frlHostname']+'([:/])60600/waiting','type':'thread'},
{'affinity':'14','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp-receiver-dispatcher/'+hostinfo['frlHostname']+'([:/])60700/waiting','type':'thread'},
{'affinity':'14','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp-receiver-dispatcher/'+hostinfo['frlHostname']+'([:/])60800/waiting','type':'thread'},
{'affinity':'6', 'memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp(.*)/'+hostinfo['frlHostname']+'([:/])60500/polling','type':'thread'},
{'affinity':'46','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp(.*)/'+hostinfo['frlHostname']+'([:/])60600/polling','type':'thread'},
{'affinity':'22','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp(.*)/'+hostinfo['frlHostname']+'([:/])60700/polling','type':'thread'},
{'affinity':'30','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-psp(.*)/'+hostinfo['frlHostname']+'([:/])60800/polling','type':'thread'},
{'affinity':'38','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:evb::(.*)/Pipe_'+hostinfo['frlHostname']+':60500/waiting','type':'thread'},
{'affinity':'2', 'memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:evb::(.*)/Pipe_'+hostinfo['frlHostname']+':60600/waiting','type':'thread'},
{'affinity':'54','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:evb::(.*)/Pipe_'+hostinfo['frlHostname']+':60700/waiting','type':'thread'},
{'affinity':'56','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:evb::(.*)/Pipe_'+hostinfo['frlHostname']+':60800/waiting','type':'thread'},
{'affinity':'16','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-ia-acceptor-dispatcher/(.*)/waiting','type':'thread'},
{'affinity':'33','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-ia-connector-dispatcher/(.*)/waiting','type':'thread'},
{'affinity':'10','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-ia-sender-dispatcher/(.*)/waiting','type':'thread'},
{'affinity':'17','memnode':'0','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:tcpla-ia-workloop/(.*)/polling','type':'thread'},
{'mempolicy':'onnode','node':'0','package':'numa','pattern':'urn:toolbox-mem-allocator-blit-socket(.*)','type':'alloc'},
{'mempolicy':'onnode','node':'0','package':'numa','pattern':'urn:pt-blit-inputpipe-rlist(.*)','type':'alloc'},
{'mempolicy':'onnode','node':'0','package':'numa','pattern':'urn:socketBufferFIFO(.*)','type':'alloc'},
{'mempolicy':'onnode','node':'0','package':'numa','pattern':'urn:grantFIFO(.*)','type':'alloc'},
{'mempolicy':'onnode','node':'0','package':'numa','pattern':'urn:tcpla-(.*)/'+hostinfo['frlHostname']+'(.*)','type':'alloc'},
{'mempolicy':'onnode','node':'1','package':'numa','pattern':'urn:pt::ibv::(.*)','type':'alloc'},
{'affinity':'3', 'memnode':'1','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:evb::(.+)/Builder_0/waiting','type':'thread'},
{'affinity':'39','memnode':'1','mempolicy':'onnode','package':'numa','pattern':'urn:toolbox-task-workloop:evb::(.+)/Builder_1/waiting','type':'thread'},
......
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