Re: [PATCH net-next v6 2/4] eventpoll: Add per-epoll busy poll packet budget
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-02-07 19:04:31
Also in:
linux-fsdevel, lkml, netdev
From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-02-07 19:04:31
Also in:
linux-fsdevel, lkml, netdev
On Mon, 5 Feb 2024 21:04:47 +0000 Joe Damato wrote:
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>