From owner-freebsd-hackers Tue Dec 18 11:12:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from ns1.cksoft.de (ns1.cksoft.de [62.111.66.1]) by hub.freebsd.org (Postfix) with ESMTP id 2AB8537B419; Tue, 18 Dec 2001 11:12:43 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by ns1.cksoft.de (Postfix) with ESMTP id 59D2314FA3; Tue, 18 Dec 2001 20:12:41 +0100 (CET) Received: by ns1.cksoft.de (Postfix, from userid 66) id 0D6A314FA2; Tue, 18 Dec 2001 20:12:39 +0100 (CET) Received: by hirvi.cksoft.de (Postfix, from userid 1000) id ABF481B653; Tue, 18 Dec 2001 22:09:31 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by hirvi.cksoft.de (Postfix) with ESMTP id AB0DA18E88; Tue, 18 Dec 2001 22:09:31 +0100 (CET) Date: Tue, 18 Dec 2001 22:09:31 +0100 (CET) From: Christian Kratzer To: Petr Holub Cc: , , , Subject: Re: tx driver In-Reply-To: <003c01c187c6$4c323e00$d2e86cc2@kloboucek> Message-ID: X-Spammer-Kill-Ratio: 75% MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, On Tue, 18 Dec 2001, Petr Holub wrote: > Hi all! > > I've encountered really awful behavior of my SMC card using > tx driver in FreeBSD 4.3. On 100 Mbps network I get the throughput > just about 200 kBps :-( Colleagues of mine running some PC > based routers have very similar experiences with this driver > (in both 4.3 and 4.4 Rel's) The same card running under the > exactely same conditions in NetBSD is working pretty good > (11 MBps) and in Windows 2000 (8 MBps). Also running other cards > (like those with rl drivers) on the same network gives > very reasonable results in FreeBSD (approx. 10.5 MBps) so > I'm pretty convinced driver is to blame. Does anybody have > some workaround for this? the usual problem with this kind of performance with any driver is failed full/half duplex negotiation. Please try manually forcing your card to half or full duplex Add one of -mediaopt full-duplex or -mediaopt half-duplex depending on the setting of your switch to your ifconfig line in /etc/rc.conf This is the single most common cause of really low ethernet performance. I have had good experiences with the tx driver on 4.3 ond 4.4 releases. Greetings Christian -- CK Software GmbH Christian Kratzer, Schwarzwaldstr. 31, 71131 Jettingen Email: ck@cksoft.de Phone: +49 7452 889-135 Open Software Solutions, Network Security Fax: +49 7452 889-136 FreeBSD spoken here! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message