two NIC on 2 core system (scheduling problem)

Ivan Voras ivoras at freebsd.org
Tue Oct 28 04:29:17 PDT 2008


Bartosz Giza wrote:
> Tuesday 28 of October 2008 11:49:21 Oleksandr Samoylyk napisał(a):
>> Ivan Voras wrote:
>>> Bartosz Giza wrote:
>>>> Another question is why em0 taskq is eating so much cpu ? BGE
>>>> interface is actually one that pushes 2 times more packets than em0
>>>> and it uses about half cpu comparing to em0. Is that not strange ?
>>>> Could someone tell my why is this happening ? BGE is faster ? or maybe
>>>> i can tune some
>>> I have the same problem - em0 taskq eating incredible amounts of CPU.
>>> If you find a solution, contact me!
>> It could be not just a problem with em driver.
>> Firstly, it's good to make profiling and find out what exactly eats CPU
>> time.
> 
> Yes, we should make some profiling, but it is quite hard on busy production 
> router. When i turn on pooling on em0 card swi1: net is using about 3% of 
> cpu. So it is quite big difference between  20% with tasq and 3% with 
> polling.

Is the difference reflected in your system / idle CPU time? (i.e. does
your idle time increase for ~~ 17%?)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20081028/17e8b6a6/signature.pgp


More information about the freebsd-net mailing list