[Gluster-users] Optimal XFS formatting?

Harshavardhana harsha at gluster.com
Thu Oct 20 22:28:22 UTC 2011

Basic thumb rule

RAID 5 , 64k stripe size, use the following.  If you have larger files
go further.

# xfs, 5 disks, 64K stripe, units in 512-byte sectors

mkfs -txfs -d sunit=$((64*2)) -d swidth=$((5*64*2))

Use for better memory alignment with Scheduler

echo "16" > /proc/sys/vm/page-cluster - and also don't forget to change

echo "256" > /sys/block/<disk>/queue/nr_requests - which should be
twice the queue_depth.


More information about the Gluster-users mailing list