[Top] [All Lists]

Which XFS-options for best performance in my case?

To: <xfs@xxxxxxxxxxx>
Subject: Which XFS-options for best performance in my case?
From: "Tom" <T-o-m@xxxxxxx>
Date: Thu, 2 Oct 2008 17:10:33 +0300
Thread-index: AckkmJzREBo6ee9PRUSOpuYdpUFB0w==
Hello dear list members,


I am setting up a fileserver with the following specs:


.         Hardware RAID 6 (3Ware 9650SE-12, 8-lane-PCIe) with a stripe size
of 64kB, write cache enabled

.         12 Harddisks, 1 Terrabyte and 32MB cache each, 7200 RPM

.         Motherboard: ASUS P5BV-E/4L

.         CPU: Intel Core2Quad 2,4 GHz (Q6600)

.         RAM: 2x2 GB DDRII ECC 800MHz

.         OS: Linux openSUSE 11 - 64 Bit

.         Kernel:

.         Filesystem of relevant data partition: XFS

.         Size of relevant data partition: 9 Terrabyte

.         The data hosted on this partition is going to be served via 4
1-Gigabit-Network-cards to Windows Vista-64-SP1 clients via Samba 3.2.3-0.1


After having fine tuned the RAID-controller and the kernel settings, I am
reaching the following results: Read 465 MB/s; Write 296 MB/s, which I
benchmarked with "sync; bonnie++ -u 0 -r 4096 -b -d
/name_of_the_mounted_partition". These figures are not all to good.


I had formatted the partition with the openSUSE installation tool ("YAST").
This uses:

-          Block size in bytes:                         auto

-          Inode size:                                         auto

-          Percentage of inode space:       auto

-          Inode aligned:                                 auto

.. and mounts the partition in the fstab with "defaults, 1, 2"




Are there any settings/options/tweaks with which I can increase the
XFS-filesystem's performance?


The server is connected to a UPS-battery (Uninterruptible power supply). The
RAID controller has a own battery pack attached, which keeps any cached
writings in the controller's memory, should the system hang or the power be
disconnected for any reason (but this battery only lasts for a couple of


Above everything else stands SECURITY. I can't afford to lose/corrupt any
data on this server. So please tell me if one of the proposed tweaks should
be risky, or what the risks are.


Thank you for any piece of advice/information!


Best regards


[[HTML alternate version deleted]]

<Prev in Thread] Current Thread [Next in Thread>