On 31 March 2012 02:22, daobang wang <wangdb1981@xxxxxxxxx> wrote: > Hi ALL, > > How to adjust the xfs and raid parameters to improve the total > performance when RAID5 created by 8 disks works with xfs, and i writed > a test program, which started 100 threads to write big files, 500MB > per file, and delete it after writing finish. Thank you very much. > > Best Wishes, > Daobang Wang. > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html Hi, See http://xfs.org/index.php/XFS_FAQ#Q:_I_want_to_tune_my_XFS_filesystems_for_.3Csomething.3E . Also see http://hep.kbfi.ee/index.php/IT/KernelTuning . For example, RAID5 with 8 harddrives and 64K stripe size: mkfs.xfs -d su=64k,sw=7 -l version=2,su=64k /dev/md0 Consider mounting the filesystem with logbufs=8,logbsize=256k Kind regards, Mathias -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html