I''m a little concerned about the size of my metadata. I''m
doing
raid10 on both data and metadata, and:
hrm@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
hrm@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: hugo@... 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.
On Thu, Oct 14, 2010 at 12:20:58PM +0100, Hugo Mills wrote:> 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.cwillu on IRC just answered this for me: it''s mostly checksums. Also, it seems that this isn''t representative. It''s considerably lower than normal. :) Question answered, all makes sense again. Hugo. -- === Hugo Mills: hugo@... 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.
Le 14 octobre 2010 à 12:32, Hugo Mills a écrit:> cwillu on IRC just answered this for me: it''s mostly checksums. > > Also, it seems that this isn''t representative. It''s considerably > lower than normal. :)Your metadata might be stored twice depending on the options you used when doing mkfs. -- Xavier Nicollet -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html