Stripe crossing not better after LUN alignment with diskpart
I'm currently benchmarking a LUN on a CX500 with Iozone.
I'm testing with different NTFS allocation units and different alignment on a Raid5 LUN with an element size of 128 (alignment following the White paper "Using diskpar & dispart to align partitions on Windows Basic and Dynamic disks").
I cannot see any difference in the statistic property "Number of stripe crossing" for each of my tests that I did with a misaligned LUN, an alignment of 64K and an alignment of 256K.
I'd expected to find very big differences between a misaligned and aligned LUN (Throughput seem to be also similar).
Didn't I understand the meaning of this property correctly ?
Should I use another alignment ?
For info, for each of my tests I ran the following throughput test with Iozone:
iozone -Rb c:\output.wks -s 1g -r 64k -t 9 -i 0
and I got an average increased number of stripe crossing of ~36000.
Here are the current properties of the LUN: Raid type: Raid5 (Raid Group contains 10 Disks) Drive type : FC User blocks : 41943040 user capacity: 20 GB Raw capacity: 22.222 GB Element size : 128 Alignment offset : 0 Rebuild prio: ASAP Verify prio: ASAP Read & Write Cache enabled
I think to become rid of the stripe crossings you have to calculate 10 times 64k (as you have 10 Disks in your RG) for the alignment. Try this and let me know.
The stripe crossing metric by itself isn't an indication of good or bad performance. To understand performance, we recommend comparing host throughput, average IO size, and response time to disk throughput, average IO size, and response time.
To see more drastic differences in stripe crossings, run a test with random access pattern and set the record size equal to the RAID group stripe size. The stripe size for a 10 disk RAID 5 is 576 KB (1152 sectors). In the unaligned case, there should be stripe crossings on all of the IOs, while the aligned case should essentially eliminate stripe crossings.
If I understand your testing correctly - you are running 9 threads performing sequential writes to a LUN. In this testing, because the IO pattern is sequential, you will always see the same number of stripe crossings no matter what value you use for alignment. By the nature of the test itself you will cross the stripe boundary just as often if you were or were not aligned.
Thanks for the inputs, If I understand correctly, I can choose between two values for alignment: 1) On stripe element size (64K) or on 2) Stripe size, that means for Raid-5 with 10 disks : 9x64K = 576K
I followed your recommendation and can actually see drastic differences in stripe crossings statistics. Thanks a lot for this hint. I'm still a bit confused about the performance counter "Disk crossing(%)" of Analyzer, when selected at the LUN level, does this counter shows the stripe crossing or really disk crossing ? Help is not very clear about that.
I'm also surprised to get a better bandwidth with an alignment of 64K (stripe element) as with an alignment on the stripe size (here 576K).
csmykay1
59 Posts
485
0
Posted November 6th, 2006 09:00
How did you create your LUN's on the CX? Can you post all of the "Properties" for you LUN here?