DIY Lessons Learned
So you are thinking of building yourself a box, be it a router, a NAS, or HTPC there are some tips in helping you make those build decision. Most of these have been covered in various threads here, I’m just putting them here for easy reference.
5/13 - This is a work in progress, your input, and further discussions of particular builds will be integrated in the future
5/14 - Added Specific build guidelines, The Router
5/15 - Turns out there is a post size limit, this post can't accrete endlessly, I've move Specific Builds writeup HERE
5/16 - Added Specific Build Guidelines, The NAS HERE
5/16 - Integrated Some Annotations from TK
Buying Components:
Price is often THE driving factor cobbling together a server, here are your options for components in increasing order of price:
Notes on Components
Some of this is accepted wisdom, and has not been empirically verified. This is my list of preferences, others may disagree.
Motherboards
There are three motherboard makers that are well liked, SuperMicro, Intel, Asus and ASRock. As readers of this forum know I’m particular to SuperMicro, their quality and willingness to provide phone support on components that are long dead is unmatched.
Hard Drives
There have been reports of problems with NAS builds that use green drives, in particular Western Digital drives that have advanced formatting and emulate a 512 byte block size (512e). Additionally, I have a hard time forgiving WD for unacknowledged fatal problems ( firmware & alike), I just don’t trust them.
Seagate has also had recall problems, and has been implicated in price fixing schemes.
As noted by Claykin Samsung has been purchased by Seagate, and WD (my take) is trying to buy a better image by subsuming Hitachi.
My current favorites are Hitachi and Samsung – Never had a problem, but opinions differ.
PSUs
There are three issues with PSUs, how efficient, correct sizing, and warranty period. This is important, I’ve seen only two types of failures on all of my builds, Hard disks and PSUs. A good warranty can be a god send, and is often worth a few bucks more.
Green power supplies are often a case of pay me now or pay me later, you’ll save on your power bill usually well in excess of the additional cost of a high efficiency PSU.
For low power builds PicoPSUs have become popular, using external AC/DC wall warts. Several Mini-ITX cases are now packaged with this type of PSU.
Single rails are more important on NAS builds, providing the whole rating to the entire machine, but also make it easier to diagnose a failed PSU.
Corsair’s high efficiency modular single rail PSU with a five year warranty are my current favorite. Seasonic is responsible for OEM some of the best known PSUs, and is noted by Claykin in a followup.
NICs
Either integrated or as a card Intel NICs are considered the gold standard, with high quality drivers and flexibility. Other NICs are rely on more of your CPU (work is done in the driver and not actually on the card ). They can be easily aggregated if you chose to do so. I see no reason to go with less a 1G interface.
Memory
Though clouded in some controversy, go ECC if you can, it is one less worry for your server application – especially for software RAID based NAS.
With NAS builds, memory translates directly into performance. ZFS in particular is noted as a RAM hog.
With router builds, if you plan on running Snort or Squid any extra memory will not be wasted.
HTPC Graphics Cards
The current generation of integrated graphics chipsets are enough to handle most HD rendering, if going with a separate card, pay attention to what and how audio for your system will be supported. A single HDMI connection that integrates 5.1 sound is usually the easiest to work with, and configure on both ends.
When looking at HTPC builds using a high-end card will be both noisy, and be overkill. How much noise an HTPC produces is often a major question to be considered.
Cases
Beyond your own personal stylistic considerations, the only issues is issue of noise vs. cooling, and if it has the room you need to grow.
For higher capacity NASes, you'll need to decide if you want hot swap, and how to handle expanding the number of drives beyond the number supported by a motherboard (which is currently around 6 drives).
Norco and Chenbro both make excellent cases for higher capacity hot swap NASes.
HBAs
In doing a NAS build you will often need more SATA ports than a motherboard provides, I recommend a RAID card over that of SATA cards for both performance and reliability.
RAID cards, come in two forms, the true enterprise cards, LSI/3Ware, Areca, and Adaptec that do the heavy lifting on the card, and then those RocketRaid and Promise that do most of the work in the driver, relying on your CPU. Though attractive from the point of view of price, these cards are more really RAID assist cards, and you will need to size your CPU accordingly.
Recent write-up indicated that if you plan on virtualizing your NAS, you will get much better performance with a RAID card than a SATA card due to issues associated with synchronization in VMFS.
So you are thinking of building yourself a box, be it a router, a NAS, or HTPC there are some tips in helping you make those build decision. Most of these have been covered in various threads here, I’m just putting them here for easy reference.
5/13 - This is a work in progress, your input, and further discussions of particular builds will be integrated in the future
5/14 - Added Specific build guidelines, The Router
5/15 - Turns out there is a post size limit, this post can't accrete endlessly, I've move Specific Builds writeup HERE
5/16 - Added Specific Build Guidelines, The NAS HERE
5/16 - Integrated Some Annotations from TK
Buying Components:
Price is often THE driving factor cobbling together a server, here are your options for components in increasing order of price:
- The cheapest is always going to be reusing hardware you already own.
Pluses: No cost, what could be better?
Minuses: Not the latest generation, probably not be green, may not be the best fit for the purpose - for example, you’ve got an old ATX case with power supply laying around – building a router out of it means you’ll have a router the size of a desktop machine that has a power supply three times bigger than you need.
- Purchasing used hardware and repurposing it to your needs, E-Bay is a great source but there are always risks with used hardware.
Pluses: Low Price, able to snag industrial grade equipment and components. For example you can find a 3Ware RAID HBA, which retailed for several hundred dollars, for less than a hundred.
Minuses: Not the latest technology, little support, no warranty – and you don’t always get what you think you’re getting. For example, I recently purchased what was listed as a LSI MR 300 RAID card which is on the VMWare HCL list – only to discover it was the Intel OEM version, which isn’t on the HCL list, making it work took more effort than expected.
- Buy integrated components, for example Motherboard & CPU, or Case & Power Supply. Usually sold at a price below the separate components.
Pluses: Compatibility assured, the parts will definitely work together. And you won’t have to put them together.
Minuses: Most likely a closed upgrade path, reuse is limited. For example, buying the Supermicro Mini-ITX Atom integrated motherboard, you are forever stuck with the CPU that is integrated – repurposing the hardware is often not an option. And the board will not age as well as a more flexible solution.
- Buy brand new established individual components, usually based on someone else’s build.
Pluses: The safest path. Compatibility assured, and the price tends to be what you expect. You get a warranty, protection against DOA components, and maybe support.
Minuses: Probably not the latest tech, a little more work
- Buy the latest tech, for example latest processor or graphics card. Be a trail blazer.
Pluses: Bragging rights, high performance, the thrill of the hunt.
Minuses: Over kill to the task. Compatibility problems. Maturity of drivers and other bleeding edge risks – but no guts no glory.
Notes on Components
Some of this is accepted wisdom, and has not been empirically verified. This is my list of preferences, others may disagree.
Motherboards
There are three motherboard makers that are well liked, SuperMicro, Intel, Asus and ASRock. As readers of this forum know I’m particular to SuperMicro, their quality and willingness to provide phone support on components that are long dead is unmatched.
Hard Drives
There have been reports of problems with NAS builds that use green drives, in particular Western Digital drives that have advanced formatting and emulate a 512 byte block size (512e). Additionally, I have a hard time forgiving WD for unacknowledged fatal problems ( firmware & alike), I just don’t trust them.
Seagate has also had recall problems, and has been implicated in price fixing schemes.
As noted by Claykin Samsung has been purchased by Seagate, and WD (my take) is trying to buy a better image by subsuming Hitachi.
My current favorites are Hitachi and Samsung – Never had a problem, but opinions differ.
PSUs
There are three issues with PSUs, how efficient, correct sizing, and warranty period. This is important, I’ve seen only two types of failures on all of my builds, Hard disks and PSUs. A good warranty can be a god send, and is often worth a few bucks more.
Green power supplies are often a case of pay me now or pay me later, you’ll save on your power bill usually well in excess of the additional cost of a high efficiency PSU.
For low power builds PicoPSUs have become popular, using external AC/DC wall warts. Several Mini-ITX cases are now packaged with this type of PSU.
Single rails are more important on NAS builds, providing the whole rating to the entire machine, but also make it easier to diagnose a failed PSU.
Corsair’s high efficiency modular single rail PSU with a five year warranty are my current favorite. Seasonic is responsible for OEM some of the best known PSUs, and is noted by Claykin in a followup.
NICs
Either integrated or as a card Intel NICs are considered the gold standard, with high quality drivers and flexibility. Other NICs are rely on more of your CPU (work is done in the driver and not actually on the card ). They can be easily aggregated if you chose to do so. I see no reason to go with less a 1G interface.
Memory
Though clouded in some controversy, go ECC if you can, it is one less worry for your server application – especially for software RAID based NAS.
With NAS builds, memory translates directly into performance. ZFS in particular is noted as a RAM hog.
With router builds, if you plan on running Snort or Squid any extra memory will not be wasted.
HTPC Graphics Cards
The current generation of integrated graphics chipsets are enough to handle most HD rendering, if going with a separate card, pay attention to what and how audio for your system will be supported. A single HDMI connection that integrates 5.1 sound is usually the easiest to work with, and configure on both ends.
When looking at HTPC builds using a high-end card will be both noisy, and be overkill. How much noise an HTPC produces is often a major question to be considered.
Cases
Beyond your own personal stylistic considerations, the only issues is issue of noise vs. cooling, and if it has the room you need to grow.
For higher capacity NASes, you'll need to decide if you want hot swap, and how to handle expanding the number of drives beyond the number supported by a motherboard (which is currently around 6 drives).
Norco and Chenbro both make excellent cases for higher capacity hot swap NASes.
HBAs
In doing a NAS build you will often need more SATA ports than a motherboard provides, I recommend a RAID card over that of SATA cards for both performance and reliability.
RAID cards, come in two forms, the true enterprise cards, LSI/3Ware, Areca, and Adaptec that do the heavy lifting on the card, and then those RocketRaid and Promise that do most of the work in the driver, relying on your CPU. Though attractive from the point of view of price, these cards are more really RAID assist cards, and you will need to size your CPU accordingly.
Recent write-up indicated that if you plan on virtualizing your NAS, you will get much better performance with a RAID card than a SATA card due to issues associated with synchronization in VMFS.
Last edited: