Difference between revisions of "Cooling Quietly"

From MythTV Official Wiki
Jump to: navigation, search
m (add See also heading and internal links)
(Chassis damping)
 
(44 intermediate revisions by 15 users not shown)
Line 1: Line 1:
Well, you don't want to drown out your nice sound do you?
+
This page will detail methods for keeping a Mythbox running quietly and cool.
 
 
There are several different approaches to keeping your system quiet and cool, so we'll look at them all in depth.
 
 
 
==Isolate noisy machine(s)==
 
One of the easiest ways to keep your Myth system quiet is to (basically) throw it in the cupboard - don't worry, this isn't as drastic as it sounds. As your probably know, MythTV (like most bits and bobs of Linux) is highly network aware, and will allow you to run a separate backend and frontend. All of the noisy hot stuff like TV cards, hard drives and Terahertz Athlons can be thrown into the backend and kept under the stairs, whilst you can install a low-powered small machine under the TV. All of the control can be done from the frontend, which will just request TV streams from the backend over the network. The downside of this of course is that you need to be able to afford two separate machines, although it will make expandability much easier further down the road.
 
 
 
There is however an alternative for the cupboard approach. Several CAT5 KVM extenders exist on the market. Such a device extends your VGA, mouse and keyboard cables using CAT5 network cable. You can extend up to 30 meters. I (basjan) personally use two Aten CE220 KVM extenders to extend my Dual Head development box from the hallway closet into the living room. I now only have two LCD screens, a mouse and a keyboard sitting in the living room generating zero noise. I also have an SPDIF cable running to my living room amplifier and a cinch TV-out cable to my TV-set.  
 
  
 
==Software solutions==
 
