Skip to content

Ubuntu 9.04, reducing your boot time.

Hey, searching around the internet, i find some ways to decrease the boot time. All of them were for older versions, tham i decided to try it in new Ubuntu 9.04 (Jaunty Jackalope) and i get 22seconds boot time.

I used the bum (sudo apt-get install bum) to remove some things that i don’t use.
This thins are:
acpid – Controls energy/buttons in pc/Laptop. If you don’t use notebook or a keyboard with hotkeys you can remove it.
acpi-support – Like above.
hotkey-setup – Similar above.
anacron – This system runs processes periodically. You could remove it, and use cron.
atd – Like cron, Task Scheduler.
bluetooth – Bluetooth support
usplash – Without this, you don’t see a beautifull loading screen when booting.
dns-clean – Used by dial-up connections.
pppd-dns – Used by dial-up connections.
saned – A lib for scanners.

Remember, i removed this things, like bluetooth and acpid because i don’t use it. You shouldn’t remove it, if you use. You must choose what item to remove according to your system.

Use:
$ sudo pico /boot/grub/menu.lst
and remove splash.

kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=5be10a48-2c12-4165-8957-81c7a15274e5 ro quie splash
turned
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=5be10a48-2c12-4165-8957-81c7a15274e5 ro quie

Reboot the system and executed the profiler. Press “e” in grub to edit, add to line that starts with “kernel” the word profile (add it in the end). Press “B” to boot. Wait a while, your boot is going to be slow. After this, reboot and see your boot time in bootchart.

If you want you can use Concurrent boot. To use it you have to edit /etc/init.d/rc
$sudo pico /etc/init.d/rc

And change
CONCURRENCY=none
to
CONCURRENCY=shell

Save and restart. Verify your boot time and decide if you want to use it or not. (Probabily if you don’t change boot order in rcX.d, You will not see difference.)

Usei o sudo bum (apt-get install bum) para remover algumas coisas que eu não usava.
As coisas removidas foram as seguintes:
acpid – Serve para gerenciar a energia/controles do pc/laptop. Se você não usa um notebook ou teclado com teclas te atalho pode remover.
acpi-support – Para notebooks. Como o de cima.
hotkey-setup – Semelhante ao anterior.
anacron – Este sistema roda processos periodicamente. Você pode remove-lo e colocar serviços criticos para cron
atd – Como o cron, esse também é um agendador de tarefas.
bluetooth – Suporte a Bluetooth
usplash – Remove a tela bonitinha de loading, aparecendo um monte de mensagens na tela. (remover splash da grub tbm. Abaixo)
dns-clean – Utilizado para conexões dial-up.
pppd-dns – Utilizado para conexões dial-up.
saned – Biblioteca para scanners.

Lembrando que removi pois não utilizava certos dispositivos, como bluetooth, agendador de tarefas e notebook. Voce deve ver se remove ou não de acordo com seu sistema.

For now just this, but when i have time I want to rebuild my kernel and see the diferences. Stay calm, i will keep you informed.

Matheus Bratfisch

References:
http://www.extremetech.com/article2/0,2845,2114124,00.asp
http://wiki.ubuntu-br.org/AcelerandoBoot#head-c8957311083b70f08301d9339d1dea3c54c1c9ae
http://caarlos0.wordpress.com/2009/02/09/boot-do-ubuntu-intrepid-em-20-segundos-d/

Published inLinuxSoftware LivreUbuntu

5,456 Comments

  1. What i don’t understood is in fact how you’re now not really much more neatly-appreciated than you might be now. You are very intelligent. You already know therefore significantly in terms of this subject, made me in my opinion imagine it from a lot of various angles. Its like men and women don’t seem to be fascinated except it is something to do with Woman gaga! Your individual stuffs excellent. At all times deal with it up!

  2. EdwardBek EdwardBek

    Наркологическая помощь на дому помогает избежать стресса, связанного с поездкой в клинику. Особенно это важно в случаях, когда пациент находится в состоянии тяжёлой интоксикации или переживает абстинентный синдром, который можно только усугубить дополнительной нагрузкой. Врач приедет в кратчайшие сроки, обеспечивая необходимое лечение в первые часы после ухудшения состояния. Также важно, что при выезде специалист гарантирует полную анонимность, что особенно важно для многих людей, которые боятся открыто признаться в своей проблеме. Профессиональная наркологическая помощь на дому позволяет избежать срыва и начать процесс восстановления без стресса.
    Выяснить больше – нарколог на дом в воронеже

Leave a Reply

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