From owner-freebsd-questions Wed Aug 14 20:20:55 2002 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 61F0837B400 for ; Wed, 14 Aug 2002 20:20:51 -0700 (PDT) Received: from ptldme-mls2.maine.rr.com (ptldme-mls2.maine.rr.com [24.93.159.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72DB143E6E for ; Wed, 14 Aug 2002 20:20:50 -0700 (PDT) (envelope-from mattj@maine.rr.com) Received: from deimos.local. (ptd-24-198-34-114.maine.rr.com [24.198.34.114]) by ptldme-mls2.maine.rr.com (8.11.0/RoadRunner 1.03) with ESMTP id g7F0M8b24671; Wed, 14 Aug 2002 20:22:09 -0400 (EDT) Date: Wed, 14 Aug 2002 20:22:08 -0400 Subject: Re: Problems with the xl driver or 3Com cards? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v543) Cc: freebsd-questions@freebsd.org To: Barney Wolff From: Matt Johnson In-Reply-To: <20020814231743.GA34534@tp.databus.com> Message-Id: <0923460C-AFE5-11D6-8FEA-00306585BF9A@maine.rr.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.543) 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 On Wednesday, August 14, 2002, at 07:17 PM, Barney Wolff wrote: > I can think of some possibilities: > > 1. Duplex mismatch - are you sure the card knows it's on a full-duplex > port? If the switch is managed or has lights, what does it say about > it? > Try varying the media-opt setting to ifconfig. What does ifconfig xl0 > say? > > 2. What are you using for a tcp receive window? > sysctl net.inet.tcp.recvspace will tell you. Sometimes, one that's > too big will cause overruns, especially if the card shares an IRQ > with something else. > > 3. Try moving the nic to a different slot, which can change the > assigned > IRQ. > > You can detect problems of packet loss by looking at netstat -s on > both sender (for retransmissions) and receiver (for duplicate packets). As far as I know, both cards have their own IRQs. Nothing else seems to share that FreeBSD can see. When I do "ifconfig xl1" the it reports: media: Ethernet autoselect (100baseTX ) And the switch claims it is in full duplex mode. The other boxes are all in full-duplex mode as well. The sysctl variable is: net.inet.tcp.recvspace: 57344. I wasn't sure what to do with this, so I went to my Mac running Mac OS X which also has sysctl. It reported recvspace as 32768. I tried setting this on the FreeBSD box and the speed did jump up to about 800K/s. I tried playing around with it more, but I can't seem to make it break that setting. Thanks Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message