Network interrupt and NAPI in FreeBSD?

Adrian Chadd adrian at freebsd.org
Sat Mar 7 08:27:29 UTC 2015


Hi,

Well, hm. What's generating the interrupts? How many interrupts/second
are you talking about here?

People have asked about a NAPI style solution for FreeBSD for a while,
but for most folk that are using one physical interface that does
interrupt moderation/rate-limiting, it turns out to not be all that
big a benefit. For boxes that haves multiple interfaces, or for VMs
whose software interrupt path doesn't implement any kind of thresholds
for interrupt moderation, it still can be a benefit.

So maybe try looking at making your driver support POLLING and see what happens.

Maybe virtualisation will be the straw that breaks the NAPI back for FreeBSD. ;)



-a


More information about the freebsd-net mailing list