How to speed up your Linux PC

Share on facebook
Share on twitter
Share on linkedin
Share on pinterest
Share on reddit
Share on whatsapp


How to speed up your Linux PC

One of the biggest strengths of Linux as a powerful operating system ecosystem is its speed out of the box, but it always pays to speed up your Linux PC even more. Below are several things that take your system’s speed capabilities into account, and some great ways to speed things up. In this guide, we are going to tell you how to speed up your Linux PC.

Scheduling threads

Initially, Linux used a simple scheduling algorithm to handle tasks in a circular fashion. Since its inception, Linux has constantly improved its thread scheduling, resulting in a highly advanced and scalable design called Completely Fair Scheduler.

CFS uses virtual execution time to decide which tasks should be performed. In addition to this, a self-balancing red-black tree of scheduled tasks is maintained to manage tasks more efficiently than an execution queue.

Advanced file systems

Linux uses surprisingly advanced file system designs compared to other competitors in the operating system market. Since the introduction of the third iteration of the Ext file system, Ext3, Linux has benefited from journaling capabilities, effectively preventing file system corruption in the event of file transfer failure or power failure.

Ext4 further expands the functionality of Ext3 to accommodate much larger files and allow unlimited number of subdirectories at high access speeds.

Speaking of speed, here are some ways to seriously increase the speed of your Linux system.

An easy starting point for improving your computer’s performance is always at the beginning. There are a few key approaches in this regard, and they focus on the following optimizations. (We’ll use Ubuntu as an example below.)

Speed ​​up Linux startup by reducing Grub time

If your Linux system uses Grub as the boot loader, you will find that it will display the GRUB boot loader for ten to thirty seconds. Do you know that you can reduce the bootloader time or even skip the countdown completely?

Launch a terminal and open the “/ etc / default / grub” file in your favorite text editor.

sudo nano /etc/default/grub

Search the GRUB_TIMEOUTvariable. Replace the value associated with this variable with something like 5 or 3. Set it to 0 to disable the countdown.

Record (Ctrl+O) and close the file (Ctrl+X), then run

update-grub

for the change to take effect.

Reduce the number of starter apps

Each Linux distribution has slight variations in the process of handling startup applications, but the general principle is the same.

In Ubuntu, managing startup apps is as easy as opening an application called “Starter Apps” and browsing its contents with a fine comb.

Reduce the number of starter apps

Simply click on any recognizable item that seems unnecessary to load every time you start your system. Clicking on “Delete” immediately deletes the option you have selected without a confirmation message. If you are unsure of your selection, you can remove the check mark next to the option instead.

Speed ​​up your Linux PC

Check for unnecessary system services

Keep in mind that not all applications executed by your machine at startup are immediately visible without first executing the following special command from your terminal:

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

Once done, you’ll see a lot more of it in startup apps than before, including system services. You can modify them according to your needs.

Check for unnecessary system services

Change your office environment

Another easy speed improvement that you can implement is to optimize your desktop environment. This option also has a number of obvious interface changes. So it may not be suitable if you like your current setup. If you are ready for a change and a speed increase, it could work just fine.

There are a few desktop environment options available that deliberately emphasize speed over other factors.

Xfce

Xfce is designed to be lightweight and optimized for speed. The multi-touch capabilities and the many customization options make it a suitable office environment, even for aesthetic purposes.

To install this desktop environment in Ubuntu, enter the following in your terminal:

sudo apt-get install xubuntu-desktop

Then log out of your user session and select the new desktop option before you log back in.

LXDE

Another office environment largely focused on speed, LXDE is designed to be modular, allowing its individual components to be added to your system instead of installing everything all at once.

Installing LXDE in Ubuntu is as easy as typing the following into your terminal:

sudo apt-get install lubuntu-desktop

Follow the same procedure as for Xfce (log out and select it) to activate it.

The modular design of this environment highlights another speed increase option connected to your system’s user interface.

Reduce permutation

This speed improvement tactic focuses on how Linux uses active memory. Usually, the use of a swap partition on your hard drive is handled automatically with a fairly high setting. Called “permutation”, this parameter can range from 0 to 100 and is pre-configured at 60.

The default of 60 is generally a much more aggressive setting than most users require, and lowering it allows your machine to make better use of its own resources.

Minimizing swapping is as easy as typing the following into your terminal to access “sysctl.conf”:

sudo nano /etc/sysctl.conf

Then add the following to the bottom of the file and close it:

#Set swappiness value
vm.swappiness=10

How to speed up your Linux machine

Restart and enjoy the increased speed.

The tips we’ve covered here are definitely worth trying if you’re looking to speed up your Linux PC. Each of these, individually or all combined, can help you speed up your system, saving resources for the tasks that matter most to you. Try them out and get things done much faster.

Conclusion

In this comprehensive guide, you have learned how to speed up your Linux PC. If you also have any questions, please let us know in the comments. Also, don’t forget to check out this guide where we’ve shared the best video editing software for Linux.



Source link

Leave a Reply