HPE Nimble Storage Solution Specialists
1821584 Members
3393 Online
109633 Solutions
New Discussion

Nibmle storage MODEL AF40 (swidth sunit xfs)

 
Ares7
Occasional Advisor

Nibmle storage MODEL AF40 (swidth sunit xfs)

Hello. I want to tune swidth and sunit parameters for xfs.  By default it is zero on Oracle Linux 7

xfs_info /db/oradata-new/
meta-data=/dev/mapper/nimble-work-oradata isize=256    agcount=4, agsize=201326592 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=0        finobt=0 spinodes=0
data     =                       bsize=4096   blocks=805306368, imaxpct=5
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=1
log      =internal               bsize=4096   blocks=393216, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

 

From xfs site:

su = <RAID controllers stripe size in BYTES (or KiBytes when used with k)>
 sw = <# of data disks (don't count parity disks)>

So if your RAID controller has a stripe size of 64KB, and you have a RAID-6 with 8 disks, use

 su = 64k
 sw = 6 (RAID-6 of 8 disks has 6 data disks)

A RAID stripe size of 256KB with a RAID-10 over 16 disks should use

 su = 256k
 sw = 8 (RAID-10 of 16 disks has 8 data disks)