{"id":88,"date":"2009-04-25T23:50:36","date_gmt":"2009-04-26T02:50:36","guid":{"rendered":"http:\/\/wordpress.matbra.com\/?p=88"},"modified":"2010-07-22T17:06:50","modified_gmt":"2010-07-22T20:06:50","slug":"ubuntu-diminuindo-o-seu-tempo-de-boot","status":"publish","type":"post","link":"https:\/\/wordpress.matbra.com\/en\/2009\/04\/25\/ubuntu-diminuindo-o-seu-tempo-de-boot\/","title":{"rendered":"Ubuntu 9.04, reducing your boot time."},"content":{"rendered":"<p>Hey, searching around the internet, i find some ways to decrease the boot time. All of them were for older versions, tham i decided to try it in new Ubuntu 9.04 (Jaunty Jackalope) and i get 22seconds boot time.<\/p>\n<p>I used the bum (sudo apt-get install bum) to remove some things that i don&#8217;t use.<br \/>\nThis thins are:<br \/>\nacpid &#8211; Controls energy\/buttons in pc\/Laptop. If you don&#8217;t use notebook or a keyboard with hotkeys you can remove it.<br \/>\nacpi-support &#8211; Like above.<br \/>\nhotkey-setup &#8211; Similar above.<br \/>\nanacron &#8211; This system runs processes periodically. You could remove it, and use cron.<br \/>\natd &#8211; Like cron, Task Scheduler.<br \/>\nbluetooth &#8211; Bluetooth support<br \/>\nusplash &#8211; Without this, you don&#8217;t see a beautifull loading screen when booting.<br \/>\ndns-clean &#8211; Used by dial-up connections.<br \/>\npppd-dns &#8211; Used by dial-up connections.<br \/>\nsaned &#8211; A lib for scanners. <\/p>\n<p>Remember, i removed this things, like bluetooth and acpid because i don&#8217;t use it. You shouldn&#8217;t remove it, if you use. You must choose what item to remove according to your system.<\/p>\n<p>Use:<br \/>\n$ sudo pico \/boot\/grub\/menu.lst<br \/>\nand remove splash.<\/p>\n<p>kernel \/boot\/vmlinuz-2.6.28-11-generic root=UUID=5be10a48-2c12-4165-8957-81c7a15274e5 ro quie splash<br \/>\nturned<br \/>\nkernel \/boot\/vmlinuz-2.6.28-11-generic root=UUID=5be10a48-2c12-4165-8957-81c7a15274e5 ro quie<\/p>\n<p>Reboot the system and executed the profiler. Press &#8220;e&#8221; in grub to edit, add to line that starts with &#8220;kernel&#8221; the word profile (add it in the end). Press &#8220;B&#8221; to boot. Wait a while, your boot is going to be slow. After this, reboot and see your boot time in bootchart. <\/p>\n<p>If you want you can use Concurrent boot. To use it you have to edit \/etc\/init.d\/rc<br \/>\n$sudo pico \/etc\/init.d\/rc <\/p>\n<p>And change<br \/>\nCONCURRENCY=none<br \/>\nto<br \/>\nCONCURRENCY=shell<\/p>\n<p>Save and restart. Verify your boot time and decide if you want to use it or not. (Probabily if you don&#8217;t change boot order in rcX.d, You will not see difference.)<\/p>\n<p>Usei o sudo bum (apt-get install bum) para remover algumas coisas que eu n\u00c3\u00a3o usava.<br \/>\nAs coisas removidas foram as seguintes:<br \/>\nacpid &#8211; Serve para gerenciar a energia\/controles do pc\/laptop. Se voc\u00c3\u00aa n\u00c3\u00a3o usa um notebook ou teclado com teclas te atalho pode remover.<br \/>\nacpi-support &#8211; Para notebooks. Como o de cima.<br \/>\nhotkey-setup &#8211; Semelhante ao anterior.<br \/>\nanacron &#8211; Este sistema roda processos periodicamente. Voc\u00c3\u00aa pode remove-lo e colocar servi\u00c3\u00a7os criticos para cron<br \/>\natd &#8211; Como o cron, esse tamb\u00c3\u00a9m \u00c3\u00a9 um agendador de tarefas.<br \/>\nbluetooth &#8211; Suporte a Bluetooth<br \/>\nusplash &#8211; Remove a tela bonitinha de loading, aparecendo um monte de mensagens na tela. (remover splash da grub tbm. Abaixo)<br \/>\ndns-clean &#8211; Utilizado para conex\u00c3\u00b5es dial-up.<br \/>\npppd-dns &#8211; Utilizado para conex\u00c3\u00b5es dial-up.<br \/>\nsaned &#8211; Biblioteca para scanners.<\/p>\n<p>Lembrando que removi pois n\u00c3\u00a3o utilizava certos dispositivos, como bluetooth, agendador de tarefas e notebook. Voce deve ver se remove ou n\u00c3\u00a3o de acordo com seu sistema.<\/p>\n<p>For now just this, but when i have time I want to rebuild my kernel and see the diferences. Stay calm, i will keep you informed. <\/p>\n<p>Matheus Bratfisch<\/p>\n<p>References:<br \/>\n<a href=\"http:\/\/www.extremetech.com\/article2\/0,2845,2114124,00.asp\">http:\/\/www.extremetech.com\/article2\/0,2845,2114124,00.asp<\/a><br \/>\n<a href=\"http:\/\/wiki.ubuntu-br.org\/AcelerandoBoot#head-c8957311083b70f08301d9339d1dea3c54c1c9ae\">http:\/\/wiki.ubuntu-br.org\/AcelerandoBoot#head-c8957311083b70f08301d9339d1dea3c54c1c9ae<\/a><br \/>\n<a href=\"http:\/\/caarlos0.wordpress.com\/2009\/02\/09\/boot-do-ubuntu-intrepid-em-20-segundos-d\/\">http:\/\/caarlos0.wordpress.com\/2009\/02\/09\/boot-do-ubuntu-intrepid-em-20-segundos-d\/<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Hey, searching around the internet, i find some ways to decrease the boot time. All of them were for older versions, tham i decided to&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/wordpress.matbra.com\/en\/2009\/04\/25\/ubuntu-diminuindo-o-seu-tempo-de-boot\/\">Continue reading<span class=\"screen-reader-text\">Ubuntu 9.04, reducing your boot time.<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[34,26,27],"tags":[45,28,42,43,44,318],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-linux","category-software-livre","category-ubuntu","tag-22s","tag-28","tag-boot","tag-diminuir","tag-tempo","tag-ubuntu","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/psjGE-1q","_links":{"self":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.matbra.com\/en\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}