Adding support for real-time cgroup values#262
Adding support for real-time cgroup values#262erikstmartin wants to merge 1 commit intodocker-archive-public:masterfrom
Conversation
d357249 to
da3d803
Compare
types/container/host_config.go
Outdated
| CPUPeriod int64 `json:"CpuPeriod"` // CPU CFS (Completely Fair Scheduler) period | ||
| CPUQuota int64 `json:"CpuQuota"` // CPU CFS (Completely Fair Scheduler) quota | ||
| CPURtPeriod int64 `json:"CpuRtPeriod"` // CPU real-time period | ||
| CPURtRuntime int64 `json:"CpuRtRuntime"` // CPU real-time period |
There was a problem hiding this comment.
copy/paste error on your comment.
|
Thanks @erikstmartin. It's better if you open the PR in docker/docker at the same time. That way, maintainers can discuss about the feature in general while you work on it. |
da3d803 to
84bf7f2
Compare
84bf7f2 to
2d9e9e0
Compare
Signed-off-by: Erik St. Martin <[email protected]>
2d9e9e0 to
f9e5717
Compare
|
I haven't submitted the PR to This is the current state of the patch moby/moby@master...erikstmartin:realtime-threads |
|
Thanks for this PR. We have moved the code from this repo back into the main docker/docker repository; if you still wish to make this change you will need to reopen this PR on the main repo. You can find the code for the client and types here: https://github.com/docker/docker/tree/master/api/types Sorry for the inconvenience but making this change helps people better contribute and not have the vendor mess going forward when changing the types or client for Docker. Sorry about that and feel free to ask if you have any questions. |
This is required for an incoming PR I am submitting to docker/docker, so that users may supply
--cpu-rt-periodand--cpu-rt-runtimevalues so processes inside a container can set their realtime priority when the kernel option CONFIG_RT_GROUP_SCHED is configured.This is discussed a bit towards the end of this issue moby/moby#22380