Your computer isn’t a high tech super clever thinking machine, it’s a box for turning electricity into heat and occasionally adding some numbers together. What you have on the floor under your desk, or on your lap, is an expensive bar heater with a calculator glued on the side.
Basically modern computer processors are very inefficent, much like incandescent light bulbs. A bog standard 100 Watt incandescent light bulb turns 95 of the watts you put in into heat, only 5% of the electricity it uses gets turned into what you’re after, light. Modern computer processors are pretty much the same, they produce massive amounts of heat and only work because of the big lump of metal that is the heatsink attached to the top of the processor. Your computer is a piece of crap, and so is mine!
The annoying thing is that heatsinks get hot, it’s their job, they are sinking heat after all. So to get around this fans are attached to the heatsinks to help dissipate the heat. So far so good, it works. Processor gets hot, fan blows air. The problem is that the heat pumped out costs money (as electricity going in) and fans are noisy. The best thing to do is cut the amount of heat generated by the processor in the first place, then the fan can slow down and still properly cool the processor.
Less heat = less wasted money and less noise, excellent!
But how to put out less heat? Most modern processors have some throttling system built in, my Intel based laptop, for example, is currently running at 600Mhz instead of the 1.4Ghz it’s rated for because I’m typing slowly (relative to a processor… and, well, my Mum who touch types) and there’s not much going on in the background. (This is turning out quite rambly, bear with me!)
This whole thing of heatsinks and fans being noisy hasn’t really bothered me until this week while I’ve been building the MythTV box which I’d like to make less noise than Harrier jump jet. The first attempt at construction booted but hung after a few minutes of trying to install Ubuntu. I thought this was weird as the Ubuntu installer never bothered me before and seemed quite stable. Oddly it wasn’t happy running Knoppix either. I found out that the processor was overheating because the heatsink I was using was too cheap and nasty for my second hand Athlon XP 2100. I upgraded to a nice heavy Akasa one and it’s been working fine ever since.
End of the story? No, amazingly I haven’t even got to the point yet!
Now this box runs and is nice and stable I thought I’d see what temperature the processor is idling at, I grabbed GKrellM which while being quite ugly does give me a readout of the temperature with zero configuration. The processor was idling around 54° C. This, I thought, was a bit on the high side, so I wondered if there were any throttling things I could enable or tweak to cool it down a bit. Long story short, I didn’t find anything tweakable, I think the kernel generally does a pretty good job of enabling the right stuff to cool processors by default. As I’m using an Athlon for this I was interested when I came across this though… (drumroll as I finally get to the point)
athcool!
This seems to be written by some Japanese guy and really looks very fishy. The page mentions STPGNT and ACPI C2 state and other stuff I only vaguely understand. It also has some nice red bits in the supported chipsets section where people have reported that their computer hangs or the hard disk writes garbage or the monitor starts flickering and other really nice sounding side effects.
I figured as I’d only just installed Ubuntu on this box I wouldn’t mind if I corrupted the filesystem at this point, I can always reinstall. I had a look in Synaptic and athcool was already in the Ubuntu repository (admittedly in Universe where any stuff can end up), so, bugger it, I downloaded it. Once I got past the nice warning “!!!WARNING!!! … may cause… massive filesystem corruption”. Not just corruption, no, MASSIVE corruption. This must be good. And surprisingly, it is! The processor now idles at about 45° C, a nine degree drop.
I haven’t noticed anything weird with the box, it still seems to be stable but it is running cooler and
the fan has been slowed down by the motherboard as it’s happy with the temperature. All in all, I’m quite amazed this actually works! Whether you’ll want to try it or not is something else altogether. It’s quite happy with my (antiquated) Athlon XP2100+ on an MSI KM3M-V with a VIA KM400(A) chipset. YMMV!
A warning though, don’t stick your thumb in your Akasa heatsink’s fan by accident (or deliberately), it turns out the blades are sharp considering they’re made of plastic. I guess “blades” should give it away really. I nearly lost a chunk of my thumb! That’s number 4156 on the “Stupid Things I have Done” list.