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

14.055 Comentários

  1. Bei mir lauft das Ganze schon seit gut vier Monaten und um ehrlich zu sein, am Anfang war ich echt skeptisch, ob so ein Laden mit Coins uberhaupt was taugt. Uber nen Kumpel dort gelandet, der seit uber einem Jahr online Poker mit Bitcoin spielt, und tja – hangen geblieben bin ich dann irgendwie. Als Spieler aus Deutschland ist das eh manchmal echt zah, was Ein- und Auszahlungen angeht, dazu spater.

    Was die Auswahl angeht gibts echt genug zu tun – wurde sagen uber 1500 Spiele, wenn man alles zusammenzahlt. Die bekannten Studios sind alle dabei: Play’n GO mit Gates of Olympus und Sweet Bonanza, plus Betsoft und Yggdrasil, ruckelt nichts. Die Live-Ecke ist von Evolution, richtige Croupiers und Kram wie Crazy Time, da hab ich abends gerne mal zu lange. Und klar, das eigentliche Ding ist fur mich halt der Pokertisch – bitcoin poker eben, darum gehts mir ja.

    Zum Bonus: angeboten wurden mir die ublichen 100% obendrauf plus 200 Freispiele, gestuckelt uber paar Tage. Der Umsatz ist 35-fach, was ok ist fur die Branche, aber lest euch die AGB genau an. Es gibt sogar Freerolls und mal was ohne Einzahlung, so kann man antesten ganz entspannt paar Runden. Die neuesten Angebote schaut euch am besten uber bitcoin poker for iphone an, bevor ihr euch anmeldet, ist meist aktueller als der Support.

    Jetzt zum Nervigen – die Auszahlung. Per Bitcoin gings bei mir meist unter ner Stunde, da kann ich nicht meckern. Als ich einmal die Karte nutzen wollte, zog sich das und der KYC-Kram hat genervt. Visa, Mastercard, Skrill, Neteller sind alle da, unterm Strich der Witz an der Sache ist, dass keiner gro? mitliest. Kleinster Einsatz so um die 20 Euro, Registrierung schnell erledigt.

    Mobil laufts sauber – App ist vorhanden fur Android und iPhone, und im Browser funktioniert es genauso. Der Support zu jeder Zeit erreichbar, Deutsch ging mal besser mal schlechter, englisch ging aber immer. Was die Regulierung angeht ist es transparent, das check ich immer. Wer aus DE kommt, die bitcoin poker spielen ausprobieren wollen – ich zock weiter, kann sich ja noch andern.

  2. Люди помогите советом Муж просто умирает на глазах Жена рыдает В диспансер тащить — последнее дело Короче, врачи стационара реально вытащили — капельница от запоя в стационаре круглосуточно Капельницы и уколы по схеме В общем, не потеряйте контакты — выведение из запоя в стационаре выведение из запоя в стационаре Стационар — это единственный выход Перешлите тем кто в беде

  3. Люди помогите советом Близкий человек уже 10 дней в запое Родственники в полном отчаянии Скорая не приедет на такой вызов Короче, врачи стационара реально вытащили — вывести из запоя в стационаре анонимно и безопасно Выписали через неделю здоровым В общем, не потеряйте контакты — вывод запоя телефон https://kodirovanie.vyvod-iz-zapoya-v-staczionare-nizhnij-novgorod-xft.ru Стационар — это единственный выход Это может спасти жизнь

Deixe um comentário

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