From owner-freebsd-hackers Fri May 12 21:35:20 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from turtle.looksharp.net (cc360882-a.strhg1.mi.home.com [24.2.221.22]) by hub.freebsd.org (Postfix) with ESMTP id ED2EF37B834 for ; Fri, 12 May 2000 21:35:08 -0700 (PDT) (envelope-from bsdx@looksharp.net) Received: from localhost (bsdx@localhost) by turtle.looksharp.net (8.9.3/8.9.3) with ESMTP id AAA24480; Sat, 13 May 2000 00:35:03 -0400 (EDT) (envelope-from bsdx@looksharp.net) Date: Sat, 13 May 2000 00:35:03 -0400 (EDT) From: Adam To: Yann Ramin Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Funny Network Transit Delays In-Reply-To: <00051221024500.06396@atp.atpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Are you sure the duplex settings are correct on all nics? If they are on coax or a hub, it should be set to half duplex. If you are connected to a switch or a crossover cable, you may use full duplex on the nic only if the other end is set to full. I wouldn't trust any "Auto" settings until it can be assured that it doesn't hurt. On Fri, 12 May 2000, Yann Ramin wrote: >-----BEGIN PGP SIGNED MESSAGE----- > >Hi there. I have an interesting problem (figured it out myself) but I'm >wondering why it is occuring. > >I have a setup with Two FreeBSD machines (3.2 and 4.0 RELEASE), a Windows >machine, and a NetBSD machine. The NetBSD machine has three 3Com 3C509/B NICs >(ISA) and acts as a router to three subnets, one per machine. When I FTP >something from the 4.0 to the 3.2 box, performance sucks. And not that the >NetBSD machine is too slow, it seems neither the 4.0 or 3.2 is using the >network like it should. Looking at the hub, I'm getting a pattern like this: > >Activity(3 secs) -- Pause (4 secs) -- Activity (2 secs) -- Pause (1 sec) -- >Activity (7 secs) -- Pause (7 secs) > >and on for a total throughput of 80KB/s. The same occurs from Windows to the >4.0 box with Samba. I tried installing FreeBSD on the router, with no luck. >The only solution I could come up with was to: > >sysctl -w net.inet.tcp.sendspace=2900 >sysctl -w net.inet.tcp.recvspace=2900 > >This brings performance up to about 400KB/s, which is "ok" because of the extra >latency of the router. I have another similar situation with two 4.0 boxes and >iMacs running on two Cisco Catalyst 2924XL switches. If I use a plain >vanilla 10Base hub I get a cool 620KB/s. Does anyone have any idea what is >causing this? > >Yann > >-- > >-------------------------------------------------------------------- >Yann Ramin atrus@atrustrivalie.eu.org >Atrus Trivalie Productions www.atrustrivalie.eu.org > irm.it.montereyhigh.com >Monterey High IT www.montereyhigh.com >ICQ 46805627 >AIM oddatrus >Marina, CA > >"All cats die. Socrates is dead. Therefore Socrates is a cat." > - The Logician > > # fortune >"To be responsive at this time, though I will simply say, and therefore >this is a repeat of what I said previously, that which I am unable to >offer in response is based on information available to make no such >statement." >-------------------------------------------------------------------- > > >-----BEGIN PGP SIGNATURE----- >Version: PGPfreeware 5.0i for non-commercial use >MessageID: FUGyzVH4vQLKyp0A67Qx1eOXvDr2V38A > >iQA/AwUBORzT6jEK6loGD1TnEQK9/QCg5+2Jaxj+BzYd0JkHCPoYMRgLsVoAnjp3 >8t3n4rO9Oyr+R086nXwG5Asb >=/RT8 >-----END PGP SIGNATURE----- > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message