Linux In Overdrive: How To Get Every Drop Of Performance Out Of Your System
Although Linux is slim and speedy by default, you might still feel like you could get a few more drops of performance out of your system. Have no fear, these four tips can give you that little extra boost you’re looking for. This isn’t about making your Linux installation even leaner (although it does make a difference), No, this is all about forcing your hardware to go full-throttle.
Note: Since this article is all about getting more performance, there should be no expectation of reasonable power usage. If you value power savings more than performance, this article is not for you. In other words, MakeUseOf is not responsible if your electric bill suddenly triples or more.
Change CPU Governor
The CPU governor controls how your CPU scales its frequency. The CPU changes its frequency dynamically so that it can use a lower frequency and thereby use less power whenever there isn’t much to do, but scale up the frequency so that it can get stuff done when necessary. The governors control how the scaling occurs, which can promote more performance or more power savings. Setting the CPU governor to “performance” will essentially force your CPU to maintain its highest stable frequency at all times. Because the “ondemand” governor is already pretty good at scaling to maximum frequency as quickly as possible when the CPU is needed, the “performance” governor will save at least a few milliseconds that would go to waste while the frequency is scaling up, plus it can boost performance for tasks where the “ondemand” governor may think that going to the maximum frequency isn’t necessary.
To change the CPU governor, open a terminal window and run the command:
sudo apt-get install cpufrequtils
Then, run the following command and your CPU should instantly become sportier:
sudo cpufreq-set -g performance
Use Proprietary Graphics Drivers
The open source graphics drivers are pretty good for AMD users , and decent enough for NVIDIA users. However, you’ll still get better performance if you opt to choose the proprietary graphics drivers instead. Thankfully, they’re easy to install in Ubuntu. Just open the Dash and search for “Additional Drivers”.
From here, you can install the proprietary drivers and use them after a quick restart.
For the record, Intel users only have the open source driver because Intel doesn’t have a proprietary driver and fully supports and actively develops the open source one.
NVIDIA Users: Overclock Your Graphics Card
NVIDIA users are able to do something that’s surprisingly rare to do on Linux for any other hardware: overclocking. While overclocking can shorten the life of your hardware, it can get some additional performance that can be cruicial while gaming. However, these settings are initially hidden to prevent any uninformed users from causing damage to their hardware. Open up the NVIDIA configuration tool, switch to the X Server Configuration tab and click on the Save to X Configuration File button. Now, open a terminal window and run the command:
sudo nano /etc/X11/xorg.conf
Next, find the Device section for the graphics card, and add:
Option "Coolbits" "5"
Then, restart your computer. Once that’s done, open the NVIDIA configuration tool again, and now you should have an extra page called Clock Frequencies. Now you can overclock your graphics card! Beware with what you do — be sure that you get informed before you touch any of the settings.
To improve your system’s network performance, you can disable IPv6. While I’m all for using IPv6, most people’s ISPs don’t support the new protocol yet, and there’s nothing you can do about it. Go into your network connections manager, open up your current connection, and then switch to the IPv6 and choose “Ignore”. That way, the system won’t keep trying to create an IPv6 connection, which will free a few resources and improve performance.
Other Awesome Tips
Of course, there are a few other things that you can do to improve your Linux system’s performance as we’ve talked about in other articles. For example, you can optimize Linux for SSDs , potentially remove your SWAP partition , make it more responsive with Ulatencyd , or perform 4 software-related tweaks to speed up your system. Be sure to check out all of them so that you can get every drop of performance you possibly can.
While Linux is great, there’s a lot of potential that can be attained through lots of customization and tweaking. Why not include them already? Because people have different needs, and most tweaks are only good for some people but bad for others. It’s a bit of work, but the end results are well worth it.
What other performance tweaks can you suggest? What’s more important to you, power savings or performance? Let us know in the comments!
Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.