mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
56f77d5ade
containers may specify these cgroup values at runtime. This will allow processes to change their priority to real-time within the container when CONFIG_RT_GROUP_SCHED is enabled in the kernel. See #22380. Also added sanity checks for the new --cpu-rt-runtime and --cpu-rt-period flags to ensure that that the kernel supports these features and that runtime is not greater than period. Daemon will support a --cpu-rt-runtime flag to initialize the parent cgroup on startup, this prevents the administrator from alotting runtime to docker after each restart. There are additional checks that could be added but maybe too far? Check parent cgroups to ensure values are <= parent, inspecting rtprio ulimit and issuing a warning. Signed-off-by: Erik St. Martin <alakriti@gmail.com> |
||
---|---|---|
.. | ||
numcpu.go | ||
numcpu_linux.go | ||
numcpu_windows.go | ||
README.md | ||
sysinfo.go | ||
sysinfo_linux.go | ||
sysinfo_linux_test.go | ||
sysinfo_solaris.go | ||
sysinfo_test.go | ||
sysinfo_unix.go | ||
sysinfo_windows.go |
SysInfo stores information about which features a kernel supports.