Periodic (T=15s) delays/stalls when using MM8108-EKH19 Kit as AP

I have a test network set up with an MM8108-EKH19 Kit as the AP and two stations, both ESP32-S3s with MM6108s. I’m trying to implement a low-latency streaming audio solution, and I’m seeing periodic pauses or stalls about twice every 15 seconds. The delay between the pauses shifts back and forth, almost as though there are two processes happening with about 15 s period.

No data is lost, but it seems that the AP is holding its outgoing packets for 0.2 to 0.9 s, and then delivering everything that’s queued. Then, normal operation resumes until the next pause.

The AP is running OpenWrt 23.05.6, Morse-2.11.12. Everything is on the bridged lan (ahwlan).

Running a 10s ping cycle from a wired client on the network, the AP always responds immediately (<7ms), and during a pause, both connected clients stop responding at the same time, then resume.

The timing of beacons seems unaffected. I tried stopping collectd, mesh11sd, and dppd with no effect. crontab is empty. logread shows nothing that stands out to me.

Other driver settings: enable_survey=Y, enable_twt=Y, enable_dynamic_ps_offload=Y, enable_auto_duty_cycle=Y, enable_auto_mpsw=Y, enable_watchdog=Y (30 s), max_txq_len=32, tx_queued_lifetime_ms=1000

Finally, when I run one of the ESP32-S3/MM6108s as an AP, I don’t see the pauses, so I don’t think it’s an issue on the embedded side, but could be wrong.

Any idea what might be causing periodic dropouts/latency like this? Any fixes in 2.12.6 that might address it?

Thanks,

Philip

The current version is now 3.2; it should upgrade to that from the upgrade page. 2.11 is very old from our perspective, but I’ll admit that we have a problem with our downloads page if that’s where you’re looking (sorry).

Unfortunately, I’m not sure why you’re seeing this latency. One thing you could try is to disable WNM sleep on the AP or powersave on the STAs to see if this makes a difference, as usually the reason the AP will hold up is because it’s waiting for the STAs to re-appear. It doesn’t seem like powersave would be useful for you in this situation if you have fairly continuous data coming from the AP. Do you get the same pauses if the traffic is going in the other direction? i.e. STA->AP?

EDIT: to elaborate, powersave will let the STA go to sleep if there’s no data ready. i.e. it could be that your streaming (or test data?) has some periodicity. Another interesting test would be to just run pings at a very short interval and see if they show the same issue.

Hi, James. You’re right. I was looking on the downloads page and didn’t see anything newer than 2.12. I upgraded to 3.2 through the AP’s UI.

No change from that upgrade, but it looks like the issue turned out to be caused by multicast UPnP/SSDP traffic on my LAN from a network audio player, of all things. Blocking that traffic fixed the problem, and that might be my permanent fix.

1 Like

Nice! I should have thought of that. Our eval kits have a default mode which separates out the HaLow network from your local network, in part for this reason, but HaLowLink devices are designed to make it ‘easy’… which often ends up with people sending traffic over HaLow that they’re not anticipating.

tcpdump is often my friend :slight_smile: