Open peiniliu opened 4 years ago
I have the same problem. My Host have 80 cores and the Docker proccess run in all cores, even if i set only 2 cores to run.
I guess it's Linux's default behavior (we can use numactl
to start a bash instead of using docker and repeat the test, we would get same results), if we check /proc/pid/numa_maps
we will find that it's the code section of common shared-library which is using N0 (reasonable).
NUMA NODE
Expected behavior
When running docker on Numa node 0, the output seems well bindings :)
I also started an ssh daemon inside this docker, the memory affinity is well bound. :)
Actual behavior
When running docker on Numa node 1, the processes inside are not using the right Numa node.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)