Page MenuHomeFreeBSD

if_epair: migrate to taskqueue
AbandonedPublic

Authored by kp on Jan 11 2022, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 18 2025, 1:18 AM
Unknown Object (File)
Aug 30 2025, 1:12 AM
Unknown Object (File)
Aug 25 2025, 10:34 AM
Unknown Object (File)
Jun 27 2025, 12:51 PM
Unknown Object (File)
Jun 26 2025, 4:33 AM
Unknown Object (File)
Jun 26 2025, 4:02 AM
Unknown Object (File)
Jun 22 2025, 6:21 AM
Unknown Object (File)
May 13 2025, 2:36 AM

Details

Reviewers
None
Group Reviewers
network
Summary

Switch from software interrupts to taskqueues. This both prepares the
code to add RSS support, and handle the receive side of things in a
multi-core fashion, but also improve performance in many setups. It
especially improves setup B (see below).

Benchmark results:

Setup A: (cc0 - bridge0 - epair0a) (epair0b - bridge1 - cc1)

Before 346.223 Kpps
After 1.168 Mpps

Setup B: (cc0 - bridge0 - epaira0) (epair0b - vnet jail - epair1a) (epair1b - bridge1 - cc1)

Before 7.705 Kpps
After 1.011 Mpps

MFC after: 3 weeks
Sponsored by: Orange Business Services

Diff Detail

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