Raid stripe size – what does it mean and what is the optimal stripe size?

March 24, 2008 at 1:27 am 46 comments

It has been a long while since last time I updated the blog. However, as I am now in the process of upgrading my work computer (actually building a new one), a few interesting points have appeared, where this post is about the first one.

I decided to go for to Samsung f1 1TB disks in a raid 0 setup. The Asus P5E3 motherboard uses the Intel ICH9R controller. After booting up, and entering the ICH9R configuration utility, I had to fill in the stripe size – it defaultet to 128kB. This started a long and interesting web search after what is the optimal stripe size. Interesting enough, different sites, including anandtech and Toms hardware had completely different advices.

Raid 0 means that data is divided among the two disk, and the stripe size in a raid 0 configuration is the size smallest allocation unit on each disks. After selecting the stripe size in the ICH9R controller it is impossible to change without destroying all the data on the disk. So If one decides to go for 128kB, the first 128 kB of the total 2GB disk is situated on disk A, and the next 128kB on disk B, etc. It has no connection with the filesystem allocation size (cluster size), and the stripe size is invisible to the operating system.

There are basically three different factors that determines the optimum stripe size.

The first, and probably least important, is that the windows swap file always uses 4kB cluster allocation units. Given that this file is very much in use, you will be able to almost double the swap file write and read speed as you can execute two 4kB writes at different adresses at the same time (random access) – if the stripe size is 4 kB.
The second factor is that reading and writing sequentially large data files (for example copying, downloading, video editing, …) benefits from a large stripe size. Anandtech had examples of up to 1024 kB.
The third point is tha random access of small chunks of data benefits from less IO access time – that is how fast i takes from a request for a read/write is started to it actual starts. The more disks you have in a raid 0 setup, the slightly larger will the access time be.

In actual life, your choice of stripe size will depend on what type of user you are.

So, in the end, adriansrojakpot recommended 4kB or 8kB, Anandtech recommended “as large as possible”, and Toms Hardware, having the most throughout review, recommended 64 kB (but had a big flaw late in that article about large stripe size vs. file system cluster size).

My solution? It turned out that the ICH9R controller does not support more than 128kB, and I decided to go for that. However, the ICH9R support “Intel Matrix Storage” that allows for dividing up the disks in two raid 0 solutions, so I went for 1843 GB with stripe size 128 kB, and then a small rest of 20GB with stripe size 4kB. After installing Vista I moved the swap file to that 20 GB partition, so that I could get the best of two worlds!

Intel Matrix Storage View

In the end, the solution gave a top score 5.9 in windows experience index, and this image shows how it looks like in the image storage console view.

Entry filed under: equipment, operating systems, Uncategorized. Tags: , , , .

Cleaning up 10 years of outlook history Error 2738: Could not access VBScript run time for custom action

