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

    Asymmetrical throughput (measured by Speedtest and similar) on symmetric link

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 3 Posters 2.6k 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.
    • H Offline
      Harvy66
      last edited by

      Can you get a snapshot of system activity during your speedtests so we can see CPU usage of the different parts of the system.

      That much higher ping is a bit troublesome. What does your traceroutes look like and what's your ping to PFSense on the LAN?

      1 Reply Last reply Reply Quote 0
      • B Offline
        bplein
        last edited by

        Let me know what I should trace while running it.

        Here are the pings (I am sitting at AUS airport, thank goodness for pfSense, OpenVPN and Viscosity!)

        $ ping 172.17.0.1
        PING 172.17.0.1 (172.17.0.1): 56 data bytes
        64 bytes from 172.17.0.1: icmp_seq=0 ttl=64 time=0.305 ms
        64 bytes from 172.17.0.1: icmp_seq=1 ttl=64 time=0.207 ms
        64 bytes from 172.17.0.1: icmp_seq=2 ttl=64 time=0.213 ms

        1 Reply Last reply Reply Quote 0
        • B Offline
          bplein
          last edited by

          Speedtest with bare AT&T (Motorola NVG589)

          http://www.speedtest.net/my-result/4086297037

          Speedtest with pfSense router behind AT&T router

          http://www.speedtest.net/my-result/4084692443

          1 Reply Last reply Reply Quote 0
          • B Offline
            bplein
            last edited by

            What should I run on the router to trace activity? I'd like to figure this out :)

            1 Reply Last reply Reply Quote 0
            • B Offline
              bplein
              last edited by

              Hold it!

              I've tracked it down to my iMac… all of my "slow ping" tests were done from my desktop, and I would carry my laptop to the other room to do the tests directly connected to AT&T.

              Turns out my laptop gets just over 500mbit, symmetrical, with 3ms pings, from the same switch in my office, using a Thunderbolt Ethernet adapter. Using that SAME adapter on my iMac gives me the SAME speeds (and slow ping) as the built-in Ethernet.

              I don't recall setting any strange configs on my iMac (like sysctls) but I am going to check that.

              This doesn't appear to be a pfSense issue. Moving on!

              1 Reply Last reply Reply Quote 0
              • B Offline
                bplein
                last edited by

                WOW….

                It's Firefox.

                I found some sysctls that I had set a long time ago for networking (probably on 1 or 2 major OS releases back), removed those and rebooted. Tried Firefox and Chrome, and Chrome is low latency and symmetric, Firefox is high latency and asymmetric.

                See, I use Chrome almost exclusively on my work laptop, and Firefox almost exclusively on home desktop. Talk about variables stacked on variables!

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

                  No!  Its got to be pfsense….  (kidding)

                  Well - I'm glad thats sorted out...

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Harvy66
                    last edited by

                    Next time you have an issue with performance with anything, make sure you use don't go about changing variables, like computers and browsers.

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bplein
                      last edited by

                      Harvy66:

                      Thanks for the pointers. Believe it or not, I'm a successful systems engineer by trade. So I get it.

                      I had no reason to suspect a browser would be the reason for bad latency.

                      I've found a more interesting problem: I can put pfsense in a virtual machine (on ESXi) and move that between 4 servers and it gets different Up and Down speeds (and different ratios between those) based on the server. Yes, the servers are all different performance, but you'd expect the 3.2GHz Westmere to be faster than the 2.4GHz Westmere, but that's not the case. And the 2.4 does 900/700 while the 3.2 does 590/600.

                      Lots of variables there. But its funny how a VM running in a Xeon (in the slower example above) is not much faster than my Atom running bare metal.

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

                        have you ever played with ipertf?

                        1 Reply Last reply Reply Quote 0
                        • H Offline
                          Harvy66
                          last edited by

                          Unless you have a VM host with some good pass-through and good hardware and drivers to back that up and a guest to take advantage, baremetal can be a lot faster for IO related stuff. For now, you pretty much need to plan out your VM system if you want decent IO performance. Hand select your hardware, host and guest.

                          We all have our moments, I know I have them. I wasn't trying to being belittlingly mean, but a lot of people are repeat offenders of changing variables when testing issues. Next time they have an issue, my hope is they think "last time I had a problem to solve, some jerk pointed out my simple mistake". People have made me this way! I am a monster  :'(

                          I also would be interested in iperf performance. Don't just test to and from the firewall, but also through the firewall.

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bplein
                            last edited by

                            The challenge with trying iperf is that I have to reconfigure some things to test it. I am currently router-behind-router with a twist.

                            The Motorola NVG589 in front of my pfSense system has a hybrid NAT as well as public IP, because I am paying for multiple IP addresses. So I have 5 IPs on the public subnet and then a private 192.x.x.x subnet. PFSense sits on one of the public IPs and I can use VIPs for the additional and NAT them in to a given host.

                            The issue is putting iperf out on one of those 192.x.x.x IP addresses, between pfSense and the AT&T router (actually sitting next to pfSense, but "outside" my firewall).

                            iperf can generate only 10's to 100Kbit/s in that situation, from inside my LAN to that immediate WAN before the AT&T router. I can get better iperf performance to a system I have at a colocation than a system sitting on my Motorola router just outside pfSense!

                            So to test my pfSense router I'd have to reconfigure it entirely, do the test, and then put it back so my family can get their internet back :)

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