Tunning on XFS

options su and sw

mkfs.xfs -f -d su=128k,sw=28 /dev/sdb

WRITE
real    0m27.698s
user    0m0.017s
sys     0m17.726s

READ
real    0m14.142s
user    0m0.003s
sys     0m9.003s

mkfs.xfs -f -d su=128k,sw=14 /dev/sdb
WRITE
real    0m27.800s
user    0m0.023s
sys     0m17.689s

READ
real    0m14.371s
user    0m0.010s
sys     0m8.733s

mkfs.xfs -f -d su=64k,sw=28 /dev/sdb
WRITE
real    0m27.767s
user    0m0.010s
sys     0m18.299s

READ
real    0m14.449s
user    0m0.007s
sys     0m9.059s

mkfs.xfs -f -d su=64k,sw=14 /dev/sdb
WRITE
real    0m27.809s
user    0m0.017s
sys     0m17.666s

READ
real    0m14.492s
user    0m0.007s
sys     0m8.623s

mkfs.xfs -f -d su=32k,sw=28 /dev/sdb
WRITE
real    0m27.490s
user    0m0.013s
sys     0m17.706s

READ
real    0m14.430s
user    0m0.003s
sys     0m8.983s

mkfs.xfs -f -d su=32k,sw=14 /dev/sdb
WRITE
real    0m27.867s
user    0m0.007s
sys     0m17.596s

READ
real    0m14.330s
user    0m0.013s
sys     0m8.953s

to specify the su and sw or not to the mkfs.xfs command does make much differences to the performance of the file system

different size of INODE


mkfs.xfs -f -i size=256 /dev/sdb
mkfs.xfs -f /dev/sdc

real    0m27.960s
user    0m0.020s
sys     0m17.509s

real    0m14.531s
user    0m0.007s
sys     0m9.203s
mkfs.xfs -f -i size=512 /dev/sdb

real    0m28.027s
user    0m0.007s
sys     0m17.939s

real    0m14.917s
user    0m0.007s
sys     0m9.259s
mkfs.xfs -f -i size=1024 /dev/sdb

real    0m28.264s
user    0m0.023s
sys     0m18.182s

real    0m14.490s
user    0m0.017s
sys     0m9.286s
mkfs.xfs -f -i size=2048 /dev/sdb

real    0m28.244s
user    0m0.017s
sys     0m17.799s

real    0m14.508s
user    0m0.010s
sys     0m9.383s
mkfs.xfs -f -i size=3072 /dev/sdb

real    0m27.564s
user    0m0.017s
sys     0m17.346s

real    0m14.523s
user    0m0.003s
sys     0m9.276s
mkfs.xfs -f -i size=4096 /dev/sdb

real    0m27.969s
user    0m0.013s
sys     0m17.856s

real    0m15.061s
user    0m0.003s
sys     0m8.676s

-- WenjingWu - 13 Mar 2008
Topic revision: r3 - 09 May 2012, BenMeekhof
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback