From owner-freebsd-net@FreeBSD.ORG Tue Oct 28 11:21:00 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46542106567F for ; Tue, 28 Oct 2008 11:21:00 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id F306C8FC13 for ; Tue, 28 Oct 2008 11:20:59 +0000 (UTC) (envelope-from freebsd-net@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Kumd5-0005ur-4e for freebsd-net@freebsd.org; Tue, 28 Oct 2008 11:20:55 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2008 11:20:55 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Oct 2008 11:20:55 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-net@freebsd.org From: Ivan Voras Date: Tue, 28 Oct 2008 12:21:32 +0100 Lines: 44 Message-ID: References: <200810281235.53508.gizmen@blurp.pl> <4906EC8D.7070503@freebsd.org> <4906EE31.3080400@samoylyk.sumy.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9EBC28282BF222D4B071B0B8" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.17 (X11/20080925) In-Reply-To: <4906EE31.3080400@samoylyk.sumy.ua> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: two NIC on 2 core system (scheduling problem) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2008 11:21:00 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9EBC28282BF222D4B071B0B8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Oleksandr Samoylyk wrote: > 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! >> >> >=20 > It could be not just a problem with em driver. > Firstly, it's good to make profiling and find out what exactly eats CPU= Can you give any pointers on how to profile the driver and/or the network stack? --------------enig9EBC28282BF222D4B071B0B8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJBvW8ldnAQVacBcgRAutnAJ9N86QQS5SeA/xAVVsEtg+YI7Kn0QCgr4zm qyWzcnSqf69++KOtCjcPVps= =hbuP -----END PGP SIGNATURE----- --------------enig9EBC28282BF222D4B071B0B8--