My Performance Tweaks To Ubuntu

Now that I have a “spare” box I thought I’d try and improve the speed on the box. If it goes kaput I learn and re-install. So here are the ones I found that worked:

This is the best speed boaster overall. It enables mode which almost all computers nowadays support. It’s usually installed but incase you haven’t or if you want to check use this command:
$ sudo apt-get install hdparm

Once installed find out where your root is located in /etc/fstab using a text editor and look for a “/” under the column “” The information you need to take away is the “” column on the same line as the “/”. Usually it is the first HDD which is /dev/sda1. Drop the number at the end because it’s the partition number and type the following:
$ sudo hdparm -tT /dev/sda where /dev/sda is the HDD in the fstab file.

This trick once set is not permanent. You must

preload

This is like where it monitors your daily habits and remembers the files you open. Over time it will know which files are used the most and load them into memory ready before Linux/ requests the file. Install preload:
$ sudo apt-get install preload

Ensure the daemon has started:
$ sudo /etc/init.d/preload start

Allow Concurrency

By default when the boots all services are started up one after another. Nowadays with multicore processors and better programming techniques (I hope) allows the services to start up in parallel.

Edit the file /etc/init.d/rc Find

CONCURRENCY=none

and change it to CONCURRENCY=
Save and exit.

Optimizing your Ubuntu hard drive with hdparm

Related posts:

  1. Check For Rootkits In Ubuntu
  2. PDF Printer In Ubuntu
  3. Mounting / Extracting .bin and .cue Files In Ubuntu
  4. Setting Up CUPS (Print Server) On Ubuntu 8.04
  5. Ubuntu 10.04 dos2unix Tools Missing

About Danny

Young I.T software professional always studying and applying the knowledge gained and one way to do this is blogging. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny is now in the industry that he has aimed since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , , , , , , , , , , . Bookmark the permalink.

One Response to My Performance Tweaks To Ubuntu

  1. higuita says:

    hdparm -tT /dev/sda will only test the buffered and unbuffered read speed, it will NOT enable the DMA

    you want the -d1 option

    check the current status with hdparm -I /dev/sda (that is a capital i) … all values with are enable, check in the DMA which one is enabled.

Leave a Reply

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

*

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.