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

    Download at full speed then got packet loss

    Scheduled Pinned Locked Moved General pfSense Questions
    23 Posts 4 Posters 2.3k 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.
    • L
      Lip @stephenw10
      last edited by

      @stephenw10
      I ping on www.google.de.
      It doesn't matter what I ping.

      1 Reply Last reply Reply Quote 0
      • L
        Lip @Rico
        last edited by

        @rico

        Yes it is a telecom line.
        It is really difficult to get good hardware for the PFsense in Germany that is energy efficient.

        What kind of hardware would you suggest?

        50a0ba24-9fb6-408a-ba62-08935f2a19da-image.png

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

          Mmm, the Celeron N4100 is not that fast. It's possible you're hitting something there though you are seeing the full bandwidth. I would expect it to pass 300Mbops without issues though. Maybe it's stuck at the lowest speed.

          Try running at the CLI top -aSH whilst testing. See if one core at loaded 100%.

          Steve

          L 1 Reply Last reply Reply Quote 0
          • L
            Lip @stephenw10
            last edited by

            @stephenw10

            83ccdc34-4eec-4d45-bebc-11b78db5739b-image.png

            Here is a screenshot, is the CPU the problem?

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

              Nope. All 4 cores are at least 73% idle. That's only 224Mbps though.

              I'm still not sure you're actually limiting that traffic though.

              What does the speed test result show when you disable the Limiters? vs with the Limiters?

              Steve

              L 1 Reply Last reply Reply Quote 0
              • L
                Lip @stephenw10
                last edited by

                @stephenw10

                Active Limiter

                8ac82585-b111-407a-a884-b104a1b22477-image.png

                inactive Limiter with States Reset

                825687aa-ba6c-48a5-adbe-e15f6feff23a-image.png

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

                  Hmm, well that looks OK. Maybe more than FQ_Codel can deal with then.

                  I don't actually see any packet loss there though, are you still seeing that?

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Lip @stephenw10
                    last edited by

                    @stephenw10

                    There are always packet losses at full speed downloads. Worse is that the ping rises from 5ms to 50. Then you get problems with Voip

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

                      Mmm, the latency is unavoidable to a certain extent though I would not expect packet loss.

                      You can try setting a lower limit for all other traffic and passing VoIP traffic outside the Limiters to reserve bandwidth for it.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • AndyRHA
                        AndyRH
                        last edited by

                        @stephenw10 said in Download at full speed then got packet loss:

                        Celeron N4100

                        More for my own education than anything, why is the general theme that the HW pfSense is running on is the problem and not the ISP with what looks to be a full link?

                        While Realtek NICs are not the best, the speed is only 25% of what the NIC should be able to do, so it is not stressed. I would not expect a unstressed NIC causing a problem.

                        I run on an i3 540 with 4 port Intel 1Gb NIC and even with a speed test running @ 980Mbps and file copies crossing the other NICs I see no change in pings and a CPU getting close to 30%. The CPU in the problem system is generations newer and should be faster per cycle than mine.

                        o||||o
                        7100-1u

                        L stephenw10S 2 Replies Last reply Reply Quote 0
                        • L
                          Lip @AndyRH
                          last edited by

                          @andyrh
                          Unfortunately I can not say what the problem is. I only know that if there is no full load traffic on the line, there is no packet loss. I also think that my hardware should be sufficient.

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

                            @andyrh said in Download at full speed then got packet loss:

                            why is the general theme that the HW pfSense is running on is the problem and not the ISP with what looks to be a full link?

                            It isn't, not here at least. As I said there I would expect that CPU to pass 300Mbps with ease and the output from top showed that to be true.
                            I would always expect to see some increase in latency when you use more WAN bandwidth but not packet loss as we're seeing here.
                            I would not expect to see either when loading the CPU with traffic between other interfaces. Unless you are maxing at least one core completely.

                            Steve

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