SMPable version of EM driver

Vladimir Ivanov wawa at yandex-team.ru
Thu Oct 4 14:38:20 PDT 2007


rmkml wrote:
> thx Vladimir,
> I have litle tested your em driver,
> quick comparaison :
> kernel: sys=10% intr=25% user=15%
> kernel+polling: sys=7% intr=5% user=15%
> kernel+yandex_em: sys=30% intr=1% user=15%
> same trafic (tcpreplay ~230Mbps)
> fbsd62release_amd64 on intel core 2 duo E6600+4Go
> It is possible reduce sys cpu ?

I'm not sure what that digits mean :-).
There is one more (see RX_KTHREADS_NUM) than usual thread started by the 
driver. That's why the results isn't easy to compare. Much of L/A 
calculation techniques depends of "number of running threads".

> Regards
> Rmkml
> 
> 
> On Fri, 5 Oct 2007, Vladimir Ivanov wrote:
> 
>> Date: Fri, 05 Oct 2007 00:59:51 +0400
>> From: Vladimir Ivanov <wawa at yandex-team.ru>
>> To: rmkml <rmkml at free.fr>, "freebsd-net at freebsd.org" 
>> <freebsd-net at freebsd.org>
>> Subject: Re: SMPable version of EM driver
>>
>> rmkml wrote:
>>> Hi Vladimir,
>>> very thank for your work on intel em driver !
>>> just commented line 772 and added 773 :
>>> 771:            /* Send a copy of the frame to the BPF listener */
>>> 772:            /* ETHER_BPF_MTAP(ifp, m_head); */
>>> 773:            BPF_MTAP(ifp, m_head);
>>> what is ETHER_BPF_MTAP() ?
>>
>> look at RELENG_6.
>> They've moved vlan promisc hack from driver level into ethersubr.
>> Briefly: we've to disable hardware vlan tagging if we want to tcpdump 
>> or bridge trunked port.
>>
>>> Best Regards
>>> Rmkml
>>
>> Regards,
>> Vladimir
>>
>>



More information about the freebsd-net mailing list