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

16.156 Comentários

  1. Moving is always a challenge — went through this a couple of months back, and no joke, it was insane. It starts harmless enough, then you’re swimming in clutter. A cousin recommended another, but I needed to be sure. Bottom line: when you need reliable nevada moving services, compare several options. Here’s the deal: local nevada movers know the territory — especially on long hauls. For example — asked about insurance and all the fees — and I’m not making this up, that extra effort was a lifesaver. So take a look at this that put all the info together. moving companies in nevada https://movers-in-nevada-mtw.com That page alone saved me hours of research. Everything is transparent — no surprise costs. I ended up booking through there and they delivered perfectly. Take your time. Nail down the timeline. Good service is worth every cent. Hope this points you the right way!

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

  3. Этот текст представляет собой обзор свежих данных и исследований в области медицины. Он призван помочь читателям понять, как научные достижения влияют на лечение, диагностику и общее состояние системы здравоохранения.
    Уникальные данные только сегодня – как снять абстинентный синдром

  4. Moving is a whole production — had my own experience a while back, and honestly, total chaos. You think packing is simple, then reality hits hard. Someone at work had a good experience with a third, but I decided to do my own homework. Anyway: when you need movers in nevada, don’t rush into a decision. Why?: experienced crews handle the heat better — especially with tight schedules. Here’s what worked for me — made a bunch of calls — and I swear, it was completely worth the time. Here’s the link that put all the info together. movers nevada movers nevada That page alone saved me hours of research. Rates are shown upfront — no surprise costs. Went with their recommendation and absolutely no problems. Take your time. Nail down the timeline. The right company turns stress into routine. Hope this points you the right way!

  5. RobertRikex RobertRikex

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

Deixe um comentário

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