Date: Sat, 13 Nov 2004 10:06:39 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Peter Wemm <peter@wemm.org> Cc: current@FreeBSD.org Subject: Re: [PATCH] if_sk(4) rx/tx "hangs" Message-ID: <20041113080639.GF30146@ip.net.ua> In-Reply-To: <200411121739.40804.peter@wemm.org> References: <Pine.BSF.4.53.0411130037360.85716@e0-0.zab2.int.zabbadoz.net> <200411131134.21189.doconnor@gsoft.com.au> <200411121739.40804.peter@wemm.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041113080639.GF30146>