Hello,
I noticed recently (credit goes to
netdata) that during high chrome activity the kernel reports lots of UDP read buffer errors. It seems like this tends to happen when there is a high CPU usage combined with relatively high incoming UDP packet rate.
The following example is from when I restarted chrome after an upgrade. The CPU was nearly maxed out while chrome was starting up. Note how ~400 incoming pps translates to about twice as many UDP receive buffer errors per second! At the same time, netdata reported that the amount of memory used by allocated UDP sockets (ipv4.sockstat_udp_mem) was quite low (hovering around 2MB).
This on a rather old laptop (dual-core Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz but with 16 GB of RAM and an SSD) running Debian 12. It was running with the default net.core.rmem_max=212992. I tried reproducing the issue by navigating to "about:restart" with the sysctl value bumped 10x but the packet rate was much lower, so it did not trigger the issue.
I wonder whether others have seen issues like this. I did not see any user-visible symptoms, but perhaps this is something that can be improved to avoid the high packet drop rate and retransmissions...
regards,
Marcin