From owner-freebsd-questions Sun Mar 16 9:48:13 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ABB937B401 for ; Sun, 16 Mar 2003 09:48:11 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-122.pit.adelphia.net [24.53.161.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FEBA43FA3 for ; Sun, 16 Mar 2003 09:48:10 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.7/8.12.7) with ESMTP id h2GHm7Tb010302; Sun, 16 Mar 2003 12:48:08 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E74B8BC.4030009@potentialtech.com> Date: Sun, 16 Mar 2003 12:47:40 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030301 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Olivier Dony Cc: Simon Barner , freebsd-questions@freebsd.org Subject: Re: Too many collisions on network? References: <005d01c2ebcb$82b343b0$1502a8c0@blacktrap.net> <20030316152335.GA1434@zi025.glhnet.mhn.de> <002201c2ebd3$92d0a7d0$1502a8c0@blacktrap.net> In-Reply-To: <002201c2ebd3$92d0a7d0$1502a8c0@blacktrap.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Olivier Dony wrote: > On Sunday, 16 March, 2003 16:23, Simon Barner wrote: > >>Are you running your network adaptor in full-duplex mode? Perhaps the device on >>the other end of the wire does only support half-duplex. Changing this increased >>the throughput from 20kb/s to almost 1mb/s on our internal network here >>(10baseT/UTP). > > > I'm not really sure about this, here is the output of ifconfig related > to the external interface : > > root@charon:/root# ifconfig -m fxp0 > fxp0: flags=8843 mtu 1500 > inet xxx.xxx.191.100 netmask 0xfffffff0 broadcast xxx.xxx.191.111 > inet xxx.xxx.191.101 netmask 0xffffffff broadcast xxx.xxx.191.101 > ether 00:e0:81:23:c5:32 > media: Ethernet autoselect (10baseT/UTP) > status: active > supported media: > media autoselect > media 100baseTX mediaopt full-duplex > media 100baseTX > media 10baseT/UTP mediaopt full-duplex > media 10baseT/UTP > media 100baseTX mediaopt hw-loopback > > It seems that fxp(4) supports full-duplex but that it is currently > disabled, and I guess this is because the other end of the wire doesn't > support it, since the media has been autoselected? Please correct me > as I have never played a lot with ifconfig except for basic configutarion. > I wouldn't be too eager to do tests with this setting since this is a > production server and I have no direct physical access to it, so shutting > down the only interface by mistake is *not* an option ;-) > But if I was to change it, how would I go about this without shutting down > fxp0? 'ifconfig fxp0 media 10baseT/UTP mediaopt full-duplex' ?? I have seen cases where the media type was auto-negiotiated wrong. I think this was due to crappy wiring, but the circumstances didn't allow for a lot of experimenting. I would suggest talking to your ISP and verifying what the connection _should_ be. Then work towards getting it there. When the two ends see something different, performance blows. Going to full-duplex should reduce collisions to 0, and give you the max performance available. I just did some experimenting with turning duplex from half to full and back on my computer here, and if there's any interruption, it was less than I could easily measure. Don't know if that'll be the same with all switches or not. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message