Octoprint causes high latency to router

What is the problem?

High ping to the router when octoprint is on. This translates to high internet ping. Seems to have started occurring when I set up Octofarm as well as one webcam per printer.

What did you already try to solve it?

Turned off all octoprint instances (leaving octofarm on). This resolves the high ping to router. Shown with the logs below

Logs (syslog, dmesg, ... no logs, no support)

When octoprint is on (all 5 printers)
Pinging 192.168.1.1 with 32 bytes of data
Reply from 192.168.1.1: bytes=32 time=15ms TTL=64
Reply from 192.168.1.1: bytes=32 time=98ms TTL=64
Reply from 192.168.1.1: bytes=32 time=130ms TTL=64
Reply from 192.168.1.1: bytes=32 time=78ms TTL=64
Reply from 192.168.1.1: bytes=32 time=112ms TTL=64
Reply from 192.168.1.1: bytes=32 time=193ms TTL=64
Reply from 192.168.1.1: bytes=32 time=188ms TTL=64
Reply from 192.168.1.1: bytes=32 time=9ms TTL=64
Reply from 192.168.1.1: bytes=32 time=34ms TTL=64
Reply from 192.168.1.1: bytes=32 time=29ms TTL=64
Reply from 192.168.1.1: bytes=32 time=241ms TTL=64
Reply from 192.168.1.1: bytes=32 time=11ms TTL=64
Reply from 192.168.1.1: bytes=32 time=37ms TTL=64
Reply from 192.168.1.1: bytes=32 time=91ms TTL=64
Reply from 192.168.1.1: bytes=32 time=280ms TTL=64

When octoprint is off (Again all 5 printers)
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=6ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=2ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=13ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time=2ms TTL=64
Reply from 192.168.1.1: bytes=32 time=1ms TTL=64
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64

Additional information about your network (Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ...)

CM500 modem
R7000 nighthawk router

Is there a solution to this? I love having octofarm and access to my printer cameras, but high latency to the point where a youtube video struggles to load is a deal breaker.

It seems that my router can't handle all the bandwidth of a continuous webcam stream. Closing the tab of octoprint instantly resolves the issue.

Not sure if OctoFarm supports it yet, but you could potentially get better streaming performance with the HLS implementation in OctoPrint but as mentioned in the OctoFarm discord, the issue is definitely the multiple mjpg streams running at the same time. You'll notice it increasingly gets worse with every printer you add to OctoFarm. One way to mitigate this would be using ethernet connections and not wifi as well.