UNSOLVED

RedCross1

updated

20 years ago

R

RedCross1

3 Posts

0

2233

November 6th, 2006 06:00

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.
  • csmykay1

    59 Posts

    485

    0

    Posted November 6th, 2006 09:00

    Red,

    How did you create your LUN's on the CX? Can you post all of the "Properties" for you LUN here?
  • RedCross1

    3 Posts

    485

    0

    Posted November 7th, 2006 02:00

    Hi shmac,

    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
  • Enzi

    1 Message

    485

    0

    Posted November 11th, 2006 01:00

    Hi,

    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.

    Rgds

    Stephan
  • BAP2

    12 Posts

    487

    1

    Posted November 14th, 2006 15:00

    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.
  • RedCross1

    3 Posts

    489

    0

    Posted November 16th, 2006 04:00

    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).
  • bishtsudhir

    81 Posts

    485

    0

    Posted June 11th, 2007 19:00

    Hi,
    So which was better : 64K or 576K settings for aligning partition at host end ??

    Thanks
    - Sudhir