Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    First inst SSD … TRIM yes or no / SWAP yes or no / LOGs yes or no

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    8 Posts 4 Posters 2.2k Views
    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.
    • C Offline
      carmico
      last edited by

      hello there!

      i'm running for the first time my new

      Supermicro C2758 with 16GB RAM DDR3 ECC 1600mhz

      i want to go with a Full Install on my SSD Samsung 850 Pro 256GB (with last firmware) , these days there's no sense to run nanobsd, right? on 2.4 there's gonna be no embedded version, right?

      now running live version nanobsd for test, everything is UP, everything looks fine

      my questions before full install are:

      1. do i have to enable TRIM ? some people has issues/problems with TRIM loosing data or something like that

      2. better to go with 0 SWAP ? i read that swap gonna slow down my pfsense, is that true?

      3. disable logs to save ssd lifespan ? i don't need to keep logs, but gonna be fine to keep network usage data , maybe i can run schedule backup before shutdown ? running UPS already

      another suggestion for first install? something else to enable or disable?

      on System-Advanced-Miscellaneous i set like the image

      other things?

      thanks! and regards from Italy

      1 Reply Last reply Reply Quote 0
      • M Offline
        MasterX-BKC- Banned
        last edited by

        I would definitely disable SWAP, as it can slow things down, and it will degrade the life expectancy of the SSD considerably.

        Disabling the logs would also extend the SSDs life, perhaps setup a remote syslog for them to log into some other server.

        I also have a product called PFMonitor which acts as a remote log for pfsense.
        https://forum.pfsense.org/index.php?topic=120972.0

        1 Reply Last reply Reply Quote 0
        • C Offline
          carmico
          last edited by

          @MasterX-BKC-:

          I would definitely disable SWAP, as it can slow things down, and it will degrade the life expectancy of the SSD considerably.

          Disabling the logs would also extend the SSDs life, perhaps setup a remote syslog for them to log into some other server.

          I also have a product called PFMonitor which acts as a remote log for pfsense.
          https://forum.pfsense.org/index.php?topic=120972.0

          ok, for SWAP = 0

          i think gonna enable RAMdisk for logs and leases with schedule every 24hours  , what size for ram disk /tmp and /var ?

          but what about TRIM ?

          thanks

          1 Reply Last reply Reply Quote 0
          • M Offline
            MasterX-BKC- Banned
            last edited by

            Normally TRIM would be yes, but if TRIM support is buggy in pfsense i wont vouch for it without knowing for sure.

            1 Reply Last reply Reply Quote 0
            • K Offline
              kpa
              last edited by

              @MasterX-BKC-:

              Normally TRIM would be yes, but if TRIM support is buggy in pfsense i wont vouch for it without knowing for sure.

              This is an overgeneralization. It does work fine once you manage to turn it on for the filesystem used.

              1 Reply Last reply Reply Quote 0
              • C Offline
                carmico
                last edited by

                the TRIM factor on PFsense is not Clear

                some people tells to Enable

                and some other people tells that is better to leave TRIM Disable with a 10% or 20% of unused space on the SSD…

                confused  ::)

                1 Reply Last reply Reply Quote 0
                • O Offline
                  openletter
                  last edited by

                  Request to add to documentation wiki how to check and enable TRIM support

                  pfSense 2.4.3-RELEASE (amd64) installed to PC on Samsung 860 EVO mSATA 256 GB SSD with Supermicro X11SBA-LN4F, Intel Pentium N3700, 4 GB RAM, 4 mobo 10/100/1000, 1 PCIe 10/100/1000 x4 NIC (HP NC364T), and APC Smart-UPS SMT1500.

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    carmico
                    last edited by

                    still confused…

                    ;D

                    TRIM yes or no ?!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.