Ir ao conteúdo

Ubuntu, diminuindo o seu tempo de boot.

Bom, pesquisando em alguns tutoriais pela internet, achei alguns para versões velhas e resolvi testar se as modificações surgiam efeito. Consegui um boot, Ubuntu 9.04 (Jaunty Jackalope) de 22 segundos.

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.

Aproveitei e utilizei
sudo pico /boot/grub/menu.lst e removi o splash

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

Reiniciei o sistema e executei o profile. Entre no menu, aperte ‘E’ para editar, adicione a linha começando por kernel a palavra profile no final e aberte ‘B’ para bootar. Deixe executar o “profiler”. Após reiniciar o boot ficou em 23s. (O profiler deve ser executado peoridicamente)

Após isso resolvi utilizar o boot em modo paralelo. Para fazer isso faça o seguinte
sudo pico /etc/init.d/rc

Altera a linha
CONCURRENCY=none
para
CONCURRENCY=shell

Com isso consegui um tempo de boot de 22s, isso sem mecher nos run levels e fazer melhorias para a execução em paralelo. Executei o profile após a mudança para boot concorrente e não obtive melhorias.

Por enquanto é só, mas num futuro próximo pretendo recompilar o kernel e conseguir algumas melhorias. Também vou ficar atento no que outros usuarios fazem para diminuir o tempo de boot. Qualquer novidade, informo vocês.

Matheus Bratfisch

English Version

Referencias:
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/

Publicado emLinuxSoftware LivreUbuntu

18.506 Comentários

  1. Miami is the kind of city where your car makes a statement. I started researching luxury car options before my trip. After comparing a few companies, I found the right one. exotic car rental miami — All the cars looked brand new and well-maintained. The staff helped me pick the perfect car for my plans. The experience was everything I had hoped for. This is the place to book. premium car rental miami https://luxury-car-rental-miami-lxf.com Check the link for the full fleet and pricing for South Florida. It’s the easiest way to make your trip special. Luxury car rental Miami — drive in style, arrive with class!

  2. RichardGep RichardGep

    Первые проявления абстиненции могут казаться обычным похмельем, однако их выраженность иногда нарастает в течение нескольких часов. Особенно опасен резкий отказ от спиртного при длительном запое и наличии заболеваний внутренних органов. Врач должен исключить состояния, требующие экстренного вмешательства.
    Получить больше информации – http://2.vyvod-iz-zapoya-v-ekaterinburge16.ru

  3. casino usa free spins for year, aristocrat pokies online
    united kingdom and free spins on card registration usa, or united statesn online poker

    Feel free to visit my blog post :: leftover roulette try guys (Leoma)

  4. That meant starting with a car that made a statement. I checked out several rental companies online. That’s when I found the perfect match. miami luxury car rental — Ferrari, Lamborghini, Porsche — you name it. The staff was professional and easy to work with. I chose a stunning supercar for the weekend. If you’re visiting Miami and want to live the high life. rent a luxury car miami rent a luxury car miami All the details are there for the area. If you want a luxury car in Miami — just use the link. Luxury car rental Miami — make every drive an experience!

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *