I forgot one important piece of information:
- The fileserver is mainly serving quite huge files (images, mostly
50MB-100MB of size).
- The fileserver serves only to the small amount of 3 clients,
which read and write these files mostly sequentially (e.g. requesting 50 of
those files located in a folder) to the server and mostly only one client at
From: Tom [mailto:T-o-m@xxxxxxx]
Sent: Donnerstag, 2. Oktober 2008 17:11
Subject: Which XFS-options for best performance in my case?
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: 188.8.131.52-0.1-default
. 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").
- 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
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!
[[HTML alternate version deleted]]