Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Aug 2002 20:22:08 -0400
From:      Matt Johnson <mattj@maine.rr.com>
To:        Barney Wolff <barney@tp.databus.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems with the xl driver or 3Com cards?
Message-ID:  <0923460C-AFE5-11D6-8FEA-00306585BF9A@maine.rr.com>
In-Reply-To: <20020814231743.GA34534@tp.databus.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <full-duplex>)
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0923460C-AFE5-11D6-8FEA-00306585BF9A>