From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Anyone tried out btrbk yet?
Date: Tue, 21 Jul 2015 09:29:05 +0000 (UTC) [thread overview]
Message-ID: <pan$3ae51$bc5b796f$ddf9ddc1$392a5e3c@cox.net> (raw)
In-Reply-To: CAC=t97AK_4PMT4NAWiW_OwhGFidJOR6mrUh=9gnTqeRNHAjxRw@mail.gmail.com
Donald Pearson posted on Mon, 20 Jul 2015 08:33:47 -0500 as excerpted:
>> Also, FWIW, the btrfs quota subsystem increases snapshot management
>> complexity dramatically, so if you're using that, aim for the low ends
>> of the above recommendation if at all possible, and/or consider either
>> turning off the quota stuff or using a filesystem other than btrfs, as
>> in addition to the scaling issues, the quota management code has been a
>> source of repeated bugs and isn't a feature I'd recommend relying on
>> until it has at least several kernel cycles worth of trouble-free
>> history behind it.
>
> Thanks for the insight. I just took a look at dmesg and found this.
> Is this coincidental or is this maybe the reason things appear to be
> stuck? I'm not sure how to read this.
>
> [195400.023165] ------------[ cut here ]------------
> [195400.023199] WARNING: CPU: 2 PID: 16987 at fs/btrfs/qgroup.c:1028
> __qgroup_excl_accounting+0x1dc/0x270 [btrfs]()
I don't know. I'm not a btrfs quota feature user.
What I do know is that there has been... again... more quota code patches
recently, fixing what sound like serious problems.
You already have my recommendation above; unless you are actively testing
the btrfs quota code, if you don't need it, don't use it; if you do need
it, use something where it's actually working well enough to /rely/ on.
But in fairness that's potentially a negatively biased view, since as I'm
on the list but not actually using that feature I'm seeing the bug
reports without much in the way of knowing how common they actually are.
If it's a big deal to turn quotas off, I'd say wait and see if the dev
actually working on it cares to comment with his opinion of quota feature
stability in general, and perhaps of that specific trace, before deciding
for sure.
But if you have the inclination and don't really need quotas, and
assuming disabling them isn't /too/ big a hassle, it might be worthwhile
disabling the feature and seeing how things go. I can't see how not
having to deal with quotas could /hurt/ scaling, and with luck, it'll
improve things noticeably.
FWIW, the developer post where the effect of quotas on scaling was
explained was actually in the context of snapshot-aware-defrag, which has
been disabled for awhile now, /because/ of the scaling issues (it was so
bad the defrag would basically hang, taking hours to defrag a single
moderately sized file as it tracked it thru the various snapshots, so
processing time for a full filesystem could easily be weeks and could in
some cases be months, obviously well outside any practically workable
range!), and while quota processing was explained to be horrible in that
context at that time (I read it as at least doubling the necessary work),
there has been at least one quota-code rewrite since then, as well as
additional work, and it may actually not be nearly as bad any more,
barring a direct bug, of course. But I don't know as I've not seen any
direct statements or numbers either way, only the bug reports and patches
going by.
--
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-07-21 9:29 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-09 12:26 Anyone tried out btrbk yet? Martin Steigerwald
2015-07-09 17:12 ` Henri Valta
2015-07-09 17:17 ` Marc MERLIN
2015-07-10 1:35 ` Donald Pearson
2015-07-10 1:38 ` Donald Pearson
2015-07-10 4:02 ` Paul Harvey
2015-07-10 10:46 ` Axel Burri
2015-07-12 3:55 ` Marc MERLIN
2015-07-13 0:42 ` Marc MERLIN
2015-07-15 0:03 ` Paul Harvey
2015-07-15 3:14 ` Marc MERLIN
2015-07-15 8:00 ` Sander
2015-07-15 14:42 ` Donald Pearson
2015-07-15 18:02 ` Donald Pearson
2015-07-15 21:49 ` Marc MERLIN
2015-07-20 5:15 ` Donald Pearson
2015-07-20 8:28 ` Duncan
2015-07-20 13:33 ` Donald Pearson
2015-07-21 9:29 ` Duncan [this message]
2015-07-22 1:29 ` Donald Pearson
2015-07-25 13:27 ` Donald Pearson
2015-07-26 5:39 ` Duncan
2015-07-15 21:48 ` Marc MERLIN
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$3ae51$bc5b796f$ddf9ddc1$392a5e3c@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).