Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 1998 15:47:29 +0900 (JST)
From:      HAMADA Naoki <hamada@astec.co.jp>
To:        smoergrd@oslo.geco-prakla.slb.com
Cc:        sbabkin@dcn.att.com, mike@smith.net.au, hackers@FreeBSD.ORG
Subject:   Re: NIC drivers
Message-ID:  <199807150647.PAA25283@stone.astec.co.jp>
In-Reply-To: Dag-Erling Coidan Sm,Ax(Brgrav's message of "09 Jul 1998 16:31:39 %2B0200" <rx47m1nyu2c.fsf@oslo.geco-prakla.slb.com>
References:  <C50B6FBA632FD111AF0F0000C0AD71EEFF8B5A@dcn71.dcn.att.com> <rx47m1nyu2c.fsf@oslo.geco-prakla.slb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807150647.PAA25283>