Announcement

Collapse
No announcement yet.

F2FS Improves Zoned Block Device Support & Per-File Compression For Linux 6.9

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • F2FS Improves Zoned Block Device Support & Per-File Compression For Linux 6.9

    Phoronix: F2FS Improves Zoned Block Device Support & Per-File Compression For Linux 6.9

    Merged today were all the Flash-Friendly File-System (F2FS) updates for the in-development Linux 6.9 kernel...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Not really sure why F2FS isn't the defacto standard on every Linux desktop (for regular users). Basically any system is going to be using some form of flash storage and that's where F2FS shines.

    Comment


    • #3
      * https://www.kernel.org/doc/html/next...tems/f2fs.html
      * https://f2fs.wiki.kernel.org/

      Comment


      • #4
        Does per file compression reduce the needed disk space or is it still only for saving writes?

        Comment


        • #5
          Originally posted by Anux View Post
          Does per file compression reduce the needed disk space or is it still only for saving writes?
          How would you get one without the other? Would a FS really implement compression without the extremely mild extra bookkeeping required to mark blocks correctly?

          Comment


          • #6
            Originally posted by AKoskovich View Post
            Not really sure why F2FS isn't the defacto standard on every Linux desktop (for regular users). Basically any system is going to be using some form of flash storage and that's where F2FS shines.
            Had it for few years, performance after a while (few month) was worse than EXT4 (Crucial MX500 2TB drive), and I had near data loss situation on kernel update on two machines. Gave up (just like with XFS and BTRFS) and returned to EXT4. F2FS doesn't offer anything useful over EXT4, but the latter is far more reliable for sure. Compression is also useless - it doesn't offer any more disk space.
            Last edited by sobrus; 19 March 2024, 04:49 AM.

            Comment


            • #7
              IIUC SSD drives do their own balancing, and F2FS is meant to be used with "raw" flash media, like SD cards.

              Nope, it's not for raw devices. See this article, paragraph two.
              Last edited by direc85; 22 March 2024, 10:04 AM. Reason: My IIUC was wrong.

              Comment


              • #8
                Originally posted by geerge View Post
                How would you get one without the other? Would a FS really implement compression without the extremely mild extra bookkeeping required to mark blocks correctly?

                Unlike other filesystems with inline compression, f2fs compression does not expose additional freespace by default and instead reserves the same number of blocks regardless of whether compression is enabled or not.

                Comment


                • #9
                  Originally posted by direc85 View Post
                  IIUC SSD drives do their own balancing, and F2FS is meant to be used with "raw" flash media, like SD cards.
                  This is why I do not understand why the Raspberry Pi is not using it.
                  The performance difference is HUGE on a SD card.

                  Comment


                  • #10
                    Originally posted by sobrus View Post

                    Had it for few years, performance after a while (few month) was worse than EXT4 (Crucial MX500 2TB drive), and I had near data loss situation on kernel update on two machines. Gave up (just like with XFS and BTRFS) and returned to EXT4. F2FS doesn't offer anything useful over EXT4, but the latter is far more reliable for sure. Compression is also useless - it doesn't offer any more disk space.
                    so, you had data loss with XFS, btrfs and F2FS?
                    That's quite odd. Did you verify your hardware?

                    Comment

                    Working...
                    X