I'm a little concerned about the size of my metadata. I'm doing
raid10 on both data and metadata, and:

h...@vlad:mnt $ sudo btrfs fi df /mnt
Data: total=488.01GB, used=487.23GB
Metadata: total=3.01GB, used=677.73MB
System: total=11.88MB, used=52.00KB

h...@vlad:mnt $ find /mnt | wc -l
20137

   By my calculations, that's something on the order of 17.5K per
filesystem object. This is mostly media files, plus some small
metadata files. 17.5K on average seems very large to me. I have quite
a bit of space on this system, so I'm not too concerned, but I wasn't
sure if this kind of figure was representative or not.

   Overall file count by size:

0-10        21
10-100     153
100-1K     778
1K-10K     279
10K-100K    96
100K-1M    238
1M-10M   12556
10M-100M  3452
100M-1G    332
1G-10G     171

0-1K       952
1K-1M      613
1M-1G    16340
1G+        171

   Interestingly, the metadata value was closer to 15K/object until my
last batch of writing, which was the 171 1G+ files (and a few in the
100M-1G range), plus an equal number of small (<2K) files.

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
   --- Trouble rather the tiger in his lair than the sage amongst ---    
        his books for to you kingdoms and their armies are mighty        
        and enduring,  but to him they are but toys of the moment        
              to be overturned by the flicking of a finger.              

Attachment: signature.asc
Description: Digital signature

Reply via email to