Thread (22 messages) 22 messages, 5 authors, 2024-02-08

Re: [PATCH net-next v6 2/4] eventpoll: Add per-epoll busy poll packet budget

From: Eric Dumazet <edumazet@google.com>
Date: 2024-02-08 17:48:08
Also in: linux-api, linux-fsdevel, lkml

On Wed, Feb 7, 2024 at 8:04 PM Jakub Kicinski [off-list ref] wrote:
On Mon,  5 Feb 2024 21:04:47 +0000 Joe Damato wrote:
quoted
When using epoll-based busy poll, the packet budget is hardcoded to
BUSY_POLL_BUDGET (8). Users may desire larger busy poll budgets, which
can potentially increase throughput when busy polling under high network
load.

Other busy poll methods allow setting the busy poll budget via
SO_BUSY_POLL_BUDGET, but epoll-based busy polling uses a hardcoded
value.

Fix this edge case by adding support for a per-epoll context busy poll
packet budget. If not specified, the default value (BUSY_POLL_BUDGET) is
used.
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help