From owner-freebsd-net@FreeBSD.ORG Fri Apr 9 09:47:33 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94DCB16A55D; Fri, 9 Apr 2004 09:47:32 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B303343D45; Fri, 9 Apr 2004 09:47:31 -0700 (PDT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i39GpsPZ003793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Apr 2004 19:51:56 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i39GlONF002757; Fri, 9 Apr 2004 19:47:24 +0300 (EEST) (envelope-from ru) Date: Fri, 9 Apr 2004 19:47:24 +0300 From: Ruslan Ermilov To: Luigi Rizzo Message-ID: <20040409164724.GD2461@ip.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zS7rBR6csb6tI2e1" Content-Disposition: inline User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: net@FreeBSD.org Subject: polling(4) and rl(4) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 09 Apr 2004 16:47:33 -0000 --zS7rBR6csb6tI2e1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Luigi, Have you actually measured the performance of rl(4) with polling(4) enabled? With 8139 anomaly of four (register based) TX descriptors it's becoming a royal pain in the ass with polling(4) enabled -- the TX performance just sucks -- I could only get the comparable results with HZ=3D5000, which is overheating my CPU. My suggestion is to drop polling(4) support from the rl(4) driver completely. Are there any objections? Has anybody got different results with rl(4) and polling(4) enabled? Having it in re(4) is of course a good thing. ;) As an aside, I've started working on the ``[-]polling'' option for ifconfig(8) that, when done, will allow changing the polling status of individual interfaces in run-time, e.g., the following command will disable polling on nge0: ifconfig nge0 -polling Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --zS7rBR6csb6tI2e1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAdtOcUkv4P6juNwoRAuw0AJ0QsAOzMjwTvlpFqxqlQx32EVs4ugCcD2V+ PN9fXhc9Hgel7JFDTBGuyUo= =0E3a -----END PGP SIGNATURE----- --zS7rBR6csb6tI2e1--