pantz.org banner
XFS performance and commands
Posted on 10-11-2005 02:00:00 UTC | Updated on 10-11-2005 02:00:00 UTC
Section: /software/xfsfilesystem/ | Permanent Link

I've been testing filesystem speeds on new hardware SATA RAID cards and have some suggestions. If your working with lots of medium to large size data files then SGI's XFS is a great way to go. It is super fast but there are a few drawbacks as with all filesystems. It takes up more processing time while it's working and can only do a few hundred deletes a sec. Now if you have a hardware raid card that does on chip parity calculations (like the Areca line of RAID cards) then you should have plenty of processor to devote to the system. That is if you don't need it for something else. XFS had the fastest throughput without a doubt. ReiserFS 3 was decent but it did not handle larger files as well as XFS and it's throughput was not as high. ReiserFS is fantastic with smaller files (up to a few megs) and it rocks in delete speed. It would be great for a home user filesystem. EXT3 was the worst. It was slowest by big margin in everyway. I would only use it on a home users machine. It is not built for speed but for reliability. Future improvements and more tweaks might help the tests but with just some default settings this is how it panned out.

I also learned that XFS's block size can not go above the page size of the running kernel. In linux this is 4k.

The settings I found to help speed up the XFS filesystem are the following. Partition the drive first. /dev/sda1 is the device and partition in the example below.

mkfs.xfs -f -b size=4k -l size=64m /dev/sda1

mount -t xfs -o logbufs=8 /dev/sda1 /disk1

Del.icio.us! | Digg Me! | Reddit!

Related stories


RSS Feed RSS feed logo
About


3com
3ware
alsa
alsactl
alsamixer
amd
android
apache
areca
arm
ati
auditd
awk
badblocks
bash
bind
bios
bonnie
cable
carp
cat5
cdrom
cellphone
centos
chart
chrome
cifs
cisco
cloudera
comcast
commands
comodo
compiz-fusion
corsair
cpufreq
cpufrequtils
cpuspeed
cron
crontab
crossover
cu
cups
cvs
database
dbus
dd
dd_rescue
ddclient
debian
decimal
dhclient
dhcp
diagnostic
diskexplorer
disks
dkim
dns
dos
dovecot
drac
dsniff
dvdauthor
e-mail
echo
editor
emerald
ethernet
expect
ext3
ext4
fat32
fedora
fetchmail
fiber
filesystems
firefox
firewall
flac
flexlm
floppy
flowtools
fonts
format
freebsd
ftp
gdm
gmail
gnome
greasemonkey
greylisting
growisofs
grub
hacking
hadoop
harddrive
hba
hex
hfsc
html
html5
http
https
idl
ie
ilo
intel
ios
iperf
ipmi
iptables
ipv6
irix
javascript
kde
kernel
kickstart
kmail
kprinter
krecord
kubuntu
kvm
lame
ldap
linux
logfile
lp
lpq
lpr
maradns
matlab
memory
mencoder
mhdd
mkinitrd
mkisofs
moinmoin
motherboard
mouse
movemail
mplayer
multitail
mutt
myodbc
mysql
mythtv
nagios
nameserver
netflix
netflow
nginx
nic
ntfs
ntp
nvidia
odbc
openbsd
openntpd
openoffice
openssh
openssl
openvpn
opteron
parted
partimage
patch
perl
pf
pfflowd
pfsync
photorec
php
pop3
pop3s
ports
postfix
power
procmail
proftpd
proxy
pulseaudio
putty
pxe
python
qemu
r-studio
raid
recovery
redhat
router
rpc
rsync
ruby
saltstack
samba
schedule
screen
scsi
seagate
seatools
sed
sendmail
sgi
shell
siw
smtp
snort
solaris
soundcard
sox
spam
spamd
spf
sql
sqlite
squid
srs
ssh
ssh.com
ssl
su
subnet
subversion
sudo
sun
supermicro
switches
symbols
syslinux
syslog
systemrescuecd
t1
tcpip
tcpwrappers
telnet
terminal
testdisk
tftp
thttpd
thunderbird
timezone
ting
tls
tools
tr
trac
tuning
tunnel
ubuntu
unbound
vi
vpn
wget
wiki
windows
windowsxp
wireless
wpa_supplicant
x
xauth
xfree86
xfs
xinearama
xmms
youtube
zdump
zeromq
zic
zlib