Hi Art,
Thanks for making your OpenVPN HL2 available to me. The variety of stations heard at your QTH is very interesting to me. All of them would be good DX from my QTH!
I measured ping latency and jitter with "sudo ping -f -i 0 -c 1000 10.10.0.180" several different (days apart) times. The results were pretty consistent. Note that on my end I have a consumer 50Mbs up/down internet connection.
1000 packets transmitted, 1000 received, 0% packet loss, time 11691ms
rtt min/avg/max/mdev = 219.153/220.268/230.535/0.711 ms, pipe 21, ipg/ewma 11.702/220.443 ms
rtt min/avg/max/mdev = 219.165/220.263/228.872/0.602 ms, pipe 20, ipg/ewma 11.547/220.257 ms
rtt min/avg/max/mdev = 219.234/220.270/230.330/0.634 ms, pipe 21, ipg/ewma 12.075/220.168 ms
rtt min/avg/max/mdev = 219.316/220.257/230.110/0.565 ms, pipe 20, ipg/ewma 11.837/220.295 ms
You can see that the typical latency is about 220ms and the largest jitter is about 12ms. The jitter is what matters and indicates that I need a TX buffer latency setting of at least 12ms.
I enabled the debug gateware and captured data when transmitting with Quisk. I did not see the audio drops you report. The data was very much like this post:
Except the worst dips in buffer fullness were ~11ms instead of the ~4 ms seen on my local network.
I did not get PowerSDR on Windows working with the VPN connection so did not directly test that, but I think the results will be similar to this post:
but require an extra 7 or 8 ms of buffer data to handle the jitter in the VPN connection.
So, again I could not replicate your problem. Maybe the path from my QTH to your radio has less jitter than what you see from your home to the radio. If you like, we can schedule a time when you are operating the radio and I can collect some debug data of your use. This is possible since the debug uses a different port.
I reviewed gateware 66, which you say works better for you. That old version of gateware has the same TX buffer size. It also had no notion of TX buffer latency and instead simply tried to keep the TX buffer half full, or ~42ms of latency. The newer gateware allows you to precisely set this. The old gateware also did not attempt to transmit all data that was received in transmit packets. Instead, once it received a message from the host to exit TX and enter RX, it simply flushed any remaining data in the TX buffer. The newer gateware does transmit all IQ values which were in TX packets. This is important for word level correctness, especially with full duplex. But it may be that this is causing the pop you hear when setting the buffer to 40ms or 60ms. Software can be tuned to avoid this pop.
I released a "crippled" testing gateware here:
This gateware enters a special mode when PTT hang time is set to 31ms. First, when entering the error state of an empty TX buffer, it stays in TX mode until told to go to RX by the software or the watchdog times out. This is essentially a very long PTT hang time. It is meant to replace relay clicks with dead time in TX audio. Second when told by software to change from TX to RX, it does so immediately and discards data sent by software which should be transmitted. This mimics the poor behavior of the 66 gateware and may avoid the pops you hear. Please test again with this new gateware and TX buffer latency set to 42ms (same as 66 gateware) and PTT hang set to 31ms (mimic 66 gateware).
73,
Steve
kf7o