http://bugzilla.kernel.org/show_bug.cgi?id=14208
Summary: XFS 5x slower than other filesystems when used as
/var/tmp
Product: File System
Version: 2.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: XFS
AssignedTo: xfs-masters@xxxxxxxxxxx
ReportedBy: edwintorok@xxxxxxxxx
Regression: No
I use XFS for my /var because it is excellent for read speeds on RAID disks
(and I store quite a lot of readonly data on /var/local).
However XFS performance is very bad for tempfiles, as shown by this
micro-benchmark, where /tmp is tmpfs, /home is reiserfs and /var is xfs:
nodev on /tmp type tmpfs (rw)
/dev/mapper/vg--all-lv--home on /home type reiserfs (rw,noatime,notail)
/dev/mapper/vg--all-lv--var on /var type xfs
(rw,noatime,logbsize=262144,logbufs=8,logdev=/dev/sdg5,inode64)
/dev/mapper/vg is a VG on /dev/md4, which is a RAID10 device, but shouldn't
matter, /home is a reiserfs filesystem on same /dev/md4, and about the same
speed as tmpfs.
time (for i in `seq 1 10000 `; do echo this is a sentence | wc > /dev/null;
done)
real 0m21.755s
user 0m10.653s
sys 0m19.217s
time (for i in `seq 1 10000 `; do echo this is a sentence > /tmp/wc.$$; wc
/tmp/wc.$$ > /dev/null; done; rm /tmp/wc.$$ )
real 0m11.717s
user 0m3.368s
sys 0m11.125s
time (for i in `seq 1 10000 `; do echo this is a sentence > /var/tmp/wc.$$; wc
/var/tmp/wc.$$ > /dev/null; done; rm /var/tmp/wc.$$ )
real 1m4.887s
user 0m2.604s
sys 0m11.545s
time (for i in `seq 1 10000 `; do echo this is a sentence > /home/edwin/wc.$$;
wc /home/edwin/wc.$$ > /dev/null; done; rm /home/edwin/wc.$$ )
real 0m12.664s
user 0m3.544s
sys 0m11.565s
--
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
|