Page MenuHomeFreeBSD

iflib: Add rx_wait_irq configuration option
Needs ReviewPublic

Authored by kgalazka on Dec 3 2020, 8:07 PM.
Tags
None
Referenced Files
F174718623: D27465.diff
Mon, Oct 5, 11:23 AM
Unknown Object (File)
Fri, Sep 11, 1:20 PM
Unknown Object (File)
Sep 2 2026, 2:49 PM
Unknown Object (File)
Aug 23 2026, 10:25 PM
Unknown Object (File)
Aug 20 2026, 4:05 PM
Unknown Object (File)
Aug 20 2026, 3:37 PM
Unknown Object (File)
Aug 18 2026, 9:07 PM
Unknown Object (File)
Aug 13 2026, 11:38 AM

Details

Summary

This is an observation when receiving bulk traffic with LRO enabled. Checking for available RX descriptors at the end of iflib_rxeof() leads to aggregating only 2-3 frames, causes higher CPU utilization, and regresses the latency of large packet processing (e.g. 64K). So we add a sysctl allowing us the flexibility of switching it back to IRQ-driven RX. When enabled, this has shown to improve CPU utilization by about 20% on our X550 line of adaptors.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 35175
Build 32125: arc lint + arc unit