How to Improve Linux PC Performance


by Howard Fosdick,  updated for 2025 ©  RexxInfo.org




Improving Performance

This is the third in a series of articles that explain how to improve your Linux personal computer's performance.

My first article described How to Identify and Resolve Linux Performance Bottlenecks to unleash performance.

The second article described How to Upgrade Your PC Hardware to increase performance.

This article offers software tips to speed up your Linux computer.

It also explores ways to improve performance by changing how you use your computer. Some of these behavioral changes may be obvious to technically-minded readers, but they might not be to the end users you support. You'll want to be sure to share these tips with them.

The goal is a simple approach to improving Linux PC performance. As in my previous articles, I use all open source tools. There's no need for anything else.


How to Measure Improvements



GNOME Performance Monitor
GNOME System Monitor

Before you make any change to your computer, assess performance to ensure that the change would be beneficial.

And after making an update, inspect the system a second time to verify that the modification succeeded.

Several open source graphical tools make performance monitoring easy. They include the GNOME System Monitor, KDE System Guard, GKrellM, Stacer, Conky, and Glances.

(The other articles in this series showed how to use the GNOME System Monitor.)

Whichever tool you pick, look very closely at your processor and memory use.

You might also want to monitor other hardware resources, such as disk and USB storage, the graphics processor, and the internet connection.

The ultimate performance arbiter for a personal computer is its responsiveness. Quick? You're good. Sluggish… that indicates room for improvement.

Most Linux distributions require no out-of-the-box configuration by personal computer users: they're efficient from the get-go. However, reviewing your situation can be useful to decide what you can improve.


Tweak Your Browser

Most users run their browser nearly all the time. For some, it's their only app. So browser selection and tuning potentially offer big payoffs.

Here are some tuning tips:

  • Research indicates that website ads and trackers can consume over half the CPU your PC spends on page processing. So block ads with a browser extension like uBlock Origin, and block trackers with a tool like Privacy Badger.  

  • Disable autoplay for videos and animation (including those little video windows that automatically appear and run in the corner of your screen). All major browsers either have this capability built-in, or available through browser add-ons. 

  • Remove all non-essential add-ons and extensions from the browser. Each one you add, adds overhead. Carefully consider which are worth their overhead.  


Browser Tips for Powerful PCs



Power Browsers
Power Browsers

For a high-end PC, your goal is a browser that leverages your abundant processor and memory resources to provide optimal web surfing. Multiprocess, multithread browsers work best. Your want to apply all your hardware power for a better browsing experience.

Which browser performs best? That's highly debatable. It requires a separate article for a decent answer. (And even then, which is best constantly changes as different browsers come out with new releases.)

Most Linux users start their search with Chromium or Firefox, popular open source products that are widely respected for their ability to leverage hardware for high-performance browsing. There are many other open source browsers you might try, though.


Browser Tips for Low-end PCs



Lightweight Browsers
Lightweight Browsers

For a limited-resource PC, you don't want a browser that consumes resources and swamps your PC.

Instead, you want one that performs efficiently using limited resources. Call it a lightweight browser. It probably won't be the one that spawns lots of processes and threads.

Users hold different views about which lightweight browser performs best. I've had good experience with Dillo. Wikipedia provides a comprehensive list of lightweight browsers, if you'd like to research others. Keep in mind that most lightweight browsers sacrifice some features and functions to reduce PC resource consumption.

For a limited-resource PC, you can reduce browser resource consumption by opening only a couple of tabs at a time rather than a dozen. Close tabs you're done using. And run only a single instance of one browser at a time.

JavaScript can add a lot of demand on your browser, so toggle it off when you don't need it. Most browsers offer add-ons that allow you to manage JavaScript on a per-website basis or by flipping it on or off at your direction.

On low-end PCs, you can also tailor browser performance to your liking by manually starting and stopping background tab processing. Just click on the page-load button in the browser to toggle processing on or off for a web page. In Firefox, for example, this button is located on the left side of the toolbar.

Here's how to use this. If you want to load a specific web page quickly, toggle off page loading in other tabs so that they don't compete with your page of interest.

Conversely, if you're spending a lot of time reading a web page you've already loaded, let other tabs load their pages in the background while you're occupied. In this way, you can often browse with decent performance, even on a minimal-resource computer.


Stop Multitasking

Here's another tip. Don't run a resource hog in the background while focusing on some more important task. For example, don't run a resource-consuming game, virtual machine host, video editor, or package install while you're browsing.

This principle applies everywhere: limit how many apps you use at one time, and close any you aren't using. Limit concurrency, and you improve performance for the apps you run.

Background processing presents a similar opportunity. Virus scanners, software updates, backups, image copies, filesystem verification, and big downloads are resource-intensive. Schedule these activities for off-hours to optimize performance. A good open source GUI scheduler makes this easy. For example, you can use scheduling tools like Zeit, KCron, or Cron.


Choose Software Wisely

Your software choices make a big difference in how much processor and memory your computer uses.

For many people today, this hardly matters. Their state-of-the-art personal computers have more than enough processing power and memory to quickly run any app they choose. (If this is you, you can skip this section.) Yet, software choices remain crucial for others.


