IssueRaiser

Feature: Add the capability to pin cpu/s to docker service create in the same way that this can be done with docker run --cpu-set=

Hi - I am working on an HPC project that would need to achieve CPU pinning for containers so that specific tasks run on the appropriate CPU as well as speak directly to the host network adapter (a topic covered well in #25303). This could be achieved by having a head node task (perhaps on the swarm manager node) that uses docker swarm to run an agent container on each compute node launched as a service and then each agent container could then launch the appropriately configured task containers locally using docker run --cpuset-cpus="1,2" etc. However, it would be much cleaner/nicer to manage the entire deployment process through docker swarm so that orchestration features would not need to be implemented in the agent nodes - something that would simplify the entire orchestration control structure. On this basis, please consider the inclusion of the --cpuset-cpus parameter. Thanks, Piers Harding.

Posted by piersharding on Jan 26, 2017, 6:08 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments

github (Network)

Feature: Add the capability to pin cpu/s to docker service create in the same way that this can be done with docker run --cpu-set=

piershardingJan 26, 2017, 6:08 PM

Hi - I am working on an HPC project that would need to achieve CPU pinning for containers so that specific tasks run on the appropriate CPU as well as speak directly to the host network adapter (a topic covered well in #25303). This could be achieved by having a head node task (perhaps on the swarm manager node) that uses docker swarm to run an agent container on each compute node launched as a service and then each agent container could then launch the appropriately configured task containers locally using docker run --cpuset-cpus="1,2" etc. However, it would be much cleaner/nicer to manage the entire deployment process through docker swarm so that orchestration features would not need to be implemented in the agent nodes - something that would simplify the entire orchestration control structure. On this basis, please consider the inclusion of the --cpuset-cpus parameter. Thanks, Piers Harding.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue