You know, ZFS, ButterFS (btrfs…its actually “better” right?), and I’m sure more.

I think I have ext4 on my home computer I installed ubuntu on 5 years ago. How does the choice of file system play a role? Is that old hat now? Surely something like ext4 has its place.

I see a lot of talk around filesystems but Ive never found a great resource that distiguishes them at a level that assumes I dont know much. Can anyone give some insight on how file systems work and why these new filesystems, that appear to be highlights and selling points in most distros, are better than older ones?

Edit: and since we are talking about filesystems, it might be nice to describe or mention how concepts like RAID or LUKS are related.

    • aksdb@feddit.de
      link
      fedilink
      arrow-up
      27
      ·
      11 months ago

      It likely has an edge. But I think on SSDs the advantage is negligible. Also games have the most performance critical stuff in-memory anyway so the only thing you could optimize is read performance when changing scenes.

      Here are some comparisons: https://www.phoronix.com/news/Linux-5.14-File-Systems

      But again … practically you can likely ignore the difference for desktop usage (also gaming). The workloads where it matters are typically on servers with high throughput where latencies accumulate quickly.

    • flashgnash
      link
      fedilink
      arrow-up
      13
      ·
      11 months ago

      Having tried NTFS, ext4 and btrfs, the difference is not noticeable (though NTFS is buggy on Linux)

      Btrfs I believe has compression built in so is good for large libraries but realistically ext4 is the easiest and simplest way to do so I just use that nowadays

      • Cwilliams@beehaw.org
        link
        fedilink
        arrow-up
        10
        arrow-down
        1
        ·
        11 months ago

        Well that’s because any support for it is unofficial. NTFS is made for Windows

      • Flaky@iusearchlinux.fyi
        link
        fedilink
        English
        arrow-up
        3
        ·
        11 months ago

        I had a pretty bad experience with the Paragon NTFS3 drivers a couple years ago. Basically the kernel hung, maybe from this, maybe not, but it ended up with filesystem corruption on my hard drives.

        Thankfully, Windows was able to fix it but until recently I relied on NTFS-3G. Paragon’s NTFS3 driver seems to be faring a lot better nowadays.

    • aberrate_junior_beatnik@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      ·
      11 months ago

      I’d be surprised to find out there was one filesystem that consistently did better than others in gaming performance. ext4 is a fine choice, though.

    • Auli@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      Going to be they or XFS. There was a benchmark of the different filesystems I heard about never found it though. It was recent and included bcachefs

    • noddy@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      11 months ago

      I remember reading somewhere that btrfs has good performance for gaming because of deduplication. I’m using btrfs, haven’t benchmarked it or anything, but it seems to work fine.