• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Support for F2FS file system?

Scheduled Pinned Locked Moved OS
4 Posts 3 Posters 399 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      poVoq
      last edited by poVoq 15 Nov 2020, 13:21

      https://en.wikipedia.org/wiki/F2FS
      Seems like this kernel level file system is widely used in the Android world and can offer quite significant speed improvements* (and other advantages) over EXT4 that is currently used in UT.

      *https://www.phoronix.com/scan.php?page=article&item=linux-58-filesystems&num=1
      Edit: also: https://www.phoronix.com/scan.php?page=article&item=linux-50-filesystems&num=4
      (While overall performance seems to highly depend on the benchmark, application start-up time measured seems significantly better with F2FS, which would be probably noticeable on UT, which IMHO suffers from relatively slow application startup.)

      Has this been considered?

      Edit: Hmm, seems to require at least kernel 4.4 (edit: appears to be supported kernel 3.8 onwards?), but some older Android kernels might be patched for it already. See also: https://forum.armbian.com/topic/4167-f2fs-revisited/

      Fairphone 5 (waiting for port)

      E 1 Reply Last reply 15 Nov 2020, 13:50 Reply Quote 0
      • E Offline
        Emphrath @poVoq
        last edited by 15 Nov 2020, 13:50

        @poVoq i don't know about the feasability of this, but apps sure are slow to start

        1 Reply Last reply Reply Quote 0
        • T Offline
          tigerpro
          last edited by 15 Nov 2020, 17:05

          in theory if the kernel has f2fs support built in, and all the utilities to use f2fs are present in the build, then it should be possible, however I dont think anyone has ever actually tried, I had asked about this in telegram a couple months ago and this was the answer I was given, I have been debating if I want to try it or not since then.

          Whether you think you can, or you can't, if you do not try, you will never truly know. So give it a Go.

          1 Reply Last reply Reply Quote 1
          • P Offline
            poVoq
            last edited by 15 Nov 2020, 23:35

            The (better) Android vendors seem to think it is worthwhile... and Google is using it in their flagship phones I think.
            But yeah just a suggestion, might end up to be not worth the effort.

            Fairphone 5 (waiting for port)

            1 Reply Last reply Reply Quote 0
            2 out of 4
            • First post
              2/4
              Last post