<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>oh god, why'd it break‽ &#187; bootchart</title>
	<atom:link href="http://yokohead.com/tag/bootchart/feed/" rel="self" type="application/rss+xml" />
	<link>http://yokohead.com</link>
	<description>screwing around with technology</description>
	<lastBuildDate>Mon, 26 Jul 2010 18:00:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Checking Ubuntu boot times</title>
		<link>http://yokohead.com/2009/01/checking-ubuntu-boot-times/</link>
		<comments>http://yokohead.com/2009/01/checking-ubuntu-boot-times/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 00:49:42 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[configure]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[programs]]></category>
		<category><![CDATA[troubleshooting]]></category>
		<category><![CDATA[bootchart]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://yokohead.com/?p=92</guid>
		<description><![CDATA[Occasionally it&#8217;s fun to waste some time shooting your friends and unfortunately Ubuntu just isn&#8217;t up to speed when it comes to gaming &#8211; so I dual boot into a stripped Vista installation.  I&#8217;d like to make switching back and forth as quick as possible.
First thing I did was go and get Bootchart, &#8220;a tool [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally it&#8217;s fun to waste some time shooting your friends and unfortunately Ubuntu just isn&#8217;t up to speed when it comes to gaming &#8211; so I dual boot into a stripped Vista installation.  I&#8217;d like to make switching back and forth as quick as possible.</p>
<p>First thing I did was go and get <a href="http://www.bootchart.org/">Bootchart</a>, &#8220;<em>a tool for performance analysis and visualization of the GNU/Linux boot process&#8221;. </em>Bootchart is easy enough to install,  and unpacks at 51mb:</p>
<ul>
<li><code>sudo apt-get install bootchart</code></li>
</ul>
<p>Wandered over to the <a href="http://www.bootchart.org/docs.html">bootchart documentation</a> to see if there was anything special I ought to know about and realized I&#8217;m using Ubuntu&#8230; none of this is necessary.  Simply install and restart.</p>
<ul>
<li><code>sudo shutdown -r now</code></li>
</ul>
<p>Once restarted,  you&#8217;ll want to check out <strong>/var/log/bootchart</strong> for the png files with the bootchart output.  Here&#8217;s an <a href="http://yokohead.com/wp-content/uploads/2009/01/hardy-20090126-2.png">example</a> from my 8.04.2 test machine I&#8217;ve been working with today.</p>
<div id="attachment_106" class="wp-caption alignleft" style="width: 157px"><a href="http://yokohead.com/wp-content/uploads/2009/01/hardy-20090126-2.png"><img class="size-medium wp-image-106" title="hardy-20090126-2" src="http://yokohead.com/wp-content/uploads/2009/01/hardy-20090126-2-147x300.png" alt="hardy-20090126-2" width="147" height="300" /></a><p class="wp-caption-text">Ubuntu 8.04.2 bootchart</p></div>
<div id="attachment_151" class="wp-caption alignleft" style="width: 158px"><a href="http://yokohead.com/wp-content/uploads/2009/01/intrepid-20090127-1.png"><img class="size-medium wp-image-151" title="intrepid-20090127-1" src="http://yokohead.com/wp-content/uploads/2009/01/intrepid-20090127-1-148x300.png" alt="Ubuntu 8.10 bootchart" width="148" height="300" /></a><p class="wp-caption-text">Ubuntu 8.10 bootchart</p></div>
<div id="attachment_283" class="wp-caption alignleft" style="width: 89px"><a href="http://yokohead.com/wp-content/uploads/2009/01/desktop-karmic-20090620-1.png"><img class="size-medium wp-image-283" title="karmic-20090620-1" src="http://yokohead.com/wp-content/uploads/2009/01/desktop-karmic-20090620-1-79x300.png" alt="Ubuntu 9.10 Alpha 2 bootchart" width="79" height="300" /></a><p class="wp-caption-text">Ubuntu 9.10 Alpha 2 bootchart</p></div>
<p>For added awesome,  since I have <a href="http://yokohead.com/2009/01/installing-dropbox/">Dropbox</a> running on my work ubuntu,  work XP,  and home ubuntu installations I was able to do this to get the .png over to my WinXP while writing this post:</p>
<p><code>cp /var/log/bootchart/*.png /home/kyle-test/Dropbox/Public</code></p>
<p>By the time I had turned back to XP Dropbox had already synced,  and I was able to right click the uploaded PNG and choose Dropbox -&gt; Public link,  send a copy to my friend,  and upload here into the post with absolute minimum effort.  I&#8217;ll also have the file for comparison when I get home and do the same thing on 8.10.</p>
<p>Once I&#8217;ve learned enough to sufficiently decode this I&#8217;ll make another post explaining what each thing is and what can be configured/removed to make boot times faster.</p>
<p>In a nutshell,  my <a href="http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&amp;cc=us&amp;contentType=SupportManual&amp;prodTypeId=12454&amp;prodSeriesId=447468&amp;docIndexId=64180&amp;manualLang=en">HP dx5150</a> here at work boots in 30 seconds.</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>[UPDATE 6-20-09 4:36pm]<br />
 Just ran another bootchart on a fresh install of Ubuntu 9.10 Alpha 2 on my main machine &#8211; dropped from 24 seconds to 15,  probably due to ext4 being the main filesystem.</p>
<p>[UPDATE 1-28-09 12:28am]<br />
 Finally got around to getting bootchart up on the 8.10 installation at home,  this one clocks in at 24 seconds!  Taking a look between the two it seems as if hard drive throughput is my biggest limiter &#8211; I only dropped 6 seconds on total boot time and this machine is at least 5 times as powerful as the dx 5150 at work.</p>
]]></content:encoded>
			<wfw:commentRss>http://yokohead.com/2009/01/checking-ubuntu-boot-times/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
