xfs-masters
[Top] [All Lists]

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

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 14208] XFS 5x slower than other filesystems when used as /var/tmp
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 22 Sep 2009 18:28:12 GMT
Auto-submitted: auto-generated
In-reply-to: <bug-14208-470@xxxxxxxxxxxxxxxxxxxxxxxx/>
References: <bug-14208-470@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.kernel.org/show_bug.cgi?id=14208





--- Comment #4 from Török Edwin <edwintorok@xxxxxxxxx>  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.
<Prev in Thread] Current Thread [Next in Thread>