共用方式為


Why Windows Server 2012 Parity Storage Spaces Might Perform Slowly

 


Summary: Gregg O’Brien , a Microsoft Premier Field Engineer from Canada, walks us through some lessons he learned when testing Storage Spaces, a new feature in Windows Server 2012 that’s meant to provide enterprise-level storage performance, flexibility, and scale. The moral of his story: for heavy workloads requiring high speed, random I/O and the best resiliency possible, use mirrored space instead of parity spaces. Enjoy!


Windows Server 2012 LogoI was recently building a lab based around Storage Spaces , a new feature in Windows Server 2012.  My plan was to host a Hyper-V over SMB configuration for some virtual machines. I decided to build the configuration with a Parity Stripe so that I could maximize the use of the storage I had, while still maintaining some form of resiliency.  I installed 3 x 1TB SATA drives and configured the storage space as required.  I created the share for the VMs and started using the share to store VMs from a Hyper-V cluster I had built previously.

Through the process of using the VMs, I noticed that these were very slow. I started investigating and saw that the VMs all had performance issues writing to disk.  With even further investigation, I found that it had to do with slow disk performance on the storage space. I tested this by copying a 1.5GB file unbuffered (xcopy /J) to the parity space. Speed topped out at 25MB/s. I decided that I would test each disk individually, so I broke the stripe and tested each disk with the same 1.5GB file.  Speeds reached as high as 140MB/s.  Quite the difference. I tried a mirrored space and that also performed at speeds of roughly 140MB/s.

It seemed to be that everything I could think of worked flawlessly, except for the parity space.  But why?
Well, I asked around within Microsoft and was pointed to this document:  Storage Spaces - Designing for Performance.  Within this document I found the following key piece of info:

The caveat of a parity space is low write performance compared to that of a simple or mirrored storage space, since existing data and parity information must be read and processed before a new write can occur. Parity spaces are an excellent choice for workloads that are almost exclusively read-based, highly sequential, and require resiliency, or workloads that write data in large sequential append blocks (such as bulk backups).”

So really, the product is working as intended, I was just attempting to use it for the wrong thing! The article does go on to say that a parity space of 3 drives could be improved by using two dedicated SSD drives for the journal, but at this point the space would more than likely exceed the cost of the mirrored space and still may not approach the same speed that the mirrored space would provide.

Moral of the story: For heavy workloads requiring high speed, random I/O and the best resiliency possible, use the mirrored space as opposed to the parity space.

 


Written by Gregg O’Brien; Posted by Frank Battiston, MSPFE Editor

Comments

  • Anonymous
    January 01, 2003
    The comment has been removed

  • Anonymous
    March 19, 2013
    The comment has been removed

  • Anonymous
    June 01, 2013
    The comment has been removed

  • Anonymous
    June 05, 2013
    <h2> Koala Mini Storage provides you peace of mind when taking a trip</h2> <p>If you're going away traveling, you want to know your <a href="koalaministorage.com/.../individual-storage">personal possessions</a> and <a href="koalaministorage.com/.../individual-storage">valuable items</a> are being well looked after. So, whether you're renting out your home while you go away, or you've sold up altogether to go around the world, take advantage of our incredibly flexible rental policy that allows you to rent however long you want. And don't worry if your itinerary changes - you can extend or shorten your rental any time.</p>

  • Anonymous
    April 29, 2016
    Parity Spaces is useless, end of story. Anyone reading this, please cast your vote:ZFS on Windows Serverhttps://windowsserver.uservoice.com/forums/295056-storage/suggestions/10403058-zfs-on-windows-server

  • Anonymous
    May 13, 2016
    The comment has been removed