diff options
author | Jordan Christiansen <xordspar0@gmail.com> | 2020-10-24 21:34:37 -0500 |
---|---|---|
committer | Jordan Christiansen <xordspar0@gmail.com> | 2020-10-27 09:32:41 -0500 |
commit | fa73b929e06521b176ab6a569e5b3d408440956f (patch) | |
tree | 31f931498bcffbfd6873d2e04b17ae3476f4e592 /docs/source/markdown/podman-build.1.md | |
parent | 6fa6470d24231dccafbf4396e7cb798a906af522 (diff) | |
download | podman-fa73b929e06521b176ab6a569e5b3d408440956f.tar.gz podman-fa73b929e06521b176ab6a569e5b3d408440956f.tar.bz2 podman-fa73b929e06521b176ab6a569e5b3d408440956f.zip |
Add more details about how CPU limits work
Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
Diffstat (limited to 'docs/source/markdown/podman-build.1.md')
-rw-r--r-- | docs/source/markdown/podman-build.1.md | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/source/markdown/podman-build.1.md b/docs/source/markdown/podman-build.1.md index 821324f84..d05070fe1 100644 --- a/docs/source/markdown/podman-build.1.md +++ b/docs/source/markdown/podman-build.1.md @@ -111,17 +111,19 @@ network namespaces can be found. **--cpu-period**=*limit* -Limit the CPU CFS (Completely Fair Scheduler) period - -Limit the container's CPU usage. This flag tell the kernel to restrict the container's CPU usage to the period you specify. +Set the CPU period for the Completely Fair Scheduler (CFS), which is a +duration in microseconds. Once the container's CPU quota is used up, it will +not be scheduled to run until the current period ends. Defaults to 100000 +microseconds. **--cpu-quota**=*limit* -Limit the CPU CFS (Completely Fair Scheduler) quota +Limit the CPU Completely Fair Scheduler (CFS) quota. Limit the container's CPU usage. By default, containers run with the full -CPU resource. This flag tell the kernel to restrict the container's CPU usage -to the quota you specify. +CPU resource. The limit is a number in microseconds. If you provide a number, +the container will be allowed to use that much CPU time until the CPU period +ends (controllable via **--cpu-period**). **--cpu-shares**, **-c**=*shares* |