Commit 1fa07af3 authored by Swann Perarnau's avatar Swann Perarnau

[log] adding binding output to create log

Just to make it easy to debug binding issues.
parent dca6debb
Pipeline #5090 failed with stages
in 4 minutes and 51 seconds
...@@ -137,6 +137,7 @@ class ContainerManager(object): ...@@ -137,6 +137,7 @@ class ContainerManager(object):
# argv.append('--single') # argv.append('--single')
cpumask = container.hwbindings['distrib'][bind_index].cpus[0] cpumask = container.hwbindings['distrib'][bind_index].cpus[0]
memmask = container.hwbindings['distrib'][bind_index].mems[0] memmask = container.hwbindings['distrib'][bind_index].mems[0]
logging.info('create: binding to: %s, %s', cpumask, memmask)
argv.append("core:{}".format(cpumask)) argv.append("core:{}".format(cpumask))
argv.append('--membind') argv.append('--membind')
argv.append("numa:{}".format(memmask)) argv.append("numa:{}".format(memmask))
......
Markdown is supported
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