Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

SoHo NAS With Good Network Throughput?

Posted by kdawson on Tue Dec 16, 2008 05:55 PM
from the small-office-home-office dept.
An anonymous reader writes "I work at a small business where we need to move around large datasets regularly (move onto test machine, test, move onto NAS for storage, move back to test machine, lather-rinse-repeat). The network is mostly OS X and Linux with one Windows machine (for compatibility testing). The size of our datasets is typically in the multiple GB, so network speed is as important as storage size. I'm looking for a preferably off-the shelf solution that can handle a significant portion of a GigE; maxing out at 6MB is useless. I've been looking at SoHo NAS's that support RAID such as Drobo, NetGear (formerly Infrant), and BuffaloTech (who unfortunately doesn't even list whether they support OS X). They all claim they come with a GigE interface, but what sort of network throughput can they really sustain? Most of the numbers I can find on the websites only talk about drive throughput, not network, so I'm hoping some of you with real-world experience can shed some light here."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by LWATCDR (28044) on Tuesday December 16 2008, @05:59PM (#26138959) Homepage Journal

    FreeNAS or OpenFiler on a PC with a raid controller and GigE should work. It might even be cheaper than a NAS box.
    As to OS/X support. I thought OS/X supported Windows networks out of the box. Odds are very good that if it supports Windows OS/X will work.

    • by nhtshot (198470) on Tuesday December 16 2008, @06:23PM (#26139265)

      My situation is similar to yours. I bought and tested several off the shelf solutions and was continuously disappointed.

      My solution was an off the shelf AMD PC filled with HDD's and linux software raid.

      It's MUCH Faster (90MB/Sec) then any of the NAS solutions I tested.

      With Christmas specials abounding right now, HDD's are cheap. Use independent controllers for each port and a reasonable CPU. Also make sure that the GIGe interface is PCI-E.

      • by ceoyoyo (59147) on Tuesday December 16 2008, @07:50PM (#26140173)

        Most NAS devices, particularly the consumer ones, cheap out on the processor. You might have great hard drive throughput, maybe even a nice fast network interface, but the poor little processor just can't keep up.

        If you want speed, definitely throw a PC at it.

        • by Score Whore (32328) on Tuesday December 16 2008, @07:50PM (#26140189)

          You have seven drives in a software raid5. Anytime you do a write, the entire stripe has to be available to recompute parity. If you aren't doing full stripe writes, that will often mean having to read data in from a portion of the drives. A normal PCI slot will give you 132 MB/s max. Possibly that is a limitation, but it's higher than gigabit speeds so you may not care that much. Also your raid controller may not exactly be lightning. But I'd personally suspect the number of columns in your RAID5.

          Also, as a little learning experiment, take a drive, make two partitions of a few gig each. Put one of them at the beginning of the drive and put the other at then end of the drive. Benchmark the speed of those two partitions. In case you're not really that interested, the laws of physical make the bits at the outer edge of the platter go by about twice as quickly as the inner edge. So if you are doing a sequential benchmark you'll find that a disk that rates 60MB/s on the outer edge will drop to 35MB/s on the inner edge. So on average, you'll find that the majority of your disk isn't as fast as simple sequential tests suggest.

          • This is misleading. (Score:4, Interesting)

            by Jane Q. Public (1010737) on Tuesday December 16 2008, @09:30PM (#26140979)
            While it is true that the outside of the disk is spinning faster than the inner portion, in a modern HDD there are also several times more sectors in those outer rings. So while strictly speaking the read times might be faster, the seek times are not, and may even be slower. The sectors might even be interleaved, making any such comparison almost meaningless.

            However, as you say, benchmarking is the only way to really tell. Highly recommended.
            • by pyite (140350) on Tuesday December 16 2008, @10:14PM (#26141283)

              ... to say that software RAID is almost invariably a poor solution. It is woefully slow compared to even a slow hardware RAID implementation.

              Spend a few bucks and get the right hardware. It is not expensive these days.

              This may have been true years ago, but it's not anymore. Modern CPUs can handle parity computations without a problem. As long as your controllers can support the throughput needed, there is no need for hardware RAID. After all, we have ZFS.

              Storage is undergoing a massive paradigm shift and folks like EMC are being caught with their pants down. Their spindle cost and price per GB is just too high.

                • by pyite (140350) on Wednesday December 17 2008, @12:39AM (#26142157)

                  The only shops that actually look at cost/GB as a measuring stick are small shops, or shops with very specific needs.

                  Large corporations, government and high tech companies are usually more concerned with management costs, retention, migration and so forth.

                  This is simply not true. There are plenty of commodity storage requirements that do not require Fibre Channel or even NetApp level NAS. On the other end of the spectrum, cost/GB might not be a huge factor, but the cost of getting necessary IOPS is certainly a factor.

                  I work on Wall St. and we have multiple PB of storage. We have tons of EMC. However, things like the Sun X4500 and similar products from HP are changing the game. Couple that with being able to do 48 ports of line-rate 10GigE in a 1 RMU stackable, per priority pause coming into use, and Data Center Ethernet down the road and you have many reasons to seriously reconsider the scope of your fibre channel deployment.

            • by Kent Recal (714863) on Tuesday December 16 2008, @10:33PM (#26141435)

              software RAID ... is woefully slow compared to even a slow hardware RAID

              Wrong. Go do your homework.

    • by jbwiv (266761) on Tuesday December 16 2008, @07:11PM (#26139805)
      The problem with that is power consumption. Build your own, and you'll be burning a lot of power unnecessarily because it's overkill. Contrast that with the ReadyNas Duo, which I own, that pulls on average around 30-40W. Much better and green.
      • Re: (Score:3, Interesting)

        The OP stated they have a business need for moving gigabytes of data quickly around the office. Spending the extra money on a real server's power consumption would save them thousands of dollars a day worth of their time.

        Even the cost of the power is pretty minimal for this... Figure 500 watts for 24 hours is 12 kWh. At worst you pay $0.20/kWh, which is a hair over $2/day, assuming 24 hours/day usage. My linux PC NAS in the basement saturates gigE and is under 100 watts active power consumption, or about

    • Re: (Score:3, Informative)

      OS X doesn't support the ability to CHANGE CIFS (SMB) permissions, so that's a concern. It can at least change NFS permissions, if only from the CLI or other Unix permissions-aware apps.

      • by blincoln (592401) on Tuesday December 16 2008, @08:46PM (#26140651) Journal

        I'd be interested to know if anyone wants to make a case that AFP is necessary, but my personal opinion is that it's only worth using if you're running an OSX server.

        Our Mac people at work claim that the only way for the OS X file search utility to work correctly is via AFP. The third-party server software they use as an AFP server on Windows maintains a server-side index, which I imagine is why, although I don't know how much of that is a requirement with OS X as opposed to their specific configuration.

  • Cmon people... (Score:5, Informative)

    by Creepy Crawler (680178) on Tuesday December 16 2008, @06:00PM (#26138961)

    You might as well build it yourself.

    Go get a lowbie Core2, mobo, good amount of ram, and 4 1TB disks. Install Ubuntu on them with LVM and encryption. Run the hardening packages, install Samba, install NFS, and install Webmin.

    You now have a 100% controlled NAS that you built. You can also duplicate it and use DRBD, which I can guarantee that NO SOHO hardware comes near. You also can put WINE on there and Ming on your windows machines for remote-Windows programs... The ideas are endless.

    • by StaticEngine (135635) on Tuesday December 16 2008, @07:10PM (#26139795) Homepage

      See, the problem with responses like this is that they ignore the request of the original poster, and, while being valid instructions for a home-built, it is only a good solution if the time of the OP has zero value. Your instructions involve eight steps: Order (multiple) parts, wait for delivery, assemble, learn how and then install OS, learn now and install three other packages. The OP is looking for three steps: Order one thing, wait for delivery, plug in and use.

      Your post has value to the DIY crowd, certainly. But for someone looking for a product recommendation, it totally missed the boat.

      • Re:Cmon people... (Score:5, Insightful)

        by SanityInAnarchy (655584) <ninja@slaphack.com> on Tuesday December 16 2008, @06:37PM (#26139425) Journal

        If they have a windows machine for "compatability testing" and the rest of the units are Macs, you know damn well this guy couldn't "build his own"!

        For what it's worth, I have worked in a place that almost exactly matches that description -- ton of macs, some leftover Windows PCs (rarely if ever used), and I ran Linux.

        Everyone in that office could have built their own, if they had a reason to.

        It is possible to actually like a Mac and not be technically illiterate / incapable of assembling a PC.

      • Re:Cmon people... (Score:5, Informative)

        by swillden (191260) <shawn-ds@willden.org> on Tuesday December 16 2008, @07:14PM (#26139847) Homepage Journal

        Your network connection is the limiting factor here. On large sequential reads, modern SATA drives with a mobo's onboard controller can easily maintain the 100MB/s or so it takes to max out your gigE connection.

        I second this.

        A good way to test your network connection is with netcat and pv. Both are packaged by all major Linux distos.

        On one machine run "nc -ulp 5000 > /dev/null". This sets up a UDP listener on port 5000 and directs anything that is sent to it to /dev/null. Use UDP for this to avoid the overhead of TCP.

        On the other machine, run "pv < /dev/zero | nc -ulistenerhost 5000", where "listenerhost" is the hostname or IP address of the listening machine. That will fire an unending stream of zero-filled packets across the network to the listener, and pv will print out an ongoing report on the speed at which the zeros are flowing.

        Let it run for a while and watch the performance. If the numbers you're getting aren't over 100 MB/s -- and they often won't be, on a typical Gig-E network -- then don't worry about disk performance until you get that issue fixed. The theoretical limit on a Gig-E network is around 119 MBps.

        Do the same thing without the "-u" options to test TCP performance. It'll be lower, but should still be knocking on 100 MBps. To get it closer to the UDP performance, you may want to look into turning on jumbo frames.

        pv is also highly useful for testing disk performance, if you're building your own NAS (highly recommmended -- a Linux box with 3-4 10K RPM SATA drives configured as software RAID0 array will generally kick the ass of anything other than very high end stuff. It's nearly always better than hardware RAID0, too).

  • None (Score:5, Interesting)

    by afidel (530433) on Tuesday December 16 2008, @06:01PM (#26138987)
    If you want decent throughput build it yourself. Seriously. I have a coworker that bought 5 different NAS devices to do a bakeoff for a small skunkworks office and they all sucked for throughput. We ended up buying a $1K NAS that still wasn't great but sure beat all the SOHO ones. Numbers were ~8MB/s max on the fastest SOHO unit vs 25MB/s on the midrange one.
  • dedicated PC (Score:5, Informative)

    by spire3661 (1038968) on Tuesday December 16 2008, @06:03PM (#26139013)
    In terms of cost/benefit ratio, nothing beats a stripped down PC with a lot of drives stuffed in it or in an external esata enclosure. I run a HP NAS MV2020, and a linksys NAS200 and they both cant hold a candle to a PC in throughput. Ive heard of some commercial systems out there, but they cost a small fortune. Just my $.02
  • ReadyNAS (Score:3, Informative)

    by IceCreamGuy (904648) on Tuesday December 16 2008, @06:07PM (#26139059) Homepage
    We have a ReadyNAS 1100, it's alright, but I wouldn't call it stellar. I get around 80Mb/sec to it over the network, but the management interface is IE only (as far as I can tell, since it has problems with FF and Chrome), and it has these odd delays when opening shares and browsing directories. Some of the nice features are the out-of-the-box NFS support and small, 1U size.
  • Dlink DNS-323 (Score:3, Insightful)

    by speeDDemon (nw) (643987) on Tuesday December 16 2008, @06:08PM (#26139073) Homepage
    I have evaluated a few different products (I have a retail store) and so far I have been very happy with the DLINK DNS-323 [dlink.com.au]
    Disclaimer: I have no affiliation with DLINK other than I stock some of their goods
  • OpenSolaris / ZFS (Score:3, Informative)

    by msdschris (875574) on Tuesday December 16 2008, @06:12PM (#26139133)
    Build it yourself and install Opensolaris. ZFS rocks.
  • by sco_robinso (749990) on Tuesday December 16 2008, @06:18PM (#26139209)
    They have the most comprehensive benchmarks and NAS's around (that I've stumbled across, at least). Also, lots of good tests showing various things like Jumbo frames, etc. Very good overall.

    I frequent the site a bit, and there's a couple tricks to getting good performance out of a NAS, or LAN throughput in general.

    1. Use Jumbo Frames, period.
    2. Use PCI-e NIC's, onboard or PCI just can't deliver the speeds offered by GigE. You can find smiple intel PCI-e nics for under $20.
    3. Drives make a big difference, obviously.

    www.smallnetbuilder.com -- Good site.
  • by syousef (465911) on Tuesday December 16 2008, @06:19PM (#26139227) Journal

    If your testing is highly automated, I can't help you as I don't have a lot of experience with high speed networking.

    If your testing is reasonably manual, consider storing your data set on removable hard drives which are manually plugged into one computer, data is copied, then disconnected and moved to the other. A USB 2 interface will give you the most compatibility given the wide variety of hardware you're using, but perhaps there may even be hardware that does hot plugging E-SATA properly if you're willing to pay a premium.

    Remember, for really high bandwidth physical media being shipped from one location to another is still a solution which should be considered.

  • by Overzeetop (214511) on Tuesday December 16 2008, @06:26PM (#26139301) Journal

    Okay, unRaid is not particularly fast compared to an optimized system, but it's expandable, had redundancy, is expandable, is web managed, plays nice with windows, sets up in about 20 minutes, costs $0 for a three disc license and $69(?) for a 6 disk license.

    My total unoptimized box on an utterly unoptimized Gb network (stock cards, settings, with 100 and 1000 nodes) and unmanaged switches just transferred an 8.3GB file in a hair under three minutes. From a single, cheap SATA drive to a Vista box with an old EIDE drive. Now 380Mb/s is not blazingly fast, but remember that it took almost no effort.

    http://lime-technology.com/ [lime-technology.com]

    No connection except as a happy customer with a 4TB media server that took longer to assemble the case than to get the SW running. If only my Vista Media Center install has been this easy.

  • by anegg (1390659) on Tuesday December 16 2008, @06:35PM (#26139405)

    If you use a single disk NAS solution and you are doing sequential reads through your files and file system, your throughput can't be greater than the read/write speed of a single disk, which is no where near GigE (1000 Gbps is about 125 MB/second ignoring network protocol overhead). So you will need RAID (multiple disks) in your NAS, and you will want to use striped RAID (RAID 0) for performance. This means that you will not have any redundancy, unless you go with the very expensive striped mirror or mirrored stripes (1+0/0+1). RAID 5 gives you redundancy, and isn't bad for read, but will not be that great for writes.

    As you compare/contrast NAS device performance, be sure that you understand the disk architecture in each case and see oranges to oranges comparisons (i.e, how does each one compare with the RAID architecture that you are interested in using - NAS devices that support RAID typically offer several RAID architectures). Also be sure that the numbers that you see are based on the kind of disk activity you will be using. It doesn't do much good to get a solution that is great at random small file reads (due to heavy use of cache and read-ahead) but ends up running out of steam when faced with steady sequential reads through the entire file system where cache is drained and read-ahead can't stay ahead.

    Once you get past the NAS device's disk architecture, you should consider the file sharing protocol. Supposedly (I have no authoritative testing results) CIFS/SMB (Windows file sharing) has a 10% to 15% performance penalty compared to NFS (Unix file sharing). I have no idea how Apple's native file sharing protocol (AFP) compares, but (I think) OS X can do all three, so you have some freedom to select the best one for the devices that you are using. Of course, since there are multiple implementations of each file sharing protocol and the underlying TCP stacks, there are no hard and fast conclusions that you can draw about which specific implementation is better without testing. One vendor's NFS may suck, and hence another vendors good CIFS/SMB may beat its pants off, even if the NFS protocol is theoretically faster than the CIFS/SMB protocol.

    Whichever file sharing protocol you choose, its very possible it will default to operation over TCP rather than UDP. If so, you should pay attention to how you tune your file sharing protocol READ/WRITE transaction sizes (if you can), and how you tune your TCP stack (windows sizes) to get the best performance possible. If you use an implementation over UDP, you still have to pay attention to how you set your READ/WRITE buffer sizes and how your system deals with IP fragmentation if the UDP PDU size exceeds what fits in a single IP packet due to the READ/WRITE sizes you set.

    Finally, make sure that your network infrastructure is capable of supporting the data transfer rates you envision. Not all gigabit switches have full wire-speed non-blocking performance on all ports simultaneously, and the ones that do are very expensive. You don't necessarily need full non-blocking backplanes based on your scenario, but make sure that whatever switch you do use has enough backplane capacity to handle your file transfers and any other simultaneous activity you will have going through the same switch.

  • by m0e (55482) on Tuesday December 16 2008, @06:37PM (#26139421)

    Disk will always be. Since disk is your slowest spot you will always be disk I/O bound. So in effect there's no real reason to worry about network throughput from the NIC. NICs are efficient enough these days to just about never get bogged down. What you would want to look at for the network side would be your physical topology -- make sure you have a nice switch with nice backplane throughput.

    About disks:

    Your average fibre channel drive will top out at 300 IO/s because few people sell drives that can write any faster to the spindle (cost prohibitive for several reasons). Cache helps this out greatly. SATA is slightly slower at between 240-270 IO/s depending on manufacturer and type.

    Your throughput will depend totally upon what type of IO is hitting your NAS and how you have it all configured (RAID type, cache size, etc). If you have a lot of random IO, your total throughput will be low once you've saturated your cache. Reads will always be worse than writes even though prefetching helps.

    If you're working with multi-gigabyte datasets, you'll want to increase the number of spindles (ie number of disks) to as high as you can go within your budget and make sure you have gobs of cache. If you decide to RAID it, which type you use will depend on how much integrity you need (we use a lot of RAID 10 with lots of spindles for many of our databases). That will speed you up significantly more than worrying about the NICs throughput. don't worry about that until you start topping a significant portion of your bandwidth -- for example, say 60MB/sec sustained over the wire.

    This doesn't get fun until you start having to architect petabytes worth of disk. ;)

    • by thesupraman (179040) on Tuesday December 16 2008, @08:08PM (#26140345)

      Ah, wrong.

      This guy is talking about SOHO type NAS boxes, their cpu and network throughput is their bottleneck.

      If he was talking about 'real' NAS, then that is very different (although it is still trivial to get a NAS that can saturate GBit for many workloads).

      Our 16/32 drive Raid6 SATA raid arrays easily sustain 400MB/sec locally for moderately non-random workloads - there are workloads for which this of course does not apply, but since he is apparently moving around GByte lumps, it would not be his case.

      SOHO NAS devices normally run out of grunt at around 6MB/secish, even for long linear reads, some do better at up to 25.

      I am thinking your workload is TPC type database loads, dont assume everyones is (we have a mix of video files and software development, very different..). TPC type disk loads are a corner case.

      We also love ATAOE but that is DEFINITELY not what he is looking for.

  • by M0b1u5 (569472) on Tuesday December 16 2008, @06:45PM (#26139523) Homepage

    Never underestimate the bandwidth of a guy carrying a bundle of removable hard drives around the office.

    Or a station wagon loaded with hard drives.

    Nothing can beat them.

  • by opk (149665) on Tuesday December 16 2008, @06:47PM (#26139541) Journal

    I've got an Thecus N2100 and the performance as a NAS isn't great. The CPU isn't powerful enough to take advantage of the gigE interface. For what you want, I'd get something more powerful which probably means an x86 box. For anyone who just wants a home server that doesn't consume too much electricity so can be left on all the time, a small ARM based box is great. I'm running Debian on it and it's really useful.

  • by kwabbles (259554) on Tuesday December 16 2008, @07:10PM (#26139797)

    For example:

    Best home network NAS?
    http://ask.slashdot.org/article.pl?sid=07/11/21/141244&from=rss [slashdot.org]

    What NAS to buy?
    http://ask.slashdot.org/article.pl?sid=08/06/30/1411229 [slashdot.org]

    Building a Fully Encrypted NAS On OpenBSD
    http://hardware.slashdot.org/article.pl?sid=07/07/16/002203 [slashdot.org]

    Does ZFS Obsolete Expensive NAS/SANs?
    http://ask.slashdot.org/article.pl?sid=07/05/30/0135218 [slashdot.org]

    What the hell? Is this the new quarterly NAS discussion?

    • by sootman (158191) on Wednesday December 17 2008, @12:13AM (#26142043) Journal

      What the hell? Is this the new quarterly NAS discussion?

      Yes, I hope it is. Maybe not quarterly, but I have no problem "revisiting the classics" periodically. Technology marches on, best practices come and go, so it is useful to cover the same ground every so often. Seven years ago the coolest story ever was covered here: build a Terabyte fileserver for less than $5,000!!! [slashdot.org] (Note to visitors from the future: it is late 2008 and you can buy an external terabyte hard drive for a little over $100. Call it $125. That same five grand could buy you FORTY terabytes today. You probably got a 1TB USB jump drive in your cereal this morning.)

      Plus, not everyone has been around as long as you and I. Won't somebody please think of the n00bs?!? :-)

  • by raw-sewage (679226) on Tuesday December 16 2008, @07:15PM (#26139861)

    How many gigabytes are "multiple" gigabytes? Seriously, moving around five GB is much easier than 50 GB and enormously easier than 500 GB.

    Another thing to consider: how many consumers are there? A "consumer" is any process that requests the data. If this post is a disguised version of "how do I serve all my DVD rips to all the computers in my house" then you probably won't ever have too many consumers to worry about. On the other hand, I work for an algorithmic trading company; we store enormous data sets (real-time market data) that range anywhere from a few hundred MB to upwards of 20 GB per day. The problem is that the traders are constantly doing analysis, so they may kick off hundreds of programs that each read several files at a time (in parallel via threads).

    From what I've gathered, when such a high volume of data is requested from a network store, the problem isn't the network, it's the disks themselves. I.e., with a single sequential transfer, it's quite easy to max out your network connection: disk I/O will almost always be faster. But with multiple concurrent reads, the disks can't keep up. And note that this problem is compounded when using something like RAID5 or RAID6, because not only does your data have to be read, but the parity info as well.

    So the object is to actually get many smaller disks, as opposed to fewer huge disks. The idea is to get the highest number of spindles as possible.

    If, however, your needs are more modest (e.g. serving DVD rips to your household), then it's pretty easy (and IMO fun) to build your own NAS. Just get:

    • a case that can hold a lot of disks
    • a fairly recent motherboard
    • the cheapest CPU supported by the motherboard (your load is virtually all I/O; very little CPU is needed with modern I/O chipsets)
    • some RAM
    • a high quality, high capacity power supply
    • the disks themselves
    • and your favorite free operating system of choice

    You might also want to purse the Ars Technica Forums [arstechnica.com]. I've seen a number of informative NAS-related threads there.

    One more note: lots of people jump immediately to the high performance, and high cost RAID controllers. I personally prefer Linux software RAID. I've had no problems with the software itself; my only problem is getting enough SATA ports. It's hard to find a non-server grade (i.e. cheap commodity) motherboard with more than six or eight SATA ports. It's even harder to find non-PCI SATA add-on cards. You don't want SATA on your PCI bus; maybe one disk is fine, but that bus is simply too slow for multiple modern SATA drives. It's not too hard to find two port PCI express SATA cards; but if you want to run a lot of disks, two ports/card isn't useful. I've only seen a couple [newegg.com] of four-port non-RAID PCIe SATA cards [newegg.com]. There's one eight port gem [newegg.com], but it requires PCI-X, which, again, is hard to find on non-server grade boards.

  • by gelfling (6534) on Tuesday December 16 2008, @07:22PM (#26139923) Homepage Journal

    They are a little on the high end, cost wise for consumer boxes but they are very reliable, the firmware actually works WELL, they support NTFS and their network interfaces function up to spec. And they support Mac.

    They make units from 1 bay SATA up to 4 bay 1U hot swappable dual 1Gb dual power supply rackmounts.

    www.synology.com

  • by aaarrrgggh (9205) on Tuesday December 16 2008, @08:36PM (#26140569)

    The Buffalo Terastation uses a software RAID, which slows it considerably, with the side benefit of being nearly impossible to recover if it crashes.

    It does support SMB, NFS, and AFS out of the box though.

    These boxes are cheap crap, and have a very limited useful lifespan. Our company lost a good deal of information when ours crapped out after 366 days. (Yes, we had backups, No they weren't perfect. They happened to be with me halfway around the globe at the time...)

    Really seems like the product offerings in this space are limited usability, poor reliability, imperfect implementations, and grossly overpriced. Doing it over again, I would go for a build-it-yourself box hands down.

  • Forget SOHO boxes (Score:3, Informative)

    by TopSpin (753) * on Tuesday December 16 2008, @09:16PM (#26140895) Journal

    What you're expecting is really beyond the capability of common SOHO NAS equipment. These devices lack the RAM and CPU to approach the capacity of GB Ethernet.

    Unless you're willing to roll your own, you should consider a better class of gear and spend your time arguing for the funds to pay for it (a NetApp S550, perhaps.) If you are willing to roll your own, you can get there for $1-2k using all new hardware.

    Beware reusing older hardware; many GB NICs can't approach GBE saturation, either due to PCI bus contention or low end, low cost implementation. Yes, in some cases older hardware can get there, but this will require careful configuration and tuning.

    You want a PCI-E bus, a decent 'server' class NIC, recent SATA disks, a modern CPU (practically any C2D is sufficient) and enough RAM (2-4 GB). Personally I stick to Intel based MB chipsets and limit myself to the SATA ports provided by Intel (as opposed to the third party provided by jaton, silcon image, et al.) Linux, md raid 10. Will saturate a GBE port all day long, provided your switch can handle it...

    You're serving desktops so jumbo frames are probably impractical (because some legacy hardware on that LAN will not tolerate it.) If your managed (?) switch can provide VLANs you can multihome your critical workstations and use jumbo frames. This will get you more performance with less CPU load for 'free'.

    • Re:SMB (Score:5, Informative)

      by Anthony_Cargile (1336739) on Tuesday December 16 2008, @06:03PM (#26139007) Homepage
      One more thing: if it says gigabit ethernet, for me that usually means anywhere between 200-800Mbps of speed on a fairly busy network, which should suffice for large data backups in a matter of say 2-5 minutes tops for moving several gigs. Your throughput really depends on other factors, so yours may be higher or lower than mine but typically that range should suffice with the proper switching and routing equipment.
        • Re: (Score:3, Interesting)

          I concur with this. Anything that says "GigE" only means that it's offering an interface that is compliant to the specification, not that it can pass 1000Mb/s.

          A few days ago, I went digging for some information on switches. I'm a big Cisco fan, and I have specs on everything that I use. I know which of my switches can handle more traffic than others. That's kind of important.

          Someone (to remain nameless) bought a GigE "switch". A name brand, but consumer grad

        • I have numbers to back it up: D-LINK DNS-323, 2x 500gb 5400rpm Samsung drives in Raid-1 configuration. I don't know the exact model, but I certainly selected these for low noise, low energy consumption and low heat output. So they're absolutely no high performers, but in regular, day-to-day operations, the Gigabit adapter manages a throughput at a steady 15 percent of 1000mbit push and pull from/to medium performance Windows workstations.

          This NAS unit is on the market for well over a year and it took severa

    • Well it looks like SMB is your best bet for compatibility.

      OS X doesn't support NFS? Linux doesn't support AFP?

      Besides which, don't the better NAS boxes support pretty much everything, all at once?

        • Re:SMB (Score:5, Informative)

          by drsmithy (35869) <drsmithy&gmail,com> on Tuesday December 16 2008, @06:54PM (#26139603)

          A custom-built box, as many commenters suggested, seemed a tad inappropriate to me as he asked for an NAS device, not a server. Installing Ubuntu or whatever on it seems like more of a performance hit than a properly optimized "off the shelf" NAS box, since they most likely don't run Dbus, GNOME, Hald, bluetooth or any other desktop software atop the basic kernel and networking services.

          While this is true, for noticably less than you'll pay for a NAS appliance, you can build a PC with vastly more CPU power and RAM (in particular, storage vendors - even with high-end, full-blown SAN solutions - are offensively stingy with cache), which will more than make up for any extra stuff that might be running.

          You need to spend a LOT on an "appliance" type storage system to get something that has higher performance and/or better features than a "server". Particularly with cache, storage vendors across the board are offensively stingy (16 gigs of high-quality ECC RAM costs maybe $800, but you'll be lucky if your $100k SAN comes with half that amount).

          Personally I would recommend the OP looks at Server/NAS-style "appliances" like Dell's NF500. They're the only sort of "cheap" turnkey devices he'll find that will deliver the performance he seems to want, and will probably only cost a grand or two more than DIY.

        • Re:SMB (Score:5, Informative)

          by LoRdTAW (99712) on Tuesday December 16 2008, @07:13PM (#26139841)

          A NAS is pretty much a server that is dedicated to storage.

          If he wants to roll his own I would suggest either a light install of Ubuntu server or FreeNAS: http://www.freenas.org/ [freenas.org]. FreeNAS is based on the stripped down Free BSD core that m0n0wall uses. It is very small and is managed using a simple and easy to use web interface. I don't know about gigabit performance as I only set it up once for a friend using 100mbit. He had the Linksys NAS box and it was dog slow. On 100Mb it couldn't push more then 3-4 MB sec. I could get 8-9Mb sec using FreeNAS on an Athlon 1.3Ghz with 128MB ram and two SATA 500GB drives in RAID 1 (mirroring). He also added a USB 2.0 card to hook up another 500GB drive. It pretty much saturates his 100Mbit connection.

          And here is my related question to others here:
          I have fought with SAMBA on Ubuntu 8.04 server and I cant get it going faster than 10-11MB/sec when copying to/from Windows XP. Even with the tcp_nodelay setting and a few others it just barely breaks 11MB/sec. I can get 25-30MB sec when copying from one Windows PC to another. And the server hardware isn't puny: dual P4 2.4GHz Xeons, 4GB RAM, dual PCIX Intel gigabit and a PCIX SATA controller. Any one have any suggestions? NFS also runs at the same speed and when downloading from the Apache server I get 5-6MB sec. Something is wrong somewhere but I cant tell. I have changed kernels played with conf files but nothing works. Someone once told me SAMBA will always be slow but I don't believe that to be true.

          • Re: (Score:3, Informative)

            run "ethtool eth0" and have a look at the output. It's possible that it's autonegotiated a stupid setting like half-duplex or some lower speed.

            Do the same with the windows box; that information is the properties dialog for the network device.

          • Re: (Score:3, Informative)

            I have fought with SAMBA on Ubuntu 8.04 server and I cant get it going faster than 10-11MB/sec when copying to/from Windows XP. ...Someone once told me SAMBA will always be slow but I don't believe that to be true.

            Well, for SAMBA tuning, try (pdf):

            http://tinyurl.com/5rfjvu [tinyurl.com]

            Alternatively, if you don't need all the Win network support that SAMBA provides, you can install ext2ifs on the XP boxes and enjoy easy and fast access to your *nix volumes. Works well for me. Caution: Security issues...

            http://www.fs-driver.org/index.html [fs-driver.org]

            • Re: (Score:3, Informative)

              That's not Samba's fault. It's the TCP window size on XP that is the problem.
              I have at home a cheap server running Ubuntu and Samba with older drives that max out at 35-40 MB/s.
              Clients using OS X, Linux or Vista gets the full ~30 MB/s, but XP clients seem to max out at 10-15MB/s. After tweaking the TCP window size, I've gotten the speed up to 20-25MB/s.

          • Re: (Score:3, Informative)

            8-9 MB/Sec? Really?

            I was getting 45-60MB/Sec (basically drive speed) on an old dual-cpu 1Ghz Pentium 3. I had Linux and Samba and no GUI running on it.

            Try throwing a low-end dual Core 2 (like an E5200) in an Intel board with a recent ICH chipset. Choose some -quality- drives, like WD RE3s, and a good network switch, like an SMC 8508-T if you don't have something already. Load Ubuntu from the mini.iso, no GUI, only Ubuntu Server and Samba.

      • Re: (Score:3, Insightful)

        I hate to point this out, but 5G in 15 minutes is about 5 megabytes per second.

        GigE peak theoretical throughput is like 125MB/s.
        Consumer grade hard drives can average throughput in the 60MB/s range.

        If this is the fastest NAS solution they tested and CNET is thrilled with their blazing 5MB/s sustained throughput to the NAS - I don't want one.

        I'm going to have to suggest going with a cheapo 2.8GHz HyperThreaded P4 based 'server' w/ GigE, 1G of RAM and a few SATA drives on a RAID controller. Use whatever OS y

    • Re: (Score:3, Informative)

      I agree with the suggestion to avoid Buffalo. Someone else responded to this thread and said that their UI is good. My experience was just the opposite. The UI sucked and trying to get the thing integrated into Active Directory was a nightmare. The setup appears to be straight forward. Specify domain name, specify domain username/password combo. The reality of the situation turned out to be decidedly different and required numerous calls to tech support, firmware updates and a lot of headaches.