Date: Fri, 05 Oct 2007 01:38:02 +0400 From: Vladimir Ivanov <wawa@yandex-team.ru> To: rmkml <rmkml@free.fr>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: SMPable version of EM driver Message-ID: <47055D3A.2020604@yandex-team.ru> In-Reply-To: <Pine.NEB.4.64.0710042113240.10566@znpzvav> References: <Pine.NEB.4.64.0710041856100.10566@znpzvav> <47055447.3020206@yandex-team.ru> <Pine.NEB.4.64.0710042113240.10566@znpzvav>
next in thread | previous in thread | raw e-mail | index | archive | help
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@yandex-team.ru> >> To: rmkml <rmkml@free.fr>, "freebsd-net@freebsd.org" >> <freebsd-net@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 >> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47055D3A.2020604>