From owner-freebsd-bugs Thu Mar 11 2:50:16 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3931815057 for ; Thu, 11 Mar 1999 02:50:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id CAA51115; Thu, 11 Mar 1999 02:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Thu, 11 Mar 1999 02:50:01 -0800 (PST) Message-Id: <199903111050.CAA51115@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Andreas Klemm Subject: Re: kern/10535: Very poor ethernet performance with tx driver Reply-To: Andreas Klemm Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/10535; it has been noted by GNATS. From: Andreas Klemm To: Peter Jeremy Cc: dfr@nlsystems.com, FreeBSD-gnats-submit@FreeBSD.ORG, andreas@FreeBSD.ORG Subject: Re: kern/10535: Very poor ethernet performance with tx driver Date: Thu, 11 Mar 1999 11:22:03 +0100 On Thu, Mar 11, 1999 at 08:01:22PM +1000, Peter Jeremy wrote: > Doug Rabson wrote: > >The fix looks correct to me but as DG noted when the last change was made > >to this driver, it should be using DELAY to avoid future problems with > >processor speeds. > > I think that's a separate issue. The current code is incorrect because > references to H/W registers aren't marked volatile - and are therefore > likely to be optimised away. Andreas' change made the problem show > up because of the extra delay. I'm surprised that the only symptom > was poor performance. And a huge amount of sys time (top: 90% sys, 0-10% idle) when 30 telnet sessions using nc (netcat) were running concurrently. When typing something on the console, then the characters were a bit delayed .. Andreas /// -- Andreas Klemm http://www.FreeBSD.ORG/~andreas What gives you 90% more speed, for example, in kernel compilation ? http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html "NT = Not Today" (Maggie Biggs) ``powered by FreeBSD SMP'' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message