[Oisf-users] Processing threads limit of 16?

Cooper F. Nelson cnelson at ucsd.edu
Fri Feb 13 18:18:07 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ok color me confused then.

I knew that newer chipsets supported more RX queues, but did not realize
that there was the RSS limitation:

> http://lists.freebsd.org/pipermail/freebsd-net/2014-July/039281.html

Something Joey could try would be hack the set_irq_affinty script to tie
the 16 RSS queues to even-numbered cores (0-30) and then set the worker
threads to the odd-numbered cores (1-31).  On a hyper-threaded system
this should give you good performance as the caches will be shared.

It would also be a good idea to set the management threads to cores
32-63, as they will be idle.

- -Coop

On 2/13/2015 9:58 AM, Eric Leblond wrote:
> Hi Cooper,
> 
> On Fri, 2015-02-13 at 09:50 -0800, Cooper F. Nelson wrote:
>> What kind of NIC do you have?
>>
>> If you have an Intel card with the ixgbe driver you can try setting the
>> number of RSS queues to 32:
>>
>>> http://stackoverflow.com/questions/23730268/ixgbe-setting-the-number-of-rx-tx-queues
> 
> It won't work there is a limitation at 16 for the load balancing done by
> the card. You can have more RX queues but you need to do the "balancing"
> by yourself in that case.
> 
> ++
> 


- -- 
Cooper Nelson
Network Security Analyst
UCSD ACT Security Team
cnelson at ucsd.edu x41042
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)

iQEcBAEBAgAGBQJU3j/fAAoJEKIFRYQsa8FWsQIH/2ZqV2u5XdiG/fIL9EoLu5vu
jr1hNifeIB+0p3pF2NZUUznllbOPys62E3LwNz4Zjpa6mODcln60CGTJrU1stRIu
30UGOXyZLC3nphBS+qCMAdkU0G4mkE7E5sm/ixzun0rM5dlvLDO+kk5Bqz2+9sqH
A/VmV/2m35tbF+UTB5mpXHHbAcXEXV31+poSBD7CU+pOrFErbt5nsqlqVYAJPbr0
XtvMjywoaFAj+7v/Td0Il97+fuH6FmEEwByfH0k1zqCGR7x6dHcNaRB/n/bHPXN9
sIGHzG122t0QTAS0Yj2cj/2pNfydZHWLj6Jw2xSR/pWuuffy2qTj/swMwOhaxBw=
=FdA4
-----END PGP SIGNATURE-----



More information about the Oisf-users mailing list