From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: how to clone a btrfs filesystem
Date: Mon, 20 Apr 2015 05:23:46 +0000 (UTC) [thread overview]
Message-ID: <pan$774e3$bc27dda5$8703f13a$d11ec028@cox.net> (raw)
In-Reply-To: 1429473624.24823.38.camel@scientia.net
Christoph Anton Mitterer posted on Sun, 19 Apr 2015 22:00:24 +0200 as
excerpted:
> Most of the time, only one of the two disks shows activity, while the
> other is reading respectively writing.
> The CPU isn't really under full load either (not even a single core),...
> it's rather in the 5-10% utilisation.
> The resulting transferspeed is about 21,5 MB/s (not MiB).
> Seems to be pretty low...
In general, btrfs hasn't really been optimized yet. One of the more
obvious cases of this is the btrfs raid1 mode read case, where the read-
scheduling algorithm is simple even/odd based on the PID, which means a
single read thread will bottleneck on a single device, even if the other
one is totally idle.
That's the biggest "forget optimization, 50% utilization is the best-case
as we're not yet optimizing" example out there, AFAIK.
Which, given the common developer wisdom about premature optimization,
can be explained. But accepting that explanation, one is still stymied
by the fact that all the previous warnings about btrfs being in heavy
development, keep good backups and be prepared to use them, etc, are
being stripped, because btrfs is supposedly ready for normal use now.
But if it's ready for normal use, why isn't it optimized for normal use,
then? And if it's not ready for normal use, why are the warnings
actually telling people that being prematurely stripped?
IMO, therefore, a major btrfs development milestone will be when they
decide development has stabilized enough that it's time to actually
optimize these things for production use, and that doing so is no longer
"premature optimization", because the filesystem is mature and its
methods stable enough that optimization is no longer premature. Once
/that/ happens, arguably then, and /only/ then, can /real/ discussion
start on whether/when btrfs is /truly/ mature and stable.
Until that optimization, then, the clear answer is that btrfs is not yet
stable, because developers are demonstrating by their failure to
optimize, that they don't consider the filesystem mature and stable
enough for it yet, such that any major effort at optimization (as opposed
to simply taking the opportunity when it presents itself as the most
sensible option) is premature.
--
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:[~2015-04-20 5:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-17 23:08 how to clone a btrfs filesystem Christoph Anton Mitterer
2015-04-18 4:24 ` Russell Coker
2015-04-18 5:17 ` Christoph Anton Mitterer
2015-04-18 15:02 ` Russell Coker
2015-04-19 3:56 ` Duncan
2015-04-19 20:00 ` Christoph Anton Mitterer
2015-04-20 5:23 ` Duncan [this message]
2015-04-20 16:32 ` Christoph Anton Mitterer
2015-04-18 8:10 ` Martin Steigerwald
2015-05-07 5:14 ` Paul Harvey
2015-05-07 18:57 ` Martin Steigerwald
2015-05-08 3:22 ` Paul Harvey
2015-04-18 16:09 ` Kai Krakow
2015-04-18 16:23 ` Kai Krakow
2015-04-18 16:23 ` Chris Murphy
2015-04-18 16:36 ` Kai Krakow
2015-04-19 20:33 ` Chris Murphy
2015-04-18 16:20 ` Chris Murphy
2015-04-18 17:23 ` Christoph Anton Mitterer
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$774e3$bc27dda5$8703f13a$d11ec028@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).