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

    Wan Interface speed issues

    Scheduled Pinned Locked Moved CE 2.6.0 Development Snapshots (Retired)
    13 Posts 4 Posters 1.5k 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
      mollet
      last edited by mollet

      i have a big issue with RC 2.6.0.
      This is my WAN Interface speed with 2.5.2

      on 2.5.2

      This is my WAN Interface speed with 2.6.0++

      on 2.6.0

      i honestly dont know what causes the issue but its the same even on 2.7.X

      i really try to move away my customers from Sophos to PFsense and happy to buy a sub but since trying pfsense i only had bad luck with simple things that should work out of the box.

      Its a hyper-v virtual machine on Windows Server 2019. Works normal on 2.5.2 expect the fact that i cant use ipsec on 2.5.2 due to phase2 doublications.

      S 1 Reply Last reply Reply Quote 0
      • S
        skogs @mollet
        last edited by

        @mollet
        That is a very extreme change. Curious if it is a hyper-v only issue. I just tested a couple systems and seem normal, but they're running on real hardware. Previous virtualized tests stunk unless turning off all the network unload stuff. Did you check those? (System - Advanced - Network - bottom of page)

        M 1 Reply Last reply Reply Quote 0
        • M
          mollet @skogs
          last edited by mollet

          @skogs i tried messing around a little bit.
          So far i could improve it a little bit by adding 2 legacy network devices (old network cards) to the vm and assign it to the virtual switch. Here is the result.

          legacy network adapters

          as you can see, it is a little bit better but still far away from 2.5.2.
          I also tried the suggested changes with the checksum and such but it havent made any difference.

          Its a fully patched WIndows Server 2019 machine (no windows firewall enabled).
          This is the Hardware Network Adapters used.
          Hardware Nics

          Lan is connected to the I350-T4 on Port 3 and Wan is connected to the I350-T4 on Port 2

          S 1 Reply Last reply Reply Quote 0
          • S
            skogs @mollet
            last edited by skogs

            On the bright side apparently the I350 NICs are fully supported by BSD; and it hasn't changed any since 12.2 which is what the pfsense 2.5 was sitting on top of.

            I would have expected something funky changing from 2.4.x perhaps, but not 2.5.x.
            Might be worth trying out the I210s. Exact same driver runs them. Might be something funky with the 4 banger network card and an IO scheduler or something.

            When it is slow is there a cpu performance hit happening?

            M 1 Reply Last reply Reply Quote 0
            • M
              mollet @skogs
              last edited by

              @skogs no, cpu performance and ram stays the same

              N 1 Reply Last reply Reply Quote 0
              • N
                netblues @mollet
                last edited by

                @mollet Are you using the same virtual adapters in both cases?
                How did 2.6 come to life?
                Clean install or 2.5.2 cloning and online upgrade?

                M 1 Reply Last reply Reply Quote 0
                • M
                  mollet @netblues
                  last edited by mollet

                  @netblues ive tried both already, fresh install and update from 2.5.x

                  ive also setup 2 completly new virtual machines, one with gen1 and one with gen2.
                  Both have the same problem shown above.

                  Same virtual adapter ? well, no, its the same physical adapter cause it has 4 ports but it has 4 single virtual adapters in hyper-v and the one iam using is exclusive only for this virtual machine, nothing else is on the adapter. first cable goes to the cable modem, sencond goes to the dsl modem and the third to the 10gbit switch.

                  iam really lost... dont know what could cause this to happen...
                  As there isnt a speed problem with 2.5.2, it should be clear that there is a bug in 2.6.0. It couldnt be an hardware or hyper-v interface / virtual switch problem as its only in 2.6.0 and above...

                  1 Reply Last reply Reply Quote 0
                  • N
                    netblues
                    last edited by

                    Try running iperf to a physical machine INSIDE your network and see what you get there.
                    You should be able to saturate 1g links easily both ways.
                    This will eliminate anything external.

                    Since I'm running 2.6rc on kvm (using virtio adapters) I don't see any speed issues when running under a hypervisor.
                    Of course kvm is not hyper-v, and as far as speed is concerned, the type of the card being virtualy emulated is the key component.

                    1 Reply Last reply Reply Quote 0
                    • S
                      skogs
                      last edited by

                      It has been a long time since I was cursed with supporting hyper-v so this might be a stupid idea now; just in case though:
                      Might be helpful on the host to uninstall the NICs and then refresh reinstall. I think you can turn off the queueing and offload functions on the NICs themselves on the host side too.
                      I know these adjustments might not be applicable anymore; and even more so that it shouldn't make any difference between 2.5.x and 2.6.x. Sometimes just click widgets and it magically fixes itself.
                      I know it also might sound stupid, but make sure everything is set autonegotiate and linking at gig. If anything along the way got manually set, the other end doesn't see the sync pulse so will default to 10M half duplex or 100M or something stupid. Again...shouldn't be impacted by 2.5x or 2.6.x ... but I've found my own work to be off at times and it only really appear at a bad time. Sometimes I look at something and wonder how it ever worked at all.

                      If nothing else, we all appreciate the valuable testing you're doing on hyperv and 2.6.x

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mollet @skogs
                        last edited by mollet

                        @skogs @netblues

                        thanks for your replys. I was able to improve the performance by switching ports to the two onboard 10Gbit X550 Network cards.

                        This what i see now, still only a quarter of whats possible but alot better then 3Mbit ;)

                        physically on 10Gbit 550X nics

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

                          so, i decided to do a fresh pfsense install (2.6.0 - latest build) on my homeserver (the one windows server 2019 ran on) on a different SSD,

                          well, its not the hardware, thats sure.

                          bare metal

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            maverick_slo @mollet
                            last edited by

                            @mollet
                            I have 2.6.0 on Hyperv 2019.
                            Have 300/30 link from provider..
                            Results:
                            a1d909aa-83c3-4b84-a267-71e2961d1abf-image.png

                            So basically all fine.
                            Settings:
                            24d5e4b0-a606-4e7c-a00c-f85b43648c79-image.png

                            1 Reply Last reply Reply Quote 0
                            • S
                              skogs
                              last edited by

                              This might be horrendously off topic, but I'll mention anyway since I've bumped into it a few times.
                              The newer instance isn't set up with snort/suricata on inline mode is it? My speed has always taken a massive dive if I let it sit inline. It is a large price to pay for those few packets compared to legacy mode.

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