Re: Optimising raid on 4k devices

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

 



On Wed, May 29, 2019 at 12:19 AM <michael@xxxxxxxxxxxxx> wrote:
>
> Am 2019-05-29 09:09, schrieb Xiao Ni:
> > On 05/29/2019 12:21 AM, Song Liu wrote:
> >> On Sun, May 26, 2019 at 2:27 AM Matthew Moore <matthew@moore.sydney>
> >> wrote:
> >>> Hi all,
> >>>
> >>> I'm setting up a RAID6 array on 8 * 8TB drives, which are obviously
> >>> using 4k sectors.  The high-level view is XFS-on-LUKS-on-mdraid6.
> >> Are these driver 4kB native or 512e?
> >
> > Hi Song
> >
> > What's the meaning of "4kB native" and "512e" here?
> > The sector size is 4kB or 512 byte?
> >
> >>
> >> For 4kB native, you don't need to do anything.
> >>
> >> For 512e, just make sure NOT to create RAID on top of non-4kB-aligned
> >> partitions.
> >
> > Could you explain more about this?
> >
> > Regards
> > Xiao
>
> Hello,
>
> 4kB = they expose their 4k sectors also at the interface.
> 512e = internally, they use (in far the most cases) 4kB sectors
> internally, but emulate 512 byte sectors at the interface. Which can
> make things slow if structures are not aligned at 4kB boundaries.
>
> Best regards,
> Michael Fritscher

Thanks Michael! That's exactly what I meant.

Song



[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