this post was submitted on 04 May 2024
120 points (97.6% liked)

Linux

48365 readers
1629 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by AlpΓ‘r-Etele MΓ©der, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Just a simple question : Which file system do you recommend for Linux? Ext4...?

EDIT : Thanks to everyone who commented, I think I will try btrfs on my root partition and keep ext4 for my home directory πŸ˜ƒ

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -4 points 6 months ago* (last edited 6 months ago) (4 children)

BTRFS is not more performant than EXT4.

I personally dont use any features of BTRFS manually though, as Fedora Kinoite does that for me.

[–] [email protected] 9 points 6 months ago* (last edited 6 months ago) (1 children)

Note that ext4 is damn old and thus also not as performant as more modern ones like btrfs or bcachefs

This is not true. BTRFS has more features but ext4 is very performant. They're both similar enough that I promise you that you wouldn't notice unless you had some very specific use-case that needed to be performance tuned.

What do you think "being old" has to do with performance?

[–] [email protected] -1 points 6 months ago* (last edited 6 months ago) (1 children)

What do you think "being old" has to do with performance?

Being tailored to NVMEs or SATA SSDs instead of to HDDs and similar. But I am not sure about which one would be better here.

Phoronix Benchmark so we have something to look at

BTRFS seems to be better at multithreading, being outperformed by F2FS (which I forgot to mention, it is used on Android and I would call that damn stable).

Actually, F2FS seems to be a really good replacement for EXT4, being top in most tests, while having no journaling, while BTRFS in fact worked pretty badly!

[–] [email protected] 5 points 6 months ago

Right, your claim that ext4 "isn't performant because it's old" is crap.

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (2 children)

2008 is not "damn old" in terms of filesystems.

[–] [email protected] 3 points 6 months ago (1 children)

It is 16 years ago, that's pretty old in terms of technology.

It's also an evolution of ex3 and ext2, and ext if you want to consider it's very short lifetime. In fact, the lead developer stated in 2008 that it was meant as a stop gap, as it's based on old technology with some new features, and that BTRFS was the future.

[–] [email protected] 1 points 6 months ago (1 children)

And yet here we are 16 years later with btrfs only just in a position to be usable (perhaps. My experience is that I'll never use it again)

[–] [email protected] 2 points 6 months ago

And EXT had been developed for 16 years at that point (and XFS for 15). They didn't mature overnight, either.

Hopefully bcachefs matures more quickly, because we need a mainline replacement for ZFS.

[–] [email protected] 2 points 6 months ago

Exactly especially when the default file system on windows is 30 years old.

[–] [email protected] 3 points 6 months ago (1 children)

Note that ext4 is damn old

Hmm ? Linux kernel is way older than ext4. And before ext4 there was ext3 and ext2. Linux users also have the choice of using XFS file system and for IT persons working for corporations XFS can have some advantages. Let's see, XFS was born in 1993.

more modern ones like btrfs or bcachefs

Years ago I thought that bcachecfs looked interesting but last thing I read about it this year was not very promising regarding reliability. Not sure whether it was in comments on Lemmy but here I found something from Linus himself : https://en.wikipedia.org/wiki/Bcachefs#Stability

[–] [email protected] 4 points 6 months ago

Yeah, bcachefs is still very very young, and not ready for much of anything beyond tinkering. But I'm definitely excited to have a native filesystem that's designed with tiers in mind.

[–] [email protected] 1 points 6 months ago

ETX4 was released in 2006 and BTRFS was released in 2007.