You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Parallelism CPU calculation inside Kubernetes and Docker with limits (antonbabenko#799)
The value of /sys/fs/cgroup/cpu/cpu.cfs_quota_us is not in milliseconds
and cannot be simply divided by 1000 to determine the CPU limit. As per
kernel documentation[^1], the cpu limit can be determined by dividing
that value by /sys/fs/cgroup/cpu/cpu.cfs_period_us.
[^1]: https://docs.kernel.org/scheduler/sched-bwc.html
---------
Co-authored-by: George L. Yermulnik <[email protected]>
Co-authored-by: MaxymVlasov <[email protected]>
0 commit comments