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

    Problem WAN

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 3 Posters 796 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.
    • M
      mikekoke @tim.mcmanus
      last edited by

      @tim-mcmanus
      On average 30% and AES-NI cryptography

      1 Reply Last reply Reply Quote 0
      • T
        tim.mcmanus
        last edited by

        How many cores in the system?

        I am thinking you're experiencing a resource issue and am trying to determine where. Since you're at 30% it could mean that you've saturated one core in a 4 core system, and that could where the resource issue is.

        You could connect to the console and run something like TOP and recreate the issue to see if you can get some better insight to see if you can identify the RC there.

        M 1 Reply Last reply Reply Quote 0
        • M
          mikekoke @tim.mcmanus
          last edited by mikekoke

          @tim-mcmanus
          I have already tried several times to create the problem, even keeping the connection constant at 100 mb/s seems to happen casually. As for the resources I had tried to disable many services to recover resources.

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

            Yes, if your system is mulicore/CPU then 30% total could be 100% on one core.
            Run at the command line:
            top -aSH

            That will show you the per-core usage.

            If you only have one WAN you could set "Disable Gateway Monitoring Action" by editing the gateway in System > Routing.

            You will still see high latency but it won't have the same latency. It's worth doing at least as a test.

            Steve

            M 1 Reply Last reply Reply Quote 0
            • M
              mikekoke @stephenw10
              last edited by mikekoke

              @stephenw10
              I thank you, I will do a test and I'll let you know. I read a little while ago about another user who has a problem similar to mine and who solved by updating the realtek drivers.

              EDIT: I use an amd fx 6300 4.2ghz
              EDIT2: I think it might be Snort to saturate a core or more by having it on the WAN and LAN.

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

                That's unlikely at 100Mbps with that CPU. But the top output will show it.

                Steve

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

                  I just did a test causing the problem, as I thought snort uses the cpu enough, but each of the six cores remains at least 36% in idle.
                  Could it be a problem of the realtek drivers?

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

                    It probably is. Looking at your logs again:

                    Nov 18 02:20:28	kernel		re1: watchdog timeout
                    

                    That is almost certainly the issue. The only thing you can try there (other than swapping out the NICs) is the alternative Realtek driver:
                    https://forum.netgate.com/topic/135850/official-realtek-driver-binary-1-95-for-2-4-4-release

                    Steve

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      mikekoke @stephenw10
                      last edited by

                      @stephenw10
                      Okay then I'll try.
                      Last thing, what can I use to place the file in /boot/kernel?
                      Through the interface I placed the file in /tmp, but I do not know how to move it to the right position.

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

                        You can copy it to there from the command line.

                        You can use SCP to access the filesystem directly over SSH. WinSCP for example, if you're running Windows.

                        Steve

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mikekoke @stephenw10
                          last edited by

                          @stephenw10
                          I managed to move the file, now to change the permissions can I use winSCP?
                          In the attached image, what should I select?
                          link text

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

                            It needs to be executable. Check the three X boxes there.

                            Steve

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              mikekoke @stephenw10
                              last edited by mikekoke

                              @stephenw10
                              I think I was able to load the driver.
                              Here is the output:

                              Shell Output - kldstat
                              Id Refs Address            Size     Name
                               1   12 0xffffffff80200000 2d9a7d0  kernel
                               2    1 0xffffffff82f9c000 7d2c0    if_re.ko
                               3    1 0xffffffff83711000 10a0     cpuctl.ko
                               4    1 0xffffffff83713000 72b8     aesni.ko
                               5    1 0xffffffff8371b000 11a0     amdtemp.ko
                               6    1 0xffffffff8371d000 648      amdsmn.ko
                              

                              I'm testing

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

                                Yup, looks like it. You should also see the version in the boot log against your NICs if you check.

                                Steve

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  mikekoke @stephenw10
                                  last edited by mikekoke

                                  @stephenw10
                                  After three hours of constant download at 100mb/s there was no loss of connection, I hope it continues like this.
                                  At the next restart I will check.
                                  Thanks again for the help.

                                  EDIT: I confirm that I have solved the problem by replacing the realtek drivers included in pfsense.

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