Tom's Hardware > Forum > Storage > NAS/RAID & Technologies > ZFS vs hardware RAID for low power file server

ZFS vs hardware RAID for low power file server

Forum Storage : NAS/RAID & Technologies - ZFS vs hardware RAID for low power file server

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Hi All,

I asked a while back about creating an ultra-low-power file server for a home network. I hadn't considered using ZFS at that time - was looking at a dedicated RAID controller. I'm considering an Intel Atom or Via Nano based system, probably running FreeNAS. I guess a software-based system will tax the processor more... Can anyone comment on the pros and cons of using a dedicated controller, particularly with respect to power consumption and performance?

Ta - Adam...

Sponsored Links
Register or log in to remove.

You may want to read through this thread:
http://www.tomshardware.co.uk/foru [...] _14_0.html

Don't use hardware RAID if you want to use ZFS - you'll lose one of the most important benefits of ZFS - the self healing process. Software RAID in these cases is clearly superior to hardware RAID.

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa

By the way, Intel Atom is 32-bit right? You should use 64-bit CPUs if you want to use ZFS. Low-power AMD based systems use less power than Intel Atom based systems, as these often come with old chipsets that nullify any power benefit the Atom cpu provides - Intel has to dump its old stocks somewhere.

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa

Hi sub mesa,

Thanks for all the helpful info. There's loads to get through...!

I'll make sure I only consider 64-bit architectures. I assume there's a trade-off between CPU power consumption and controller power consumption when considering ZFS vs hardware driven RAID. IOW, I'm assuming that:
- ZFS solution = gruntier CPU = more watts, but controller consumes less power;
- Hardware RAID = weedy CPU = less watts, but controller consumes more power;

Is that right? Do you know which will be more efficient in terms of power consumption?

Will a chip like the Via Nano be heavy-duty enough to run, say, FreeNAS and ZFS or OpenSolaris and ZFS?

Cheers - Adam...

Reply to adam-the-kiwi

some of the WHS machines available are very low power and very robust. Mine is a WHS frankenmachine and it has never let me down for backups and storage.

Reply to DiscoDuck

Low-power means something like 35-50W excluding disks. This is easily achieveable with an AMD setup and efficient power supply.

For example:

  • AMD Dualcore with 35W or 45W tdp means ~2-3W idle
  • AMD 740G/780G/785G chipset means ~2W idle
  • Amacrox 400W fanless PSU is 90%+ efficient, one of the most power efficient power supplies and comes without a fan


If you go for 2,5" HDDs you can even go for an "extreme" setup with PicoPSU power supply, which is like ~97% efficient and can reduce idle power consumption to 30-35W, while still providing high performance with lots of memory and dualcore chip to saturate your gigabit NIC.

Note that TDP can be misleading; while the maximum power consumption is important for chosing the correct power supply, its not important for actual power consumption, as your hardware will idle most of the time. In fact, all PCs in the world idle more than 90% of the time. Idle power consumption is what you should look at if you are concerned with the environment and/or want to save on energy costs.

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa

Having 64-bit for ZFS is good because ZFS can use your memory really good so it make sense to max it up with 4GB of RAM or more (32-bit architecture usually can't access more than 3GB or so).

Back to your topic.
I would put ZFS with RAID-Z (AFAIK, there are no hardware RAID-Z controllers so it will be software RAID).

Regarding the power usage, I built my own ZFS NAS using FreeNAS using Intel Core2 Mobile.
If you want to get Intel Atom, they have Atom 230 and Atom 330. Both of them are 64-bit. Atom 230 has one core, Atom 330 has two cores. Atom 330 has 8W TDP.


Message edited by HappyBison on 11-13-2009 at 11:11:27 PM
Reply to HappyBison

There are more reasons why you would want 64-bit CPU for ZFS. This advanced filesystem is simply not stable on 32-bit systems, due to a maximum of 1GB kernel memory. In many cases with heavy disk I/O, ZFS would cause the operating system to crash with a "panic: kmem_map too small" message. Its possible to tune ZFS heavily so it runs reasonably stable on 32-bit, but that would mean disabling lots of stuff that decrease performance.

32-bit is limited to 2GB per process; its Windows that uses up to 3GB and 1GB kernel memory for 4GB memory systems. With PAE you can have like 64GB RAM on 32-bit systems, but the 2GB-per-process still applies, unless the process/application is specially compiled which is extremely rare. Performance with PAE would be affected too. You really want to have a 64-bit system in this case.

@HappyBison, what kind of ZFS setup do you run and are you happy with the setup?

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa

sub mesa,
I'm still experimenting (not using it for real life data), but I'm happy with what I'm getting.
I use FreeNAS (ZFS v6) and FreeBSD (ZFS v13). I downloaded OpenSol just to compare and benchmarking, but I'm more FreeBSD guy.

Reply to HappyBison

Good to hear others are running FreeBSD as well. Are you running 7-STABLE or 8.0?

I haven't compared FreeBSD ZFS performance directly to OpenSolaris yet, if you would have any benches i would be very interested in them. :)

------------------------------ ...man will occasionally stumble over the truth, but usually manages to pick himself up, walk over or around it, and carry on.
Reply to sub mesa

sub mesa,
I have FreeBSD on all of my online servers (7.0 and 7.2). I prefer not to run Beta and RC on production boxes :-)

As far as the benches, my goal is to measure it in all aspects I could and post it online (I could not find any info on that so I'm building my own when time permits). I bought different kinds of hardware (Core2 Mobile, Atom, etc) to see how that will affect the tests too.


Message edited by HappyBison on 11-14-2009 at 03:18:19 AM
Reply to HappyBison
Tom's Hardware > Forum > Storage > NAS/RAID & Technologies > ZFS vs hardware RAID for low power file server
Go to:

There are 627 identified and unidentified users. To see the list of identified users, Click here.

Sponsored links
  • Ask the community now
  • Publish
Ad
Latest best answer
Where are the fuses on nad 7250pe
By fihart, 10 days ago:

You may be on the correct course. Have you any way of checking the fuse that seems to make no difference -- sometimes if a fuse has blown it looks like it's smoked inside. You could test it with small battery and a low voltage bulb or find a friend who owns a multimeter -- or find an electronics hobby store and take the fuse in and ask for a replacement. I may be wrong about the DC part and remember that my receiver is not quite the same model as yours. If the fuse that doesn't seem to make a difference is really 250 volts it isn't DC. If both fuses have identical lettering on the actual fuse body they may both be 250 volts as your observation suggests -- so you might try swapping them and see what happens. You MUST remove the receiver's power lead from the wall socket before touching anything marked 250 volts (that incidentally is the maximum rating of the fuse -- in Europe the power is 220 or 230 volts and in the US 110). Incidentally, there are other ways to diagnose faults on a receiver. Have you tried plugging a pair of headphones in to the headphone socket and see if there's any audio. If you can hook up another amplified system (say the speakers that come with a desktop computer) to the tape output of the receiver this may help narrow down the type of problem.

They won a badge
Join us in greeting them
Top experts
Sponsored links