From owner-freebsd-hackers Tue Jul 14 23:48:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01431 for freebsd-hackers-outgoing; Tue, 14 Jul 1998 23:48:08 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from tokyonet-entrance.astec.co.jp (tokyonet-entrance.astec.co.jp [202.239.16.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA01426 for ; Tue, 14 Jul 1998 23:48:05 -0700 (PDT) (envelope-from hamada@astec.co.jp) Received: from amont.astec.co.jp (amont.astec.co.jp [172.20.10.1]) by tokyonet-entrance.astec.co.jp (8.9.1+3.0W/3.7W-astecMX2.3) with ESMTP id PAA19672; Wed, 15 Jul 1998 15:47:34 +0900 (JST) Received: from stone.astec.co.jp (stone.astec.co.jp [172.20.26.2]) by amont.astec.co.jp (8.7.6/3.6W-astecMX2.4) with ESMTP id PAA03621; Wed, 15 Jul 1998 15:47:33 +0900 (JST) Received: (from hamada@localhost) by stone.astec.co.jp (8.8.5/3.5W-solaris1-1.2) id PAA25283; Wed, 15 Jul 1998 15:47:29 +0900 (JST) Date: Wed, 15 Jul 1998 15:47:29 +0900 (JST) Message-Id: <199807150647.PAA25283@stone.astec.co.jp> From: HAMADA Naoki References: To: smoergrd@oslo.geco-prakla.slb.com CC: sbabkin@dcn.att.com, mike@smith.net.au, hackers@FreeBSD.ORG In-reply-to: Dag-Erling Coidan Sm,Ax(Brgrav's message of "09 Jul 1998 16:31:39 +0200" Subject: Re: NIC drivers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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