The eTeknix Guide To Building Your Own NAS System For Under $220

by - 6 years ago

«»

BIOS Tweaking, Performance and Power Consumption


BIOS Tweaking

One of the advantages of a purpose-built NAS is that it is built from the ground up in terms of software and hardware to be a NAS. Conversely that means one of the weaknesses of a DIY NAS like this is that it isn’t entirely designed to be a NAS, as a result you need to make smart hardware and software decisions to make it a better NAS. Some of those will need to be made in the BIOS to ensure more efficient operation as power consumption is a vital aspect of any NAS system as they will likely be on close to 24/7. Some of the tweaks I made and you might consider making are:

  • Turning off Turbo Technology: turbo speeds are great for desktop PCs but in a NAS you will see little benefit from it other than higher power consumption and more heat. This is a setting to keep off unless you are really pushing your NAS with lots of disks and constant demanding use scenarios.
  • Lowering the CPU multiplier: by default this APU runs at 3.2GHz across two cores which is total overkill. I have lowered this to the minimum 14X multiplier or 1.4GHz, this is still way more CPU power than is needed for 2 disk NAS. If you were adding more disks you should consider running a higher clock speed because more disks require more processing power when being accessed.
  • Lowering the CPU voltage: even at stock speeds most CPUs have scope for reduced voltage, the A4-4000 has a 1.325-1.35 stock voltage, I lowered this to 1.1 volts and the system is still stable.
  • Lowering the GPU Frequency: the use for the GPU is purely for display purposes when setting up, once you’re managing your NAS by the WebGUI the GPU is redundant so forcing the lowest clock will ensure the lowest power consumption.
  • Setting silent fan profiles: Most NAS systems will produce minimal heat and require only minimal airflow to dissipate the heat from the hard drives. You also want it to be quiet so setting a silent fan profile is a great way to minimise noise and power consumption.
  • Fixing integrated graphics memory: by default the APU will use 512MB or more video memory, as we’ve mentioned already the GPU is barely used so you can comfortably set this to a lower setting (64/128/256MB) in order to free up more system memory for hard disk management.
  • Disabling unnecessary devices: the onboard audio, serial ports, TPM ports, parallel ports and front panel USB are all unnecessary so you can turn them off in the BIOS to save power.
  • S.M.A.R.T: Self-Monitoring, Analysis and Reporting Technology allows hard drives to report system health to the operating system, turning this on is useful as it allows you to manage your disks better. Generally speaking hard disks aren’t “smart” enough to tell you when they will fail, but the SMART indicators can give some early warning signs of potential failures.

Performance

The performance of a NAS is going to be variable depending on a lot of things, these include: whether you’re accessing from a wired or wireless device, what standards of connectivity those wired and wireless devices use, what size files you’re moving, whether you’re reading or writing and so on. For our tests we’ve tried to simplify things a bit and show some realistic scenarios. Firstly, we tested LAN Speed Test Lite using a 1000MB file which is written to the NAS storage from an Intel-Gigabit enabled Windows 7 PC, then read back once the write is complete. On the upload the speed was very impressive and at 770 Mbps or 96.25 MB/s, this is able to take advantage of the Gigabit controller the NAS provides. In my honest opinion 96.25MB/s is probably a hard drive related bottleneck. On the download we achieved quite a lot more with 876 mbps which is 109.5 MB/s. This is more likely to be a network controller limitation as most hard drives will do 120-140MB/s on the reads and I know a lot of Gigabit NICs top out at 850-900 mbps on this test based on my experiences with a lot of motherboards I have reviewed.

nas_diy_lanspeedtestlite2

Onto a more real world test and I tried moving a 2GB 1080p film from an Intel-Gigabit Windows 7 PC to the NAS, then read the same file back from the NAS to a different directory on the Windows 7 PC. This test gave similar results to the LAN Speed Test Lite benchmark revealing the read is a lot faster than the write at 111.1 MB/s (888.8 mbps) while the write sat at 89.6 MB/s (716.8 mbps). Again I believe the hard drive is the limiting factor on the write while the Gigabit ethernet limits the read. Either way though these are some seriously fast speeds but the obvious thing worth noting is to get these you’re going to need:

  • Gigabit Network Interface Controllers (NICs) in all sending/receiving clients to the NAS server
  • Cat 5e or Cat 6 Gigabit rated ethernet cables
  • Gigabit rated switches or routers connecting the client to the NAS server

Remember any network file transfer is only as fast as the slowest link in the chain, the important thing is to consider the pathways taken between the server (the DIY NAS) and the client (the system sending or receiving files from the server). WiFi transfers (such as to phones, tablets, laptops and so on) will be limited by the speed of the wireless adapter on those client devices, typically these will be 802.11 N so will be much slower than wired transfers.

nas_diy_winfile

Power Consumption

Moving on to the power consumption and the results are fairly impressive, even when compared to dedicated NAS systems. Despite this being a fully fledged computer system we see just 39.5W with the NAS server in idle and always-on hard drives. You can set the hard drives to sleep on inactivity but this is known to reduce hard drive life-span so we’ve left them always on. Below you can see that the NAS box never really exceeded 50W under load which is fairly impressive. These tests were all performed from one client machine, if you added additional read and write tasks from additional clients you would probably be able to add more to the power consumption, but I think the take home message is that the system is incredibly power efficient. This is down to two main things:

  1. The quality and efficiency of the SilverStone power supply.
  2. The quality and efficiency of the Western Digital 2TB NAS drives which have specific power optimisations for NAS usage scenarios.

nas_diy_power

Article Index

  1. Introduction
  2. Choosing The Parts & Part Pricing
  3. Building The NAS
  4. Installing The Operating System
  5. Configuring The NAS For Use
  6. BIOS Tweaking, Performance and Power Consumption
  7. Final Thoughts
  8. View All

Author Bio

Add a Comment

12 Comments on The eTeknix Guide To Building Your Own NAS System For Under $220

  • Avatar conservative61 says:

    Forgive my ignorance, but what is the purpose of a NAS? We use cable broadband with WIFI in the house; all or computers have SSDs and/or HDDs. It appears a NAS is basically a local cloud storage system. My wife and I have three desktops, two laptops, two tablets (with WIFI only), and one smartphone. So what advantages would a home NAS offer that the “old fashioned” way lacks? I’m just looking to increase my fund of knowledge and know this is a great place to do so.

    • Avatar AndyM says:

      The benefit of a NAS is always on connectivity so any computer can access the data.

      For example to get something from your main computer to another PC would require having your main computer on when the file is needed.

      A NAS is designed for 24/7 access so you don’t have to go and switch a specific PC on for say a single file. Also, a NAS can be set up for low power consumption (as in this article) so it doesn’t run up a big electric bill.
      Your typical PC will consume much more power as you wouldn’t throttle the CPU/GPU every time you boot up to share a file whereas a NAS would be set up for low power mode all the time.

      My main PC uses around 150w just idling due to the fact it has a GPU, multiple fans, sound card, usb devices and a dvd drive. A NAS will have unnecessary devices disabled to save even more power.

    • Avatar Ryan Martin says:

      Yes pretty much what Andy says below. It’s effectively a centralised form of storage that all computers can access, it doesn’t have to be “always on” but that’s normally the easiest way to make sure it is always accessible to everyone. The idea behind a NAS is that it is designed primarily for mediating access to storage but obviously there are a lot of things you can do with this storage. You can set up internet gateways so you can access it when you’re away from your home network, you could host a website off it, you could use it to stream music, films, TV shows, photos. You could use it as the destination for automated backups from your laptops/PCs in the house. The possibilities are as endless as your imagination really. In most cases people will just use it as somewhere to dump large files when their device is low on storage. E.g. I use a tablet with only 32GB of storage, really difficult for me to store films on it but it is really easy for me to stream films onto it from my NAS. Hope this helps.

  • Avatar conservative61 says:

    Thank you, Gentleman. That was very enlightening. I can easily see advantages over our current system. Especially when I offload picks from our cameras and must upload to five computers just so they’ll be available when/if necessary. I’ve owned computers since the old TRS-80 and Commodore days and have been building them since 1991, but I’ve still not joined the 21st century as far as ease and practicality of connectivity; I bought my first cell phone from Walmart last February for $15 and have used it once. But a NAS, thanks to you guys, is something I’d like to do so I’m off to do some research. A new project with lots of benefits.

  • Avatar josephbagadoughnutz says:

    hey yall, welcome to the new century !!!

  • Avatar josephbagadoughnutz says:

    hey, good one, $220, a NAS with no NAS

  • Avatar Steve says:

    Gents thanks for the great write-up. One question; what do you reckon, would the FM2A88M Extreme4+ mobo be a viable alternative to the one you recommended? My trouble is sourcing all of these from one (decent) place is nigh’ impossible in Australia, and the aforementioned mobo is available (altho it puts the price up a bit, there’s nothing in the price range of the other one)

    • Avatar Ryan Martin says:

      Still a good option Steve. It has Gigabit LAN and 8 SATA ports so there’s plenty of room for expansion, you can have up to 8 drives with it. Remember that you could go even cheaper if you wanted to, it all depends on how many drives you need, for example you could use an AM1 motherboard if you only want to use 2 drives as most AM1 boards still have gigabit LAN. Best of luck!

  • Avatar Dave Wold says:

    Hi i’m new at this where does the black cable from pso9b plug into the motherboard

  • Avatar Roger Griffith says:

    for even less – sleek media center and expandable NAS – works great, super fast on over-clocked raspberry pi b+ http://www.ebay.com/itm/xbmc-Portable-Media-Center-Expandable-NAS-/171709257100?

Related Posts

0 SHARES

0 SHARES

0 SHARES

0 SHARES

0 SHARES

0 SHARES