46 Comments Add your own

  • 1. proformance increase with raid setup? - TweakTown Forums  |  September 7, 2008 at 5:33 am

    […] AnandTech – Different stripe size tests – 4 Disk Software RAID 0 (x36-dq6) on Vista Ultimate 64 Raid stripe size – what does it mean and what is the optimal stripe size? Jons Techbits The Definitive IDE RAID Optimization Guide Recommendations for RAID 0 Stripe Size – TechSpot […]

  • 2. davemc  |  November 17, 2008 at 8:49 pm

    Ahh yes, the joy of RAID 0. There is absolutely nothing funner than riding that razor edge of double disk drive failure taking out all your data. Did it once but never again. RAID 1 or 1-0 from now on.

  • 3. EZ  |  July 20, 2009 at 5:08 am

    RAID is not a -backup- solution. No matter if you are running RAID0, RAID1 or RAID0+1, it’s no substitute for a good backup strategy.

    I run my primary OS in RAID0 and backup my data daily and the entire system is backed up to Windows Home Server nightly.

  • 4. Anonymous  |  November 25, 2009 at 3:41 am

    However, the ICH9R support “Intel Matrix Storage” that allows for dividing up the disks in two raid 0 solutions, so I went for 1843 GB with stripe size 128 kB, and then a small rest of 20GB with stripe size 4kB. After installing Vista I moved the swap file to that 20 GB partition, so that I could get the best of two worlds!

    How did you do this? I know how to make a raid 0 volume, but how did you divide the disks into 2 volumes with different stripe sizes?

  • 5. Darryl  |  January 3, 2010 at 5:40 pm

    One thing the Intel Matrix docs don’t make clear: if you mix different RAID types on the same physical disk (for example, a small RAID0 volume and a larger RAID1 volume), you cannot migrate either volume to RAID5 (or any other RAID type) later. The docs say you can migrate from 2-drive RAID0 or RAID1 to 3-drive RAID5, but they fail to mention that if you are using more than one RAID type already, you can’t migrate either type.

    To answer comment #4, if you used the entire physical drive for a single RAID volume, you can’t change it, but if you partitioned it (using Cntrl-I on boot) into two or more volumes originally, each volume can be a different RAID type and stripe size. But as I mentioned, mixing RAID types on the same disk array limits your migration options later on.

  • 6. another raid 0 question - Overclock.net - Overclocking.net  |  January 7, 2010 at 11:30 pm

    […] Larger stripe size usually implies better performance if you're dealing with larger files. http://jonstechbits.com/2008/03/24/r…l-stripe-size/ If you're running Intel ICHxR RAID controller, Windows 7 will have the necessary RAID drivers. If […]

  • 7. Cestbienmoi  |  January 22, 2010 at 5:18 pm

    If you have a large drive and you do not fill all data,
    put the swap file on the second partition at the end of disk is not the best choice, because the heads of hard disk need to move a lot of more.
    Better to use a second disk for swap 😉

    A lot of people forget there is mecanical component in hard disk. An application server+sql server works faster on 2 independant disk than on RAID 0 disk (of course now all people use SSD for database ;))

  • 8. thardis  |  April 9, 2010 at 12:14 am

    Hi Cestbienmoi,
    I absolutely agree with you.
    I am setting up my second RAID matrix this month.
    I’ve build quite cheap set-up for about £40
    I got 4 SEAGATE Barracuda 7200 80Gb HD Drives for £30 after few minutes of scanning local computer fair, I also got a 2x SATA PCI RAID Controller Card for £7.50.
    I’ve spend last couple of days trying to set up a correct configuration as quick as possible.
    I have set C: with windows installation on first 2 HDD connected in RAID 0 (Data Stripping for Performance), then the third disk 40GB for Paging File, and lastly one 40Gb HDD for System Backup (scheduled each night) – also I have external 500Gb USB 2.0 HDD set up as my Documents Folder for Work-In-Progress files.
    I have tested the entire computer system with PassMark Performance Test and the entire PC was getting Score of 341 each time.

    With the RAID 0 and Block size set to 4Kb:
    This PC Score for HDD – 316.0
    With the RAID 0 and Block size set to 16Kb:
    This PC Score for HDD – 482.1
    With the RAID 0 and Block size set to 64Kb:
    This PC Score for HDD – 488.8

    The card setting for minimal block size was 4Kb ranging to 64Kb.

    I hope this was useful to someone as I could not find answer to this question anywhere else.

    Comments on correctness of such set-up are welcomed as I am unexperienced user.

    Many thanks

  • […] http://jonstechbits.com/2008/03/24/r…l-stripe-size/ __________________ Quote: […]

  • […] John’s Tech Bits Stripe Width and Size RAID Optimization Guide […]

  • 11. Anonymous  |  October 18, 2011 at 4:30 am

    […] […]

  • 12. Rob Corelli  |  March 6, 2012 at 6:58 pm

    I have a PC with two 1 TB SATA hard drives. I would like to add a 2TB eSATA drive and perriodically make a bootable backup copy of my entire system. I have an Intel Desktop/Workstation/Server Express Chipset SATA RAID Controller. Can this cope with what I want to do?

  • 13. Sep  |  April 2, 2013 at 9:35 pm

    Wow that’s impressive Matthew! We are cnruertly finishing our first update which will bring iPhone 5 support and some other minor improvements. We have also started working on the next bigger update that will include new features in the game. We would love to hear what you guys would like to see the most? New levels, enemies, factions, something else? Tell us at: .In the meanwhile have you tried the multiplayer mode yet? It could prove to be a real challenge if you can find an opponent with your skill set Thanks for playing!

  • 14. Http://bing.sdpssm.com/  |  June 3, 2013 at 1:40 pm

    But over the past few years, IPTV has dwarfed the grade
    of DVD and Cable TV. Instant availability is precisely what is triggering ebook piracy too.

    The vulnerability has apparently been fixed
    considering that the interview with Russo occurred, and usernames are again
    safe and secure.

  • 15. embroidery software  |  July 29, 2013 at 8:55 pm

    Hi there to every one, the contents present at this site are really awesome for
    people experience, well, keep up the nice work fellows.

  • 16. valuesite.org  |  October 28, 2013 at 5:04 pm

    Heya i am for the first time here. I came across this board and I find It
    truly useful & it helped me out a lot. I am hoping to provide one thing back
    and aid others like you aided me.

  • 17. dominios venezuela  |  November 22, 2013 at 7:31 pm

    Hi, I think your site might be having browser compatibility issues.
    When I look at your blog in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!
    Other then that, amazing blog!

  • 18. モンクレール  |  November 28, 2013 at 4:28 am

    モンクレール

    Raid stripe size – what does it mean and what is the optimal stripe size? | Jons Techbits

  • 19. カルティエ(ジュエリー・小物類)  |  November 28, 2013 at 7:21 am

    The 2 photo storage items and clear bags are manufactured the application of special space-age parts.
    This is one of the greatest ways of reducing the inflammation and soothing the tired eye muscles.

  • 20. torrentfreak twitter  |  December 17, 2013 at 4:25 am

    This would have been a good sign, as we had not expected to find quite definitely fine gold in the stone.

    His fee was 110 guineas, and that of the hotelkeeper
    was 30 guineas. He told Mother that his two black boys became very
    nasty the night when we left their camp; they yelled and sang
    during most of the night.

  • 21. wingdating.com  |  January 23, 2014 at 6:33 pm

    The children were forbidden to leave the circle for safety reasons unless they were accompanied by an adult.

    Remember, deer ticks are the size of a period at the end of this sentence, whereas
    wood ticks are a bit larger and more easily seen.

    There are two differences in these two types of boats.

  • 22. email marketing  |  February 1, 2014 at 12:02 pm

    Hi! Someone in my Myspace group shared this site with us so I
    came to take a look. I’m definitely enjoying
    the information. I’m book-marking and will be tweeting this to
    my followers! Outstanding blog and superb design and style.

  • 23. deepriverfaith.com  |  February 5, 2014 at 6:20 pm

    The media for downloading hasn’t been this quick as it is now.
    With this much controversy clinging to its name, it will come as no surprise
    that several in the world’s police force authorities happen to be looking for ways
    to shut it down for good. The vulnerability has apparently been fixed because the interview with Russo came about, and usernames are again safe
    and secure.

  • 24. how to remove ukash virus  |  February 17, 2014 at 10:27 am

    Choose the Scan option and let the PSP scan around for the wireless router.
    With Android Market, you can download just any casino games you like to play on your palm.
    People who hang out in Animal Crossing: Wild World can travel to other players’ towns or invite up to three other players to visit their own towns,
    simply by opening the town gate.

  • 25. South Park Le Bâton de la Vérité Télécharger  |  February 23, 2014 at 5:25 am

    Heya i am for the first time here. I found this board and I
    find It truly useful & it helped me out much. I hope to give something again and aid others like you helped me.

  • 26. The Nut Job telecharger  |  February 23, 2014 at 11:01 am

    It’s really a nice and helpful piece of info. I am glad that you just
    shared this useful info with us. Please keep us informed like this.
    Thanks for sharing.

  • 27. candy crush saga cheat engine level 70  |  February 24, 2014 at 1:23 pm

    I’d like to thank you for the efforts you have put in writing this blog.
    I am hoping to view the same high-grade content by you later on as well.
    In truth, your creative writing abilities has motivated me to get
    my own, personal site now 😉

  • 28. Irene  |  March 21, 2014 at 7:18 pm

    As such, it mustn’t be too difficult to invest some time developing
    a database of tables such as what is suggested at where they’ve
    provided a sample database spec to use in a hotel reservation application.
    With anywhere near this much controversy clinging
    on to its name, it will come as hardly surprising that several
    in the world’s police officers authorities have been looking for ways to shut it down for
    good. The vulnerability has apparently been fixed because the interview
    with Russo came about, and usernames are again safe and secure.

  • 29. www.paluanilife.org  |  April 12, 2014 at 4:21 pm

    Your way of describing the whole thing in this paragraph is genuinely pleasant, all can effortlessly know it, Thanks a lot.

  • 30. emulateur xbox 360 pc  |  April 20, 2014 at 6:30 pm

    Very good post. I’m going through a few of these issues as well..

  • 31. pharmacie amavita geneva  |  April 24, 2014 at 9:29 pm

    Well presently the at home tests provided on Amazon aren’t Orasure.
    No matter what you have, as long as you now have a good hand you will always
    get paid. Sambrook sought the aid of students from Blanche Mac – Donald to
    help with the makeovers, in addition to her four resident cosmeticians.

  • 32. wasp nest removal east london  |  April 26, 2014 at 5:57 am

    Hi, this weekend is nice for me, because this occasion i am reading this wonderful educational
    article here at my home.

  • 33. wedding favours  |  April 29, 2014 at 8:19 am

    hey there and thank you for your information – I have definitely picked up anything new from
    right here. I did however expertise several technical points using this site,
    since I experienced to reload the website many times previous to I
    could get it to load correctly. I had been wondering if your
    web hosting is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in
    google and can damage your high-quality score if ads and marketing with Adwords.
    Well I’m adding this RSS to my email and could look out for much more of your respective interesting content.
    Ensure that you update this again soon.

  • 34. http://www.bhojanic.com/index.php?/member/608256/  |  April 29, 2014 at 4:01 pm

    Consider this as one of the easiest problem of Windows Movie
    Maker to fix. This app will help you see what your
    friends like and you can win prizes for the upcoming movies.

    Initially, you would not import files directly to the
    Windows Movie Maker program.

  • 35. Iwowwe  |  April 30, 2014 at 2:37 pm

    I blog frequently and I really appreciate your information.
    Your article has truly peaked my interest. I am going to book mark your site and keep checking for new details about once per week.
    I opted in for your RSS feed as well.

  • 36. Test.Com  |  May 4, 2014 at 3:28 pm

    Hey! This post couldn’t be written any better!
    Reading through this post reminds me of my old room mate!
    He always kept talkng about this. I will
    forward this post to him. Pretty sure he will have a good read.
    Thanks for sharing!

  • 37. Zurvita  |  May 9, 2014 at 10:33 am

    Thanks for sharing such a pleasant thinking, article is good, thats
    why i have read it completely

  • 38. agencies Manama escort  |  May 30, 2014 at 6:15 pm

    It’s truly a nice and useful piece of information. I am glad that you just shared this useful info with us.
    Please stay us up to date like this. Thank you for sharing.

  • 39. Genie  |  June 28, 2014 at 3:43 am

    Very nice post. I just stumbled upon your blog and wanted to
    say that I’ve really enjoyed browsing your blog posts.
    After all I’ll be subscribing to your feed and I hope you write again soon!

  • 40. breaking news  |  June 29, 2014 at 7:41 am

    It’s not my first time to pay a visit this website, i am browsing this site
    dailly and get good data from here every day.

  • 41. Shirleen  |  July 26, 2014 at 12:01 am

    Wow that was strange. I just wrote an very long comment
    but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m noot writing all that over again. Regardless, just wanted to say excellent blog!

  • 42. Steam Wallet Free Codes  |  August 25, 2014 at 4:47 am

    My spouse and I absolutely love your blog and
    find nearly all of your post’s to be exactly what I’m looking for.

    Does one offer guest writers to write content for yourself?
    I wouldn’t mind producing a post or elaborating on a number of the subjects you write
    regarding here. Again, awesome website!

  • 43. planit builders  |  September 20, 2014 at 11:36 pm

    I couldn’t refrain from commenting. Perfectly
    written!

  • 44. Rufus  |  September 22, 2014 at 5:26 pm

    I read a lot of interesting posts here. Probably
    you spend a lot of time writing, i know how to save you a lot of time, there is an online tool that creates unique, google friendly posts in minutes, just type
    in google – laranitas free content source

  • 45. loss pills  |  October 7, 2014 at 8:27 pm

    loss pills

    Raid stripe size – what does it mean and what is the optimal stripe size? | Jons Techbits

  • […] John’s Tech Bits Stripe Width and Size RAID Optimization Guide […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

March 2008
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
31  

Most Recent Posts


%d bloggers like this: