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

Forum Discussion

Laserbait's avatar
Laserbait
Luminary
Nov 17, 2024

RAID-5 vs RAID-6 rebuild speed

I have been upgrading disks in my various ReadyNAS units.  The 4 bay units are RAID-5 and the 6 bay units are RAID-6. 

I haven't really seen it discussed here, so I thought I would point out that if you're using RAID-6, the rebuild times are going to be a lot longer than if you're used to RAID-5, due to having to generate the additional parity.    

For example, I have my RN204 and one of my RN316's. 

  • Both are using 7200 RPM drives. 
  • Both are going from 4TB to 10TB drives.
  • Both are using FlexRAID.

The rebuild speed on the RN204 using RAID-5 is about 95MB/s, whereas the RN316's using RAID-6 is about 30MB/s. I was surprised that the RN316 with its 2 core/4 thread Atom CPU was that much slower than the little dual core ARM in the RN204. I figured that it would be more linear. But, If I remember correctly, my RN516 with its 8 core 2.4GHz Xeon and 16GB of memory was also about 30MB/s using the same 7200RPM drives, it's possible that ReadyNAS OS is artificially limiting the rebuild speed (providing my memory is indeed correct).


So nothing earth shattering here, just something I found interesting and thought I'd share.

3 Replies

Replies have been turned off for this discussion
  • Sandshark's avatar
    Sandshark
    Sensei - Experienced User

    The speed of the drives is likely the controlling factor.

    • Laserbait's avatar
      Laserbait
      Luminary
      I would have thought so too, but both arrays are using the same Seagate 7200 RPM 4TB disks, and both are upgrading to the same Hitachi 7200 RPM 10TB disks. The only difference between the two is the faster CPU, 2 more disks and RAID-6 on the RN316. And it doesn't seem to matter if it's the 1st drive, or the last drive to be replaced, it's always about the same rebuild speed.

      I'm tempted to blow the RN316 array away, and start over with 4 x 4TB drives in a RAID-5. Once complete, replace one 4TB with a 10TB and see what the rebuild rate is. If it's closer to 90+MB/s, it's the RAID level.
      • StephenB's avatar
        StephenB
        Guru - Experienced User

        If you have ssh enabled you could enter

         

        sysctl dev.raid.speed_limit_min

        You should see that it is set to 30000, which is what you are getting with the RAID-6 rebuild.

         

        You could then try

        sysctl -w dev.raid.speed_limit_min=100000

         

        and see if that speeds it up.  

         

        Probably best to set it back to 30000 when you are done with this.

         

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