Have you ever wondered why your Linux computer is running slow these days? Despite high transmission speed and powerful hardware, it still takes forever in executing or processing services or applications.
Your Linux computer seems to be slow because of some of the following reasons:
- Many unnecessary services started or initialised at boot time by the init program
- Many RAM consuming applications such as LibreOffice on your computer
- Your (old) hard drive is malfunctioning, or its processing speed cannot keep up with the modern application
Want to download via-bitTorrent links, get DVD images with more language packs, use the text-based alternate installer or find previous versions of Ubuntu? Oct 28, 2016 - Recently my download speed from Ubuntu servers (ip starting with 91.189. From iso and update mirrors in Japan, so I think it is probably not a.
Before we find out how we can speed up a Linux computer, we need to know which methods can help us to find the services started at boot time, processes running with higher or lower priorities, CPU health status, and whether the RAM is filled with much more data than it requires and also check whether the swap memory area is full. Lastly, we also need to check check if the hard disk is working well.
Examine CPU Information
The first step to take when you want to speed up a slow Linux computer is to check CPU information. Perhaps the main reason why your computer takes forever to run LibreOffice is because your CPU speed is considerably not enough to run heavyweight applications.
Open a terminal and run one of the following commands:
The above commands display detailed information about your CPU such as vendor_id, model name, CPU MHZ, cache size, microcode and bogomips.
Let’s go through some important details about CPU information.
- bogomips: simply means Bogus Millions of instructions per second. It is a standalone program that displays your system performance.
- model_name: The model_name indicates the manufacturer, model and speed of the CPU. In this case, we have an Intel(R) Celeron(R) CPU that has a speed of 1.73GHz.
- cpu MHZ: cpu MHZ(MegaHertz) is used to measure the transmission speed of channels, buses and the computer’s internal clock. In this case the transmission speed is 1733.329GHz.
If you are not aware, the Intel Celeron 1.73GHz CPU is an old processor with little processing power. For this case, it is obvious that the CPU transmission speed is quite low for this computer as compared to others with multi-cores 2.8GHz CPU. This could be the reason why our Linux computer is slow when running a heavyweight application.
Solution
When you have an old and slow CPU, the only solution is to change to a newer one. Learn what you need to look out for when buying a new processor.
Check for Services Started at Boot-Time
There are different methods to check for services started at boot-time. You can use any of the following commands.
This command lists services started at boot-time:
This command lists services started at boot-time. It is compatible with CentOS, Fedora, and Redhat:
This command also lists services started at boot-time:
initctl
is a daemon control tool that allows a system administrator to communicate and interact with Upstart daemon.
If your system is using systemd, you can use the following command to find the services that run at boot time:
Solution
For Linux distro that are using systemd, you can use the systemctl
command to manage your services, so they will not run during boot time.
Examine CPU Load
Apart from checking for services started at boot time, you can also check whether your processor/CPU is overloaded with processes. You can use the command top
to check CPU load.
The top
command sorts processes with the highest usage on top. As you can see from the screenshot below, you can clearly identify which process/application is abusing your CPU and kill it if necessary using the kill command.
Solution
If you are running too many applications (both in the foreground and background), and your CPU is not up to par, it is best to close the applications that you are not using. Also, disable any applications that you are not using from running in the background.
Why Is Ubuntu Iso Download So Slow Windows 7
Alternatively, you can use preload
to load commonly used applications. Preload is a daemon that runs in the background and analyzes frequently run applications.
Open a terminal and run the following command:
For Fedora and CentOS users, you can use the following command:
Preload works in the background. Thus, there is no need tweak it. Preload loads a section of commonly used applications into memory to ensure faster load of these applications.
Check for Free Memory Space
RAM is where commonly used applications are usually stored. You can use the free
command to check for memory information such as free space available for RAM and so on. Less memory space can also affect a computer’s performance.
Solution
Either you upgrade your RAM or replace your memory-intensive applications with lightweight alternatives. Applications such as Libreoffice are rather memory intensive. Instead of using LibreOffice, you can use Abiword.
Check If Your Hard Drive Is Overworking
Is your hard drive light constantly chugging along, yet you have no idea what it’s doing? Mysterious input/output can sure be a problem, so there is a top-like tool called iotop,
specifically meant to help diagnose this kind of problem.
Open a terminal and enter the command:
For Fedora and CentOS users, you can use the following command:
A normal, idle system should be mostly zeros across the board, sometimes with a few small bursts while data is being written, as in the screenshot below.
If however, you run a disk-intensive utility like find, you’ll see its name and throughput listed clearly in iotop.
Now you can easily find out what program is using your I/O, who ran it, the speed the data is being read, and more.
Conclusion
Ubuntu Iso Free Download
While there are many things that can potentially cause system slowness, CPU, RAM, and disk I/O are behind the vast majority of performance problems. Using the methods described here will help you determine the cause of your performance problems, and how you can fix them.
Dell Ubuntu Iso Download
This article was first published in September 2011 and was updated in June 2018.