Join Nostr
2025-10-26 13:20:07 UTC
in reply to

Andrew Zonenberg on Nostr: nprofile1q…99lkp nprofile1q…0yjfz There is a fifo in the scopehal driver but it's ...

There is a fifo in the scopehal driver but it's capped at 5 waveforms in normal mode and flushed when you single/stop triggering. So I don't think that's the cause.

Given the memory depth dependency which I hadn't noticed before, I'm suspecting it might actually be half-sent waveforms queueing up in the socket buffer which is a tricky issue to address because we *want* to allow a lot of data in flight on high latency WAN connections to avoid WFM/s degradation (e.g. using a remote scope at work over VPN from home).

We might have to, for example, do some kind of nonblocking socket operations to delete an integer number of waveforms in flight (if there are any) when the trigger is stopped.

If this is in fact the cause, it's possible it could affect the ThunderScope after some planned optimizations to making it more latency tolerant. So we'll definitely want to root-cause and correct it.

Lasse - are you in the developer chat? If not, you should probably join so we can discuss there in front of the other devs.