标签:source ttl tle ISE reg next spec mount setting
cpu.cfs_period_us
us
") for how regularly a cgroup‘s access to CPU resources should be reallocated. If tasks in a cgroup should be able to access a single CPU for 0.2 seconds out of every 1 second, set cpu.cfs_quota_us
to 200000
and cpu.cfs_period_us
to 1000000
. The upper limit of the cpu.cfs_quota_us
parameter is 1 second and the lower limit is 1000 microseconds.cpu.cfs_quota_us
us
") for which all tasks in a cgroup can run during one period (as defined by cpu.cfs_period_us
). As soon as tasks in a cgroup use up all the time specified by the quota, they are throttled for the remainder of the time specified by the period and not allowed to run until the next period. If tasks in a cgroup should be able to access a single CPU for 0.2 seconds out of every 1 second, set cpu.cfs_quota_us
to 200000
and cpu.cfs_period_us
to 1000000
. Note that the quota and period parameters operate on a CPU basis. To allow a process to fully utilize two CPUs, for example, set cpu.cfs_quota_us
to 200000
and cpu.cfs_period_us
to 100000
.cpu.cfs_quota_us
to -1
indicates that the cgroup does not adhere to any CPU time restrictions. This is also the default value for every cgroup (except the root cgroup).标签:source ttl tle ISE reg next spec mount setting
原文地址:https://www.cnblogs.com/cwind/p/10914313.html