Thread (57 messages) 57 messages, 11 authors, 2012-03-18

Re: getdents - ext4 vs btrfs performance

From: Chris Mason <hidden>
Date: 2012-03-02 14:26:51
Also in: linux-ext4, linux-fsdevel, lkml

On Fri, Mar 02, 2012 at 03:16:12PM +0100, Jacek Luczak wrote:
2012/3/2 Chris Mason [off-list ref]:
quoted
On Fri, Mar 02, 2012 at 11:05:56AM +0100, Jacek Luczak wrote:
quoted
I've took both on tests. The subject is acp and spd_readdir used w=
ith
quoted
quoted
tar, all on ext4:
1) acp: http://91.234.146.107/~difrost/seekwatcher/acp_ext4.png
2) spd_readdir: http://91.234.146.107/~difrost/seekwatcher/tar_ext=
4_readir.png
quoted
quoted
3) both: http://91.234.146.107/~difrost/seekwatcher/acp_vs_spd_ext=
4.png
quoted
quoted
The acp looks much better than spd_readdir but directory copy with
spd_readdir decreased to 52m 39sec (30 min less).
Do you have stats on how big these files are, and how fragmented th=
ey
quoted
are? =A0For acp and spd to give us this, I think something has gone=
 wrong
quoted
at writeback time (creating individual fragmented files).
=20
How big? Which files?
All the files you're reading ;)

filefrag will tell you how many extents each file has, any file with
more than one extent is interesting.  (The ext4 crowd may have better
suggestions on measuring fragmentation).

Since you mention this is a compile farm, I'm guessing there are a bunc=
h
of .o files created by parallel builds.  There are a lot of chances for
delalloc and the kernel writeback code to do the wrong thing here.

-chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help