Slashdot Mirror


What Sustained Disk Transfer Rates Do You Get?

Mr. Jackson asks: "What kind of disk transfer rates (MB/s) do people get in the real world when moving around large (100s MB) files? Either every machine in our building is mis-configured, or our notions about what we were getting are way off. I've tested half a dozen machines, mostly Win2k, some Linux, by just copying a large file and timing it with a watch. 8 MB/s seems to be about average for inter-disk copies. RAID 1 (stripped) got as high as 12 MB/s after fiddling with cache settings. RAID 5 was as low as 2 MB/s. We all thought the numbers should have been around 30 MB/s."

50 of 94 comments (clear)

  1. Copying from disk-to-disk, or over the network? by roachmotel3 · · Score: 2, Insightful

    We were shocked at some network file transfer speeds here -- if you are doing network copies and are shocked at how slow it is, make sure that your switch and your NIC agree about whether or not your connection is half- or full-duplex.

    Makes a HUGE difference.

    1. Re:Copying from disk-to-disk, or over the network? by ameoba · · Score: 2

      Actually what's shocking 'bout the network transfers on the new win2K servers we have at school is the lag. They'll receive the request for file access and pause for a few seconds before it completes the job. What makes this worse is that it's the only place we can write files to, and Visual Studio writes a lot of files when compiling.

      Once they get going, the tranfer rates are acceptable for a 100Mb network, as long as I'm not accessing machines that live across the 3Mb wireless bridge...

      --
      my sig's at the bottom of the page.
    2. Re:Copying from disk-to-disk, or over the network? by spongman · · Score: 2

      are the win2k servers on a domain? if so it might be that your domain controller is overloaded and the delay is authenticating the network request.

    3. Re:Copying from disk-to-disk, or over the network? by ameoba · · Score: 2

      I'd hope that the 1.1GHz machines we have as DCs could handle 30 people simultaniously.

      --
      my sig's at the bottom of the page.
  2. Mega-what? by itwerx · · Score: 4, Insightful

    What you're describing sounds about right, actually.
    Be sure you're keeping Mega-Bytes and Mega-Bits straight!

    1. Re:Mega-what? by Christopher+Cashell · · Score: 2, Informative

      There's 8 bits in each byte.

      --
      Topher
    2. Re:Mega-what? by joshuac · · Score: 2

      Usually :)

    3. Re:Mega-what? by 0x0d0a · · Score: 2

      I suspect from here on out. Too much inertia.

    4. Re:Mega-what? by 0x0d0a · · Score: 2

      Yeah...they were expecting a single hard drive to put through 30 megabytes a *second*? And on top of a filesystem, to boot?

      Maybe try with some Seagate Cheetahs, but your average consumer drive is not coming anywhere *near* 30 MBps.

    5. Re:Mega-what? by Transcendent · · Score: 2

      not everywhere

  3. Make sure to defragment by Mad+Quacker · · Score: 2, Interesting

    Sequential reads on my drives can go from 25-65MB/sec (maxtor and cheetah), if the file is heavily fragmented I've seen it drop as low as 5-10MB/sec. Not so bad on the 15Krpm cheetah because the access rate helps, but on the lowely 5400rpm maxtor fragmentation destroys read/write speeds.

    --
    "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    1. Re:Make sure to defragment by Mad+Quacker · · Score: 2, Informative

      http://www.seagate.com/cda/products/discsales/ente rprise/tech/0,1084,337,00.html

      There is no such thing as true sustained data rate, it will always peak at the outer side of the platter. Using Hdtach 2.61 the maximum is around 65, which slowly decreases to the low 40's on the inside. My maxtor 80GB (98196H8) drive gets 30MB/sec on the outer side of the platter, I might have highballed that number on the inside it goes to about 19MB/sec.

      Keep in mind that as platter density increases, and speed stays constant, transfer rate goes up. So a 5400rpm 80GB drive with 4 20GB platters will be slower than a 5400rpm drive with 1 80GB platter.

      --
      "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    2. Re:Make sure to defragment by Rick+the+Red · · Score: 2
      a 5400rpm 80GB drive with 4 20GB platters will be slower than a 5400rpm drive with 1 80GB platter.
      Really? I'd have thought that writing the data four times faster would more than make up the difference (they do write all eight heads at once, don't they?).

      --
      If all this should have a reason, we would be the last to know.
    3. Re:Make sure to defragment by cperciva · · Score: 2

      they do write all eight heads at once, don't they?

      Nope. Actually there were some drives which did this a long time ago, but nothing recently.

      The difficulty is that the platters expand due to heat, so it isn't possible to follow "parallel" tracks on different platters unless you put a separate actuator onto each arm; at that point, you've duplicated so much electronics that you might as well just get a second drive.

    4. Re:Make sure to defragment by ivan256 · · Score: 2

      I don't doubt your numbers necissarily, but I want to know how you got them. I have a hard time believing that they are representative of real world performance. Nobody uses their disk as a contiguous string of bits, they put filesystems on them. My 7000 RPM disk is capable of giving me 30MB per second, but I never actually see transfer rates like that in practice. Granted I am using 18GB disks, but I really see like 10-15MB/second on average depending on the block size. Are you doing raw I/O, or is there a filesystem and a commonly used utility involved here?

    5. Re:Make sure to defragment by 0x0d0a · · Score: 2

      The Norton Mac defragger did do this. System files were on the outside.

    6. Re:Make sure to defragment by 0x0d0a · · Score: 2

      You *do* realize that a lot of the data involved has to be coming from a cache to get those kind of numbers? That this is *never* going to be the case when copying, say, a movie file?

    7. Re:Make sure to defragment by 0x0d0a · · Score: 2

      Just because the drive reports that the cache is off doesn't mean that it is. As a matter of fact, there was a bit of a problem when drive manufacturers tried pulling this with write caching instead of just read caching a while back, resulting in potentially lost data.

  4. I shan't reply. by tps12 · · Score: 2, Funny

    A gentleman does not discuss his sustained disk transfer rates in public. I assure you, however, that they are adequate for my purposes.

    --

    Karma: Good (despite my invention of the Karma: sig)
  5. Some real numbers.. by Outland+Traveller · · Score: 3, Informative

    I've benchmarked our various disk subsystems heavily.

    Once you get exhaust the on-disk cache and the filesystem cache, the raw disk access speeds are visible. Here's what I've found for Seagate ATA-IV 80MB drives:

    Sustained Sequential read: 40MB/sec
    Sustained Sequential write: 17MB/sec

    That was benchmarked on a 2Gz dual Xeon system under linux with nothing else running, and IDE tuned optimally. So, real life results are going to be worse.

    It would not surprise me to see most consumer level systems with sustained speeds on a single disk under 10MB/sec. Most systems that use IDE drives don't have the DMA/ATA mode settings tuned aggressively.

    Most systems with RAIDs have crappy implementations. Get a hardware RAID controller with its own processor and a large-bandwidth backend bus (ie, SCSI-160 or higher) and with lots of onboard battery-backed memory so you can safely turn on write caching.

    1. Re:Some real numbers.. by Outland+Traveller · · Score: 2

      Replying to my own post with extra information for the benchmark-interested..

      The benchmarks were performed with IOzone on top of an ext3 file system. Write caching for the IDE drive was DISABLED, which adds latency to write calls and is somewhat responsible for the lower scores.

      I've learned the hard way that leaving the write caching on (the default setting!) on an IDE drive can hose even a journaled filesystem during a system hang or sudden power loss event. Does anyone know if there is any way around this problem, other than disabling write caching?

  6. Disk transfer rates, my experience by Glonoinha · · Score: 2, Informative

    Massive databases or file size large :
    On my fairly new Dell Latitude C800 (30G OEM IDE drive, PIII/1GHz laptop) I have seen that sequential database reads with a little data crunching runs around 16 megabytes per second.
    Change that to read/write access (roughly 50/50) and it drops to 1.5MB/s read, 1.5MB/s write (total, 3MB/s).

    On my desktop, two IBM 9.1G u160 SCSI drives in a RAID 0 array using a American Megatrend MegaRAID card (428) and 32M of RAM for read/write cache the sequential read access only peaks around 10MB/s, but in read/write access it is something like 3MB/s read, 3MB/s write for 6MB/s combined.

    The SCSI drives were rated u160, but my card was only a 20 (68pin U/W, hell I forget what the 428 is rated for but I think 20) but even in a RAID 0 array it wasn't going to go any faster than 10MB/s peak sustained read.

    If the file sizes were less than 16M, the writeback cache on the SCSI RAID array skewed the benchmarks bigtime, access times were almost as fast as ramdrive. Goes REAL FAST.

    On a regular IDE drive, I would be insanely happy with anything better than 20MB/s unless you were doing some serious transaction based computing.

    If you have to get a stopwatch out to decide if one is faster than the other ... they are the same speed.

    --
    Glonoinha the MebiByte Slayer
    1. Re:Disk transfer rates, my experience by gbnewby · · Score: 4, Informative
      This topic is near and dear to me....truly "news for nerds, stuff that matters."

      My application is for information retrieval, I'm using some software that utilizes BerkeleyDB files at the back end. I spent the last week trying to figure out why I wasn't getting better throughput, and eventually figured out it's related to BerkeleyDB's handling of lots of tree duplicate pages. But that's not why I wanted to post.

      One thing people didn't mention: The file system. The file system can make a big difference. For larger files, think about ext2 or XFS. For lots of small files, think ReiserFS. ext3 does journaling and is supposed to have comparable throughput. There's a lot of information out there about filesystems, including a filesystem HOWTO at ibiblio.org. Pick the right filesystem for your application.

      Here's what I found. I was copying an 8GB file back and forth (this was one of my DB files; yes, it was sparse, I used "cp --sparse=always"). This was on a Dell 530 with dual 1.7Ghz Xeons, 2GB of PC800 RAM, an Adaptec 39160 controller (U160 SCSI) and JBOD (just a bunch of disks=no raid). Linux kernel is 2.4.18-64GB-SMP on a SUSE 8.0 distribition. The experiments were between different drives on separate channels on the same controller. The drives are 73GB 10KRPM Cheetahs.

      I copied the 8GB file and a few other multi-gig files, and used "vmstat" to track progress. This is NOT the way to benchmark for files of just a few meg or even a few hundred meg, because it only samples every few seconds. But for long-running processes, I would "vmstat 10 10000" (resample every 10 seconds; 10000 times) and watch as the files copied in the background on a quiescent system. The "bi" colums is blocks in (typically 4KB blocks, but you can tune this on your system); "bi" is blocks out.

      I did XFS to ext2 and back again. I also copied off a ReiserFS drive.

      Both XFS and ext2 were comparable for reading & writing. They peaked at about 35,000 bi or bo. 35,000 * 4096 bytes per block =~ 143MB/second. In other words, I was getting close to the max transfer rate for the SCSI bus (160MB/sec per channel). Long-term average was closer to 25K blocks or ~100MB/second.

      With a ReiserFS, either for reading or writing, the pattern was that it could peak at ~18K blocks bi or bo, but generally was far lower, on the order of 3000-8000 (i.e., sustained rates of about 12-35MB/sec). What seemed to be happening was the other drive (XFS or ext2) would outpace the ReiserFS' ability to read or write, then wait. If you read the ReiserFS info, they admit this is part of the design (ReiserFS is *great* for loads of small files, really really great). For longer files, they end up needing to basically chain it across a lot of blocks in their B-tree.

      I know the question was about IDE, not SCSI, but I'm sure that the filesystem matters for IDE as well, especially if very large files are involved. If you're working with large files and are willing to lose a percentage to block roundoffs, some filesystems let you choose a block size > 4096 (though I think Linux ends up chunking in 4K blocks anyway).

  7. Fun I/O realities. by ivan256 · · Score: 3, Interesting

    From your average on board IDE controller without any special configuration, the numbers you're seeing look about correct. The fastest you can really expect to get with any consistancy is like 15mb/sec, and that's with tuned interfaces AND tuned I/O. With a high quality IDE controller, or a reasonable SCSI controller, and fast discs (10,000RPM) you can get 50-75% better then that. The fastest I/O I've seen in linux was with 2 gigabit Fibre Channel, and an array of 15 striped 15,0000 RPM disks. I managed about 120MB/sec, and that was only with certain block sizes. The average was still in the 60MB/sec range.

    Bottom line, with a 7000 RPM IDE disk, and a regular cp command using a 4kB or so block size, you're probably not going to get better then 10MB/second. Disks are just too slow.

  8. Fast! by Karma+Farmer · · Score: 2, Funny

    My sustained data rate goes up to 11.

  9. And don't forget..... by Drew+M. · · Score: 2, Informative

    /sbin/hdparm -d1 -c3 /dev/hd[abcdefgh] is generally safe for most IDE chipsets and could very easily double or triple your transfer rate.

    I get about 35MB/s copying between my IDE IBM 60G drives

    1. Re:And don't forget..... by chiddiscokid · · Score: 2, Informative

      There is a good O'Reilly article that covers tuning I/O with hdparm

  10. Solid State vs. Platter... by OneFix · · Score: 2

    If you're looking for nothing but speed, try solid state...I have seen file servers that use solid state. Yea, I guess you could try and find the fastest hard drive on the planet, but if you really NEED higher transfer rates, nothing beats a drive from one of the manufacturers like Curtis or Imperial.

    But, most of these solutions are expensive...you could try to keep your costs down by just adding more memory to your systems and using a chunk of it for a RAM Drive (a 1GB RAM Drive on a modern system should be more than possible).

    Once you've experienced what it's like running your OS off of a RAM Drive, you'll never want to run off of physical media again.

    Ok, so that's what's good about it, now what's bad...well, you should still keep backups on physical media if you use the RAM Disk method...You should also purchase a UPS with power management features...And if you wan't a better solution, go with a much more expensive Solid State Drive.

    1. Re:Solid State vs. Platter... by OneFix · · Score: 2

      Really? Well, my intention was to point out the use of a RAM Drive. And since RAM is very cheap now (under $100 for 512M of Mid-Range DDR) and since some modern motherboards will take over 2GB of RAM, it's not too hard to figure this one out...

      However I actually like the Amiga's RAM drive the most...besides the RAD Drive (a RAM Drive that survives reboot and can even be booted from)...the Amiga's RAM drive dynamically allocated the required ammount of RAM to the drive...never too little...never too much...SO it just made sense to keep the RAM Drive mounted because if you weren't using it, it wasn't taking barely anything.

      Should we start naming the things that we can do with a 1GB RAM Drive?

      - Downloads don't fragment the Hard Drive
      - You can burn ISOs directly from RAM
      - You can put your entire OS on your RAM Drive
      - Use it for log files and caches
      - The uses are endless

      Consider the cost of 1GB of RAM (~$200) and think of it as investing in a drive that is faster than any drive even under development...not even SCSI RAID can come close to the speed that you'll see from a RAM drive...

  11. Not to flame but.... by Mad+Quacker · · Score: 2, Informative

    Are you kidding me? That's why we have ATA/133 coming out, because IDE drives are getting that fast, oh wait, that must be 133Mbits/sec (*sarcasm*) (yes people have told me this)

    Try turning on DMA, you absolutely _need_ DMA turned on for modern drives, PIO Mode 4 maxes out at 16MB/sec with 100% cpu utilization, PIO Mode 5 isn't official and will most likely break your hardware. After you turn on DMA you can set your interface speed at 16/33/66/100/133MBYTES/sec.

    I hate to repeat myself but here are the Specs for ST318452LW, Cheetah x15

    Internal Transfer Rate (min) 548 Mbits/sec
    Internal Transfer Rate (max) 706 Mbits/sec
    Formatted Int Transfer Rate (min) 51.8 MBytes/sec
    Formatted Int Transfer Rate (max) 68.1 MBytes/sec
    External (I/O) Transfer Rate (max) 160 MBytes/sec
    Avg Formatted Transfer Rate 61 MBytes/sec

    --
    "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    1. Re:Not to flame but.... by ivan256 · · Score: 3, Interesting

      I don't need a lecture about how to configure my system to use DMA, I write I/O device drivers for a living, and I'm fairly sure I know how to use them.

      Those specs you give are great, but the ST318452LW is a 15,000 RPM SCSI disk, not a 7000 RPM ATA-133 disk. Throw a filesystem on there, and do I/O in 4kB or smaller chunks, and you'll see 35MB/sec, which is exactly in line with the numbers I gave in my post. Sure you can get 61MB/sec average with that disk if the only thing you ever do is something like "dd if=/dev/sda of=/dev/null bs=4096k", but that's not a real world type use of a disk, is it?

      Now, take your 160MB/sec interface, and make it 133MB/second, make the spin rate of your disk half of that, and decrease your bit density, and you'll take another 60% off that speed. We're back down in the 10-15MB/second range that I was mentioning. This isn't rocket science.

    2. Re:Not to flame but.... by lindsayt · · Score: 2

      Ahem "Mad Quacker" but ATA/133 has a theoretical burst limit of 133 MB/sec. That is extremely theoretical, and since most consumer boards are not built to maximize performance on the interface, the problems are compounded. A consumer-grade 7200RPM disk connected to a consumer-grade controller built in to a consumer-grade motherboard on a home-built computer with regular ribbons is extremely unlikely to be capable of reaching a sustained rate above 15MB/sec, even if only one disk is connected to the controller and the controller is entirely alone on its PCI bus (not a likely situation).

      Besides, the ST318452LW disk that you quote is a Ultra-160 disk with a 15,000RPM spindle - it's not even roughly comparable to a 7200 RPM IDE disk. Even there you'd have to have everything tuned to perfection, with a very capable SCSI card and good distribution of devices on your PCI bus to get 61MB/sec in realistic random writes of varying sizes in a linux or windoze OS.

      Remember, there's a huge gap between the theoretical limits and the realistic expectations of hardware.

      --
      I did not design this game/I did not name the stakes/I just happen to like apples/And I am not afraid of snakes-AniD
    3. Re:Not to flame but.... by dattaway · · Score: 2

      extremely unlikely to be capable of reaching a sustained rate above 15MB/sec,...

      Am I reading this correctly? I bought a 160GB drive from compusa a few weeks ago that included a ata133 card for my old P120 throwaway Compaq. I'm getting a sustained 20MB/sec copying /dev/zero into a file. Is this the kind of transfer rate you are talking about? My 6 month old toshiba laptop has exactly the same performance. Both are running an untuned gentoo install, but both redhat and mandrake with a simple hdparm tweek did the 20MB/sec too.

    4. Re:Not to flame but.... by 0x0d0a · · Score: 2

      (a) They're talking about megabytes (MB) not megabits (Mb), an (b) if you're doing straight file writes they're going to RAM and will be written from the buffer cache later.

    5. Re:Not to flame but.... by adolf · · Score: 2

      Odd.

      On a ~4-year-old K6-2 350 with 64 megs of RAM, running FreeBSD and default IDE parameters, I get 19 megabyte-per-second I/O on the 30 gigabyte, 5400rpm (pre-Quantum) Maxtor hard drive it has, according to bonnie with a 500 megabyte test file.

      bonnie, for the unaware, is a benchmark written specifically to eliminate an operating system's buffer/cache from the equation, and does well at this task as long as you specify a test size which is significantly larger than system RAM (or whatever else the machine can use for caching).

      Therefore, a 500 meg test on a 64 meg PC is a fine measure of sustained throughput. It also conducts its testing at the filesystem level, and thus presents a valid measure of real-world performance in a cross-platform fashion - including disk fragmentation and other factors that really do slow things down in real life.

      We'd all be doing ourselves a favor if we used bonnie for such discussions of this sort. It's free, C, and easy to compile wherever things can be compiled.

      No idea what transfer mode things are happening at, except that it can't possibly be any faster than DMA33, as DMA66 and its funky 80-wire cable hadn't yet reared its ugly head toward the world.

      Cables are plain old 40-conductor jobs which came with the generic, bargain-hunter motherboard.

      Don't tell me I'm just lucky, here. Or that this is an isolated event.

      And don't tell me there's such a thing as a professional-grade IDE anything. It's all trash. But it's fast, cheap, and demonstrably has been for years.

  12. Tuning Can Make a Big Difference by ScottG · · Score: 4, Informative
    At least on IDE drives, using the hdparm tool can greatly improve performance of modern drives. I found my throughput went from 3 MB/sec to 22 MB/sec with just a few tweaks.

    Most distros use very conservative settings for the IDE interfaces which will work with just about any old drives, but do not take advantage of more modern hardware. hdparm allows you to activate those advanced features.

    There is a nice write-up about using hdparm here: http://www.oreillynet.com/pub/a/linux/2000/06/29/h dparm.html

    Of course, all this only applies to Linux boxes.

    --
    Hey, who else could go for some flapjacks right now?
    1. Re:Tuning Can Make a Big Difference by ywwg · · Score: 2

      you can also really fuck things up this way. be _careful_, and just remember, if you're getting 18m/s already, don't screw around, it's fine.

  13. Use more disks & the RAID that performs best ( by netringer · · Score: 4, Informative
    The bottleneck is the design of the mechanical disk. You can minimize the bottlerneck by having more disk spindles handle the I/O.

    As you've found out it does matter which RAID scheme you use. RAID 0+1 will outperform RAID 5 substantially.

    Think spindles. Because each disk has only one spindle, the disk head can only be over one given track at any instant. If you want the heads to nearer to your where your data is stored you want to have more heads. With RAID 1 your read or write request can be handled by more than one disk spindle. That gives you the best performance.

    To get more spindles, use as many disks as practical. I've had some long conversations with my co-workers that now that disks are really cheap it doesn't matter that RAID 1 "wastes" half the disks. It does matter that disk I/O is a bottleneck and more disks will help ease that bottleneck..

    References:
    "In general, when cost is no object, RAID 1 or RAID 0/1 provides the best overall performance. Since striping spreads the I/O load across multiple disks, RAID 0/1 has the best overall performance characteristics of any RAID option. However, if you know ahead of time that the proportion of writes to disk is low, you can fall back on a less expensive RAID 5 configuration. In addition, if there is adequate battery-backed cache memory in the configuration, you may be able to support a moderate amount of disk writes under RAID 5. But even with large amounts of cache, a heavy write-oriented workload is likely to cause performance problems under RAID 5."
    http://www.oreillynet.com/pub/a/network/2002/01/18 /diskperf.html

    To optimize your file layout, follow these...rules:
    1. Use RAID
    2. The more disks, the better"
    http://www.swynk.com/friends/israel/optimaldisk.as p

    "If your SQL Server is experiencing I/O bottlenecks, consider these possible solutions: Add more physical drives to the current arrays. This helps to boost both read and write access times. But don't add more drives to the array than your I/O controller can support.
    http://www.sql-server-performance.com/fixing_bottl enecks.asp
    --
    Ever dream you could fly? Get up from the Flight Sim. I Fly
  14. Linux tip: use hdparm by Adrian+Voinea · · Score: 2

    I used to have this line in my rc.local:

    hdparm -m16 -X66 -d1 -c3 -u1 /dev/hda 1>/dev/null 2>/dev/null
    hdparm -m16 -X66 -d1 -c3 -u1 /dev/hdb 1>/dev/null 2>/dev/null

    You can see what that means with `man hdparm`.
    That command would speed up my hard drive from 3mb/s to a 20mb/s transfer rate.

    The new KT333 chipset(uata 133) I use doesn't need hdparm to set the device mode(make sure you use 2.4.19) and transfer between two hard drives on different controlers is about 20mb/s. The lowest I got was 13mb/s...
    Hope this helps.

  15. RAID intricacies by photon317 · · Score: 5, Informative


    On RAID technologies, speaking in general terms assuming vendors do a good job of implementing it, here's a summary:

    RAID 0: Pure striping, maximum performance, no redundancy. Cost is the same as concatenating disks to get the space you need.

    RAID 1: Pure Mirroring, full redundancy - reads can be as fast as a stripe of the same width as the number of mirrors (2-way stripe, 2-way mirror, same read speed, etc) if they do round-robin reading. Writes happen in parallel, and can be slower unless you've got the headroom and the disk spindle is the only write bottleneck. Cost is double a simple concat or stripe.

    RAID 2-4: Sometimes used for very special purposes, but generally ignored by all because one of the other raid levels does the same thing better. I've seen RAID-3 recently, there are occasionally valid uses for like 0.01% of people out there.

    RAID 5: You get some data redundancy to survive a single disk failure, but you don't pay the double disk cost of full mirroring. It's an N+1 type of configuration. Speed is generally the slowest compared to everything else.

    Now on top of those very basic things, there are other factors. Because RAID-5 is cheapest disk-wise, and (IMHO) because it has the highest number of the well-standardized RAID levels, RAID-5 is very popular. To make up for RAID-5's abysmal performance, people use hardware RAID-5 accelerators with cache and whatnot. The problem there is that the controller can add significant cost (in some cases enough to have paid for a full mirror in plainly controlled disks), and that the RAID controller itself can become a single point of failure.

    At my office (where a lot of bad decisions get made every day and I have to eat it) they built a Veritas cluster of Sun machines around a SAN. The idea was that no node was a single point of failure because of clustering (with veritas allowing all nodes to reach the SAN storage). However, the SAN storage was a big fat RAID-5 array with redundant controllers/disks/yadda/yadda. Of course, as much as the vendor tries to bury it in the fine print, the RAID-5 hardware is a single point of failure. Sure enough, our very reputable vendor's "redundant" hardware raid-5 controller did fully fail one, knocking our data offline for hours.

    For the same cost as the expensive raid-5 array and the disks in it, we could have bought two independant JBOD arrays (just a bunch of disks, no raid controller), placed them on the redundant SAN, with the redundant clustered machines doing software mirroring to the disks, and been truly free from single points of failure (assuming we do all the details right - that the mirrors are always across seperate arrays, and that the arrays are on seperate power, etc)..

    I've spent a lot of time on these problems, and it is my strong belief that the optimal solution for almost all normal situations where you want high availability is to do software mirror/stripe (1+0). Be careful that there is a difference between 1+0 and 0+1 when the 0 part's stripe is more than two disks wide... Consider two JBOD arrays of 5x 36G disks each...

    In 0+1, you first stripe each array into a 180G stripe, then mirror the two together. When your first disk fails, nothing so mcuh as hiccups. However, of your remaining 9 disks, if any of the 5 disks in the array opposite the one with the first disk fails, you will lose data. Thus there's a 5/9 chance that the second disk failure causes data loss.

    In 1+0, you first mirror each disk from the first array with its partnet in the second array. You then take your 5 36G mirrors and stripe them together for your 180G. Again, first failure, no hiccups. If a second disk fails, in order to cause data loss it must be the partner of the first failed disk - any of the other disks can fail and you still lose nothing. So the chances of data loss on a second disk failure are now 1/9 instead of 5/9.

    --
    11*43+456^2
    1. Re:RAID intricacies by lewiscr · · Score: 2, Interesting
      If you want more info, I googled a good site. The explainations/advantages/disadvantages are mediocre, but the diagrams of disk blocks are worth 1000 words.

      RAID Info

      It took me a while to figure out, but the numbers ("0123456710530+1") in the upper right hand corner are links to different RAID level explainations.

      It even explained RAID 2, which I haven't seen before.

  16. 247 MB/sec *sustained read* by MetricT · · Score: 2, Interesting

    We just build a 2 TB fileserver using two 3Ware 7850 controllers, with eight 160 G Maxtor drives per controller. Each controller has RAID 5 across all it's drives. We split each RAID 5 partition into "inner" and "outer" partitions, and striped inner-to-inner and outer-to-outer using software RAID 0. Bonnie++ benchmarks show the "outer" array is getting > 241 MB/sec sustained read, and > 81 MB/sec sustained write.

    Click here for the Bonnie++ results

  17. IDE vs. SCSI by mbyte · · Score: 2, Offtopic

    Bonnie++ Tests with U160-scsi and IDE:

    IDE promise ATA hardware raid, 2x 80 gb maxtor:
    Version 1.02c ------Sequential Output------ --Sequential Input- --Random-
    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
    Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
    cotopaxi 1G 16356 99 34258 41 9183 7 14602 89 50924 16 351.6 1

    thats 50 mb/sec.

    now 3x fujitsu 15k rpm scsi-u160 drives, running software raid5:

    Version 1.02b ------Sequential Output------ --Sequential Input- --Random-
    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
    Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
    stromboli 3600M 9777 84 24733 68 18517 68 11916 98 53297 65 378.1 3

    Again, around 50M/sec ... but don't need to tell you that the 2x80 gb maxtor were quite a lot cheaper ;)

    1. Re:IDE vs. SCSI by obi · · Score: 2


      Well what are you comparing? Raid0 versus Raid5?

      You've got to be kidding! there's a good deal of overhead involved with RAID5.

      You're comparing apples and elephants.

  18. On an ExtremeRAID 1100, 2x10k 36 gig disks: by Wakko+Warner · · Score: 2

    time dd if=/dev/zero of=largefile2 bs=1024k count=1024
    1024+0 records in
    1024+0 records out

    real 0m10.015s
    user 0m0.010s
    sys 0m7.810s


    This gives me about 107MBytes/second for writes.

    The RAID-1 system drive is significantly slower.

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  19. 'Informative", moderators? by Wakko+Warner · · Score: 2

    All this post did was show me that hardware RAID is faster than software RAID. Well, no duh!

    Let's not compare apples to Buicks.

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  20. Re:Lies, Damn Lies and Benchmarks by Wakko+Warner · · Score: 2

    Running raid0 gave about 110MB/s sustained (at best) with an IO mix of 2/3 reads with 50/50 random/sequential mix. I believe in that case it was my 1Gb FC connection that was the bottleneck.

    It would have been. I've seen similar performance over a single FC channel (through a Brocade switch) to a Hitachi SAN. You'll need more FC cards if you really want to do performance testing. (The added failure protection is nice too.)

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  21. 6th-gen cheetah by danpbrowning · · Score: 2

    ~60/second sustained on a 6th-generation Cheetah. They're the fastest, IMHO (and most expensive).

    --
    Daniel
  22. Maxtor 160Gbyte drive results by aibrahim · · Score: 2

    I use IDE disks for video editing, and if I don't have appropiate data rates I get errors. So I am very meticulous. I do a mix of uncompressed video and DV25 work. Uncompressed video requires 23Mbytes/sec (NTSC) DV25 only requires 3.5 Mbytes a second, per stream. Frequently in editing or compositing I will use up to 9 data streams.

    My IDE drives can all sustain over 19.5 Mbytes/sec for reads in single configuration.

    I benchmark my sytems with Matrox Disk Benchmark provided with Matrox video editing equipment. Matrox Disk Benchmark writes random data to the disk Typically the generated data set runs very large, usually in the tens of Gigabytes. With such large data sets any cache is completely negated, be they OS or hardware.

    I ran a 16.5GB test for my reply, and just for giggles kept an instance of Winamp running as well as playing two separate full resolution NTSC video streams and surfing the web while the test ran.

    Here are the results for a Maxtor 160GB DiamondMax D540X 4G160J8 drive in a single configuration. The test platform is a dual Pentium 3 750 with 512MB RAM and Windows 2000 service pack 2. At the time of the test the drive had 53.22GBytes of 152.66 Gbytes free. Data is in MB/sec. The three measured values are: minimum/average/peak.

    Single Write
    8.43/30.28/39.96

    Single Read
    19.56/27.12/39.96

    Dual Read
    8.43/11.89/16.87

    I expect that the number that should interest you most is the average (middle number), though for my application the minimum data rate is critical.

    Aside from defragmenting drives regularly I do no special maintenance.

    I hope this information is of utility.

    --

    Don't post innacurate information
    If you do, I swear by my pretty floral bonnet I will end you.
  23. Re:Disk transfer rates, my experience-mixed. by gbnewby · · Score: 2

    Yes, that's exactly what I have. Lots of people already do this with their Linux system -- using ReiserFS, jfs or ext3 for their data partition, likely ext2 (maybe mounted readonly) for /boot, etc. For filesystems storing large files, ext3, xfs, etc. perhaps tuned for larger block sizea or whatever.

    You can also use RAID judiciously. Depending you your anticipated needs, different RAID configurations (including software RAID and RAID with IDE drives) can boost read or write performance (sometimes both, depending on the pattern, size of files, etc.).

    In days of large drives, avoiding the fsck delay at boot is critical. On the system I described, it used to have ext2 filesystems on all 13 drives (11x73GB + 2x18GB). Booting after a crash could take hours if fsck needed to fix things. With ReiserFS or another of the journaling filesystems, it's nice and quick.