Announcement

Collapse
No announcement yet.

Fedora Looking At Finally Enabling FSTRIM By Default In Fedora 32

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

  • Fedora Looking At Finally Enabling FSTRIM By Default In Fedora 32

    Phoronix: Fedora Looking At Finally Enabling FSTRIM By Default In Fedora 32

    While Ubuntu, openSUSE, and numerous other Linux distributions make use of FSTRIM by default for helping with performance and wear-leveling on NVMe/SSD/SD-card storage, Fedora notably has not enabled the support by default but that could change next year in F32...

    http://www.phoronix.com/scan.php?pag...STRIM-Proposal

  • #2
    If you want to enable it on Fedora 31 so it runs each Monday at 00:00.00, do the following:

    Code:
    $ sudo systemctl enable fstrim.timer
    $ sudo systemctl start fstrim.timer
    Or manually run it once:

    Code:
    $ sudo /usr/sbin/fstrim --fstab --verbose

    Comment


    • #3
      It also looks like Fedora is following in SUSE's footsteps and enabling LTO.

      https://lists.fedoraproject.org/arch...FR6DQPMY3WLGL/

      and also making it easier to use Clang as the default compiler.
      https://lists.fedoraproject.org/arch...ITBET7RAAKAB3/

      Comment


      • #4
        lowlands The systemctl operations of enable and start can be reduced to a one liner with the --now flag:

        Code:
        $ sudo systemctl enable --now fstrim.timer
        Cheers,
        Mike

        Comment


        • #5
          Originally posted by Britoid View Post
          It also looks like Fedora is following in SUSE's footsteps and enabling LTO.
          For being bleeding edge sometimes Fedora ends up a bit behind the pack.
          All of these seem like things developers would want to see. Hopefully nothing gets blocked.

          Comment


          • #6
            Originally posted by wizard69 View Post
            For being bleeding edge sometimes Fedora ends up a bit behind the pack.


            All of these seem like things developers would want to see. Hopefully nothing gets blocked.
            Yeh. I love Fedora but it is a bit behind the pack when it comes to compile-time options, so it's good to see these things started to come through, a python option got approved for F32 which massively improves Python performance.

            Comment


            • #7
              Originally posted by Britoid View Post
              It also looks like Fedora is following in SUSE's footsteps and enabling LTO.
              As I recall, there was an issue with LTO and symbol versioning that could impact some projects, and GCC 10 was the target release to address it. That hopefully makes enabling LTO in F32, which will include GCC 10, result in minimal impact on most projects (there are always the special cases).

              Comment


              • #8
                Why only fstrim weekly instead of TRIM enabled in filesystem and LVM? Isn't that better for the SSD?

                Comment


                • #9
                  Originally posted by willmore View Post
                  Why only fstrim weekly instead of TRIM enabled in filesystem and LVM? Isn't that better for the SSD?
                  I believe that's worse.

                  Comment


                  • #10
                    Originally posted by willmore View Post
                    Why only fstrim weekly instead of TRIM enabled in filesystem and LVM? Isn't that better for the SSD?
                    Running TRIM commands after each delete slows down the system. Imho the kernel should be passing trim occasionally when there's little activity.

                    Comment

                    Working...
                    X