Re: raid10, far layout initial sync slow + XFS question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 2, 2023 at 3:37 AM Roman Mamedov <rm@xxxxxxxxxxx> wrote:
>
> Hello,
>
> On Sat, 2 Sep 2023 03:23:00 +0700
> CoolCold <coolthecold@xxxxxxxxx> wrote:
>
> > So the strange thing I do observe, is its initial raid sync speed.
> > Created with:
> > mdadm --create /dev/md3 --run -b none --level=10 --layout=f2
> > --chunk=16 --raid-devices=4 /dev/nvme0n1 /dev/nvme4n1 /dev/nvme3n1
> > /dev/nvme5n1
> >
> > sync speed:
> >
> > md3 : active raid10 nvme5n1[3] nvme3n1[2] nvme4n1[1] nvme0n1[0]
> >       7501212288 blocks super 1.2 16K chunks 2 far-copies [4/4] [UUUU]
> >       [=>...................]  resync =  6.2% (466905632/7501212288)
> > finish=207.7min speed=564418K/sec
>
> Any difference if you use e.g. --chunk=1024?
Goes up to 1.4GB

md3 : active raid10 nvme5n1[3] nvme3n1[2] nvme4n1[1] nvme0n1[0]
      7501209600 blocks super 1.2 1024K chunks 2 far-copies [4/4] [UUUU]
      [>....................]  resync =  0.4% (35959488/7501209600)
finish=86.4min speed=1438382K/sec

>
> How about a newer kernel (such as 6.1)?
Not applicable in my case- there is no test machine unluckily to play
around with non LTS and reboots. Upgrading to next HWE kernel may
happen though, which is 5.15.0-82-generic #91-Ubuntu.
Do you know any specific patches/fixes landed since 5.4?

>
> --
> With respect,
> Roman



-- 
Best regards,
[COOLCOLD-RIPN]




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux