How to optimize Ubuntu for better performance

Ubuntu glossy logo

We present you some basic optimization tricks for your distro Ubuntu, with them you will get the system to work a little better. In addition, Ubuntu 16.04 LTS will now be released and many will want to squeeze its performance to the maximum ... Well, if you are one of those who is going to format your computer to reinstall your Ubuntu distro, be the version that is, again and be able to take advantage of its performance In a better way, you can follow the following tips or tricks.

They will undoubtedly also serve you for other distros, since they are some generic tips. And the first thing is to keep in mind that the biggest bottleneck In a current computer it occurs when you try to move data from the hard disk, especially if you do not have an SSD. But you should know that there are some system options that as an administrator you should know and that can help this bottleneck have a less impact on performance.

  • When installing the distro, you should pause a bit on the partitioning options, as it is very important to create the SWAP partition, of course. This partition should have a little more space than your RAM.
  • The partitioning tools will also help you create other extra partitions that although they are not essential, it is a good practice to create them, such as a small / boot partition. Although this does not take care of performance, putting / Home in a separate partition can also save us complications in the future ...
  • Choosing a good file system or FS to format these partitions is also highly recommended. I encourage you to investigate a little which is the most appropriate, since according to your needs, you can use one or the other (EXT4, btrfs, ZFS, XFS,…).
  • Although for computers such as servers, and others that are more loaded in terms of data input and output, it is not recommended, for a home computer it might also be interesting enable write cache for hard drive.
  • More tricks, swapping, another of the issues we have talked about in this blog. We dedicate an article to it, you can search for it. And if you use an SSD, you should also be aware of the TIRM, for example, using the fstrim command and automate it with the help of crontab weekly ...
  • BleachBit is a program that can also help you get rid of everything that does not serve you on your hard drive, and in addition to freeing up space, make it less saturated.

More ideas, doubts, comments ... They are welcome.


Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   leoramirez59 said

    Another could be Ubuntu Tweak.
    As far as I know, create / Home serves to avoid having to make a backup to proceed to format.
    This would be a significant time saver.

  2.   shuepacabra said

    although you can reinstall without formatting the partition, from the live cd you can delete all the rest of the folders except the home

  3.   g said

    Isaac how to activate the write cache for the hard disk. What is it for and what benefit or inconvenience does it bring?

  4.   monolinux said

    There is an economical way to have an SSD disk in our laptops, in order to improve performance.

    Requirements: laptop with sata CD / DVD drive.

    As everyone knows, SSDs of a reasonable capacity are expensive, but those with less capacity are cheaper, so you can buy a 16GB SSD, now many will say that with 16 GB nothing is done, and it is true, for that is also necessary to buy an adapter for 2.5 ″ hard drives for the CD / DVD drive, this adapter allows us to connect a laptop hard drive in the part where the CD / DVD drive goes.

    How do we mount this: the 16GB SSD disk is installed where the Laptop's Hard Disk goes, and the laptop's Hard Disk (HDD) we put it with the adapter where the CD / DVD drive was going (for this we sacrificed said unit), then We install our favorite distro by mounting the partitions as follows:
    in the 16GB SSD we leave the root partition (/)
    In the original HDD of the laptop we leave the HOME (/ home) partition and the final 1 gb for swap

  5.   Lucas said

    The article is very superficial, it doesn't really deal with anything.
    In addition, it is totally out of date. The swap on computers with a reasonable amount of RAM. It does not enter service even in 1% of the cases. Which is also highly discouraged if you use a ssd, since in addition to not getting any performance, you will only be able to shorten the life of the ssd.

  6.   George said

    I agree with Lucas. The swap became almost useless on high-memory computers. For example, in my Debian Jessie, and my Notebook with 4gb of ram, I didn't even get hot from doing a swap. Even in fstab I mount the temporary folders and cache in the ram.
    I clarify that I did not put swap because I have a ssd disk, and I discovered better performance and faster boot with btrfs than with ext4 which was the one I was using. Anyway, that's what I can contribute from my current experience.

  7.   Eduardo said

    You didn't say anything in particular. The title of the article should be "IDEAS to optimize Ubuntu", since everything is only in that and you never say "how" to do it, what you suggest is "search" or "investigate". When you don't have to write better save yourself something like this, or do it well.
    Thank you