From: DanglingPointer <danglingpointerexception@gmail.com>
To: kreijack@inwind.it, Mark Harmstone <mark@harmstone.com>,
Christoph Anton Mitterer <calestyo@scientia.org>,
linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs RAID5 or btrfs on md RAID5?
Date: Wed, 22 Oct 2025 09:19:38 +1100 [thread overview]
Message-ID: <2bef36fe-95a3-40d5-ba8e-c5e2ec27b16f@gmail.com> (raw)
In-Reply-To: <2a0a802c-0879-4ae4-9eb1-31b1a02efff4@libero.it>
Just going back to the original question I posted...
Will the BTRFS project decide to fix once and for all RAID56 to fix the
write-hole even if the result is a slower-latent result?
At least that would be a fully functional production ready offering as
version 1.0?
Future optimisations and improvements on that version 1.0 will obviously
happen for the life of BTRFS and linux which will improve the
performance from the impact of adding whatever is needed to fix the
write-hole. Just like everything else! At least everyone can say it is
done, although slower now! But feature complete! Making it faster
will then incrementally happen as it evolves like everything else.
On 22/10/25 06:32, Goffredo Baroncelli wrote:
> On 21/10/2025 18.45, Mark Harmstone wrote:
>> On 21/10/2025 4.53 pm, Christoph Anton Mitterer wrote:
>>> On Tue, 2025-10-21 at 16:46 +0100, Mark Harmstone wrote:
>>>> The brutal truth is probably that RAID5/6 is an idea whose time has
>>>> passed.
>>>> Storage is cheap enough that it doesn't warrant the added latency,
>>>> CPU time,
>>>> and complexity.
>>>
>>> That doesn't seem to be generally the case. We have e.g. large storage
>>> servers with 24x 22 TB HDDs.
>>>
>>> RAID6 is plenty enough redundancy for these, loosing 2 HDDs.
>>> RAID1 would loose half.
>>>
>>>
>>> Cheers,
>>> Chris.
>> So for every sector you want to write, you actually need to write three
>> and read 21. That seems a very quick way to wear out all those disks.
>> And then one starts operating more slowly, which slows down every
>> write...
>
> Yes, it is true that the classic raid5/6 doesn't scale well when the
> number
> of disks grows.
>
> However I still think that there is room to a different approach. Like
> putting
> the redundancy inside the extent to avoid an RMW cycles. This and the
> fact that in BTRFS the extents are immutable, would avoid the slowness
> that you mention.
>
>> I'd still use RAID1 in this case.
>>
> This is faster, but also doesn't scale well (== expensive) when the
> storage
> size grows.
>
> BR
> G.Baroncelli
>
next prev parent reply other threads:[~2025-10-21 22:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-22 7:09 btrfs RAID5 or btrfs on md RAID5? Ulli Horlacher
2025-09-22 7:41 ` Qu Wenruo
2025-09-22 8:28 ` Ulli Horlacher
2025-09-22 9:06 ` Qu Wenruo
2025-09-22 9:23 ` Ulli Horlacher
2025-09-22 9:27 ` Qu Wenruo
2025-10-20 9:00 ` Ulli Horlacher
2025-10-20 9:31 ` Andrei Borzenkov
2025-09-22 9:43 ` Ulli Horlacher
2025-09-22 10:41 ` Qu Wenruo
2025-10-21 1:02 ` DanglingPointer
2025-10-21 15:46 ` Mark Harmstone
2025-10-21 15:53 ` Christoph Anton Mitterer
2025-10-21 16:15 ` Jukka Larja
2025-10-21 16:45 ` Mark Harmstone
2025-10-21 17:32 ` Andrei Borzenkov
2025-10-21 17:43 ` Mark Harmstone
2025-10-21 19:32 ` Goffredo Baroncelli
2025-10-21 22:19 ` DanglingPointer [this message]
2025-09-22 8:07 ` Lukas Straub
2025-09-22 8:50 ` Ulli Horlacher
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=2bef36fe-95a3-40d5-ba8e-c5e2ec27b16f@gmail.com \
--to=danglingpointerexception@gmail.com \
--cc=calestyo@scientia.org \
--cc=kreijack@inwind.it \
--cc=linux-btrfs@vger.kernel.org \
--cc=mark@harmstone.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.