Flickr

Social Stuff
Site Info

Sponsored Links

Laurie's Entries

« Bittorrent: The Slow Download Method? | Main | Flash on the PSP »

My NAS Tale: Picking a NAS

For what feels like a couple of months now, I've decided I wanted to take a handful of external hard disks and get them on the network so they wouldn't have to move around as much.  These disks range in size from 20GB to 250GB and there are 5 of them (the 20GB only really counts because it's a physically tiny one -- and it might not even go on). 

The easiest and most obvious way is to stick a PC on and chain them all to USB (2, of course) and go.  However, this has the disadvantage of power use, cost, size, and noise.  I didn't want to do this because we've switched to laptops and I've been wanting to dump the last of our desktops; they're outdated anyway.

So, I went on a hunt for various solutions.  Most of the solutions involve no-name NAS cases that have 100Mbps ports and can hold one drive.  A nice choice, but not workable due to only have a 100Mbps port, was the Linksys NSLU2.  It has a couple of USB 2 ports for putting a couple of drives on the network. 

Another promising option was Kuro Box (by Revogear, a brand of Buffalo) (or the hardware equivalent, the Gigabit Linkstation).  This box takes a hard drive, has a couple of USB 2 ports, has gigabit ethernet, runs Linux, and is designed to be modified right out of the box. 

Now, some big issues started coming up with performance.  I tested one of the drives locally on USB 2.0 and it came in at least at 20MBps and sometimes as high as 25-28MBps (these were, for the most part, all 7200 RPM IDE disks).  I started to look around at the performance of the various NAS solutions.  I wasn't impressed at all.

The NSLU2 is on 100Mbps, right?  Well, at 100Mbps a site reported seeing up to 6MBps on FTP and only up to 3.5MBps via Samba.  Considering the link is 100Mbps, this is too bad.  100Mbps should top out at around 10MBps given protocol overheads and stuff.  Interestingly, the raw disk speeds were coming in at under 9 MBps, which is far lower than the drive the site was using should have performed.  Why?

There were no reviews of the performance of the Kuro Box HG that I could see.  However, at Tom's Networking I saw some graph's showing the normal Kuro Box outperforming both the Synology DS101 and the NSLU2, but it was pulling in less the 6MBps!

Looking at the Terastation at Tom's Networking showed it peaking at nearly 9 MBps with gigabit networking.  Given the Kuro Box is basically a drive-less Linkstation and they are all made by Buffalo this, unfortunately, seemed indicative of the sort of performance that might be seen by the Kuro Box HG.  It did see a 20-30% improvement using Jumbo packets.  However, considering that it isn't using USB 2 internally, that it can get top performance with using various RAID modes (although actually the non-RAID mode was the slowest), and that gigabit ethernet is actually faster than the 480Mbps of USB 2, you would think that it could do better. 

Tom's Networking also did a series on converting an old Xbox into a NAS.  (It's a great read, BTW.)  This sounded interesting since we'll eventually get an Xbox 360 and just have the Xbox sitting around (so to speak).  The last article in the series has some very interesting performance numbers, though.  They compare the Xbox NAS performance to direct PC to PC performance.  Here we see the Xbox peaking at just over 10MBps, a very nice number for 100Mbps networking.  The PC, however, peaked at nearly 11MBps but actually was slower in many of the tests.

This appeared to tell me that there were, perhaps, some PC problems with the performance. 

In any case, when I got around to start dumping the old desktops I ended up just installing Linux Fedora Core 4 on an old Athlon XP 1600+ system with a measly 512MB of RAM.  Inconveniently, one of our external cases died so one of those drives went into the desktop, which already had an 80GB and a 160GB disk.  Unfortunately, except for the two in the Linux system, all of the disks from the cases are formatted as NTFS.  Although there are good drivers for reading NTFS on Linux, the only drivers for writing are incomplete and run in user mode so they are slow.  (By incomplete, they mean they don't support every possible method for adding nodes to the tree that is NTFS.  This means occasionally a delete or a write will fail.  Reads never fail and data is never corrupt.)  This, however, is better than stories of having to completely reformat drives to use them with various of the above solutions.  (Ultimately, though, I'll probably reformat them with something more interesting or maybe even find a hardware RAID card for cheap.)  I haven't bothered to test the performance yet since the system only has a 100Mbps ethernet card in it right now.

While writing this, I went to check out more performance stuff at Tom's Networking (which seems to have the most frequent reviews of this stuff with easy to read data).  The ReadyNAS is a competitor to the Terastation, although usually more expensive.  Recently they release a newer X6 version.  This increases performance even more.  In fact, this system apparently however, around 20MBps when using Jumbo frames with gigabit ethernet.  With normal gigabit ethernet it looks like it can still pull in numbers above 15 MBps.  This is over 2x the performance of the Terastation and much higher performance than the other NAS devices I've mentioned.  However, it's not as flexible (from what I've seen) in that you can't run a custom Linux install on it to do much more than just serve up files.  But then, maybe that's why it's so fast!


So, why are the other devices so slow?  I think it has a lot to do with the fact that they all seem to use PowerPC chips (of some variety) running at 266MHz or less.  This isn't terribly slow.  In fact, for a while I was thinking of using my old Toshiba Portege 3110CT (a nice, thin, very low power laptop).  It runs on a Pentium II 300 Mhz that is actually probably slower. (I tried using it's ancient Windows 2000 install with a driver for the Airlink USB Gigabit ethernet adapter but it kept losing the link.  This seemed to have little to do with the USB adapter, too, but that may not have helped since it clearly has to buffer as it can only feed 480Mbps to the host.)

The ReadyNAS, interestingly enough though,  runs on a 240 MHz CPU, but it seems to be purpose designed, has hardware RAID, and does serial ATA.  This means that the disks in the system are also newer and have faster interfaces.  It's interesting that the RAIDiator OS runs off of a CompactFlash card and it has an addition 256MB of DDR RAM.  All of this seems to have added up to make a well performing system that can compete with purpose built storage servers (of the type that often cost well over $2k because they have high end processors, memory, and disk arrays).  This doesn't come cheap, though.  The base cost for a diskless system is on the order of $600 and it can eat up to 220W, though they way typically under 100W with four disks.  This isn't too far off a full system.


In the end, we'll use our old desktop for a while until we can get something better, which means either faster or less power usage. We also still need a lot of addition storage. This tale is long from being over...




Resources:
NSLU2-Linux - Info / Performance
Kuro Box: A User Operated Community
PowerPC development from the bargain basement
Review: Revolution by Buffalo Kuro Box | Tom's Networking
Review: Synology DS-101 Disk Station | Tom's Networking - has performance numbers of NSLU2 and Kuro Box
Review: Buffalo Technology TeraStation | Tom's Networking
How To: Convert your Xbox to a NAS - Part 3 | Tom's Networking
Why don't you hack the LinkStation/KURO-BOX
HeadToHead: Infrant ReadyNAS 600 vs. X6 | Tom's Networking
Infrant Technologies - Products - hardware board
Infrant Technologies - Products - RAIDiator 2 OS features

Here you can buy stuff:  ;)









Posted by Shane on February 27, 2006 10:23 PM |

TrackBacks

TrackBack URL for this entry:
http://www.kf6nvr.net/mt/kf6nvr-tb.cgi/678