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

eMMC Write endurance

Scheduled Pinned Locked Moved Official Netgate® Hardware
93 Posts 21 Posters 18.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.
  • S
    SteveITS Galactic Empire @nkull
    last edited by Jun 8, 2023, 9:40 PM

    @nkull Yeah I wish they'd make that more obvious in the store or somewhere. Might sell more "max" units up front.

    It really depends on logging. Some routers have a LOT of alerts from a high amount of traffic and/or open ports, some like to leave the dashboard running which logs to the web server log the whole time for every widget update.

    I suppose another similar high-write situation is updating dev builds every day.

    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
    Upvote 👍 helpful posts!

    N 1 Reply Last reply Jun 8, 2023, 10:08 PM Reply Quote 0
    • N
      nkull @SteveITS
      last edited by Jun 8, 2023, 10:06 PM

      @SteveITS Well adding a RAM disk failed spectacularly, had to recover it at the console... How much space are you usually allocating? I did 400MB for both /tmp and /var and it crashed the system.

      S 1 Reply Last reply Jun 8, 2023, 10:13 PM Reply Quote 0
      • N
        nkull @SteveITS
        last edited by Jun 8, 2023, 10:08 PM

        @SteveITS Probably a lot of alerts... I forward logs to a syslog and it keeps pretty busy. I do have open ports as I run services behind the unit. I am trying to shut down some logs now, I think I got the suricada logs turned off and I also disabled the default deny rule logs now.

        1 Reply Last reply Reply Quote 0
        • S
          SteveITS Galactic Empire @nkull
          last edited by Jun 8, 2023, 10:13 PM

          @nkull Hmm, normally 512 and 1024 as I recall. Check /var and /tmp usage in the disk widget, it has to fit.

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          N C 3 Replies Last reply Jun 8, 2023, 10:17 PM Reply Quote 1
          • N
            nkull @SteveITS
            last edited by Jun 8, 2023, 10:17 PM

            @SteveITS It was showing less than 50MB per when I set it up... but upon boot it filled 400GB before the thing could even get going... I look again now and they are nearly empty again.

            1 Reply Last reply Reply Quote 0
            • N
              nkull @SteveITS
              last edited by Jun 8, 2023, 10:19 PM

              @SteveITS @SteveITS Then again just looked at the console, it's using more... It's just a 4100, so I can't do too much RAM disk.

              1 Reply Last reply Reply Quote 0
              • N
                nkull @rcoleman-netgate
                last edited by Jun 8, 2023, 10:49 PM

                @rcoleman-netgate said in eMMC Write endurance:

                @nkull Yeah, turn off logging for Suricata on an eMMC -- if you want the storage to last.

                See https://www.netgate.com/supported-pfsense-plus-packages

                Just gonna say, maybe you should put this on your product page when you are buying the unit, *Hey, you might want to consider better storage if you are going to use this for more than basic firewall applications because the storage on this device is gonna crap out! * or maybe when you install the packages in the router....

                Instead the product page just has things like

                "pfSense Plus software is a powerful firewall, router, and VPN solution that leverages a number of highly-regarded open-source projects. The software competes effectively with far more expensive, commercial alternatives and is used by hundreds of thousands of businesses, educational institutions, and government agencies all over the world. Leading secure-networking features and capabilities include:"

                and

                All at a fraction of the cost of proprietary alternatives, pfSense Plus software is the perfect answer. Popular pfSense Plus use cases include load balancing, traffic shaping, captive portal, UTM device, DNS/DHCP Server, IDS/IPS, transparency caching proxy, web content filtering, failover WAN, and much more.

                Not very cost effective though if you burn through 90% of it's storage lifetime in 1 year... And I'm just one person... granted I'm a power user, but still.

                That page you referenced is referenced nowhere on the product page itself. I just checked... and yeah, I'm feeling a little bitter about it. As I said, hopefully I can upgrade it, not that you have any information that helps with that like you did with older units... if I can't it will just be a paper weight pretty soon from the looks of it.

                M 1 Reply Last reply Jun 8, 2023, 10:53 PM Reply Quote 0
                • M
                  mcury @nkull
                  last edited by Jun 8, 2023, 10:53 PM

                  @nkull I installed a SSD in my SG-4100 around two weeks ago, it was pretty easy.

                  fe66720a-d568-4af6-a6e1-a3e6f18a1307-image.png

                  dead on arrival, nowhere to be found.

                  N 1 Reply Last reply Jun 8, 2023, 10:55 PM Reply Quote 2
                  • N
                    nkull @mcury
                    last edited by Jun 8, 2023, 10:55 PM

                    @mcury That's good to hear! I had not seen anyone confirm it in a 4100 yet, so that makes me happy... I have one on the way.

                    M 1 Reply Last reply Jun 8, 2023, 10:58 PM Reply Quote 0
                    • M
                      mcury @nkull
                      last edited by mcury Jun 8, 2023, 10:58 PM Jun 8, 2023, 10:58 PM

                      @nkull You will need to remove torx screws, if I remember correctly, I used T6, T8 and T10..

                      dead on arrival, nowhere to be found.

                      N 1 Reply Last reply Jun 8, 2023, 11:00 PM Reply Quote 0
                      • N
                        nkull @mcury
                        last edited by Jun 8, 2023, 11:00 PM

                        @mcury That I can do...

                        What drive did you end up putting in?

                        M 1 Reply Last reply Jun 8, 2023, 11:02 PM Reply Quote 0
                        • M
                          mcury @nkull
                          last edited by Jun 8, 2023, 11:02 PM

                          @nkull said in eMMC Write endurance:

                          What drive did you end up putting in?

                          I got a WD SN520 (2242), I had to install a little heatsink because it was hitting 75+ Celsius..

                          So, keep attention to the drive temps, and in case you need a heatsink, get a thin one because you won't have much space..

                          dead on arrival, nowhere to be found.

                          N 1 Reply Last reply Jun 8, 2023, 11:04 PM Reply Quote 0
                          • N
                            nkull @mcury
                            last edited by Jun 8, 2023, 11:04 PM

                            @mcury That's toasty... I've got a 2280 coming of the same drive. Have a link to the heatsink you used? Looks like it's helping from your post above.

                            M 1 Reply Last reply Jun 8, 2023, 11:09 PM Reply Quote 0
                            • M
                              mcury @nkull
                              last edited by Jun 8, 2023, 11:09 PM

                              @nkull

                              a91afe0d-7193-4f62-8eca-ebdff8d110d3-image.png

                              When I was closing the box, I noticed that the heatsink was touching the box.. So I don't recommend the one I'm using..

                              If you get one, check the thickness and in case it touches the box, don't force it..

                              dead on arrival, nowhere to be found.

                              1 Reply Last reply Reply Quote 0
                              • M mcury referenced this topic on Aug 28, 2023, 11:26 PM
                              • M mrneutron referenced this topic on May 8, 2024, 2:58 PM
                              • C
                                Cabledude @SteveITS
                                last edited by May 16, 2024, 10:27 PM

                                @SteveITS said in eMMC Write endurance:

                                @nkull Hmm, normally 512 and 1024 as I recall. Check /var and /tmp usage in the disk widget, it has to fit.

                                Hi @SteveITS I went from 1100 to 2100 Max with 128GB SSD, precisely because of eMMC longevity concerns. So with the SSD I should be safe. However...
                                As I have 4GB of RAM, which is mostly < 25% usage, would my 2100 benefit from also adding a RAM drive?

                                • The SSD has under 5G allocated and 110G free
                                • I use the following packages:

                                avahi, dpinger, kea-dhcp4, kea-dhcp6, ntpd, openvpn, pfBlockerNG (with logs), radvd, syslogd, unbound DNS Resolver

                                Thank you.

                                Pete
                                Home: SG-2100 + UniFi + Synology. SG-1100 retired
                                Parents: SG-1100 + UniFi + Synology
                                Testing: SG-1100 w/ 120GB SSD via ext USB (eMMC dead). Works great

                                S 1 Reply Last reply May 16, 2024, 10:49 PM Reply Quote 0
                                • S
                                  stephenw10 Netgate Administrator
                                  last edited by May 16, 2024, 10:37 PM

                                  With pfBlocker-ng running you will likely need some pretty large RAM drives. That depends on the how many lists you have active though.

                                  1 Reply Last reply Reply Quote 1
                                  • S
                                    SteveITS Galactic Empire @Cabledude
                                    last edited by May 16, 2024, 10:49 PM

                                    @Cabledude Concur memory use is list/situation specific. We rarely get to 1GB usage for pfSense.

                                    Pros: bit faster temp files, logging

                                    Cons: Lose up to an hour (per settings) of data at power loss

                                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                    Upvote 👍 helpful posts!

                                    1 Reply Last reply Reply Quote 1
                                    • C
                                      Cabledude
                                      last edited by May 16, 2024, 11:13 PM

                                      Hi @stephenw10 and @SteveITS,

                                      Thanks for your recommendations. The basis question was rather: would the 128GB SSD benefit (have extended life) if RAM disk is used?

                                      Pete
                                      Home: SG-2100 + UniFi + Synology. SG-1100 retired
                                      Parents: SG-1100 + UniFi + Synology
                                      Testing: SG-1100 w/ 120GB SSD via ext USB (eMMC dead). Works great

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by May 16, 2024, 11:32 PM

                                        Yes. But the write cycle life on any recent SSD is likely to outlive the usefulness of the device anyway. So I'd question the value in doing so.

                                        1 Reply Last reply Reply Quote 1
                                        • P
                                          patient0
                                          last edited by patient0 May 17, 2024, 7:38 AM May 17, 2024, 7:38 AM

                                          After reading through this thread I checked the eMMC health of the used SG-1100 I bought two weeks ago ... and it is not looking great (but Pre EOL is still ok):

                                          mmc extcsd read /dev/mmcsd0rpmb | egrep -i ^emmc
                                          eMMC Firmware Version: 73103517
                                          eMMC Life Time Estimation A [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_A]: 0x08
                                          eMMC Life Time Estimation B [EXT_CSD_DEVICE_LIFE_TIME_EST_TYP_B]: 0x0b
                                          eMMC Pre EOL information [EXT_CSD_PRE_EOL_INFO]: 0x01
                                          

                                          I'm running the SG-1100 in my lab with 24.03 on ZFS with RAM disk enabled, standard log of firewall disabled and nothing disk heavy running. Is it recommended to re-install but with UFS to extend the life of the device?

                                          C 1 Reply Last reply May 17, 2024, 8:11 AM Reply Quote 0
                                          37 out of 93
                                          • First post
                                            37/93
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received