Skip to content

Instantly share code, notes, and snippets.

@luisangelorjr
Last active December 22, 2022 12:55
Show Gist options
  • Select an option

  • Save luisangelorjr/7ca8a2b2e6045924b8195da8cd42def3 to your computer and use it in GitHub Desktop.

Select an option

Save luisangelorjr/7ca8a2b2e6045924b8195da8cd42def3 to your computer and use it in GitHub Desktop.
change kernel for performance
#!/bin/bash
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
## Sometimes, use sudo su for this
echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
## Credits for @willianpaixaoo
## https://twitter.com/willianpaixaoo/status/1518674186608254978?s=20&t=tbi9MuDC_w5AcpI9n37XwA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment