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

WiFi is slower with pfsense vs Untangle. Any thoughts?

Scheduled Pinned Locked Moved General pfSense Questions
45 Posts 10 Posters 12.7k Views 9 Watching
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.
  • B Offline
    bokolobs
    last edited by Apr 21, 2023, 7:05 AM

    Hi! I borked something after the update to 23.01 and took the chance to test Untangle 16.6.2. With the same vanilla configuration, I was getting 620 Mbps from my Omada AP with Untangle, vs 500 Mbps from the same AP with pfsense. I have a 1 Gbps up/down connection. I couldn't believe it at first, so I installed pfsense CE 2.6 and using stock configuration, tested my WiFi again. Went back to getting 500 Mbps from the same AP. I've always thought that getting 500 over WiFi was the best my AP could do. Any ideas on why this is the case? Is there a setting in pfsense I can change to achieve the 620 Mbps I'm getting in Untangle? Thanks in advance.

    G 1 Reply Last reply Apr 21, 2023, 7:32 AM Reply Quote 0
    • G Offline
      Gertjan @bokolobs
      last edited by Apr 21, 2023, 7:32 AM

      @bokolobs

      The missing info is ... a lot.

      What is the LAN port negotiated speed ?
      What happens when you swap (assign) LAN and WAN ?
      What is the driver name of the '500' interface ? The brand and type network of the network card involved ?
      If applicable : https://forum.netgate.com/topic/177885/upgrade-to-23-01-wan-speed-halved/

      From a pfSense point of view : your "Omada AP" is just another LAN device.

      What details about the pfSense hardware ?

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      B 1 Reply Last reply Apr 21, 2023, 9:05 AM Reply Quote 0
      • B Offline
        bokolobs @Gertjan
        last edited by Apr 21, 2023, 9:05 AM

        Hi @gertjan !

        What is the LAN port negotiated speed ?

        Negotiated speed of all interfaces is 1 Gbps.

        What happens when you swap (assign) LAN and WAN ?

        I haven't tried swapping them.

        What is the driver name of the '500' interface ? The brand and type network of the network card involved ?

        I'm using 4-port Intel I225-V(3) in a Qotom N5105 device with 128 GB M.2 NVME and 8 GB RAM.

        From a pfSense point of view : your "Omada AP" is just another LAN device.

        Yeah, that's what I was thinking as well. Really surprised at the difference in WiFi speeds. Also, I configured fq_codel on both with the same download and upload limits (800 Mbps). I'm getting consistent speeds using wired connection with Untangle. However, I'm getting about 15% less upload speed with pfsense.

        1 Reply Last reply Reply Quote 0
        • S Offline
          stephenw10 Netgate Administrator
          last edited by Apr 21, 2023, 10:57 PM

          How are you testing?

          Can you get the full speed when using a wired connection?

          Steve

          1 Reply Last reply Reply Quote 0
          • B Offline
            bokolobs
            last edited by bokolobs Apr 22, 2023, 3:09 AM Apr 22, 2023, 3:07 AM

            @stephenw10

            Yes! I get full speeds when wired. I tested using iperf and speedtest.net. However, when using fq_codel, I'm getting lower upload speeds. I did a cursory search online and found some people with the same experience, like this one. Now wondering if I should just turn off SQM.
            Thanks.

            P 1 Reply Last reply Apr 22, 2023, 4:34 AM Reply Quote 0
            • P Offline
              Patch @bokolobs
              last edited by Apr 22, 2023, 4:34 AM

              @bokolobs said in WiFi is slower with pfsense vs Untangle. Any thoughts?:

              I tested using iperf

              Through pfsense or to/from pfsense? Running iperf on pfsense is known to cause spurious results.

              B 1 Reply Last reply Apr 22, 2023, 5:40 AM Reply Quote 0
              • B Offline
                bokolobs @Patch
                last edited by Apr 22, 2023, 5:40 AM

                @patch
                I used the iperf package. From pfsense I get 940, to pfsense I get 920.

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stephenw10 Netgate Administrator
                  last edited by Apr 22, 2023, 12:08 PM

                  So between a local client and using pfSense as the iperf server?

                  It's always better to test through pfSense rather than directly to/from it if you can. pfSense is not a good server.

                  B 1 Reply Last reply Apr 22, 2023, 1:05 PM Reply Quote 0
                  • B Offline
                    bokolobs @stephenw10
                    last edited by Apr 22, 2023, 1:05 PM

                    @stephenw10
                    Yes. I tested it again using an iMac directly connected to the pfsense box. The line auto-negotiated to 2500baseT. iperf using the pfsense box as server, I got 2.35 Gbps. Using -R, I got ~2.20 Gbps. So I guess in my case it's a good server?

                    In one area of our house where WiFi signal is weak, I could get ~80 Mbps using Untangle. Now, it won't even connect with pfsense. It's probably a problem with the combination of my appliance + FreeBSD + TPLink Omada. I also get the same speeds with OPNsense. I feel I'm leaving something on the table performance-wise with FreeBSD. I don't know what to do except I don't want to pay $150 for the Untangle license.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      stephenw10 Netgate Administrator
                      last edited by Apr 23, 2023, 1:10 AM

                      Hmm, that starts to feel more like the hardware you're running pfSense on is somehow affecting the wifi signal strength/connection errors. There's nothing the OS can do that would prevent a client even connecting to the AP. Is it physically close to the AP?

                      B 1 Reply Last reply Apr 23, 2023, 1:32 AM Reply Quote 0
                      • B Offline
                        bokolobs @stephenw10
                        last edited by Apr 23, 2023, 1:32 AM

                        @stephenw10
                        Yeah, I’m about 2 feet away from the AP. Just to be absolutely sure, last night, I ran some tests using pfsense and then installed Untangle/Arista and ran the same tests. To me, at least for my particular hardware (box, switch, AP), the results are definitive.

                        alt text

                        Red - pfsense without traffic shaping/limiters
                        Yellow - pfsense with traffic shaping/limiters (650 up/down fq_codel limits)
                        Green - Untangle with traffic shaping/limiters (650 up/down fq_codel limits)
                        Blue - Untangle without traffic shaping/limiters

                        You might be right, something in my hardware + pfsense somehow makes my wifi connection weaker. This is a head scratcher for sure. Could it be because Omada also runs on Linux?

                        R 1 Reply Last reply Apr 23, 2023, 11:24 PM Reply Quote 0
                        • S Offline
                          stephenw10 Netgate Administrator
                          last edited by Apr 23, 2023, 2:08 AM

                          Hmm, hard to see how. Do you see the same latency in each setup?

                          B 1 Reply Last reply Apr 23, 2023, 2:35 AM Reply Quote 0
                          • B Offline
                            bokolobs @stephenw10
                            last edited by Apr 23, 2023, 2:35 AM

                            @stephenw10 For the yellow results, jitter for both download and upload is less than 10 ms. But when speeds hit more than 600 in any of the results, jitter increases to ~15 ms, both for pfSense and Untangle. I really want pfSense to work like the green and blue results...

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rcoleman-netgate Netgate @bokolobs
                              last edited by Apr 23, 2023, 11:24 PM

                              @bokolobs said in WiFi is slower with pfsense vs Untangle. Any thoughts?:

                              Yeah, I’m about 2 feet away from the AP

                              FWIW there is such a thing as too close to the AP.

                              Ryan
                              Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
                              Requesting firmware for your Netgate device? https://go.netgate.com
                              Switching: Mikrotik, Netgear, Extreme
                              Wireless: Aruba, Ubiquiti

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                stephenw10 Netgate Administrator
                                last edited by Apr 23, 2023, 11:54 PM

                                Yup, that's true.

                                What I really meant there was how far is the pfSense hardware from the AP. Or the test client.
                                But since Untangle is being run on the same hardware (?) that shouldn't make any difference.

                                Steve

                                S B 2 Replies Last reply Apr 24, 2023, 12:10 AM Reply Quote 0
                                • S Offline
                                  SteveITS Rebel Alliance @stephenw10
                                  last edited by SteveITS Apr 24, 2023, 12:12 AM Apr 24, 2023, 12:10 AM

                                  This is starting to feel a bit like the old story about the janitor who removed the network (cable) terminator during lunch to replace a missing pawn in their chess game. πŸ€” [just that it’s something weird and unexpected]

                                  @bokolobs is there a switch between the AP and your router? If not I’d connect one and test from the iMac to wireless through the switch, to isolate from the router.

                                  Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                  When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                                  Upvote πŸ‘ helpful posts!

                                  B 1 Reply Last reply Apr 24, 2023, 1:45 AM Reply Quote 0
                                  • B Offline
                                    bokolobs @SteveITS
                                    last edited by Apr 24, 2023, 1:45 AM

                                    @stephenw10
                                    Hi! AP is in another room separated from the router appliance by two concrete walls.

                                    @steveits
                                    Hi! Yes, there is an Omada PoE switch between the router and the AP. I tested the wired connection to the iMac two ways: directly connected to the router (router as server: ~2.35Gbps -R: ~2.20Gpbs); connected to the Omada switch (940/920 Mbps).

                                    @rcoleman-netgate
                                    Yeah. But I tested from the distance for both.

                                    S 1 Reply Last reply Apr 26, 2023, 4:23 AM Reply Quote 0
                                    • B Offline
                                      bokolobs @stephenw10
                                      last edited by Apr 24, 2023, 4:21 AM

                                      @stephenw10

                                      Could it be related to the bios setup?

                                      S S 2 Replies Last reply Apr 24, 2023, 4:37 AM Reply Quote 0
                                      • S Offline
                                        SteveITS Rebel Alliance @bokolobs
                                        last edited by Apr 24, 2023, 4:37 AM

                                        @bokolobs Does your AP have a (second) Ethernet port on it? Just thinking about testing wired through the AP. Because pfSense on a router can't affect a device-to-AP connection, where it's not in the middle. So it seems like you should somehow narrow down where the slowdown is happening.

                                        All that said, wireless connections do change over time. My Windows PC doesn't move, yet the network properties window often shows a different link speed whenever I look at its wireless settings. I would think that sort of thing would be inconsistent though.

                                        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                                        Upvote πŸ‘ helpful posts!

                                        B 1 Reply Last reply Apr 24, 2023, 5:08 AM Reply Quote 0
                                        • B Offline
                                          bokolobs @SteveITS
                                          last edited by Apr 24, 2023, 5:08 AM

                                          @steveits

                                          Thanks! Unfortunately, my AP only has one port. I know WiFi can be inconsistent. What's boggling is I've done the tests 3 times now, using fresh install of 23.01 and Untangle 16.6.2, but the results are consistent. Which, to summarize, are two points: 1)I'm getting slower WiFi downloads and uploads when using pfSense vs Untangle, with or without traffic shaping and 2) I'm getting slower uploads when using wired connection AND traffic shaping, fq_codel limiters (650). When using wired connection without traffic shaping, I get the same download and upload speeds. It's driving me nuts.

                                          C B 2 Replies Last reply Apr 24, 2023, 6:50 AM Reply Quote 0
                                          20 out of 45
                                          • First post
                                            20/45
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received