==Software solutions==
If you're using an Athlon XP processor and your kernel is ACPI-enabled, you can use the [http://members.jcom.home.ne.jp/jacobi/linux/softwares.html '''Athcool'''] utility, which works on all current chipsets, and will often drastically reduce your CPU's operating temperature. Unfortunate side effects can include crackly audio and slow hard disc transfers - YMMV. Some people say that these side effects have been eradicated or highly reduced under the 2.6 series of kernels - I suggest you try it out and see for yourself! A more verbose guide on Athlon powersaving mode is [http://www.daniel.nofftz.net/linux/Athlon-Powersaving-HOWTO.html here]
+
Modern hardware have power saving states that can be enabled through [http://linrunner.de/en/tlp/tlp.html TLP] that sets power saving modes on boot for modern Intel and AMD processors. TLP is typically available in your distribution repositories.
  
 
==System components==
 
==System components==
Even if you can't avoid having your quad 30GHz Xeon Myth array sitting under the TV, there are still many ways you can reduce the amount of noise todays power-hungry computers like to kick out. There are many specialist computing companies out there specialising in quiet hardware for use in [[HTPC]] environments, and I'll list a few of the products you might want to splash out on:
 
  
===Quieting fans===
+
===Quiet fans===
'''Fan-mates''', or variable resistors to you and I, alter the voltage supplied to your fans. Normal fans runs at 12V, but by lowering the voltage to 7V you will get lower RPM's and thus quieter fans. Air throughput is reduced however.
 
  
'''Fan adapters''' allow you to replace a high-RPM 60mm fan with an 80mm fan, which can be run at a lower voltage and still shift the same amount of air. By nature of their construction, these are best suited to replacing the 60mm fans on top of stock CPU heatsinks.
+
PWM fans are the best option for cooling as the motherboard can control the speed based on the case temperature.  These have 4-pin connectors that will appear similar to the header for the CPU fan and may come with rubber mounting dampers which are highly recommended.  Ensure the motherboard supports a 4 pin chassis fan before purchasing. The BIOS usually has options to select 'silent' operation where the chassis fan(s) may not spin up until needed.
  
'''Get some bigger fans!''' This will often involve you drilling lots of holes in your shiny computer case, and so isn't for the faint of heart. The basic crux of the matter is, if you want to shift X amount of air in Y seconds, a bigger fan can do it at a lower RPM and thus will run quieter. Lots of modern HTPC cases opt for a few large fans rather than an array of smaller fans.
+
Another option is to add variable resistors to the fan circuit, altering the voltage supplied to your fans. Normal fans runs at 12V, but by lowering the voltage to 7V you will get lower RPM's and thus quieter fans at the cost of air throughput.
  
'''Quiet and/or adaptive power supplies''' can also help reduce noise by a considerable degree. There are some (highly expensive) power supplies that don't use any fans at all, and just use a huge heatsink for cooling themselves, and thus run totally silent. However, they don't do much for the cooling of your case! A better solution I believe are power supplies like the [[Tru Power]] range made by Antec. These dual-fan PSU's contain temperature sensors which raise or lower the RPM of the fans depending on how hot your system is. Many also provide "fan only" molex connectors to attach your case fans to; these are also linked to the thermal sensor, and will run your case fans at a reduced voltage unless your system gets too hot.
+
CPU coolers in modern processors (c2014) are typically quiet and no special attention is required.
  
'''Stealth fans''' are fans especially designed to run quietly, and usually come at a considerable price premium over normal fans. Brand names include SilenX and Pabst (most fan manafacturers also have their own quiet fans sub-brand as well), and will usually run at much less than 20dB on standard 12V. Many of these fans have magnetic levitation bearings instead of roller bearings, and the lack of physical contact reduces noise *quite* a bit -- you'd be amazed how much noise is transmitted by physical conduction.
+
Quiet and/or adaptive power supplies units (PSU) can also help reduce noise by a considerable degree. There are some premium PSUs that just use a heatsink for cooling, and thus run totally silent. However, they don't do much for the cooling of your case! A better solution are high efficiency PSUs (80 Plus Gold) or a [http://www.silentpcreview.com/article601-page1.html pico-PSU] and choose a PSU with a rating closest to your computer usage.  It is highly recommended that a power meter is used to check that you will not exceed the supply rating of the PSU.
  
'''Passive Northbridge heatsinks''' allow you to replace those pesky little 40mm fans on your motherboards northbridge with a solid chunk of aluminium. Be warned though that these can cause modern northbridges to overheat if there is inadequate airflow in your case! Those of you lucky enough to be using Athlon64 or Opteron systems need not worry about this, because all of the hot bits that used to be in the northbridge have now been moved to the processor. Zalman have a range of northbridge heatsinks, but check they can be fitted to your motherboard first.
+
===CPU choice===
 +
One of the good things about Myth is that 90% of the common functions don't require a powerful CPU at all, so you can often pick and choose the CPU that runs at the lowest power and heat output.
  
'''Using a quiet heatsink''' on your CPU will also save your eardrums. This can be as simple as replacing the 60mm fan on a stock heatsink with an 80mm fan by way of a '''fan adapter''' as detailed above, or you can splurge on one of the excellent, quiet heatsinks from manufacturers such as Zalman.  A cool Zalman solution is [http://www.zalmanusa.com/usa/product/view.asp?idx=33&code=005 here].
+
====Intel Processors====
 
+
Modern Haswell era Intel processors are handled by the kernel p-state driver and have multiple sleep states (C1 to C10) enabling low power and low heat CPUs. This is typically handled automatically but the BIOS settings should be checked to ensure the BIOS is able to put the processor into these C-states. Use <code>powertop</code> to check if these low power states are being reached.
===CPU choice===
 
'''Use a cooler processor!''' Many modern CPU's can kick out a helluva lot of heat and can cause your entire system to become uncomfortably hot. Assuming you're using a hardware capture device (either a DVB card or one of the TV cards supported by ivtv) and a reasonably good graphics card, one of the good things about Myth is that 90% of the common functions don't require a powerful CPU at all, so you can often pick and choose the CPU that runs at the lowest power and heat output. Athlon XP's are a good bet, especially if you can find one with a Barton or Thoroughbred B core. The older (2.8GHz and below) Pentium 4 Northwoods are also powerful and run reasonably cool. I have difficulty recommending the new P4 Prescott chips; they run very hot indeed and (clock for clock) are slower than the Northwood variants. Again, I have difficulty recommending Celerons and Durons but that's mainly due to ignorance on my part - other people will be able to fill you in on those. If you don't intend to buy a new CPU and instead want to recycle anything you have lying around, pretty much anything from a P3 upwards will do you proud.
 
  
The only areas of MythTV that benefit from having powerful CPU's are [[MythMusic]] visualisations, CD ripping, transcoding and DVD ripping. If you're using software capture from a [[bttv]] card, you may also want a powerful processor.
+
If maximum power usage is a problem, the highest frequency of the processor can be capped in the BIOS resulting in a drop in maximum power draw.  The processor will otherwise reduce frequency and voltage automatically. Otherwise, ''T'' versions of the Intel range are low power variants but may exhibit the same power draw at idle.
  
===Low power computing===
+
====AMD Processors====
Those of you who know about overclocking may well want to experiment with '''underclocking''' and '''undervolting'''. This involves reducing the voltage supplied to the CPU core and reducing it's clock speed, resulting in a slower but much cooler CPU. I have read somewhere that Athlon64 chips seem to be exceptionally good at being undervolted - some people have reportedly run their Athlon64's stably at default clock speeds whilst using a much lower voltage, ending up with a CPU that's just as powerful but runs much cooler.
 
  
Those of you who are even ''more'' adventurous might want to try out specialist chips such as the '''Athlon XP-M''' and the '''P4-M'''. Originally designed to run in laptops, these CPU's run at a lower voltage but the same speed as their desktop equivalents. Beware however that most motherboards do not support these chips, so make sure you know your onions before you splurge.
+
'' If you have an AMD please add information in here. ''
  
===Vibration===
+
===Optical drives===
Vibration from wobbly components can often cause irritating buzzing noises. Regularly give your fans a clean by blasting them with compressed air, and if vibration seems to be a problem you can dampen your fans by placing rubber washers between the fan and the mounting. Other moving components (such as hard drives and optical drives) should be screwed in extra tight, or you could consider mounting them in a dampening cage, which are available from specialist computer shops. I'm personally a big fan of the [[Cooler Master]] 620's spring-clip mechanism of mounting optical drives; these are screwed in on one side, and are forced into a good fit by a spring clip on the other side.
 
  
Related to vibration are '''stupidly fast optical drives''' running at 16x or 52x or something similarly daft. To watch DVD's and play CD's, you don't need a drive faster than 1x DVD or 1xCD respectively. [Though you'll get arguments on this -- a recent discussion [Sep-04] on the mailing list suggested that at least 2x and better 4x was worth it, though the ridiculously high speeds are definitely not required ''for watching'' -- setting up to rip is another matter.]
+
A contributor to noise and vibration are optical drives running at 16x or 52x. To watch DVDs and play CDs you shouldn't need a drive faster than 1x DVD or 1xCD respectively. The DVD and CD specifications are written such that a DVD should playback video or video perfectly well at the drive's lowest available speed.  Hence a drive with the lowest speed should be chosen as MythTV needs fast disc access is when ripping a CD or DVD.  You may also want to experiment with [http://freshmeat.net/projects/hdparm/ hdparm], [http://packages.debian.org/stable/utils/setcd setcd] or [http://noto.de/speed/speedcontrol.c speedcontrol]; All claim to be able to reduce the maximum speed of optical drives.
  
Unfortunately, you're never going to find one! Some drives have "quiet" firmware/utilities available which will limit the drive's speed to more reasonable and less deafening levels, although most of it is Windows/DOS based only. You do of course have the option of popping a drive into a windows box, applying the firmware alteration, and the chucking it back in your Myth box. In the meantime, if it's a choice between an 8x DVD drive and a 16x DVD drive, it makes little sense to go for the faster version. The only place Myth needs fast disc access is when ripping a CD or DVD, or perhaps playing media from a CD/DVD-ROM. You may also want to expriment with hdparm; this claims to be able to reduce the maximum speed of optical drives. Personally, I've never had a problem with my MSI DVD drive (a rebadged Pioneer).
+
As of this edit there are no optical drives on the market that are specifically advertised as being quiet or having quietness as a feature. Some drives have "quiet" firmware/utilities available which will limit the speed to a more reasonable and less deafening level. Since almost all drives require that their firmware be upgraded using Windows or DOS you may run into difficulty attempting this method with a Linux based computer running MythTV. You do have the option of putting a drive into a Windows based computer, applying the firmware alteration, and then putting it back in your Linux based computer (a variation on this theme is to always have a [http://www.freedos.org/ FreeDOS] bootable partition).
  
==Chassis quieting==
+
==Chassis==
'''Keeping all those cables tidy''' can do wonders for airflow within your case, and do away with the need for more stupidly fast fans. You can use rounded IDE cables rather than the usual fat ribbons, or SATA if it's available to you, and you can tie bundles of power cables together using zip ties, braiding or spiral wrap (my personal favourite, since it's easy to apply and remove).
+
'''Keeping all those cables tidy''' can do wonders for airflow within your case, and do away with the need for more fans. You can tie bundles of power cables together using zip ties, braiding or spiral wrap.
  
Don't forget The Art of Cable Folding (http://thetechzone.com/?m=show&id=126) for those with tight wallets.. Properly folded cables can be better than rounded IDE cables.
+
It is possible to '''soundproof your case''' with acoustic material. This is essentially sticky-backed foam that does a lot to absorb noise from inside the case, although you'll need a case with enough free space inside to accommodate its thickness. I've never tried this myself, but a lot of people swear by it. Lian Li and Zalman make some very pretty (and pretty expensive) cases fitted with this sort of anti-noise technology as standard, so those of you who want a big, quiet case might want to consider splashing out on those.
  
Last but not least, you can also attempt to '''soundproof your case''' with acoustic material. This is essentially sticky-backed foam that does alot to absorb noise from inside the case, although you'll need a case with enough free space inside to accomodate it's thickness. I've never tried this myself, but alot of people swear by it. Lian Li and Zalman make some very pretty (and pretty expensive) cases fitted with this sort of anti-noise technology as standard, so those of you with bigger wallets than myself who want a big, quiet case might want to consider splashing out on those.
+
Furthermore you can ''uncouple the case mechanically'' from whatever is underneath it, or whatever it's underneath. Conducted noise which is then transferred by another device is a major component of the noise which a PC can put out &mdash; which explains the rubber mounts you can get for hard drives. They're good for noise, but bad for thermal conduction. (You ''do'' have a fan blowing directly on your hard drives, right?)
 +
Standing the chassis on a piece of carpet, or even better, underlay will cut down on transmitted noise through the floorboards, plasterboard etc.
  
And, even more finally (:-), you can *uncouple the case mechanically* from whatever is underneath it, or whatever it's underneath. Conducted noise which is then radiated by something *else* is a major component of the noise which a PC can put out -- which explains the rubber mounts you can get for hard drivesThey're good for noise, but bad for thermal conduction. (You *do* have a fan blowing directly on your hard drives, right?)
+
For more information on keeping your HTPC (and PCs in general) quiet the website [http://www.silentpcreview.com Silent PC Review] has some excellent guides, reviews and forums to provide you with all the details you needTheir [http://silentpcreview.com/section5.html recommended hardware section] contains lots of hard numbers.
  
That'll about do it for now, hope you enjoyed the update ;)
+
==Useful Links==
  
For lots of information on keeping your HTPC (and PCs in general) quiet the website [http://www.silentpcreview.com Silent PC Review] has some excellent guides, reviews and forums to provide you with all the details you need.  Their [http://silentpcreview.com/section5.html recommended hardware section] contains lots of hard numbers.
+
[http://silentpcreview.com/ SilentPC Review] - Contains reviews and guides on quiet PC cases, fans and components.
  
 
==See also==
 
==See also==
Line 64: Line 53:
  
 
[[Category:HOWTO]]
 
[[Category:HOWTO]]
 +
[[Category:Hardware]]

Latest revision as of 10:34, 11 December 2014

This page will detail methods for keeping a Mythbox running quietly and cool.

Software solutions

Modern hardware have power saving states that can be enabled through TLP that sets power saving modes on boot for modern Intel and AMD processors. TLP is typically available in your distribution repositories.

System components

Quiet fans

PWM fans are the best option for cooling as the motherboard can control the speed based on the case temperature. These have 4-pin connectors that will appear similar to the header for the CPU fan and may come with rubber mounting dampers which are highly recommended. Ensure the motherboard supports a 4 pin chassis fan before purchasing. The BIOS usually has options to select 'silent' operation where the chassis fan(s) may not spin up until needed.

Another option is to add variable resistors to the fan circuit, altering the voltage supplied to your fans. Normal fans runs at 12V, but by lowering the voltage to 7V you will get lower RPM's and thus quieter fans at the cost of air throughput.

CPU coolers in modern processors (c2014) are typically quiet and no special attention is required.

Quiet and/or adaptive power supplies units (PSU) can also help reduce noise by a considerable degree. There are some premium PSUs that just use a heatsink for cooling, and thus run totally silent. However, they don't do much for the cooling of your case! A better solution are high efficiency PSUs (80 Plus Gold) or a pico-PSU and choose a PSU with a rating closest to your computer usage. It is highly recommended that a power meter is used to check that you will not exceed the supply rating of the PSU.

CPU choice

One of the good things about Myth is that 90% of the common functions don't require a powerful CPU at all, so you can often pick and choose the CPU that runs at the lowest power and heat output.

Intel Processors

Modern Haswell era Intel processors are handled by the kernel p-state driver and have multiple sleep states (C1 to C10) enabling low power and low heat CPUs. This is typically handled automatically but the BIOS settings should be checked to ensure the BIOS is able to put the processor into these C-states. Use powertop to check if these low power states are being reached.

If maximum power usage is a problem, the highest frequency of the processor can be capped in the BIOS resulting in a drop in maximum power draw. The processor will otherwise reduce frequency and voltage automatically. Otherwise, T versions of the Intel range are low power variants but may exhibit the same power draw at idle.

AMD Processors

If you have an AMD please add information in here.

Optical drives

A contributor to noise and vibration are optical drives running at 16x or 52x. To watch DVDs and play CDs you shouldn't need a drive faster than 1x DVD or 1xCD respectively. The DVD and CD specifications are written such that a DVD should playback video or video perfectly well at the drive's lowest available speed. Hence a drive with the lowest speed should be chosen as MythTV needs fast disc access is when ripping a CD or DVD. You may also want to experiment with hdparm, setcd or speedcontrol; All claim to be able to reduce the maximum speed of optical drives.

As of this edit there are no optical drives on the market that are specifically advertised as being quiet or having quietness as a feature. Some drives have "quiet" firmware/utilities available which will limit the speed to a more reasonable and less deafening level. Since almost all drives require that their firmware be upgraded using Windows or DOS you may run into difficulty attempting this method with a Linux based computer running MythTV. You do have the option of putting a drive into a Windows based computer, applying the firmware alteration, and then putting it back in your Linux based computer (a variation on this theme is to always have a FreeDOS bootable partition).

Chassis

Keeping all those cables tidy can do wonders for airflow within your case, and do away with the need for more fans. You can tie bundles of power cables together using zip ties, braiding or spiral wrap.

It is possible to soundproof your case with acoustic material. This is essentially sticky-backed foam that does a lot to absorb noise from inside the case, although you'll need a case with enough free space inside to accommodate its thickness. I've never tried this myself, but a lot of people swear by it. Lian Li and Zalman make some very pretty (and pretty expensive) cases fitted with this sort of anti-noise technology as standard, so those of you who want a big, quiet case might want to consider splashing out on those.

Furthermore you can uncouple the case mechanically from whatever is underneath it, or whatever it's underneath. Conducted noise which is then transferred by another device is a major component of the noise which a PC can put out — which explains the rubber mounts you can get for hard drives. They're good for noise, but bad for thermal conduction. (You do have a fan blowing directly on your hard drives, right?) Standing the chassis on a piece of carpet, or even better, underlay will cut down on transmitted noise through the floorboards, plasterboard etc.

For more information on keeping your HTPC (and PCs in general) quiet the website Silent PC Review has some excellent guides, reviews and forums to provide you with all the details you need. Their recommended hardware section contains lots of hard numbers.

Useful Links

SilentPC Review - Contains reviews and guides on quiet PC cases, fans and components.

See also