OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: Taunt9930 on June 28, 2023, 11:27:22 AM

Title: RSS Intel igb and Netmap Driver
Post by: Taunt9930 on June 28, 2023, 11:27:22 AM
Hi all,

I appreciate that there is a warning/caveat, but has anyone got RSS enabled on the Intel i210 / igb interfaces and all working well with Zenarmor? As far as I can tell, I'm having no issues, but I am also currently having some issues with my provider.

Also, secondary question - I've been using native Netmap with (as far as I can tell) no issues at all. I appreciate that the emulated driver has had more recent development - any advantage of disadvantage to switching to emulated?

Would having RSS enabled influence the Native/emulated Netmap question?

Thanks.

Sent from my SM-S918B using Tapatalk

Title: Re: RSS Intel igb and Netmap Driver
Post by: mb on June 29, 2023, 06:57:31 AM
Hi @Taunt9930,

If you don't have any reliability issues, native netmap mode should produce better performance figures. But this will be only noticeable once you hit your CPU limits, under normal load, there should not be much difference (according to our tests and what we've received as feedback from our users).

We've introduced emulated improvements as an effort to provide netmap support for drivers which do not have their native support; as an effort to bring a driver-agnostic reliable netmap capability for all ethernet drivers. So, if you don't have issues with your native mode, no harm using that.

WRT RSS, you should be able to safely use RSS with either native or emulated mode. The only caveat is you won't see the performance improvements RSS is offering till we ship multi-core enabled zenarmor. Zenarmor will continue to run on a single CPU core (all queues for a single interface will be served through a single CPU core).

Hope this information is helpful.
Title: Re: RSS Intel igb and Netmap Driver
Post by: Taunt9930 on June 29, 2023, 08:50:13 AM
Very helpful, thank you mb. That's perfect.

Sent from my SM-S918B using Tapatalk