From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: Al <6401e46d@opayq.com>, <linux-btrfs@vger.kernel.org>
Subject: Re: Why is dedup inline, not delayed (as opposed to offline)? Explain like I'm five pls.
Date: Thu, 21 Jan 2016 16:23:07 +0800 [thread overview]
Message-ID: <56A0956B.7060706@cn.fujitsu.com> (raw)
In-Reply-To: <loom.20160120T143906-108@post.gmane.org>
Al wrote on 2016/01/20 14:43 +0000:
> Duncan <1i5t5.duncan <at> cox.net> writes:
>
>>
>> Al posted on Sat, 16 Jan 2016 12:27:16 +0000 as excerpted:
>>
>
> That it does, Duncan, thank you!
>
> I was suggesting, albeit implicitly, that unless you're really short of
> block dev space (!), which is a pretty naff dedup strategy, dedup isn't time
> critical AFAIC(See). My server memory is not huge and I'd happily let it
> chug away dedup'ing than have the whole thing run like a dog for lack of memory.
>
> I'm looking forward to using it; keep up the very good work.
>
The design of providing two backends is for different use case.
If you don't thinkg inmemory is good, then just use ondisk.
Even inmemory doesn't seems useful for you, there is still some cases
that you doesn't know.
The design of inmemory is not to save your block dev space, but to limit
the overhead of write to a consist value.
If one day you just want to write 64K data, but you need to randomly
read 128K metadata and found a hash miss, and do the real write, then
you may understand the meaning of inmemory backend.
To conclude, something meaningless to you doesn't mean it's meaningless
for everyone.
If you really think the design is naff, I'm very glad if you can provide
a better one.
Thanks,
Qu
>
>
> --
> 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
>
>
next prev parent reply other threads:[~2016-01-21 8:23 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-16 12:27 Why is dedup inline, not delayed (as opposed to offline)? Explain like I'm five pls Al
2016-01-16 14:10 ` Duncan
2016-01-16 18:07 ` Rich Freeman
2016-01-18 12:23 ` Austin S. Hemmelgarn
2016-01-23 22:22 ` Mark Fasheh
2016-01-20 14:49 ` Al
2016-01-20 14:43 ` Al
2016-01-21 8:23 ` Qu Wenruo [this message]
2016-01-21 14:53 ` Al
2016-01-21 17:23 ` Chris Murphy
2016-01-22 11:33 ` Al
2016-01-23 2:44 ` Chris Murphy
2016-02-02 2:55 ` Qu Wenruo
2016-01-18 1:36 ` Qu Wenruo
2016-01-18 3:10 ` Duncan
2016-01-18 3:16 ` Qu Wenruo
2016-01-18 3:51 ` Duncan
2016-01-18 12:48 ` Austin S. Hemmelgarn
2016-01-19 8:30 ` Duncan
2016-01-19 9:14 ` Duncan
2016-01-19 12:28 ` Austin S. Hemmelgarn
2016-01-19 15:40 ` Duncan
2016-01-20 8:32 ` Brendan Hide
2016-01-19 12:21 ` Austin S. Hemmelgarn
2016-01-20 15:12 ` Al
2016-01-20 18:21 ` Duncan
2016-01-20 14:53 ` Al
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=56A0956B.7060706@cn.fujitsu.com \
--to=quwenruo@cn.fujitsu.com \
--cc=6401e46d@opayq.com \
--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).