UCLAMPSET(1)
๐ uclampset โ the util-linux girlies' guide to utilization clamping ๐
okay so bestie, this is uclampset(1), a User Commands page from the util-linux fam, and it's literally about telling your scheduler what vibe range a task should be operating in. buckle up ๐
โจ NAME โจ
uclampset โ manipulate the utilization clamping attributes of the system or a process
๐ธ SYNOPSIS ๐ธ
uclampset [options] [-m minimum] [-M maximum] -p PID
uclampset [options] [-m minimum] [-M maximum] command [argument...]
๐ฆ DESCRIPTION ๐ฆ
uclampset sets or retrieves the utilization clamping attributes of an existing PID, or it runs command with the given attributes. two modes, one icon ๐
Utilization clamping is a new feature added in v5.3. it's basically a hint to the scheduler about the allowed range of utilization the task should be operating at. like, "hey scheduler, this task lives here, thanks." โจ
The utilization of the task affects frequency selection and task placement. Only the schedutil cpufreq governor understands handling util clamp hints at the time of writing โ no cap. Consult your kernel docs for further info about other cpufreq governors support. ๐
If you're running on an asymmetric heterogeneous system like Arm's big.LITTLE, utilization clamping can help bias task placement. If the task is boosted such that util_min value is higher than the little cores' capacity, then the scheduler will do its best to place it on a big core. ๐ช
Similarly, if util_max is smaller than or equal the capacity of the little cores, then the scheduler can still choose to place it there even if the actual utilization of the task is at max.
Setting a task's uclamp_min to a none zero value will effectively boost the task, as when it runs it'll always start from this utilization value. โฌ๏ธ
By setting a task's uclamp_max below 1024, this will effectively cap the task, as when it runs it'll never be able to go above this utilization value. โฌ๏ธ
The full utilization range is: [0:1024]. The special value -1 is used to reset to system's default. ๐ซถ
Consult latest kernel documentation for more details:
https://kernel.org/doc/html/latest/scheduler/sched-util-clamp.html
๐ OPTIONS ๐
-mโ Setutil_minvalue.-Mโ Setutil_maxvalue.-a,--all-tasksโ Set or retrieve the utilization clamping attributes of all the tasks (threads) for a given PID.-p,--pidโ Operate on an existing PID and do not launch a new task.-s,--systemโ Set or retrieve the system-wide utilization clamping attributes.-R,--reset-on-forkโ SetSCHED_FLAG_RESET_ON_FORKflag.-v,--verboseโ Show status information.-h,--helpโ Display help text and exit.-V,--versionโ Display version and exit.
๐ USAGE ๐
The default behavior is to run a new command:
uclampset [-m uclamp_min] [-M uclamp_max] command [arguments]
You can also retrieve the utilization clamping attributes of an existing task:
uclampset -p PID
Or set them:
uclampset -p PID [-m uclamp_min] [-M uclamp_max]
Or control the system-wide attributes:
uclampset -s [-m uclamp_min] [-M uclamp_max]
๐ PERMISSIONS ๐
A user must possess CAP_SYS_NICE to change the scheduling attributes of a process. Any user can retrieve the scheduling information. reading is free, writing costs ya ๐
๐ NOTES ๐
The system wide utilization clamp attributes are there to control the allowed range the tasks can use. By default both uclamp_min and uclamp_max are set to 1024. This means users can set the utilization clamp values for their task across the full range [0:1024].
For example:
uclampset -s -m 512 -M 700
will prevent any task from being boosted higher than 512. And all tasks in the systems are capped to a utilization of 700. Effectively rendering the maximum performance of the system to 700. ๐ฅ
Consult your kernel docs for the exact expected behavior on that kernel.
๐ AUTHORS ๐
Qais Yousef <qyousef@layalina.io> โ absolute legend, thank you for your service ๐ซก
๐ SEE ALSO ๐
nice(1), renice(1), taskset(1), sched(7)
See sched_setscheduler(2) and sched_setattr(2) for a description of the Linux scheduling scheme.
๐ REPORTING BUGS ๐
For bug reports, use the issue tracker
https://github.com/util-linux/util-linux/issues
fr fr if something's broken, tell them! they wanna know ๐
๐ฆ AVAILABILITY ๐ฆ
The uclampset command is part of the util-linux package which can be downloaded from Linux Kernel Archive
https://www.kernel.org/pub/linux/utils/util-linux/
okay that's the whole page bestie, no notes, ate and left no crumbs โจ and just so you know, this was util-linux 2.42.4, dated 2026-09-21 โ go clamp something responsibly, mwah ๐๐ฆ
๐ฆ where this page comes from
- arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms