cpufreq-set(1)
β¨ cpufreq-set β¨
okay bestie, welcome to cpufreq-set(1) β the section 1 manual page for a tiny little tool that lets you β¨modify cpufreq settingsβ¨ and honestly? she's iconic for it π
πΈ NAME πΈ
cpufreq-set β a small tool which allows a user to modify cpufreq settings.
like. that's it. that's her whole job. small tool, big main character energy π
π SYNTAX π
cpufreq-set [options]
just options, no positional args, no drama, we love a low-maintenance queen π
π DESCRIPTION π
cpufreq-set lets you modify cpufreq settings without having to type stuff like
/sys/devices/system/cpu/cpu0/cpufreq/scaling_set_speed
over and over and over again all the time. fr fr, nobody has the patience to type out a whole-ass sysfs path every single time β that's giving carpal tunnel, not giving efficiency π so this tool just does it for you. obsessed.
β¨ OPTIONS β¨
-c --cpu <CPU>β the number of the CPU whose cpufreq settings shall be modified. you're basically pointing at which core you wanna talk to π«Ά-d --min <FREQ>β the new minimum CPU frequency that the governor may select. floor level, no going below this, periodt β¬οΈ-u --max <FREQ>β the new maximum CPU frequency that the governor may select. the ceiling, the limit, the "you shall not pass" β¬οΈ-g --governor <GOV>β the new cpufreq governor. new management just dropped π-f --freq <FREQ>β a specific frequency to be set. heads up bestie, this one requires the userspace governor to be available and loaded β no userspace governor, no vibe π₯-r --relatedβ modify all hardware-related CPUs at the same time. group chat behavior, everyone gets the update at once π-h --helpβ Prints out the help screen. the classic. the safe choice. the "I don't know what I'm doing but I'm doing it politely" move π
π¦ REMARKS π¦
okay important stuff, pay attention bestie, this is the iykyk section:
- Omitting the
-cor--cpuargument is equivalent to setting it to zero. so if you don't say which CPU, she just assumes CPU0. default behavior, no cap π«‘ - The
-f FREQ,--freq FREQparameter cannot be combined with any other parameter except the-c CPU,--cpu CPUparameter. so don't try to sneak other flags in there, she will not play that game π - FREQuencies can be passed in Hz, kHz (default), MHz, GHz, or THz by postfixing the value with the wanted unit name, without any space. and here's the math so you don't have to guess:
frequency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000
no space between the number and the unit, bestie, she's picky about that β¨
- On Linux kernels up to
2.6.29, the-ror--relatedparameter is ignored. so on those old kernels, that flag is literally just vibing there doing nothing πͺ¦
π§ FILES π§
/sys/devices/system/cpu/cpu*/cpufreq//proc/cpufreq(deprecated)/proc/sys/cpu/(deprecated)
heads up: the last two are deprecated β they're the old-school ones, still listed but like, respectfully, they're retired π
π AUTHORS π
- Dominik Brodowski
<linux@brodo.de>β author - Mattia Dongili
<malattia@gmail.com>β first autolibtoolization
shoutout to the girlies who built her π«Ά
π SEE ALSO π
cpufreq-info(1), cpufreq-aperf(1)
go read those too, they're the whole friend group π
and that's the page!! brought to you by Mattia Dongili, version 0.1, dated cpufreq-set(1) era β mwah, slay, go set some frequencies responsibly β¨π
π
π¦ where this page comes from
- debian bookworm: cpufrequtils 008-2 Β· GPL-2.0-only
- ubuntu jammy: cpufrequtils 008-2build1 Β· GPL-2.0-only
- ubuntu noble: cpufrequtils 008-2build2 Β· GPL-2.0-only
- ubuntu resolute: cpufrequtils 008-2build3 Β· GPL-2.0-only
- ubuntu stonking: cpufrequtils 008-2ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms