From owner-freebsd-current@FreeBSD.ORG Sat Nov 13 08:06:45 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DCE016A4D2 for ; Sat, 13 Nov 2004 08:06:42 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B747F43D46 for ; Sat, 13 Nov 2004 08:06:41 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iAD86eAP093059; Sat, 13 Nov 2004 10:06:40 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 68879-09; Sat, 13 Nov 2004 10:06:40 +0200 (EET) 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 iAD86d0W093056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 13 Nov 2004 10:06:39 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iAD86dlK038090; Sat, 13 Nov 2004 10:06:39 +0200 (EET) (envelope-from ru) Date: Sat, 13 Nov 2004 10:06:39 +0200 From: Ruslan Ermilov To: Peter Wemm Message-ID: <20041113080639.GF30146@ip.net.ua> References: <200411131134.21189.doconnor@gsoft.com.au> <200411121739.40804.peter@wemm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="924gEkU1VlJlwnwX" Content-Disposition: inline In-Reply-To: <200411121739.40804.peter@wemm.org> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@FreeBSD.org Subject: Re: [PATCH] if_sk(4) rx/tx "hangs" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2004 08:06:45 -0000 --924gEkU1VlJlwnwX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 12, 2004 at 05:39:40PM -0800, Peter Wemm wrote: > On Friday 12 November 2004 05:04 pm, Daniel O'Connor wrote: > > On Sat, 13 Nov 2004 11:17, Bjoern A. Zeeb wrote: > > > Hi, > > > > > > the patch at [1] gave me 8-10MB/s depending on direction ftping 1G > > > /dev/urandom data with the onboard NIC of my ASUS K8V SE Deluxe. > > > > > > This is the most I can get out of my 100Mbit/s consumer equipment > > > and local ftp machine I guess. > > > > > > Any feedback appreciated. > > > > Try something less CPU intensive like /dev/zero :) >=20 > I think he was saying he created a 1GB file from the contents=20 > of /dev/urandom and then timed the transfer of this over 100Mbit/sec=20 > link. >=20 > Anyway, the point was that it worked! Could the problem with the K8V SE= =20 > really be as simple as we've been hardcoding 128K of ram for a device=20 > that only has 64K? >=20 Looks familiar. I was in the lge(4) driver code recently, trying to add polling(4) support but gave up. The driver unconditionally uses 64/128 depth RX/TX lists while the chip only provides FIFOs for 31. I haven't had much time to play with this NIC to determine if the problem is real, but I suspect so. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --924gEkU1VlJlwnwX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBlcCPqRfpzJluFF4RAp1OAKCTjgln/E9zWkk4tTocMOngnjsguACeMvTA g3DQzWAHpuS5TSrIKVH1Jok= =OII0 -----END PGP SIGNATURE----- --924gEkU1VlJlwnwX--