Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2004 12:18:04 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        GiZmen <gizmen@blurp.one.pl>
Subject:   Re: device pooling and high interrupts
Message-ID:  <20040511091804.GB66077@ip.net.ua>
In-Reply-To: <20040424131214.B5713@odysseus.silby.com>
References:  <20040424150050.GA93683@blurp.one.pl> <20040424131214.B5713@odysseus.silby.com>

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

--61jdw2sOBCFtR2d/
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 24, 2004 at 01:14:26PM -0500, Mike Silbersack wrote:
>=20
> On Sat, 24 Apr 2004, GiZmen wrote:
>=20
> > Hello,
> >
> > I am runnign freebsd 5.2.1 on 386 arch with two rl lan cards. My mainbo=
ard
> > is on VIA KT 266A with AMD athlon 1.1.
> > I read man polling and i have HZ=3D1000. My problem is that when i set =
up
> > sysctl variable kern.polling.enable=3D1 my interrupts greatly increase.
> > When my system is idle and indicate 0-1% interrupts with out polling.
> > and when i turn on polling interrupts goes up to about 20% on idle syst=
em.
> > Is it normal ? I never before use polling and i  dont know that i have
> > something bad in my system ?
> >
> > Can somebody explain me this ?
> >
> > thx
> > --
> > Best Regards:
> > 		GiZmen
>=20
> Ruslan can probably jump in and give you a better explanation than I can,
> but I'll try to provide a quick answer.  In short, the rl cards + driver
> are not well suited to polling and will not work well with it enabled.
> Support for polling on rl may in fact be removed as a result of this.
>=20
Well, basically, 8139's TX/RX engine is just not worth for use with
polling(4).  Now that we have per-interface polling(4) controls, I
suggest that we leave it _disabled_ for rl(4) by default.  My tests
have shown that I could only get a comparable throughput with rl(4)
given HZ=3D5000, which is *ahem* quite large to be really useful.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--61jdw2sOBCFtR2d/
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD4DBQFAoJpMUkv4P6juNwoRAswRAJ47GNefp6R4GJ7Lq9BDk8EC8Z4ZPwCY4DUi
GdG0HuAuPh5eemHE28xLOg==
=q+sW
-----END PGP SIGNATURE-----

--61jdw2sOBCFtR2d/--



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