From owner-freebsd-questions Tue Dec 14 19:15:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand2.sentex.ca (sand2.sentex.ca [209.167.248.3]) by hub.freebsd.org (Postfix) with ESMTP id DB998152F5 for ; Tue, 14 Dec 1999 19:15:09 -0800 (PST) (envelope-from mike@sentex.net) Received: from gravel (ospf-mdt.sentex.net [205.211.164.81]) by sand2.sentex.ca (8.8.8/8.8.8) with SMTP id WAA11270; Tue, 14 Dec 1999 22:15:11 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <4.1.19991214220710.04f97ac0@granite.sentex.ca> X-Sender: mdtancsa@granite.sentex.ca X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Tue, 14 Dec 1999 22:14:51 -0500 To: From: Mike Tancsa Subject: RE: Not such good networking performance with FreeBSD Cc: In-Reply-To: References: <3856fea7.1645869304@mail.sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 09:57 PM 12/14/99 , Juha Saarinen wrote: >Hi Mike, > >> Are you sure its not a duplex issue with your network card ? > >Don't think so -- upon boot-up, the card (a DEC 21140 10/100 clone) is being >put into 100Mbps full duplex. At least that's what the system tells me. >Ifconfig -a seems to imply it's only running in 100BaseTX mode: > >de0: flags=8843 mtu 1500 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:00:e8:4a:bf:96 > media: autoselect (100baseTX) status: active > supported media: autoselect 100baseTX 100baseTX >10baseT/UTP 10baseT/UTP See if there are any errors in the switch on the port that FreeBSD is attached to. I seem to recall reading some issues about this particular card. You might try explicitly forcing the duplex to either half or full and seeing how that effects performance. The main thing is for the card and switch to agree on the settings. Dont trust auto-neg, as most of the times I have found it not to work properly. You should be able to tell by just doing some transfers from one machine to another on your LAN. >Could this one have anything to do with IP routing: > > net.inet.ip.fastforwarding: 0 Yes. If the box is going to act as a router. >Where are all these options described? The man page isn't much use. You should not have to change any of those values. The default should give you performance adequate to saturate a 10BaseT LAN given minimal sufficient hardware. ---Mike ********************************************************************** Mike Tancsa * mike@sentex.net Sentex Communications Corp, * http://www.sentex.net/mike Cambridge, Ontario * 519 651 3400 Canada * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message