An easy-to-use CPU governor switcher - Run things fast or save some juice!
- Download a binary release according to your device's system architecture.
- Make the binary release executable by running
chmod +x switcheroo
. - View the help and support section for script usage by running
./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
- List all available CPU governors for your device by running
./switcheroo -list
.$ ./switcheroo -list [ ✓ ] Available CPU governors were successfully read conservative ondemand userspace powersave performance schedutil
- Know about the currently selected CPU governor by running
./switcheroo -crnt
.$ ./switcheroo -crnt [ ✓ ] performance is the currently selected CPU governor
- Switch to another CPU governor of your choice by running
./switcheroo -setn <cpu-governor-name>
with root permissions.or$ sudo ./switcheroo -setn powersave [ ✓ ] powersave replaces performance as your current CPU governor
# ./switcheroo -setn powersave [ ✓ ] powersave replaces performance as your current CPU governor
- For generic desktop PCs, click here.
- For Raspberry Pi 3B and 4B, click here.