Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jul 2007 12:03:15 +0200
From:      Gergely CZUCZY <phoemix@harmless.hu>
To:        Markus Oestreicher <m.oe@x-trader.de>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: more interrupts with polling(4) on em(4)
Message-ID:  <20070731100315.GA34300@harmless.hu>
In-Reply-To: <46AA7710.2070803@x-trader.de>
References:  <20070727115520.GA10957@harmless.hu> <46AA7710.2070803@x-trader.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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)

owHd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HqkhSsNpp0sWrFiT5yYaTFvvfBjfPP
rrQXVXfNXTz3wicrT6pPd36arH7/4x/9L17Kbr944df7+XcrT5L3f3hLv/zN9ueX
6j9/f2370tO1b3f/Ag==
=r93p
-----END PGP SIGNATURE-----

--TB36FDmn/VVEgNH/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070731100315.GA34300>