https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211836

Andrey V. Elsukov <a...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a...@freebsd.org

--- Comment #6 from Andrey V. Elsukov <a...@freebsd.org> ---
(In reply to Babak Farrokhi from comment #5)
> (In reply to Andrey V. Elsukov from comment #4)
> So you suggest setting net.isr.maxthreads=32 would fix this (aside from
> locking overhead)? Isn't RSS aware of maximum CPUs used by netisr?

I think netisr code should be fixed, we even have in the comment suggested
solution: DPCPU_ID_GET(nws_array[arbitraryvalue % nws_count], nws)

So, probably if we define macro:
#define NETISR_WS(_cpuid)   DPCPU_ID_GET(nws_array[(_cpuid) % nws_count], nws)

Then replace all DPCPU_ID_GET(xxx, nws) with NETISR_WS(xxx), I think this will
help. But, maybe Robert or Adrian will suggest something better.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to