background preloader

Xfs

Facebook Twitter

Using XFS instead of ext3 (network performance boost) Why? Because it improves the network performance. Some of us have found that moving to XFS from ext3 seems to remove a bottleneck on the transfers between the computer desktop and the Linkstation. The amount of improvement may vary but is significant and quite beneficial. Transfers for one user showed a tranfer rate about 2 to 2.5 times the original stock rate (100%-150% improvement) on an HG, upgraded to FreeLink, a 2.6 kernel and XFS. Chart notes: In the first two HG comparisons, HG(stock->FreeLink) and HG(FreeLink ext3->xfs), the increase is artificially understated, as this particular unit had a minor, preexisting hard drive problem, and its udma setting had been throttled back to udma5 using hdparm. The performance gain should be much higher in a unit that has udma6 (ata133) enabled. Why Not? Some people believe ext3 has "much better" error recovery than xfs: if so, ext3 is slower but safer.

e2fsck xfs_repair fsck.jfs reiserfsck Prerequisites Custom Kernel Knowing the risks Installation . XFS. XFS is a high-performance journaling file system created by Silicon Graphics, Inc. XFS is particularly proficient at parallel IO due to its allocation group based design. This enables extreme scalability of IO threads, filesystem bandwidth, file and filesystem size when spanning multiple storage devices. Installation The tools to manage XFS partions are in the xfsprogs package from the official repositories, which is included in the default base installation. Data corruption If for whatever reason you experience data corruption, you will need to repair the filesystem manually. Repair XFS Filesystem First unmount the XFS filesystem. # unmount /dev/sda3 Once unmounted, run the xfs_repair tool. # xfs_repair -v /dev/sda3 Performance For optimal speed, just create an XFS file system with: $ mkfs.xfs /dev/thetargetpartition Yep, so simple - since all of the "boost knobs" are already "on" by default.

Stripe size and width See How to calculate the correct sunit,swidth values for optimal performance See also. XFS.