From owner-freebsd-net@FreeBSD.ORG Tue Jul 31 10:03:33 2007 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 8DA5916A417 for ; Tue, 31 Jul 2007 10:03:33 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from marvin.harmless.hu (marvin.harmless.hu [195.56.55.204]) by mx1.freebsd.org (Postfix) with ESMTP id 1431C13C469 for ; Tue, 31 Jul 2007 10:03:33 +0000 (UTC) (envelope-from gergely.czuczy@harmless.hu) Received: from localhost (marvin-mail [192.168.0.2]) by marvin.harmless.hu (Postfix) with ESMTP id B0ECB7C14DA; Tue, 31 Jul 2007 12:03:31 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.4.2 (20060627) (Debian) at harmless.hu Received: from marvin.harmless.hu ([192.168.0.2]) by localhost (marvin.harmless.hu [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id X5ttIe3ROsG9; Tue, 31 Jul 2007 12:03:31 +0200 (CEST) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id 4FABB7C14D9; Tue, 31 Jul 2007 12:03:15 +0200 (CEST) Date: Tue, 31 Jul 2007 12:03:15 +0200 From: Gergely CZUCZY To: Markus Oestreicher Message-ID: <20070731100315.GA34300@harmless.hu> References: <20070727115520.GA10957@harmless.hu> <46AA7710.2070803@x-trader.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="TB36FDmn/VVEgNH/" Content-Disposition: inline In-Reply-To: <46AA7710.2070803@x-trader.de> User-Agent: mutt-ng/devel-r804 (FreeBSD) Cc: "freebsd-net@freebsd.org" Subject: Re: more interrupts with polling(4) on em(4) 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, 31 Jul 2007 10:03:33 -0000 --TB36FDmn/VVEgNH/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 28, 2007 at 12:52:00AM +0200, Markus Oestreicher wrote: > Gergely CZUCZY schrieb: > >Good morning, > >I've noticed 33K interrupts/sec on an em(4) gigabit interface on > >a box. This many interrupts seemed a bit too high, so I thought > >I should enable polling(4). After enabling it i've got 55K per > >second, even higher. > >I've just done "ifconfig em1 polling", and by this the number > >of interrupts increased. >=20 >=20 > How does vmstat -i look like before and after? lvs1:~# ifconfig em0 -polling; sleep 5; vmstat -i ;ifconfig em0 polling; sl= eep 5; vmstat -i (without polling on em0) interrupt total rate irq14: ata0 60 0 irq15: ata1 1 0 irq16: uhci0 twe0 2507 1 irq17: fxp0 4922443 1987 irq18: em0 3302239 1333 cpu0: timer 4952925 1999 Total 13180175 5321 (with polling on em0) interrupt total rate irq14: ata0 60 0 irq15: ata1 1 0 irq16: uhci0 twe0 2508 1 irq17: fxp0 4965974 2000 irq18: em0 3302338 1330 cpu0: timer 4962989 1999 Total 13233870 5331 Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --TB36FDmn/VVEgNH/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) owHdVb+P3EQUPhKBIkuA8gcEPZKCi7LeG3vWt7s+XUK4gyQcUYq7CBGqWfvZnpw9 48yM925TQEtBgZBooAgdFQoFQgJRUtBAQcMfgPgbKOF577ws6A5dzRSr9Xvve78+ +5uPnj+/cu7iz199/e61Dz/+7Jkvn/tl0qsa51TuV8JMpfIDxgKfDzhjfsh9jqNU jIYTnqZJkEXDN55e+G1LK4fK+XuzGmNweOjW6lJItQFJIYxFt9m4zB95Xdy2tLW2 0kmtYpCqlAoXvj0jlM3Q+K+rRKdS5TE8arT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