Searched refs:uclamp (Results 1 – 6 of 6) sorted by relevance
| /linux/Documentation/scheduler/ |
| H A D | sched-util-clamp.rst | 10 Utilization clamping, also known as util clamp or uclamp, is a scheduler 39 the uclamp values as performance points rather than utilization is a better 78 By making these uclamp performance requests, or rather hints, user space can 100 Both SCHED_NORMAL/OTHER and SCHED_FIFO/RR honour uclamp requests/hints. 102 In the SCHED_FIFO/RR case, uclamp gives the option to run RT tasks at any 110 when an RT task wakes up. This cost is unchanged by using uclamp. Uclamp only 114 See :ref:`section 3.4 <uclamp-default-values>` for default values and 137 affected by the uclamp settings of all the tasks enqueued on it. For example if 143 rq, uclamp must do some housekeeping at every enqueue/dequeue, which is the 154 uclamp value at rq level a lot easier. [all …]
|
| H A D | sched-capacity.rst | 348 Furthermore, uclamp lets userspace specify a minimum and a maximum utilization 357 above. On top of that, uclamp is used to clamp the task utilization values, 363 By using uclamp, userspace can e.g. allow a busy loop (100% utilization) to run 364 on any CPU by giving it a low uclamp.max value. Conversely, it can force a small 366 giving it a high uclamp.min value.
|
| /linux/Documentation/translations/zh_CN/scheduler/ |
| H A D | sched-capacity.rst | 307 此外,uclamp允许用户空间指定任务的最小和最大利用率,要么以sched_setattr()的方式,要么以 308 cgroup接口的方式(参阅Documentation/admin-guide/cgroup-v2.rst)。如其名字所暗示,uclamp 314 CFS任务唤醒的CPU选择,遵循上面描述的算力适应性准则。在此之上,uclamp被用来限制任务利用率, 320 通过使用uclamp,举例来说,用户空间可以允许忙等待循环(100%使用率)在任意CPU上运行,只要给 321 它设置低的uclamp.max值。相反,uclamp能强制一个小的周期性任务(比如,10%利用率)在最高性能 322 的CPU上运行,只要给它设置高的uclamp.min值。
|
| /linux/kernel/sched/ |
| H A D | core.c | 583 * - uclamp_update_active() p->uclamp* 1494 * This knob allows admins to change the default behavior when uclamp is being 1510 * This static key is used to reduce the uclamp overhead in the fast path. It 1514 * This allows users to continue to enable uclamp in their kernel config with 1515 * minimum uclamp overhead in the fast path. 1517 * As soon as userspace modifies any of the uclamp knobs, the static key is 1518 * enabled, since we have an actual users that make use of uclamp 1523 * * A task modifying its uclamp value with sched_setattr(). 1525 * * An admin modifying the cgroup cpu.uclamp.{min, max} 1560 struct uclamp_bucket *bucket = rq->uclamp[clamp_i in uclamp_rq_max_value() [all...] |
| H A D | sched.h | 524 struct uclamp_se uclamp[UCLAMP_CNT]; member 1168 struct uclamp_rq uclamp[UCLAMP_CNT] ____cacheline_aligned; member 3563 return READ_ONCE(rq->uclamp[clamp_id].value); in uclamp_rq_get() 3569 WRITE_ONCE(rq->uclamp[clamp_id].value, value); in uclamp_rq_set() 3587 max_util = READ_ONCE(rq->uclamp[UCLAMP_MAX].value); in uclamp_rq_is_capped()
|
| /linux/include/linux/ |
| H A D | sched.h | 906 struct uclamp_se uclamp[UCLAMP_CNT]; member
|