NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Retired_Member's avatar
Retired_Member
Dec 25, 2018
Solved

Striping granularity of RAID0

Merry x-mas, dear community!

 

On my RN104 guineapig I have created a RAID0 array and would like to know what chunk size determines the striping granularity. Researching turns out, that "normally" a chunk size of 64kB is chosen.

Can anybody confirm, that this is also the case for RN104 or all ReadyNas in general, or whether it might be different and even vary from model to model.

As ever, thanks a lot in advance to the hive for all valuable answers and kind regards.

  • Merry Christmas!

     


    Retired_Member wrote:

     On my RN104 guineapig I have created a RAID0 array and would like to know what chunk size determines the striping granularity.


    There are a couple of ways to find this:

    • It's in the log zip file (mdstat.log).
    • # cat //proc/mdstat
    • # mdadm --detail /dev/md127

    It is set to 64K for RAID-5, so it likely is the same for RAID-0.  Let us know what you find out.

13 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    Merry Christmas!

     


    Retired_Member wrote:

     On my RN104 guineapig I have created a RAID0 array and would like to know what chunk size determines the striping granularity.


    There are a couple of ways to find this:

    • It's in the log zip file (mdstat.log).
    • # cat //proc/mdstat
    • # mdadm --detail /dev/md127

    It is set to 64K for RAID-5, so it likely is the same for RAID-0.  Let us know what you find out.

    • Retired_Member's avatar
      Retired_Member

      Yup, 64K it is for RAID0, StephenB. For RAID1 it is also 64K, as I can observe.

       

      What is your opinion on the following:

      Assume you have a system doing nothing else than streaming HD videos from the concerned volume/share. A backup of all data is conducted on a regular base, of course.

      Would it make sense to use RAID0 and a higher chunksize than 64K on that volume to improve the responsiveness of the nas in case lets say multiple people try to watch movies on different clients (sometimes it might even be the same movie)?

      And, ...If you would want to go with a higher chunkzise on that volume, though, what would you do to achieve this?

       

       

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        Retired_Member wrote:

         

        What is your opinion on the following:

        Assume you have a system doing nothing else than streaming HD videos from the concerned volume/share. A backup of all data is conducted on a regular base, of course.

        Would it make sense to use RAID0 and a higher chunksize than 64K on that volume to improve the responsiveness of the nas in case lets say multiple people try to watch movies on different clients (sometimes it might even be the same movie)?

         

        It's not something I've ever benchmarked, so I can only guess.

         

        In the specific case of streaming video, I think it would depend on the disk i/o read size(s) used by the streaming server.   With multiple sequential reads going on simultaneously, the reads likely will end up out of phase automatically (e.g, disk 1's stripe being read for stream 1, with disk 2's stripe being read at about the same time for stream 2).

         


        Retired_Member wrote:

         

        And, ...If you would want to go with a higher chunkzise on that volume, though, what would you do to achieve this?

         


        There is an mdadm command you can try - not sure if it will work:

        # mdadm --grow --chunk=128 /dev/md127

        would change it to 128KB (if it works).

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More