Testing parallel forwarding
by from OpenBSD Journal on (#5X9JR)
Hrvoje Popovski writes in with some result from his performance tests, like he did a few years ago:
I've tested Alexander Bluhm's (bluhm@) parallel ip forwarding diffand i've got some nice results. Readers should be aware that bluhm@'s diff sets NET_TASKQ=4 which means that forwarding will use 4 CPU threadsand that this diff will affect only network cards that have multiqueuesupport (at the time of writing those cards are ix(4), ixl(4), and mcx(4).In my tests I was sending 14Mpps UDP packet over ix(4) interfaces which have 16 queues:
ix0 at pci10 dev 0 function 0 "Intel 82599" rev 0x01, msix, 16 queuesix1 at pci10 dev 0 function 1 "Intel 82599" rev 0x01, msix, 16 queuesOpenBSD box is Supermicro AS-1114S-WTRT with 24 x AMD EPYC 7413 24-CoreProcessor, 2650.37 MHz CPUs so this box is nice to test those 16 queues.