EROFS Switches To Buffered I/O For File-Backed Mounts To Speed-Up Container Start Times

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67050

    EROFS Switches To Buffered I/O For File-Backed Mounts To Speed-Up Container Start Times

    Phoronix: EROFS Switches To Buffered I/O For File-Backed Mounts To Speed-Up Container Start Times

    Back for the Linux 6.12 kernel EROFS introduced support for file-backed mounts to help with container and sandboxing use-cases. As part of the EROFS "fixes" merged yesterday to the Linux 6.13 kernel, file-backed mounts are now using buffered I/O by default to speed-up container start times...

    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
  • Jumbotron
    Senior Member
    • Jul 2015
    • 1187

    #2
    I have just enough knowledge on this to ask a question. Could a knock on effect of this be to speed up load times of Snap packages and perhaps Flatpaks as well ?

    Comment

    • intelfx
      Senior Member
      • Jun 2018
      • 1083

      #3
      Originally posted by Jumbotron View Post
      I have just enough knowledge on this to ask a question. Could a knock on effect of this be to speed up load times of Snap packages and perhaps Flatpaks as well ?
      Snap packages do not use EROFS in any way, so no. Flatpak packages work entirely differently (thankfully!), so no as well.

      Comment

      • Jumbotron
        Senior Member
        • Jul 2015
        • 1187

        #4
        Originally posted by intelfx View Post

        Snap packages do not use EROFS in any way, so no. Flatpak packages work entirely differently (thankfully!), so no as well.
        Thanks ! Saw the mention of “sandboxed” apps in the article and it piqued my interest.

        Comment

        • NobodyXu
          Senior Member
          • Jun 2021
          • 815

          #5
          I guess this is mostly for Android?

          I don't think docker/podman/kubernate or even firejail supports this as backing fs in container

          i do know docker/podman/kubernate support btrfs to some exteny, and google's gVisor uses a userspace overlayfs impl.

          Comment

          • intelfx
            Senior Member
            • Jun 2018
            • 1083

            #6
            Originally posted by NobodyXu View Post
            I guess this is mostly for Android?

            I don't think docker/podman/kubernate or even firejail supports this as backing fs in container
            I believe that at least Podman (and various other things in the RH OCI ecosystem, like bootc) can make use of EROFS via the composefs graph driver backend.
            Last edited by intelfx; 19 December 2024, 12:12 AM.

            Comment

            • NobodyXu
              Senior Member
              • Jun 2021
              • 815

              #7
              Originally posted by intelfx View Post

              I believe that at least Podman (and various other things in the RH OCI ecosystem, like bootc) can make use of EROFS via the composefs graph driver backend.
              Thanks, it's quite interesting.

              Comment

              • Britoid
                Senior Member
                • Jul 2013
                • 2146

                #8
                Originally posted by Jumbotron View Post
                I have just enough knowledge on this to ask a question. Could a knock on effect of this be to speed up load times of Snap packages and perhaps Flatpaks as well ?
                The only performance overhead of Flatpak is the time at startup to setup the namespacing, there's no I/O overhead outside of the OS not having the libraries in io cache which might be the case for a non-Flatpak application if said library on the host was already accessed. Creating namespaces is extremely quick (systemd is already doing it for everything).

                There is composefs that Flatpak I guess could swap to at some point as it can cryptographically verify applications at runtime, that would benefit from this change though.
                Last edited by Britoid; 19 December 2024, 06:57 AM.

                Comment

                Working...
                X