{"id":338,"date":"2008-10-14T00:14:26","date_gmt":"2008-10-13T22:14:26","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/2008\/10\/14\/optimizing-the-linux-boot-process\/"},"modified":"2008-10-14T00:14:26","modified_gmt":"2008-10-13T22:14:26","slug":"optimizing-the-linux-boot-process","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2008\/10\/14\/optimizing-the-linux-boot-process\/","title":{"rendered":"Optimizing the linux boot process"},"content":{"rendered":"<p>How fast your linux boots, really depends on your distro and of course it&#8217;s their job to have it boot as fast as possible. They try as much as possible scenarios and make sane decisions on where to optimize. But they can&#8217;t test every possible configuration, so what if you just end up with a suboptimal situation (possibly without realizing? :)). Even if you know your boot takes too much time, how would you locate the culprit(s)?<\/p>\n<p>This is where <a href=\"http:\/\/www.bootchart.org\/\">Bootchart<\/a> jumps in. Bootchart is a tool which makes it possible assess resource consumption throughout boot time. It is really simple to set up, just add a kernel param! Data is collected in memory using tmpfs and dumped to disk at the end of the boot process. This data then gets processed by a java app which outputs an SVG\/PNG. <\/p>\n<p>It seems the opensuse guys, actually coolo, used this tool to <a href=\"http:\/\/sathyasays.com\/2007\/09\/09\/opensuse-103-sneak-peaks-part-ii-faster-boot-times\/\">optimize boot performance for opensuse 10.3<\/a>. I must say I am quite satisfied with my opensuse boot times although I do have the impression that 11.0 seems to be a tad slower than 10.3. So I&#8217;m definitely going to try out this tool and compare the results \ud83d\ude42<\/p>\n<p><small>Thanks to my brother for the tip.<\/small><\/p>\n<h3>Part 2<\/h3>\n<p>Accidentally, a few hours after writing this post, I ran into this <a href=\"http:\/\/lwn.net\/Articles\/299483\/\">very interesting article<\/a> about boot speedups presented at the <a href=\"http:\/\/linuxplumbersconf.org\/\">Linux Plumbers Conference<\/a> last month. (<a href=\"http:\/\/www.youtube.com\/watch?v=s7NxCM8ryF8\">Watch a modified fedora boot in 5 secs on an eeePC<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How fast your linux boots, really depends on your distro and of course it&#8217;s their job to have it boot as fast as possible. They try as much as possible scenarios and make sane decisions on where to optimize. But they can&#8217;t test every possible configuration, so what if you just end up with a &hellip; <a href=\"https:\/\/mattiesworld.gotdns.org\/weblog\/2008\/10\/14\/optimizing-the-linux-boot-process\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Optimizing the linux boot process<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,20],"tags":[],"class_list":["post-338","post","type-post","status-publish","format-standard","hentry","category-linux","category-suse"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=338"}],"version-history":[{"count":0,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/338\/revisions"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}