xfs performance problem

Michael Weissenbacher mw at dermichi.com
Wed Apr 27 02:55:45 CDT 2011


schrieb Stan Hoeppner:
> Benjamin Schindler put forth on 4/26/2011 2:44 PM:
>> Hi
> Also, slap yourself in the forehead at least 3 times for running your
> root filesystem on RAID 0.  That's akin to riding a motorcycle, naked,
> in a blizzard, down a steep, winding, ice covered mountain road with no
> guard rails and a 3000 ft drop. ;)
> 
If you are really adventurous and don't care about the data on your root
fs use the following mount options:
logbsize=256k,delaylog,nobarrier

Personally i would only enable "nobarrier" on Server-Class hardware with
Battery Backup and proper UPS. But since you are using RAID-0 i suppose
you really don't care that much about the data on your root fs.

Note that both logbsize and delaylog will only have effect on your root
fs if added to grub.conf (real_rootflags=) since remounting won't
activate them. Use "cat /proc/mounts" to see if these options were
really enabled.

hth,
Michael




More information about the xfs mailing list