From: Hugo Mills <hugo-lkml@carfax.org.uk>
To: linux-btrfs@vger.kernel.org
Subject: Metadata size
Date: Thu, 14 Oct 2010 12:20:58 +0100 [thread overview]
Message-ID: <20101014112058.GA2315@selene> (raw)
[-- Attachment #1: Type: text/plain, Size: 1517 bytes --]
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.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
next reply other threads:[~2010-10-14 11:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-14 11:20 Hugo Mills [this message]
2010-10-14 11:32 ` Metadata size Hugo Mills
2010-10-14 13:42 ` Xavier Nicollet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101014112058.GA2315@selene \
--to=hugo-lkml@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).