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

    10%-40% Packet Loss When Somebody On Network Streams Video

    Scheduled Pinned Locked Moved Virtualization
    36 Posts 6 Posters 2.0k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator @SteveITS
      last edited by johnpoz

      @SteveITS said in 10%-40% Packet Loss When Somebody On Network Streams Video:

      It's not very useful in that case

      exactly - which is why I have it disabled ;)

      @tictag
      Doesn't look your states are resetting now - don't see time with no traffic like you were seeing before, as @SteveITS mentions for something like you don't want something that can saturate your line to effect something like real time traffic like video, qos is something you prob want to look into.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      tictagT 1 Reply Last reply Reply Quote 0
      • tictagT
        tictag @johnpoz
        last edited by

        @johnpoz said in 10%-40% Packet Loss When Somebody On Network Streams Video:

        qos is something you prob want to look into.

        RE Traffic shaping / QoS... ironically, if you look closely at one of the images of pfSense, the 2nd tab from the left if pfSense's documentation on Traffic Shaping! Definitely on the cards, but just need to solve this problem first.

        @johnpoz said in 10%-40% Packet Loss When Somebody On Network Streams Video:

        Doesn't look your states are resetting now

        The previous screenshot was showing the start-stop behaviour of a large file download, the most recent actually shows the problem I'm facing. You can see the pretty stable LAN OUT and WAN IN, but look at LAN IN, this is my video stream being received on pfSense's LAN interface, now look at what pfSense is actually sending out to the Internet over WAN OUT - every traffic drop shown there is where the pings time-out, the video at the receiving end freezes and the Gateway reports massive packet loss.

        When adding a large file download i.e. to saturate the WAN pipe, it masks this underlying problem - when a video stream appears on the LAN, pfSense is reporting massive packet loss. Stop the video stream, and everything returns to normal.

        I've been given some advice that the likely culprit for all my woes is the USB Ethernet adapter.

        Do you guys think this could be causing the interrupt correlation?

        johnpozJ tictagT 2 Replies Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @tictag
          last edited by

          @tictag usb interfaces can be problematic for sure.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          1 Reply Last reply Reply Quote 0
          • tictagT
            tictag @tictag
            last edited by

            Just a quick update, tried swapping over the USB Ethernet adapter to service the LAN and the inbuilt Ethernet NIC to service the WAN...

            Let's just say, that did not end well 🤮

            The instant I started pfSense, I lost all connectivity to Proxmox and a load of kernel errors relating to Realtek (the USB Ethernet adpater's chipset) were recorded in the System Log.

            I'm really starting to believe this USB Ethernet adapter might be the root cause.

            S 1 Reply Last reply Reply Quote 0
            • S
              SteveITS Galactic Empire @tictag
              last edited by

              @tictag Realtek is also often cited here. :)

              Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
              Upvote 👍 helpful posts!

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @SteveITS
                last edited by johnpoz

                Yeah realtek not known for being all that great, but that being said I have some usb2.5ge interfaces and work fine but one is windows and the other end is also a usb2.5 in a synology nas with a 3rd party driver written for it.

                And I pump lots and lots of data over them.. lots!!

                But lots of issues seen here on forums with realtek or just usb in general not something would choose to use at all.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • M
                  michmoor LAYER 8 Rebel Alliance @johnpoz
                  last edited by

                  @johnpoz
                  Do not kill states on gateway failure (Default) setting. Do not sure that’s in play here

                  Firewall: NetGate,Palo Alto-VM,Juniper SRX
                  Routing: Juniper, Arista, Cisco
                  Switching: Juniper, Arista, Cisco
                  Wireless: Unifi, Aruba IAP
                  JNCIP,CCNP Enterprise

                  tictagT 1 Reply Last reply Reply Quote 0
                  • tictagT
                    tictag @michmoor
                    last edited by

                    @michmoor
                    I'll try that tonight (when everybody has gone home). I'm also going to try a bare-metal install as a hail-Mary.

                    Does anybody have any ideas as to why this would only happen with video streaming data? I mean packets are packets to a firewall, right?

                    The only differences I can think of between video data and, say, web data is a different TCP port and such traffic is likely tagged with higher priority QoS markers. But http and https both have different TCP ports and audio traffic would likely have even higher QoS markers and that is unaffected.

                    This fault just boggles my mind 🤯

                    Oh, I found something else out last night, incoming video does NOT cause this issue, only outgoing, so, for example, you could be viewing 10 people's video streams in a Zoom/Teams meeting just fine, but as soon as you turn your camera on, it blows up.

                    tictagT 1 Reply Last reply Reply Quote 0
                    • tictagT
                      tictag @tictag
                      last edited by

                      Update: so I bought a new SSD and installed pfSence onto bare metal and ... it works perfectly!! No issues at all, video streaming working fine in both directions, CPU usage doesn't move off 1%, Memory doesn't move off 4%, zero packet loss, RTT 0.6ms, RTTsd 0.1ms. Even maxing out my WAN at 100Mbs, ping times only increase by 10ms.

                      So this is without any doubt whatsoever, a Proxmox issue. Maybe a driver issue with the external USB Ethernet adapter?

                      Can you install device drivers in Linux or are they all built into the kernel?

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @tictag
                        last edited by

                        @tictag you can for sure add drivers to linux.. modprobe, etc. You can always normally recompile the kernal.. Keep in mind pfsense isn't linux.. So take your talking about adding or changing the driver(s) in proxmox.

                        I use to be a big fan of running pfsense as vm many years ago, but once I went to its own hardware - it is much nicer and easier.. Sure you could take snapshots for backups and switch versions real easy with a vm.. But having its own hardware is better solution to be honest just all the way around.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                        A tictagT 2 Replies Last reply Reply Quote 1
                        • A
                          Antibiotic @johnpoz
                          last edited by

                          @johnpoz Are you using SG-4860 right? But where you get this. I do not see in pfsense shop this one, only 2100; 4200; 6100 and etc.

                          pfSense plus 24.11 on Topton mini PC
                          CPU: Intel N100
                          NIC: Intel i-226v 4 pcs
                          RAM : 16 GB DDR5
                          Disk: 128 GB NVMe
                          Brgds, Archi

                          johnpozJ 1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator @Antibiotic
                            last edited by johnpoz

                            @Antibiotic the 4860 is no longer sold.. It went eol back in 2020 I think.. Still kicking it!! solid piece of gear for sure..

                            I have a ssd sitting on my self waiting for me to install it, which I will do here soon - prob when I get back from my trip to ireland.. I told myself I would switch to ssd when I deployed 24.03.. the built in emmc prob nearing end of life, no real way to tell though how much has been written to it over the years.. So better to just take it out of the picture and hope to get a couple more years out of the old girl..

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                            A 2 Replies Last reply Reply Quote 0
                            • A
                              Antibiotic @johnpoz
                              last edited by

                              @johnpoz Ok . than any replace for this. I mean was any new hardware after SG-4860, except public 2100;4200;6100 and etc?

                              pfSense plus 24.11 on Topton mini PC
                              CPU: Intel N100
                              NIC: Intel i-226v 4 pcs
                              RAM : 16 GB DDR5
                              Disk: 128 GB NVMe
                              Brgds, Archi

                              S 1 Reply Last reply Reply Quote 0
                              • A
                                Antibiotic @johnpoz
                                last edited by

                                @johnpoz said in 10%-40% Packet Loss When Somebody On Network Streams Video:

                                So better to just take it out of the picture and hope to get a couple more years out of the old girl.

                                Man in love)))

                                pfSense plus 24.11 on Topton mini PC
                                CPU: Intel N100
                                NIC: Intel i-226v 4 pcs
                                RAM : 16 GB DDR5
                                Disk: 128 GB NVMe
                                Brgds, Archi

                                1 Reply Last reply Reply Quote 0
                                • S
                                  SteveITS Galactic Empire @Antibiotic
                                  last edited by

                                  @Antibiotic said in 10%-40% Packet Loss When Somebody On Network Streams Video:

                                  @johnpoz Ok . than any replace for this. I mean was any new hardware after SG-4860, except public 2100;4200;6100 and etc?

                                  They are listed at https://www.netgate.com/support/product-lifecycle

                                  Pre-2.7.2/23.09: 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 restart, or more depending on packages and device speed.
                                  Upvote 👍 helpful posts!

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    Antibiotic @SteveITS
                                    last edited by Antibiotic

                                    @SteveITS said in 10%-40% Packet Loss When Somebody On Network Streams Video:

                                    https://www.netgate.com/support/product-lifecycle

                                    Ok , than I try to see SG-5100 as replacement but this link not working!from here

                                    77563127-23c0-4296-ae59-e62cb718d53a-image.png

                                    https://shop.netgate.com/products/5100-pfsense

                                    What the price and technical details?

                                    pfSense plus 24.11 on Topton mini PC
                                    CPU: Intel N100
                                    NIC: Intel i-226v 4 pcs
                                    RAM : 16 GB DDR5
                                    Disk: 128 GB NVMe
                                    Brgds, Archi

                                    johnpozJ 1 Reply Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator @Antibiotic
                                      last edited by johnpoz

                                      @Antibiotic I don't think the 5100 is for sale any more.. They prob should/need to update the product cycle page..

                                      Yeah from here

                                      https://www.netgate.com/support/product-lifecycle

                                      The 5100 was EOL in dec 2023

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                                      A 1 Reply Last reply Reply Quote 0
                                      • tictagT
                                        tictag @johnpoz
                                        last edited by

                                        @johnpoz said in 10%-40% Packet Loss When Somebody On Network Streams Video:

                                        So take your talking about adding or changing the driver(s) in proxmox.

                                        Yeah, I'm thinking if pfSense works fine on its own (bare metal) then the fault must lie with Proxmox. I think Proxmox runs on Debian, but I could be wrong.

                                        I've had many comments about this Realtek-based USB adapter so I figured I'd start with that.

                                        Actually, you know what, I'm going to take the win today! It's working, my users are going to be happy tomorrow. I'm gonna leave this for another day.

                                        Win, win, win!! It's only bloody well working!

                                        Thanks for all your help chaps!

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Antibiotic @johnpoz
                                          last edited by Antibiotic

                                          @johnpoz yEa but according this almost all EOL, only 4200 up to 26 year. What the reason to buy EOL. I do not understand. Netgate planning to produce new line of hardware?

                                          pfSense plus 24.11 on Topton mini PC
                                          CPU: Intel N100
                                          NIC: Intel i-226v 4 pcs
                                          RAM : 16 GB DDR5
                                          Disk: 128 GB NVMe
                                          Brgds, Archi

                                          johnpozJ S 2 Replies Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator @Antibiotic
                                            last edited by

                                            @Antibiotic the life cycle for hardware isn't very long.. But they do support the software aspect for quite some time.. As you can see my 4860 is still running and its viable for 24.03, etc. I haven't heard of them stopping putting out new pfsense versions for it.. Only thing I heard is like the 3100 might not be viable for updates soon.. cpu not going to be supported any longer with freebsd? But don't quote me on that.. I don't really pay a lot of attention to that stuff unless its my hardware ;) heheh

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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