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

23.678 Comentários

  1. best online poker in the usa, australian online casino deposit bonus and
    online big bola casino queretaro telefono (Suzette) groups usa,
    or fully cashable no deposit bonus australia

  2. the top online pokies and casinos in united states legit, blackjack online
    casino australia and foxwoods casino annual revenue [Frederick]
    in connecticut usa, or wwf blackjack lanza

  3. LeslieVEIPT LeslieVEIPT

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

  4. Been using Betbolt UK since the middle of this year and tbh it’s turned out better than I expected. Game library is pretty massive — must be upwards of 3,500 titles on there. Play’n GO and NetEnt make up the bulk of it, with Big Time Gaming slots mixed in as well. Sweet Bonanza and Book of Dead are still the talked-about titles, they run smoothly on the site. The one thing that bugged me — game filtering isn’t the most intuitive, takes a bit of patience to find specific titles.

    Live dealer games are powered by Evolution Gaming so quality’s solid. Crazy Time, Lightning Roulette, Monopoly Live — they’ve got all the big shows. Proper dealers, decent quality and no complaints on mobile either. I mostly split my time between the live games and the slot lobby depending on what I fancy.

    The welcome offer at Betbolt UK came as a matched deposit up to ?100 plus 100 free spins on one of their Pragmatic slots. The wagering requirement is 30x that’s nothing crazy by UK casino standards. There might be promo codes going — have a look at betbolts before signing up since promos change fairly often. Minimum deposit to get the bonus is ?10, standard stuff.

    Football betting on Betbolt UK is decent enough — Premier League coverage are well covered and they compare well against the bigger books. Live betting runs smoothly generally, but occasionally the odds can lag a bit on busy matchdays. Not a dealbreaker but I did clock it.

    Betbolt UK cashouts have been solid on my end. Been going with Neteller and money’s come through within a day. The usual UK stuff — Visa, Mastercard, Skrill are all there, and there’s Bitcoin for those who want it. The site holds an MGA licence so there’s at least some regulatory oversight. Support runs round the clock via live chat and they were quick when I had a question about a withdrawal.

  5. xpokies no deposit bonus codes australia 2021, best casino united states online and aristocrat free slots united
    states, or free united statesn roulette simulator

    Feel free to surf to my web blog; cash app Bingo

  6. new zealandn online pokies au reviews, top uk online casinos
    and online casino australia real money 2021, or win real money online free usa

    Here is my web site; blackjack pizza 16th st (Justina)

  7. best casino bonuses 2021 usa, does canada have slot machines and $5 minimum deposit
    casino australia 2021, or canadian poker free online
    game

    my web site – craps 2022 videos (Mahalia)

  8. usa gambling websites, how to win at roulette uk and whats the largest casino in australia, or paypal poker sites australia

    Feel free to visit my page; blackjack 21 card game online (Marcy)

  9. casino london uk, how to play online poker for money in canada and online
    craps australia, or free online pokies no download united kingdom

    Here is my site; gambler rolling tobacco (Israel)

  10. top casino gambling is legal in every state except (Charolette) canada
    for real money, real money australian online pokies and
    no deposit no credit card casino bonus usa 2021
    nonstop, or free spins no wagering requirements usa

Deixe um comentário

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