Home
last modified time | relevance | path

Searched refs:cfs_quota_us (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/Documentation/translations/zh_CN/scheduler/
Dsched-bwc.rst71 - cpu.cfs_quota_us:在一个时期内补充的运行时间(微秒)。
79 cpu.cfs_quota_us=-1
82 cpu.cfs_quota_us的值为-1表示该组没有任何带宽限制,这样的组被描述为无限制的带宽组。这代表
89 向cpu.cfs_quota_us写入任何负值都会移除带宽限制,并使组再次回到无限制的状态。
92 改变。将不大于 cpu.cfs_quota_us 的任何(有效的)正值写入 cpu.cfs_burst_us 将配发未使用
151 cpuacct.用量的增加大致等于cfs_quota_us在每个周期的增加。
174 # echo 250000 > cpu.cfs_quota_us /* quota = 250ms */
181 # echo 1000000 > cpu.cfs_quota_us /* quota = 1000ms */
190 # echo 10000 > cpu.cfs_quota_us /* quota = 10ms */
200 # echo 20000 > cpu.cfs_quota_us /* quota = 20ms */
/linux-6.6.21/Documentation/scheduler/
Dsched-bwc.rst77 - cpu.cfs_quota_us: run-time replenished within a period (in microseconds)
85 cpu.cfs_quota_us=-1
88 A value of -1 for cpu.cfs_quota_us indicates that the group does not have any
99 Writing any negative value to cpu.cfs_quota_us will remove the bandwidth limit
105 cpu.cfs_quota_us into cpu.cfs_burst_us will enact the cap on unused bandwidth
176 cpuacct.usage will increase roughly equal to cfs_quota_us in each period.
213 # echo 250000 > cpu.cfs_quota_us /* quota = 250ms */
221 # echo 1000000 > cpu.cfs_quota_us /* quota = 1000ms */
230 # echo 10000 > cpu.cfs_quota_us /* quota = 10ms */
242 # echo 20000 > cpu.cfs_quota_us /* quota = 20ms */
/linux-6.6.21/kernel/sched/
Dcore.c10920 static int tg_set_cfs_quota(struct task_group *tg, long cfs_quota_us) in tg_set_cfs_quota() argument
10926 if (cfs_quota_us < 0) in tg_set_cfs_quota()
10928 else if ((u64)cfs_quota_us <= U64_MAX / NSEC_PER_USEC) in tg_set_cfs_quota()
10929 quota = (u64)cfs_quota_us * NSEC_PER_USEC; in tg_set_cfs_quota()
11004 struct cftype *cftype, s64 cfs_quota_us) in cpu_cfs_quota_write_s64() argument
11006 return tg_set_cfs_quota(css_tg(css), cfs_quota_us); in cpu_cfs_quota_write_s64()