<?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>DarqByte &#187; compiling</title>
	<atom:link href="http://www.darqbyte.com/tag/compiling/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darqbyte.com</link>
	<description>For all your [insert random topic here] needs</description>
	<lastBuildDate>Tue, 03 Aug 2010 03:34:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Emergency CPU Fan-dectomy</title>
		<link>http://www.darqbyte.com/2010/02/25/emergency-cpu-fan-dectomy/</link>
		<comments>http://www.darqbyte.com/2010/02/25/emergency-cpu-fan-dectomy/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 16:04:43 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[cpu fan]]></category>
		<category><![CDATA[overheating]]></category>
		<category><![CDATA[wtf]]></category>

		<guid isPermaLink="false">http://www.darqbyte.com/?p=565</guid>
		<description><![CDATA[Yesterday morning was definitely an interesting morning. But before I&#8217;m able to explain it, I have to give you some background information on my Linux machine at home, which is my development machine. Last fall I started hearing CPU fan noise from the machine. Fan noise generally indicates that a bearing is wearing out, something [...]]]></description>
			<content:encoded><![CDATA[<!-- sphereit start --><p>Yesterday morning was definitely an interesting morning. But before I&#8217;m able to explain it, I have to give you some background information on my Linux machine at home, which is my development machine.</p>
<p>Last fall I started hearing CPU fan noise from the machine. Fan noise generally indicates that a bearing is wearing out, something of that nature. It concerned me, so I popped the side of the case off and looked at it. The fan was still running, so that was good, and if I pressed on certain parts of it I could generate the noise. Thus, to eliminate the noise and head off any potential overheating issues, I decided to get a replacement fan.</p>
<p>Only I never really did. I knew I needed one, so I just popped one on my Amazon wish list, which ended up being used as my Christmas list for all of my friends and family. And someone got the CPU fan off of it for me. Haha.</p>
<p>I never ended up putting the fan on, because at some point the noise stopped. And since the machine never overheated and shut off, I figured the issue had worked itself out somehow. It&#8217;s rare, but it can happen, so I never investigated further.</p>
<p>There&#8217;s background on the CPU fan. Now for the background on how the machine was operating&#8230;</p>
<p>My standard development machine is my Linux box, so I have all sorts of tools on it that I use. It&#8217;s actually very similar to my setup at work. I run three different Java applications (IDE, SQL client and SVN client) as well as Firefox for web browsing and a bunch of Bash terminals. And this all runs on KDE4.</p>
<p>I feel like KDE4 is a bit more of a memory and resource hog than KDE3, but that&#8217;s ok. So when I upgraded to KDE4, I attributed my decreased performance to the upgrade. But there would be times when my machine would get really sluggish and sometimes programs would simply get killed at the operating system level. I thought this was due to a memory issue, since Firefox can be a really damn big resource hog too.</p>
<p>I&#8217;d been having trouble with recompilations too. Again, I attributed this to memory allocation issues, and I&#8217;ve considered increasing the memory on that machine (I probably will be now, I just have to find out what&#8217;s already in there so I order the same stick). So some of my recompilations have caused KDE4 to come down entirely, so I&#8217;d started doing recompiles in a TTY without KDE4 running.</p>
<p>So a week ago I started a recompilation of Firefox to its newest version because I thought there may be a chance it would have better memory usage. I left the machine alone to recompile while I did other things. I did this from within a terminal in KDE4 because I turned off most of the other applications running.</p>
<p>So now onto yesterday morning&#8230; Working remotely from home.</p>
<p>The machine was at the KDE4 login screen. So I knew the compilation brought down KDE4. I didn&#8217;t think much of it, because if the compilation fails then the existing application you&#8217;re recompiling will still work. So I logged into the box and started all of my applications up. Yet Firefox&#8230; bombed. It would begin startup then just stop and never get anywhere&#8230; Hurray.</p>
<p>So I started a recompilation of Firefox from within KDE4 because I was signed on to the company Jabber server. I could still get some things done without Firefox, such as moving batch files from server to server and running other things on our batch process server. And then it happened.</p>
<p>The machine turned off. I was like.. <strong>WTF!</strong></p>
<p>At this point, I switched to working from my Windows laptop, where my productivity is greatly reduced. I figured I&#8217;d try to recompile Firefox one more time in a TTY while I did work on my laptop. Low and behold&#8230; Powered off again.</p>
<p>It was at this point that I knew the CPU fan was toast. I temporarily took some time out to pull the box from my desk, pop off the side and pull the old CPU fan out. Holy crap was the heatsink mega hot, so I knew the fan wasn&#8217;t working correctly. Popped the new one in and started it up.</p>
<p>Everything booted up correctly, however I still stopped KDE4 and recompiled Firefox from a TTY. And this time it went much, much faster than it had been in the past. And it went all the way through finish.</p>
<p>So I started up KDE4 and all of my applications, and things seemed to be running faster and more efficiently. Firefox started up just fine, so I moved all of my work back to my Linux machine and worked from it for the rest of the day. No issues from thereon out.</p>
<p>Actually, I didn&#8217;t detect any of that common sluggishness that I had been before. So I wonder if my performance issues were related to high heat on the CPU&#8230; I don&#8217;t necessarily think so, but I guess it&#8217;s possible.</p>
<p>So I didn&#8217;t end up getting to work 100% from my Linux machine yesterday until 9am, which is 2 hours after I start work. However, I did get plenty of work and standard early-morning monitoring done during that 2-hour period, so I feel like I really only lost about 15-20 minutes or so of working time.</p>
<p>Had the machine powered down during Firefox recompilation <strong>after</strong> I had replaced the CPU fan, I would have cut my losses and actually headed in to work from the office. Thankfully, my Linux machine&#8217;s issues appear to be fixed.</p>
<p>Now all I have to do is send my Windows laptop in to HP to have a fan replaced as well. I can&#8217;t replace it myself and it causes overheating and noise issues too. Dammit!</p>
<!-- sphereit end --><span style="margin-bottom:40px; border-bottom:none;"><a class="iconsphere" title="Sphere: Related Content" onclick="return Sphere.Widget.search('http://www.darqbyte.com/2010/02/25/emergency-cpu-fan-dectomy/')" href="http://www.sphere.com/search?q=sphereit:http://www.darqbyte.com/2010/02/25/emergency-cpu-fan-dectomy/">Sphere: Related Content</a></span><br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.darqbyte.com/2010/02/25/emergency-cpu-fan-dectomy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
