Multiqueue support, igb

Eugene Grosbein egrosbein at rdtc.ru
Thu Mar 8 18:10:35 UTC 2012


08.03.2012 19:47, Ivan Voras пишет:
> Hello,
> 
> What is the current state of support for multithreaded TCP processing in
> CURRENT? If a NIC supports multiple queues, will they be used
> automatically or net.isr.numthreads needs to be increased?
> 
> I have this situation on a machine with an igb card:
> 
> irq256: igb0:que 0                103573         11
> irq257: igb0:que 1                 10094          1
> irq258: igb0:que 2                 18231          2
> irq259: igb0:que 3                 18186          2
> 
> This looks like the first queue is used ~~ 10x more often than the
> others. Is this a problem?

It seems you have lots of non-TCP and non-UDP traffic
like PPPoE or GRE. igb(4) uses Microsoft Receive Side Scaling,
so it cannot compute a hash for such ethernet frames
and they all go to queue zero. That is unavoidable with those cards.

Eugene Grosbein


More information about the freebsd-net mailing list