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

7.138 Comentários

  1. https://888starz.net.co/
    888Starz Colombia constituye un establecimiento virtual de juegos de azar y apuestas deportivas que cuenta con mas de 9.500 juegos disponibles, tales como slots, ruletas y mesas con croupier real y una completa cobertura de eventos deportivos que abarca desde la Liga BetPlay hasta la Champions League y los deportes electronicos.

  2. https://888starz.net.co/
    888Starz Colombia representa un establecimiento virtual de juegos de azar y apuestas deportivas que cuenta con mas de 9.500 juegos disponibles, entre los que se incluyen slots, juegos de mesa con dealer en vivo y una amplia oferta de deportes que cubre desde la Liga BetPlay hasta la UEFA Champions League y las competiciones de esports.

  3. https://miamifightcard.com/
    In the context of MediaFightCard, the gambling markets reveal a fascinating dynamic with champions positioned as underdogs and aspirants boasting favorite status. In the featured bout for the unclaimed light heavyweight title, ex-titleholder Jiri Prochazka opened as a slight -143 favorite over the fast-rising Carlos Ulberg, who is listed as a +116 underdog notwithstanding his nine-fight winning streak.

  4. https://miamifightcard.com/
    In the context of MediaFightCard, the gambling markets highlight a intriguing dynamic with champions listed as the ‘dogs and opponents occupying favorite status. In the marquee matchup for the open light heavyweight title, ex-titleholder Jiri Prochazka started as a marginal favorite at -143 over the ascending Carlos Ulberg, who enters as a +116 underdog even with his nine-fight winning streak.

  5. https://ufc327odds.com/
    This Miami-held light heavyweight title fight at UFC 327 offers a legitimate pick’em for the gambling public, as previous belt holder Jiri Prochazka (-142) and on-a-roll knockout specialist Carlos Ulberg (+120) gear up to throw down for the vacant belt. The extremely close odds underscore how comparable these two striking specialists truly are, setting up a matchup where a wager on either man is simply a matter of which dynamic approach you think will come out on top.

Deixe um comentário

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