From owner-freebsd-bugs Thu Mar 11 13:35:59 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 0CC521522F for ; Thu, 11 Mar 1999 13:35:54 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id NAA09579; Thu, 11 Mar 1999 13:35:22 -0800 (PST) Message-Id: <199903112135.NAA09579@implode.root.com> To: Peter Jeremy Cc: freebsd-bugs@FreeBSD.ORG, semen@iclub.nsu.ru Subject: Re: kern/10535: Very poor ethernet performance with tx driver In-reply-to: Your message of "Fri, 12 Mar 1999 07:28:35 +1000." <99Mar12.071637est.40398@border.alcanet.com.au> From: David Greenman Reply-To: dg@root.com Date: Thu, 11 Mar 1999 13:35:22 -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >David Greenman wrote: >> The real question in my mind is why does the driver frob with the PHY >>in a critical path? That's guaranteed to cause the performance to suck, no >>matter what you do with the for-loops. > >At the beginning of epic_ifstart(), there is a check that the link is up, >otherwise the mbufs are dropped in the bit bucket. I'm not sure why the >link status has to be read twice. At least it is only once per packet. It shouldn't do that. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message