Routing enhancement - reduce routing table locking

Freddie Cash fjwcash at gmail.com
Tue Apr 19 19:10:27 UTC 2011


On Tue, Apr 19, 2011 at 12:06 PM, K. Macy <kmacy at freebsd.org> wrote:
> On Tue, Apr 19, 2011 at 8:19 PM, Freddie Cash <fjwcash at gmail.com> wrote:
>> On Tue, Apr 19, 2011 at 7:42 AM, K. Macy <kmacy at freebsd.org> wrote:
>>>> I'm not able to find IFNET_MULTIQUEUE in a recent 8.2-STABLE, is this something
>>>> present only in HEAD?
>>>
>>> It looks like it is now EM_MULTIQUEUE.
>>
>> Just curious, how would one enable this to test it?  We have igb(4)
>> interfaces in our new storage boxes, and it would be interesting to
>> test whether or not it helps in our setup.
>>
> It should automatically allocate a queue per core up to the max
> supported. Post 8.0 it should be enabled by default for igb:

Ah, you're right.  Looking through "vmstat -i" there is a separate
queue for each CPU core.

SuperMicro H8DGi-F motherboard with igb onboard:
irq256: igb0:que 0               1139206          1
irq257: igb0:que 1                 30632          0
irq258: igb0:que 2                 33896          0
irq259: igb0:que 3                665468          0
irq260: igb0:que 4                297171          0
irq261: igb0:que 5                 43611          0
irq262: igb0:que 6                 30029          0
irq263: igb0:que 7               3326877          4
irq264: igb0:link                      2          0

irq265: igb1:que 0              53522069         77
irq266: igb1:que 1              78335894        113
irq267: igb1:que 2              45704968         65
irq268: igb1:que 3             156102576        225
irq269: igb1:que 4              87793026        126
irq270: igb1:que 5              85639786        123
irq271: igb1:que 6             131898271        190
irq272: igb1:que 7             154087013        222
irq273: igb1:link                      2          0

-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-net mailing list