From owner-freebsd-hackers Thu Jul 16 13:22:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA08159 for freebsd-hackers-outgoing; Thu, 16 Jul 1998 13:22:09 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles338.castles.com [208.214.167.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA08153 for ; Thu, 16 Jul 1998 13:22:06 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id NAA03930; Thu, 16 Jul 1998 13:21:14 -0700 (PDT) Message-Id: <199807162021.NAA03930@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: HAMADA Naoki cc: smoergrd@oslo.geco-prakla.slb.com, sbabkin@dcn.att.com, mike@smith.net.au, hackers@FreeBSD.ORG Subject: Re: NIC drivers In-reply-to: Your message of "Wed, 15 Jul 1998 15:47:29 +0900." <199807150647.PAA25283@stone.astec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 16 Jul 1998 13:21:14 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If anyone has the chance to test this under -stable in the next few days, please do so, as it'd be nice to have it in 2.2.7. > smoergrd@oslo.geco-prakla.slb.com writes: > >Believe me, it still sucks. Search the archives (both the mailing list > >archives and the PR database) for "no buffer space", and/or "ep0". > >Basically, the driver is fine for telnet and mail, but wedges under > >sustained load. I can get it to hang without ever going above 20 kBps > >(160 kbps). Gimme an Intel EtherExpress. > > I carefully looked through the source code to find a bug which results > mbuf leaks. Could you try this patch? > > -nao > > --- sys/i386/isa/if_ep.c- Wed Jul 15 15:40:09 1998 > +++ sys/i386/isa/if_ep.c Wed Jul 15 15:41:04 1998 > @@ -1128,8 +1128,7 @@ > /* we see if by now, the packet has completly arrived */ > goto read_again; > } > - outw(BASE + EP_COMMAND, SET_RX_EARLY_THRESH | RX_NEXT_EARLY_THRESH); > - return; > + goto out; > } > outw(BASE + EP_COMMAND, RX_DISCARD_TOP_PACK); > ++ifp->if_ipackets; > -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message