From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: mkfs.btrfs/balance small-btrfs chunk size RFC
Date: Wed, 11 Jan 2017 19:00:45 +0000 (UTC) [thread overview]
Message-ID: <pan$48f22$a985e7db$d84237a3$58044790@cox.net> (raw)
In-Reply-To: 20170110154753.GK19585@carfax.org.uk
Hugo Mills posted on Tue, 10 Jan 2017 15:47:53 +0000 as excerpted:
> On Tue, Jan 10, 2017 at 10:42:51AM -0500, Austin S. Hemmelgarn wrote:
>> Most of the issue in this case is with the size of the initial chunk.
>> That said, I've got quite a few reasonably sized filesystems (I think
>> the largest is 200GB) with moderate usage (max 90GB of data), and none
>> of them are using more than the first 16kB block in the System chunk.
>> While I'm not necessarily a typical user, I'd be willing to bet based
>> on this that in general, most people who aren't storing very large
>> amounts of data or taking huge numbers of snapshots aren't going to
>> need a system chunk much bigger than 1MB.
>
> Again, the system chunk has *nothing* to do with snapshots.
Given your explanation of the system chunk containing the chunk tree but
not being (directly) related to snapshots, I took that as...
Many snapshots, some being old snapshots of now changed data, thus
potentially multiplying the working copy data several times and of course
requiring more chunks in ordered to contain all that archived data.
So while snapshots aren't directly related to the system chunk, the fact
that they're snapshotting /something/ that's presumably changing or
there'd be no need for snapshots, and the snapshot-archived versions of
that /something/ presumably takes additional chunks, makes snapshots
indirectly related to the required size of the system chunk(s), in
ordered to contain the chunk tree supporting all the other chunks,
necessary due not to live data, but due to the snapshots.
Is that a correct read, or is (somehow) that indirect dependency not
there either, despite the system chunk(s) containing the chunk tree?
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
next prev parent reply other threads:[~2017-01-11 19:01 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 3:55 mkfs.btrfs/balance small-btrfs chunk size RFC Duncan
2017-01-10 5:34 ` Qu Wenruo
2017-01-10 14:57 ` Austin S. Hemmelgarn
2017-01-10 15:29 ` Hugo Mills
2017-01-10 15:42 ` Austin S. Hemmelgarn
2017-01-10 15:47 ` Hugo Mills
2017-01-10 16:05 ` Austin S. Hemmelgarn
2017-01-10 16:10 ` Hugo Mills
2017-01-11 19:00 ` Duncan [this message]
2017-01-10 17:17 ` Austin S. Hemmelgarn
2017-01-11 19:25 ` Duncan
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='pan$48f22$a985e7db$d84237a3$58044790@cox.net' \
--to=1i5t5.duncan@cox.net \
--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).