From owner-freebsd-questions Tue Dec 14 19:38:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from saarinen.org (saarinen.org [203.79.82.14]) by hub.freebsd.org (Postfix) with ESMTP id 7D59F15370 for ; Tue, 14 Dec 1999 19:38:34 -0800 (PST) (envelope-from juha@saarinen.org) Received: from vimfuego.saarinen.org ([192.168.1.1]) by saarinen.org with esmtp (Exim 3.03 #1) id 11y5Ft-000L7N-00; Wed, 15 Dec 1999 16:37:33 +1300 Date: Wed, 15 Dec 1999 16:37:33 +1300 (NZDT) From: Juha Saarinen To: Mike Tancsa Cc: questions@freebsd.org Subject: RE: Not such good networking performance with FreeBSD In-Reply-To: <4.1.19991214220710.04f97ac0@granite.sentex.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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. Unfortunately, it's an unmanaged switch, so I can't get anything useful out of it like port stats and diags. I get full speed ftp transfers (~1MBps, the switch has only one 100Mbps port, the rest are 10Mbps) at the moment, but will try the FD thing as well. I was just trying to figure out how to explicitly force the card into full-duplex... ifconfig ?? > Yes. If the box is going to act as a router. Ahh.. thanks. I'm using the box as a caching http proxy, email, ftp, Web, ssh etc. server, but I suppose as it only has the one network interface, it isn't doing much routing at the moment. > > 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. I'm in New Zealand, and much of this country's Internet connectivity comes via satellite. RTTs to hosts outside NZ range from 200ms if I'm lucky, to 350ms and higher typically. I've found that increasing the TCP receive buffers on Linux, WinNT and Win98 make a huge difference in this situation. Cheers, -- Juha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message