Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477236 > unrolled thread

bcache vs bcachefs

Started byHarald Dunkel <harri@afaics.de>
First post2016-09-06 12:00 +0200
Last post2016-09-08 06:30 +0200
Articles 6 — 4 participants

Back to article view | Back to linux.kernel


Contents

  bcache vs bcachefs Harald Dunkel <harri@afaics.de> - 2016-09-06 12:00 +0200
    Re: bcache vs bcachefs Kent Overstreet <kent.overstreet@gmail.com> - 2016-09-07 03:00 +0200
      Re: bcache vs bcachefs "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2016-09-07 16:40 +0200
        Re: bcache vs bcachefs Kent Overstreet <kent.overstreet@gmail.com> - 2016-09-07 18:00 +0200
          Re: bcache vs bcachefs Theodore Ts'o <tytso@mit.edu> - 2016-09-08 05:10 +0200
            Re: bcache vs bcachefs Kent Overstreet <kent.overstreet@gmail.com> - 2016-09-08 06:30 +0200

#1477236 — bcache vs bcachefs

FromHarald Dunkel <harri@afaics.de>
Date2016-09-06 12:00 +0200
Subjectbcache vs bcachefs
Message-ID<selkC-ll-27@gated-at.bofh.it>
Hi folks,

I am pretty hesitant replacing the rock-solid ext4 by bcachefs on my servers.
Meaning no offense, but surely I would prefer to have ext4 with a thin "SSD
caching layer" over a completely different filesystem, potentially with alot
of teething troubles.

Question: Is bcache EOL or can I rely on it for the next 5 to 10 years?


Regards
Harri

[toc] | [next] | [standalone]


#1477908

FromKent Overstreet <kent.overstreet@gmail.com>
Date2016-09-07 03:00 +0200
Message-ID<seznz-11w-3@gated-at.bofh.it>
In reply to#1477236
On Tue, Sep 06, 2016 at 11:46:28AM +0200, Harald Dunkel wrote:
> Hi folks,
> 
> I am pretty hesitant replacing the rock-solid ext4 by bcachefs on my servers.
> Meaning no offense, but surely I would prefer to have ext4 with a thin "SSD
> caching layer" over a completely different filesystem, potentially with alot
> of teething troubles.
> 
> Question: Is bcache EOL or can I rely on it for the next 5 to 10 years?

bcache is not EOL - it's still receiving bugfixes.

That said though, there's no reason to expect a long teething period with
bcachefs, it's already more reliable than btrfs in single device mode.

[toc] | [prev] | [next] | [standalone]


#1478341

From"Austin S. Hemmelgarn" <ahferroin7@gmail.com>
Date2016-09-07 16:40 +0200
Message-ID<seMb8-WB-23@gated-at.bofh.it>
In reply to#1477908
On 2016-09-06 20:55, Kent Overstreet wrote:
> On Tue, Sep 06, 2016 at 11:46:28AM +0200, Harald Dunkel wrote:
>> Hi folks,
>>
>> I am pretty hesitant replacing the rock-solid ext4 by bcachefs on my servers.
>> Meaning no offense, but surely I would prefer to have ext4 with a thin "SSD
>> caching layer" over a completely different filesystem, potentially with alot
>> of teething troubles.
>>
>> Question: Is bcache EOL or can I rely on it for the next 5 to 10 years?
>
> bcache is not EOL - it's still receiving bugfixes.
>
> That said though, there's no reason to expect a long teething period with
> bcachefs, it's already more reliable than btrfs in single device mode.
>
I'd be curious to see any actual data you have to back that up, 
especially regarding what kernel and userspace were involved with the 
BTRFS testing.

[toc] | [prev] | [next] | [standalone]


#1478451

FromKent Overstreet <kent.overstreet@gmail.com>
Date2016-09-07 18:00 +0200
Message-ID<seNqD-1CE-9@gated-at.bofh.it>
In reply to#1478341
On Wed, Sep 07, 2016 at 10:34:15AM -0400, Austin S. Hemmelgarn wrote:
> On 2016-09-06 20:55, Kent Overstreet wrote:
> > On Tue, Sep 06, 2016 at 11:46:28AM +0200, Harald Dunkel wrote:
> > > Hi folks,
> > > 
> > > I am pretty hesitant replacing the rock-solid ext4 by bcachefs on my servers.
> > > Meaning no offense, but surely I would prefer to have ext4 with a thin "SSD
> > > caching layer" over a completely different filesystem, potentially with alot
> > > of teething troubles.
> > > 
> > > Question: Is bcache EOL or can I rely on it for the next 5 to 10 years?
> > 
> > bcache is not EOL - it's still receiving bugfixes.
> > 
> > That said though, there's no reason to expect a long teething period with
> > bcachefs, it's already more reliable than btrfs in single device mode.
> > 
> I'd be curious to see any actual data you have to back that up, especially
> regarding what kernel and userspace were involved with the BTRFS testing.

I'm not a btrfs user, I'm mostly going off feedback from bcachefs users (many or
most of whom are or have been btrfs users too).

On the bcachefs side, here's what we've seen so far:

 - No one has lost data or seen any corruption when using the currently
   supported feature set (multiple devices and caching are not stable just yet).

   I believe the worst bug anyone's hit was 0 length symlinks after unclean
   shutdown, and also 0 length files because we hadn't implemented the
   workarounds for applications that don't fsync yet.

 - I _believe_ no one's seen any crashes/deadlocks/hangs in supported
   configurations - there was a report of a deadlock, but I believe he was using
   tiering and it hasn't reproduced since.

I haven't asked for details about the btrfs issues the bcachefs users have seen
(one guy mentioned his 20 core machine panics running btrfs as the reason he was
considering switching it to bcachefs).

Smaller sample size, unscientific comparisons, etc. etc. but it's certainly
looking more robust so far.

That said, I'm not advocating people rush out to throw bcachefs on their servers
or use it without backups yet, it's still young and needs more widespread
testing.

[toc] | [prev] | [next] | [standalone]


#1478758

FromTheodore Ts'o <tytso@mit.edu>
Date2016-09-08 05:10 +0200
Message-ID<seXSW-ls-13@gated-at.bofh.it>
In reply to#1478451
On Wed, Sep 07, 2016 at 07:55:52AM -0800, Kent Overstreet wrote:
> That said, I'm not advocating people rush out to throw bcachefs on their servers
> or use it without backups yet, it's still young and needs more widespread
> testing.

Hi Kent!

Have you started using xfstests to stress test bcachefs yet?

You may be interested in reading through this presentation, especially
the last slide.  :-)

	   https://thunk.org/gce-xfstests

						- Ted

[toc] | [prev] | [next] | [standalone]


#1478771

FromKent Overstreet <kent.overstreet@gmail.com>
Date2016-09-08 06:30 +0200
Message-ID<seZ8l-12F-11@gated-at.bofh.it>
In reply to#1478758
On Wed, Sep 07, 2016 at 11:01:40PM -0400, Theodore Ts'o wrote:
> On Wed, Sep 07, 2016 at 07:55:52AM -0800, Kent Overstreet wrote:
> > That said, I'm not advocating people rush out to throw bcachefs on their servers
> > or use it without backups yet, it's still young and needs more widespread
> > testing.
> 
> Hi Kent!
> 
> Have you started using xfstests to stress test bcachefs yet?

Yep, since I had enough of a filesystem to test.

> You may be interested in reading through this presentation, especially
> the last slide.  :-)
> 
> 	   https://thunk.org/gce-xfstests

Looks similar conceptually to my own xfstests wrapper...

lol @ the last slide :)

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web