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

13.128 Comentários

  1. Selam millet Hepsi ya dolandırıcıydı ya da ödemeleri aksatıyordu Neredeyse bahsi bırakıyordum — 1xbet yeni giriş kolay Site inanılmaz hızlı çalışıyor Kısacası, kaydet kenarda dursun — 1x giriş 1x giriş Sakın sahte sitelere kanma Bahis yapan herkese yolla

  2. Williamrhync Williamrhync

    С пациентом работают профильные специалисты, которые оценивают состояние и подбирают безопасный план помощи.
    Ознакомиться с деталями – narkolog-na-dom-v-novorossijske1.ru/

  3. Arkadaşlar dinleyin Oranlar düşük, bonuslar sahte, her şey çok kötü Onlarca site denedim Her şey hızlı ve güvenli çalışıyor — 1xbet giriş yap hemen Site inanılmaz hızlı çalışıyor Neyse, her şey mevcut — bahis sitesi 1xbet bahis sitesi 1xbet Tek adres 1xbet giriş Bahis yapan herkese gönder

  4. Terryduago Terryduago

    выездная наркологическая служба оперативно приедет по указанному адресу, имея при себе все необходимое оборудование и медикаменты, в том числе для оказания неотложной помощи.
    Исследовать вопрос подробнее – вывод из запоя дешево сочи

  5. Herkes merhaba Ödemeler erteleniyor, canlı destek cevap vermiyor Paramı geri alamadım, çok sinirlendim Her şey hızlı ve güvenli çalışıyor — 1xbet yeni giriş kolay Site inanılmaz hızlı çalışıyor Neyse, her şey mevcut — 1 x bet giriş 1 x bet giriş Tek adres 1xbet giriş Bahis yapan herkese gönder

  6. Good day! I know this is somewhat off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having difficulty finding one? Thanks a lot!

  7. Arkadaşlar merhaba Bazıları erişim engelli Hepsi hayal kırıklığı oldu Her şey çok hızlı ve güvenli — 1xbet türkiye en iyisi Site inanılmaz hızlı çalışıyor Neyse, tüm detaylar linkte — 1xbet resmi giriş 1xbet resmi giriş Sakın dolandırıcılara kanma Bahis yapan herkese gönder

  8. Beyler bahis severler Ödemeler erteleniyor, canlı destek cevap vermiyor Onlarca site denedim Sonunda bu siteye rastladım — 1xbet yeni giriş kolay Her gün yeni bonus ve promolar var Neyse, kaybetmeyin diye tıkla — bahis sitesi 1xbet bahis sitesi 1xbet Tek adres 1xbet giriş Bahis yapan herkese gönder

  9. Arkadaşlar selam Destek rezil, oranlar berbat Hepsinde paramı kaybettim Sonunda düzgün bir yer buldum — bahis siteler 1xbet en iyisi Canlı destek anında yanıtlıyor Neyse, linkten kendiniz bakın — 1 x bet 1 x bet En iyisi 1xbet Bunun gibilerin derdine düşenlere gönder

  10. Herkes merhaba Ödemeler erteleniyor, canlı destek cevap vermiyor Hepsi zaman kaybıydı Her şey hızlı ve güvenli çalışıyor — 1xbet güncel adres tıkla Canlı destek gece gündüz aktif Neyse, kendiniz kontrol edin — canlı bahis 1x bet canlı bahis 1x bet Tek adres 1xbet giriş Bahis yapan herkese gönder

Deixe um comentário

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