From owner-freebsd-net@FreeBSD.ORG Fri Jul 27 11:55:39 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 4A54B16A418 for ; Fri, 27 Jul 2007 11:55:39 +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 0AB0513C47E for ; Fri, 27 Jul 2007 11:55:38 +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 18A0D7C009E for ; Fri, 27 Jul 2007 13:55:37 +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 xqYceRJoV0lN for ; Fri, 27 Jul 2007 13:55:36 +0200 (CEST) Received: from marvin.harmless.hu (localhost [127.0.0.1]) by marvin.harmless.hu (Postfix) with ESMTP id AB8887C009D for ; Fri, 27 Jul 2007 13:55:20 +0200 (CEST) Date: Fri, 27 Jul 2007 13:55:20 +0200 From: Gergely CZUCZY To: freebsd-net@freebsd.org Message-ID: <20070727115520.GA10957@harmless.hu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=x-unknown; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline User-Agent: mutt-ng/devel-r804 (FreeBSD) Subject: 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: Fri, 27 Jul 2007 11:55:39 -0000 --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. options DEVICE_POLLING is in the kernel. The system is: FreeBSD lvs1.in.publishing.hu 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #2: Fri= Jul 27 10:57:50 UTC 2007 toor@pointyhat.in.publishing.hu:/usr/obj/usr/= src/sys/LVS i386 Isn't polling supposed to lower the interrupt load? What am I doing wrong here? I don't think this is the expected behaviour, at least, not by me. Sincerely, Gergely Czuczy mailto: gergely.czuczy@harmless.hu --=20 Weenies test. Geniuses solve problems that arise. --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) owFlU71rFEEUjwk2gxZBsH4qmqi3e1+5u7gSoiaXcCb4lTMpLGQ/3u2O7s6sM7OX XCqxUUgQsRICklILQUT/ABFthICtYCuWlhYWvr14IegWszPvvfm99/u9N08OjwwN j+68fnvr7ObTrQOvRr54Z5LMGBFaiau6XFjlUqlMy7law6paZa9aqTTqExNebQIb 9bmX38ZnpDAojNXupeiAwTVTTGOXi/PgR67SaKYy07Em2SBulutUam64FA5wEXOB e762coXuoLKawpcBF6ED9zJpMLBSxYVxvRgZm5cygEQqQf4CY62xLoKQhvsYQLW6 QJgGlcpSo4safZACXAGYjE+chpCHrsfNbkjH9ZG8zAVPrtnQjriGxBW9fQCgEROC pRC6ZaSEiIdRAbSEFphIZmFkWAs07eIAUOQFQipjIhVSPhsudghq10EmyFPn5YbS QK22ACkqRjVKERQAuyj68Kjsv6zuZNpAIAXCcd6hqA4PiUh5kOF4gZgF4PWoFKrd RKRDlniEKTv7SXDhK3Q1BoQr01x4DbPN5dZM8/a1q4uLrSvzwPOoPsJdVAJjimzT Qfe0wYS8DptTiJeWZiHu6rLNhZ1mRElHVIYdZVC3K9aN5mLz4lLTSuswCP7HfKLi kItPMbicxVBpQLnk1BpOrQQ32zNQKZUakH+ks7qQSmLQi1zzXzKnmGlVlN6d/n+K aeUXqdDi4vISAK9O1hnJp8WYGegEOktp5KiPRkIsV6kjOdM9hcjmBtOMrVA2cBNq bSDza6tK0kr9wOm+LYckpcXdXb25ZjkMrqXo04iCh5Hb5TJT1BbCJMVNIR/MvEEJ kqJL1AgCi3s0tfOoQtrBzHrmr/dY4vLYSAfCXbPt980X6AElMWpNrBmzrKlKia0g Co7UbdTGhnk6ZJqOWsY0MKmSNIFJPgs5FcU15X00PXJwKH+pg1c+Ovzix9D2u+vO ++3lje/Lx3a8Q48ffHrzeevD0PMTv8TP6jP7YfHo71MnNz5u3j/ytfQH =m10o -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q--