Searched refs:uclamp (Results 1 – 8 of 8) 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 | 1650 struct uclamp_bucket *bucket = rq->uclamp[clamp_id].bucket; in uclamp_rq_max_value() 1711 tg_min = task_group(p)->uclamp[UCLAMP_MIN].value; in uclamp_tg_restrict() 1712 tg_max = task_group(p)->uclamp[UCLAMP_MAX].value; in uclamp_tg_restrict() 1747 if (p->uclamp[clamp_id].active) in uclamp_eff_value() 1748 return (unsigned long)p->uclamp[clamp_id].value; in uclamp_eff_value() 1768 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_inc_id() 1769 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_inc_id() 1775 p->uclamp[clamp_id] = uclamp_eff_get(p, clamp_id); in uclamp_rq_inc_id() 1806 struct uclamp_rq *uc_rq = &rq->uclamp[clamp_id]; in uclamp_rq_dec_id() 1807 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_dec_id() [all …]
|
| H A D | sched.h | 528 struct uclamp_se uclamp[UCLAMP_CNT]; member 1205 struct uclamp_rq uclamp[UCLAMP_CNT] ____cacheline_aligned; member 3735 return READ_ONCE(rq->uclamp[clamp_id].value); in uclamp_rq_get() 3741 WRITE_ONCE(rq->uclamp[clamp_id].value, value); in uclamp_rq_set() 3759 max_util = READ_ONCE(rq->uclamp[UCLAMP_MAX].value); in uclamp_rq_is_capped()
|
| /linux/Documentation/admin-guide/sysctl/ |
| H A D | kernel.rst | 1283 It means that any requested uclamp.min value cannot be greater than 1294 It means that any requested uclamp.max value cannot be greater than 1305 Uclamp achieves this by setting the requested uclamp.min of all RT tasks to 1309 This knob allows admins to change the default behavior when uclamp is being 1315 requested uclamp.min value via sched_setattr() syscall.
|
| /linux/include/linux/ |
| H A D | sched.h | 925 struct uclamp_se uclamp[UCLAMP_CNT]; member
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 1248 cpu.uclamp.min 1262 `cpu.uclamp.max`. 1266 cpu.uclamp.max
|