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

    Ryzen 3 2200G randomly crashing

    Scheduled Pinned Locked Moved Hardware
    28 Posts 7 Posters 4.1k 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.
    • Z
      Zermus
      last edited by Zermus

      Hmm, I'll try to swap out the Intel CT with the I210. The weird part is that the system was stable on older hardware with the same NICs, the system was based on an AMD A8-7600 Kavari (Steamroller). Unfortunately the motherboard started flaking out on that system though, which lead to the Ryzen rebuild. Right now with MSI interrupts the system seems stable for about 2 to 3 days but now experiences hard crashes where I get no crash reports.

      Extended 12 hour memtest run came up with no errors, so I'm fairly certain hardware is good in this case. I'm starting to wonder if it's just Ryzen and FreeBSD bugs creeping up that I'm hitting.

      T 1 Reply Last reply Reply Quote 0
      • T
        tman222 @Zermus
        last edited by

        @Zermus said in Ryzen 3 2200G randomly crashing:

        Hmm, I'll try to swap out the Intel CT with the I210. The weird part is that the system was stable on older hardware with the same NICs, the system was based on an AMD A8-7600 Kavari (Steamroller). Unfortunately the motherboard started flaking out on that system though, which lead to the Ryzen rebuild. Right now with MSI interrupts the system seems stable for about 2 to 3 days but now experiences hard crashes where I get no crash reports.

        Extended 12 hour memtest run came up with no errors, so I'm fairly certain hardware is good in this case. I'm starting to wonder if it's just Ryzen and FreeBSD bugs creeping up that I'm hitting.

        That's a good point - I wonder if support / stability will improve with FreeBSD 12.0 (which pfSense 2.5 will use).

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Try a snapshot and see if it's still crashing in 2.4.4. I have several boxes running 2.5 snaps here without issue currently. Though they are still just code snapshots so things might break.

          Steve

          1 Reply Last reply Reply Quote 0
          • Z
            Zermus
            last edited by Zermus

            So I think I've fixed this by trial and error network tuning. I might make a separate thread for fine tuning NTP node or heavy UDP traffic behind pfSense. I'm using an Intel I210 (igb driver) as my WAN (Referred to me as a previous fix in this thread, but I could probably have kept the Gigabit CT in) and 1 port on an Intel X520-DA2 (ix driver) as my LAN. So far with this setup I've been running 3 days stable. I'll update with any further tuning updates if the need arises.

            Under System -> Advanced -> Networking I have:

            Hardware Checksum Offloading unchecked. (Enabled)
            Hardware TCP Segmentation Offloading checked. (Disabled)
            Hardware Large Receive Offloading checked. (Disabled)

            kern.ipc.nmbclusters="1000000"
            kern.ipc.nmbjumbop="524288"
            hw.igb.max_interrupt_rate="32000"
            hw.ix.max_interrupt_rate="32000"
            net.isr.maxthreads="-1"
            net.isr.bindthreads="1"
            net.pf.source_nodes_hashsize="1048576"
            

            NOTE: hw.igb and hw.ix are specific to my NIC drivers, so you might have to tune these to your own NIC hardware.

            T 1 Reply Last reply Reply Quote 0
            • T
              tman222 @Zermus
              last edited by

              @Zermus - Glad things are more stable now. I do think the I210 is a superior card / chipset compared to the CT, but did you ever try plugging the CT back in to see if the instability issues returned?

              1 Reply Last reply Reply Quote 0
              • M
                messerchmidt
                last edited by

                so not a cpu issue?

                1 Reply Last reply Reply Quote 0
                • Z
                  Zermus
                  last edited by Zermus

                  Nope, well sorta. I just had to fine tune the hell out of the kernel to deal with the NTP traffic. I left the i210 in the box, but I'm guessing either card would have worked. Going on 90 days uptime now.

                  Here is what I ended up with on /boot/loader.conf.local

                  hw.igb.max_interrupt_rate="216000"
                  hw.ix.max_interrupt_rate="216000"
                  hw.igb.rxd=2048
                  hw.igb.txd=2048
                  hw.ix.rxd=2048
                  hw.ix.txd=2048
                  net.isr.maxthreads="-1"
                  net.isr.bindthreads="1"
                  net.pf.states_hashsize="2097152"
                  net.pf.source_nodes_hashsize="1421000"
                  
                  1 Reply Last reply Reply Quote 0
                  • M
                    messerchmidt
                    last edited by

                    have a 3200g system up and running with intel lan cards. so far so good,pf_phil.png

                    1 Reply Last reply Reply Quote 0
                    • Z
                      Zermus
                      last edited by Zermus

                      You should be fine with a standard amount of connections with default settings, like below 15,000. You're currently using 1,895. I average 100k-250k UDP connections every second, on top of my normal traffic around like 1-5k, which is why I needed to fine tune so much.

                      pfsense stats.jpg

                      1 Reply Last reply Reply Quote 0
                      • M
                        messerchmidt
                        last edited by

                        my build @ https://forum.netgate.com/topic/147507/successful-pfsense-ryzen-3200g-build-success

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