DEV Community

Cover image for 🏁Unleash the Full Power of Your Laptop on Linux πŸš€
kpndevroot
kpndevroot

Posted on

🏁Unleash the Full Power of Your Laptop on Linux πŸš€

Are you someone who prefers raw power over battery life on your laptop? If you're tired of your system holding back to conserve energy, then this guide is for you.

Why Your Laptop Isn't Running at Full Speed

Most Linux distributions default to the powersave CPU governor. This setting helps extend battery life and keep your laptop cool, but it also limits performance. If you're a power user who demands the maximum performance from your machine, you might find this setting a bit too conservative.

How to Switch to Performance Mode

Ready to make your laptop roar? Here's how you can switch your CPU governor from powersave to performance mode.

Step 1: Check Your Current CPU Governor

First, let's see what mode your system is currently using. Open your terminal and run the following command:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Enter fullscreen mode Exit fullscreen mode

If your output looks something like this:

powersave
powersave
powersave
powersave
.
.
Enter fullscreen mode Exit fullscreen mode

You're in powersave mode.

Step 2: Switch to Performance Mode

To unlock the full potential of your CPU, switch to performance mode by running the following command:

echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Enter fullscreen mode Exit fullscreen mode

Step 3: Verify the Change

After switching, it's a good idea to confirm that the change took effect. Run the first command again:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
Enter fullscreen mode Exit fullscreen mode

If everything went smoothly, you should now see:

performance
performance
performance
performance
Enter fullscreen mode Exit fullscreen mode

Step 4: Enjoy the Power

Congratulations, you've successfully switched to performance mode! Your laptop is now running at full throttle. Enjoy the extra speed and powerβ€”just be mindful of the increased energy consumption and heat.

Bonus Tip: Turbocharge Your Debian-Based Distro

If you're using a Debian-based distro and want to take your system's performance to the next level, be sure to check out this awesome repo: linuxbooster. It's packed with tools and tweaks to supercharge your Linux experience.

Top comments (0)