Tuesday, November 25, 2008

Improving Ubuntu boot time by running Boot-Time Scripts in Parallel

Whenever Ubuntu boots, it runs several scripts that start necessary background services. By default, these are set to run one by one, but if you have a processor with more than one core, such as Intel's CoreDuo series or AMD's Athlon X2, you can configure Ubuntu to run the scripts in parallel. This way, all the cores are utilized, and you can save quite a bit of time at each boot.

To make the change, type the following to open the necessary configuration file in Gedit:

gksu gedit /etc/init.d/rc

Look for the line that reads CONCURRENCY=none, and change it so it reads CONCURRENCY=shell. Then save the file and reboot your computer.

Using this method I managed to shave a massive twenty seconds off my desktop PC's usual startup time of just less than a minute.


More from lifehacker

No comments: