[xfs-masters] [Bug 14208] XFS 5x slower than other filesystems when used as /var/tmp

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Sep 22 13:28:12 CDT 2009


http://bugzilla.kernel.org/show_bug.cgi?id=14208





--- Comment #4 from Török Edwin <edwintorok at gmail.com>  2009-09-22 18:28:11 ---
Yes that is better, but still not as good as reiserfs ;)

time (for i in `seq 1 10000 `; do dd if=content of=/var/tmp/wc.$$ conv=notrunc
2>/dev/null; wc /var/tmp/wc.$$ > /dev/null; done; rm /var/tmp/wc.$$ )

real    0m24.638s
user    0m7.076s
sys     0m23.297s

However using a different filename does speed it up:

time (for i in `seq 1 10000 `; do echo "this is a sentence" > /var/tmp/wc.$i;
wc /var/tmp/wc.$i > /dev/null; done; rm /var/tmp/wc.* )

real    0m14.925s
user    0m3.336s
sys     0m12.285s

What kind of flush are you doing on truncate? metadata flush or data flush?

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the xfs-masters mailing list