{"id":429,"date":"2009-12-05T00:52:38","date_gmt":"2009-12-05T07:52:38","guid":{"rendered":"http:\/\/kmwoley.com\/blog\/?p=429"},"modified":"2015-09-03T08:54:51","modified_gmt":"2015-09-03T15:54:51","slug":"raid-on-the-cheap-windows-7-software-raid-vs-inexpensive-fake-raid","status":"publish","type":"post","link":"https:\/\/kmwoley.com\/blog\/raid-on-the-cheap-windows-7-software-raid-vs-inexpensive-fake-raid\/","title":{"rendered":"RAID on the Cheap: Windows 7 Software RAID vs. inexpensive &#8216;fake RAID&#8217;"},"content":{"rendered":"<p>How good is Windows 7 software RAID? Is it faster or slower than a cheap hardware controller (aka \u201cfake RAID\u201d)?<\/p>\n<p>This past month I\u2019ve realized the simultaneous need to add more hard drive storage and decrease the probability of losing the data stored within. While I fully realize that <em>redundant hard disks<\/em> <em>are not a substitute for a <\/em><em>backup<\/em>, I do want to use a <a href=\"http:\/\/en.wikipedia.org\/wiki\/RAID\">RAID array<\/a> to reduce the likelihood that I have to restore that data from a backup. Also, I plan to put data on that disk that I would be annoyed to lose, but it wouldn\u2019t be the end of the world (i.e. music, movies, etc.).<\/p>\n<p>Disk drives are cheap (1.5TB is currently running around $100), but industrial-grade RAID controllers are not. Being that I\u2019m cheap, have an old (4 years is old, right?) system, and just need a bare-minimum amount of reliability I\u2019m looking for the cheapest way to add a couple of mirrored drives. That basically means that I use a \u201cfake RAID\u201d hardware controller or a solution managed completely by Windows. There are various pros and cons to each, but <strong>I\u2019ll tell you up front that Windows 7 software RAID was what I chose because of performance &amp; trust.<\/strong> After the break I\u2019ll get to the details as to why.<\/p>\n<p><!--more--><\/p>\n<p><strong>RAID Options<\/strong><\/p>\n<p>There\u2019s plenty of advice around on what type of RAID you should use for your particular application. I recommend this <a href=\"http:\/\/www.tomshardware.com\/forum\/43125-32-raid\">Tom\u2019s Hardware Guide write-up<\/a>, and <a href=\"http:\/\/www.pcguide.com\/ref\/hdd\/perf\/raid\/conf\/ctrlSoftware-c.html\">this one is also pretty good.<\/a> In general, hardware RAID is better than both software RAID and so-called \u201cfake RAID\u201d solutions which rely upon a combination of hardware and software. But hardware RAID is expensive and overkill for my needs.<\/p>\n<p>As someone who is not willing to spend the money on a hardware RAID solution, I wanted to determine the performance implications of choosing between the cheap RAID 0 (striping) and RAID 1 (mirroring) options available to me, along with the other advantages\/disadvantages of each option. If you really want to get into the pros and cons of the solutions below, check out:<\/p>\n<ul>\n<li><a title=\"http:\/\/www.techimo.com\/articles\/index.pl?photo=149\" href=\"http:\/\/www.techimo.com\/articles\/index.pl?photo=149\">http:\/\/www.techimo.com\/articles\/index.pl?photo=149<\/a><\/li>\n<li><a title=\"http:\/\/blog.taragana.com\/index.php\/archive\/which-one-is-better-software-raid-or-hardware-raid\/\" href=\"http:\/\/blog.taragana.com\/index.php\/archive\/which-one-is-better-software-raid-or-hardware-raid\/\">http:\/\/blog.taragana.com\/index.php\/archive\/which-one-is-better-software-raid-or-hardware-raid\/<\/a><\/li>\n<\/ul>\n<p><em>Option 1: Microsoft Windows 7 Software RAID<\/em><\/p>\n<p>Windows has built into the OS the ability to RAID disks (since Windows 2000, I believe). The biggest advantages are that it does not require special hardware or drivers as it is completely managed by the Windows OS. This is good because if your motherboard or hard disk controller goes out, you can put those same disks in another Win7 machine and not worry about if the hardware is compatible. Another advantage, if this is important, is that you can RAID at the disk volume level \u2013 the entire disk does not need to be dedicated to a RAID (so you can make good use of unmatched disks). I particularly liked that the management of the disks is built into the Windows \u201cComputer Management\u201d management console.<\/p>\n<p><em>Option 2: Hardware-Software RAID (a.k.a. Fake RAID)<\/em><\/p>\n<p>Hardware RAID is exactly what it sounds like \u2013 a special hardware controller card manages the disks to provide the striping and\/or redundancy. The key advantage of a full, dedicated hardware RAID is that it requires no software or drivers. That is not the case with \u201cfake RAID\u201d hardware cards that use a combination of special hardware and software to manage the disks. Still, hardware-software RAID should provide some performance advantage over full software RAID. <span style=\"text-decoration: underline;\">In my testing, however, I did not find that to be the case.<\/span><\/p>\n<p><strong>Performance Testing Methodology &amp; Setup<\/strong><\/p>\n<p><em>System:<\/em> ASUS P4P800-E Deluxe Motherboard (Socket 478, Intel 865PE),Intel Pentium 4 3.0 Prescott 3.0GHz 1MB L2 Cache, 4 GB RAM, Windows 7 Ultimate<\/p>\n<p><em>Drives:<\/em> Two Seagate Barracuda 7200.11 ST31500341AS 1.5TB 7200 RPM 32MB Cache SATA<\/p>\n<p>I used IOMeter (<a title=\"http:\/\/www.iometer.org\/\" href=\"http:\/\/www.iometer.org\/\">http:\/\/www.iometer.org\/<\/a>) to test each configuration using the same configuration. <a href=\"http:\/\/cid-f798959c19998e5b.skydrive.live.com\/self.aspx\/Public\/RAID%20Testing\/kmwoley%20iometer.icf\">My IOMeter configuration file is located here<\/a>. I ran 4 sets of tests; sequential read, sequential write, 70% sequential read + 30% sequential write, and 70% random read + 30% random write. For each test, 1GB of data was read or written in 256KB chunks. Each test was run twice to gain some (limited) measure of trust in the results.<\/p>\n<p>Each test was run on two different hard disk controllers that support RAID: the <em>Intel ICH5R SATA Controller RAID<\/em> that is built into my motherboard and a <a href=\"http:\/\/www.siig.com\/ViewProduct.aspx?pn=SC-SA4R12-S2\"><em>SIIG SATA 4-channel RAID PCI Card<\/em><\/a><em>\u00a0<\/em>&#8211; <a href=\"http:\/\/www.siliconimage.com\/products\/product.aspx?id=28\"><em>(Silicon Image Sil3114r5 Chipset)<\/em><\/a> &#8211; which I purchased for testing. The SIIG PCI controller was an <span style=\"text-decoration: underline;\">absolute piece of crap.<\/span> The included management software was buggy as hell on Windows 7, and the performance was atrocious \u2013 roughly 50% slower than the Intel controller in almost all the tests. This is to be expected, since it is a PCI card and doesn\u2019t have the advantage of being as tightly integrated into the processor\u2019s <a href=\"http:\/\/en.wikipedia.org\/wiki\/Southbridge_(computing)\">southbridge<\/a>. Plus Windows wouldn\u2019t build a RAID 1 on it so that configuration couldn\u2019t be tested. For that reason, I\u2019m not showing the graphs here but they\u2019re in the attached <a href=\"http:\/\/cid-f798959c19998e5b.skydrive.live.com\/self.aspx\/Public\/RAID%20Testing\/RAID%20Summary.xlsx\">Excel file<\/a> for the curious.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Results<\/strong><\/p>\n<p>Windows RAID performed just as well, if not better than, the hardware controller RAIDs tested and Windows always incurred the lowest CPU utilization. The results are a mixed bag, where there were some cases where Windows did somewhat better than the Intel RAID and others where the HW solution did slightly better. <em>The key take away from the performance results are that the speeds were all within a few MBps of each other<\/em>, which I consider to be in the noise, while <em>Windows used less CPU consistently<\/em>.<\/p>\n<p><a href=\"http:\/\/cid-f798959c19998e5b.skydrive.live.com\/self.aspx\/Public\/RAID%20Testing\/RAID%20Summary.xlsx\">All of the raw data is in this Excel file.<\/a><\/p>\n<p><em>Sequential Read Tests<\/em><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb1.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p><em>Sequential Write Tests<\/em><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb2.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image3.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb3.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p><em>Sequential Read\/Write Tests<\/em><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb4.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image5.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb5.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p><em>Random Read\/Write Tests<\/em><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image6.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb6.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image7.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2009\/12\/image-thumb7.png\" alt=\"image\" width=\"504\" height=\"304\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p><em>Supposedly <\/em>the main advantage of a fake RAID is that is should perform better than full software RAID, both in the disk transfer rates as well as CPU load. And that may be the case for some configurations, but I did not find that to be the case in my testing. Windows performed just as well as the \u201cfake RAID\u201d with a slightly lower CPU load. Given that I\u2019m more comfortable with the Windows management consoles than the software provided by Intel to manage their RAID, I chose to mirror my drives via Windows RAID 1.<\/p>\n<p><strong>Additional notes<\/strong><\/p>\n<p>I don\u2019t claim that your results will be the same as mine \u2013 I ran these tests because I was curious. If you disagree with the results, or have a different opinion, that\u2019s cool. I\u2019m not here to debate you. I just wanted to share my findings in the hopes that it will be useful for someone else in a similar situation. Please feel to comment if you get a different result or have experience. Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How good is Windows 7 software RAID? Is it faster or slower than a cheap hardware controller (aka \u201cfake RAID\u201d)? This past month I\u2019ve realized the simultaneous need to add more hard drive storage and decrease the probability of losing the data stored within. While I fully realize that redundant hard disks are not a &hellip; <a href=\"https:\/\/kmwoley.com\/blog\/raid-on-the-cheap-windows-7-software-raid-vs-inexpensive-fake-raid\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">RAID on the Cheap: Windows 7 Software RAID vs. inexpensive &#8216;fake RAID&#8217;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[238,237,239,240,118,236,243,242,119,241,193],"class_list":["post-429","post","type-post","status-publish","format-standard","hentry","category-geek","tag-compare","tag-fake-raid","tag-mbps","tag-mirrored","tag-performance","tag-raid","tag-raid-0","tag-raid-1","tag-review","tag-striped","tag-windows-7"],"_links":{"self":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":6,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":3270,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/429\/revisions\/3270"}],"wp:attachment":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}