Page MenuHomeFreeBSD

igc: Increase default per-queue interrupt rate to 20000.
ClosedPublic

Authored by grehan on Jul 7 2023, 8:20 AM.
Tags
None
Referenced Files
F106167233: D40904.diff
Thu, Dec 26, 12:08 PM
Unknown Object (File)
Sep 7 2024, 5:16 PM
Unknown Object (File)
Sep 7 2024, 2:15 PM
Unknown Object (File)
Sep 4 2024, 7:16 AM
Unknown Object (File)
Aug 6 2024, 12:29 AM
Unknown Object (File)
Aug 5 2024, 7:58 PM
Unknown Object (File)
Jun 3 2024, 5:30 AM
Unknown Object (File)
Jun 3 2024, 5:30 AM
Subscribers

Details

Summary

The default per-queue packet rate of 8000 will cause packet loss when
forwarding at 2.5G with a single stream, as is common when using e.g.
iperf3 to test a platform.

Bump this to 20000 (the "low latency" value in the Linux driver) which
avoids packet loss for this type of test.

Future work will use adaptive interrupt rate in a similar fashion
to the ixgbe driver.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Test Plan

Forward iperf3 traffic through 2 igc ports at 2.5Gb/s

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable