Bug 199963
Summary: | UDP rx_queue incorrect calculation in /proc/net/udp | ||
---|---|---|---|
Product: | Networking | Reporter: | trevor.francis |
Component: | IPV4 | Assignee: | Stephen Hemminger (stephen) |
Status: | NEW --- | ||
Severity: | normal | CC: | dsmythies |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | Kernels >= 4.15 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Graph of UDP rx queue lengths during iperf test. |
Description
trevor.francis
2018-06-07 13:21:23 UTC
I bisected the kernel and got: 0d4a6608f68c7532dcbfec2ea1150c9761767d03 is the first bad commit commit 0d4a6608f68c7532dcbfec2ea1150c9761767d03 Author: Paolo Abeni <pabeni@redhat.com> Date: Tue Sep 19 12:11:43 2017 +0200 udp: do rmem bulk free even if the rx sk queue is empty However, I also found this: https://www.mail-archive.com/netdev@vger.kernel.org/msg239743.html and see that Paolo is already on it. I am not on the netdev e-mail list, but anyhow saw a patch posted there. I tried it on top of kernel 4.17, and it seems to work. I do not know how to create some real RX queue, so didn't (couldn't) test that. Reference: https://marc.info/?l=linux-netdev&m=152845055527577&w=2 Created attachment 276437 [details]
Graph of UDP rx queue lengths during iperf test.
Using iperf, I was able to creates non-zero reported UDP Rx queues. The graph compares a 5 minute test with Kernel 4.4, 4.17, and 4.17 + the proposed patch. The results are as expected.
|