Office Suites

If you run LibreOffice or OpenOffice, but you don't use Base (the database creation component), then it's safe to disable the Java runtime. You can do this in the Tools > Options > LibreOffice > Advanced setting panel.

Alternately, replace your big office suite with what's commonly known as GNOME Office. This includes AbiWord and Gnumeric, both of which require less from your hardware and are functionally equivalent to a word processor and spreadsheet for many users.



Cloud Processing and Storage
Cloud Processing and Storage Can Reduce Your PC's Burden
(Courtesy: ECycleSolutions.com)

Here's another approach. Ditch the locally-installed office suite altogether.

Instead, offload your workload to the cloud with a product like Etherpad, EtherCalc, or the Google Workplace suite.

This principle applies generally. If you have a low-end computer, offload whatever you can to the cloud.

Offload both processing and storage, if possible.

This is why Chromebooks are effective even though most offer low-power hardware.

Of course, this solution assumes you have a fast, reliable internet connection.


Desktop Environment

Your desktop environment runs every minute you use your PC. If it's not responsive, install a lighter desktop that requires fewer resources. I recommend Xfce, LXQt or LXDE.

Whichever desktop you use, you can increase its responsiveness by disabling visual effects. Turn off things like animation, compositing, and the thumbnail images in your file manager, or use a file manager (such as PCManFM, XFE, or Thunar) without those features. This can have a noticeable impact on slower computers because your screen is involved in every mouse click. Use keyboard shortcuts to eliminate having to move your hand between the mouse and keyboard.

You can configure some desktops to use a lightweight window manager. The window manager dictates how windows look and feel and how users interact with these elements.

If you really want to skimp on resources, forgo a desktop altogether in favor of a simple windows manager. Popular choices include JWM, Openbox, and Fluxbox. These run faster than a full desktop but at the cost of a less user-friendly interface. For example, you often can't put icons on your desktop, and you may not have a system tray or dock.


Rightsize Your Linux Distribution for Your PC

Your Linux distribution can impact PC performance. Some distros assume they're running on powerful state-of-the-art computers, while others are designed to run with fewer resources. So if you're running a full-featured distro and it doesn't perform well, test a lightweight alternative to see if it improves responsiveness.

Testing different distros is easy. Just download the Linux distro you want to try. Write it to a USB memory stick with an open source tool like Fedora Media Writer or Unetbootin. Then boot your PC from the memory stick to test drive the distro. Start up one of the system monitoring tools I mentioned earlier, and measure whether the new distro uses hardware more efficiently.

The lightest distros I've used are AntiX and Puppy Linux. These use window managers instead of a desktop, bundle lightweight apps, and are specifically designed to run on limited-resource computers. They even run well on 15-year-old machines!

The tradeoff is that their desktops aren't glitzy. Their interfaces may be unfamiliar to you, and you may have to learn how to configure them. For some people, that's frustrating, while for others, it's a fun challenge and an opportunity to learn something new.


Make PC Configuration Changes

I'll conclude with some basic Linux configuration changes you may want to try. Taken individually, each won't improve performance enough that you'd notice. But in the aggregate, they can have a measurable impact:

  • Verify that you have optimal device drivers for all devices.  

  • Avoid overheating to prevent step-downs in CPU speed (CPU throttling).  

  • Reduce boot time by reducing the default GRUB_TIMEOUT parameter for the Grub menu.  

  • Eliminate unneeded apps and services from your startup list (the programs that run every time you boot your computer). Linux desktop environments typically provide GUI panels for this so that you don't need to edit configuration files or scripts directly.  

  • Speed updates and downloads by using the fastest mirror available.  

  • Avoid using swap memory.  

  • If you do use swap, place it on your fastest device.  

  • Verify your WiFi is operating at peak bandwidth by comparing its WiFi speed versus when it's directly cabled to your modem.  

  • Verify your router isn't causing a slowdown by testing internet connection speeds without it.  

  • Match USB standards between your USB ports and devices to ensure they don't step down to the speed of the slower partner.  

  • Verify your USB transfer rates with the benchmark feature in the GNOME Disks tool.  

  • If you must use virtual machines, tune them for performance.  

  • Clean out old history, log, and junk files with open source GUI tools like BleachBit and Sweeper.  

  • Clean out unused junk files by uninstalling apps you don't use. On Debian-based systems, clean the APT cache.  

  • Find and delete duplicate files by using an open source GUI tool like FSlint.  


Summary

This article offered some performance tips for Linux desktops.

You may also want to look at my articles on How to Identify and Resolve Linux Performance Bottlenecks, and How to Upgrade your Linux PC's Hardware.


Related Articles


Linux Commands to Display Hardware Information
How to Identify Linux Performance Bottlenecks
How to Upgrade Linux PC Hardware
How to Shrink PDF Files
How to Traverse Directories in Scripts
How to Use PUSHD and POPD
Reclaim Big Disk Space by File Conversions
Bash to Python Mapping & Comparison

------------------------------
Back to RexxInfo.org

====> Like this article? Please spread the link love to Slashdot, LXer, or wherever!