An easy-to-use CPU governor switcher - Run things fast or save some juice!
GPL-3.0 License
An easy-to-use CPU governor switcher - Run things fast or save some juice!
chmod +x switcheroo
../switcheroo -help
.
$ ./switcheroo -help
[ i ] SWTICHEROO - Run things fast or save some juice!
© 2019-2020 Akashdeep Dhar <[email protected]>
-crnt - Know the currently selected CPU governor
-help - Read about the scriplet and its creator
-list - List the collection of all available CPU governors
-setn - Change CPU governor by name - requires superuser
./switcheroo -list
.
$ ./switcheroo -list
[ ✓ ] Available CPU governors were successfully read
conservative
ondemand
userspace
powersave
performance
schedutil
./switcheroo -crnt
.
$ ./switcheroo -crnt
[ ✓ ] performance is the currently selected CPU governor
./switcheroo -setn <cpu-governor-name>
with root permissions.
$ sudo ./switcheroo -setn powersave
[ ✓ ] powersave replaces performance as your current CPU governor
or
# ./switcheroo -setn powersave
[ ✓ ] powersave replaces performance as your current CPU governor