So it turns out this is a related to the following reported issue, and it 
affects both 7.2 and 7.3 stable.

https://marc.info/?l=openbsd-bugs&m=167322442003896&w=2

I have a Protectli FW4B and used it as my home router/firewall, so there is no 
monitor connected to the HDMI port. When I connect an HDMI cable from the FW4B 
to my monitor, these network delays disappear.

Oddly, when this issue was present, I could see pflogd CPU hovering at over 8% 
CPU constantly. After connecting the HDMI cable, pflogd is not breaking a sweat.

Cheers,
-Chris

On Thu, Apr 13, 2023, at 4:36 PM, Chris Jones wrote:
> Sorry, I forgot to add a subject to my initial sendbug. Hopefully this 
> updates the thread to give some insight as to what the bug report is about.
> 
> 
> Cheers,
> -C
> 
> On 12 Apr 2023, at 18:00, Chris Jones wrote:
> 
>>> 
>>> Synopsis: Experiencing frequent but intermittent network delays for host 
>>> bound and transit traffic on my OpenBSD router/firewall after upgrading 
>>> from 7.2 to 7.3
>>> Category: system kernel amd64 Environment:
>>> 
>> 
>> System : OpenBSD 7.3
>> Details : OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023
>> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>> 
>> `Architecture: OpenBSD.amd64
>> Machine     : amd64
`
>>> Description:
>>> 
>> I noticed that after upgrading from 7.2 to 7.3, frequent but intermittent 
>> network delays. These delays are very brief but when they happen they 
>> typically last from 500 - 900 ms. If I ping my gateway, I generally get sub 
>> millisecond pings (0.400 - 0.700 ms) but intermittently I'll get an echo 
>> replies (typically 1 echo reply) that can range from 200 - 900ms. Then it 
>> returns to the sub millisecond echo responses for a period of time (no 
>> pattern). Because these "delays" are noticable for both host bound traffic 
>> (eg. SSH to the OpenBSD router) and transit traffic, it affects persistent 
>> connections destined to the router or passing through it.
>> 
>> `It's noticible for things like SSH sessions to the OpenBSD router, video 
>> and voice calls, or any other persistent connection. I've looked at the 
>> system processes to see if there are any noticable spikes in CPU usage, but 
>> I'm not seeing anything that stands out.
>> 
>> I'm not noticing these same symptoms for other layer2 traffic. I can ping 
>> other hosts on my LAN and my switch and do not notice this behaviour, so 
>> it's only for connections to or transiting through the router.
`

Reply via email to