How to use (equalize) the Docker process in a multi-socket environment (with multiple CPUs).

Asked 2 years ago, Updated 2 years ago, 47 views

[Problems]
If you run the Docker process in a multi-socket environment (with two CPUs on one server), you will see a tendency for resources to be used only by one CPU.

I'd like to eliminate this bias, but if you know how to do it, could you please advise me?

·How to look at the Docker side (process side)
[Optimized boot options for multi-socket environments]

·How to look at the host side (server side)
[Settings to optimize all (or specific) processes on the server for multi-socket environments]

Other etc

Thank you for your cooperation.

docker

2022-09-29 22:34

1 Answers

Multiple CPUs can be specified.This command will assign the mycontainer Docker Container to CPU0 and 1:
Raw
#docker run--cpuset0,1/bin/bash mycontainer

If you look at the Docker side (process side), I think you can do the above.

Continue
How do I look at the host side (server side)?
[Settings to optimize all (or specific) processes on the server for multi-socket environments, etc.]
I would appreciate it if you could let me know if you have any information about it.


2022-09-29 22:34

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.