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

Re: getdents - ext4 vs btrfs performance

From: Jacek Luczak <hidden>
Date: 2012-03-15 07:59:38
Also in: linux-btrfs, linux-fsdevel, lkml

2012/3/10 Ted Ts'o [off-list ref]:
Hey Jacek,

I'm curious parameters of the set of directories on your production
server.  On an ext4 file system, assuming you've copied the
directories over, what are the result of this command pipeline when
you are cd'ed into the top of the directory hierarchy of interest
(your svn tree, as I recall)?

find . -type d -ls | awk '{print $7}' | sort -n | uniq -c

I'm just curious what the distribution of directories sizes are in
practice for your use case...
Hi Ted,

below is from the latest upstream on ext4:

 843341 4096
    165 12288
     29 16384
    164 20480
     26 24576
     22 28672
     24 32768
    118 36864
     12 40960
     19 45056
      3 49152
     12 53248
     37 57344
     10 61440
      2 65536
     13 69632
      1 131072
      1 139264
      1 143360
      1 221184
      1 249856
      1 258048
      1 262144
      1 319488
      2 335872
      1 339968

-Jacek
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help