Date: Sun, 30 Dec 2001 01:34:47 -0800 (PST) From: Thomas Cannon <tcannon@noops.org> To: "Leo L. Schwab" <ewhac@best.com> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: Slow-Start Networking Message-ID: <20011230012543.G2888-100000@stereophonic.noops.org> In-Reply-To: <20011230005539.A26777@best.com>
next in thread | previous in thread | raw e-mail | index | archive | help
A possible answer might be that your NIC (or whatever it's plugged into) is autosensing whether it is running at full or half duplex, and getting it wrong at first and then changing it. While this may not be the correct answer, it might be worth a shot to check it out. You want to add a "mediaopt full-duplex" in your ifconfig.. or your rc.conf. I have this: ifconfig_fxp0="inet 63.195.97.84 media 100BaseTX mediaopt full-duplex netmask 255.255.255.248" Even if that hard-codes it on the FreeBSD side, the other side may be the problem, so it may not do jack. If that's the case, though, you should be able to hard-code the FreeBSD box at half-duplex and not see the same symptoms, though. And of course, configuring the 3Com NIC and testing with that might give some interesting clues as well. I'd be curious to see if it was having the same issues. Hope any of that helps. Thomas On Sun, 30 Dec 2001, Leo L. Schwab wrote: > I'm experiencing difficulty with my networking under FreeBSD 4.3. > Briefly, the networking is dead slow until it's had time to "warm up". > > I have FreeBSD 4.3 installed on an Intel 810-based MB with a RealTek > 8139 Ethernet controller. (There is also a 3C905-TX in the machine, but it > is unused and unconfigured at the moment.) After cold-boot and logging in, > there is an extremely high incidence of dropped packets. 'ping's to > well-known hosts, including physically adjacent machines, show 50% packet > loss or higher. TCP connections stall out; 'netstat' shows unsent bytes > remaining in the Send-Q. > > Now, sit and wait a bit (three or four minutes), and test again. > All pings get through, and TCP connections no longer stall out. > > During "slow" operation, the network activity lights suggest that > the interface is attempting to send and receive packets, but the system > isn't seeing them. Nothing in /var/log/* shows anything unusual. > > Some searching through the freebsd-questions archive revealed that I > should set the media type with 'ifconfig'. I did that, selecting > 10baseT/UTP. While this improved the situation (the time I need to wait has > been greatly reduced), the problem sitll persists. This is especially > irritating for SSH sessions and the Zope server I'm trying to set up. > (Funny though, 'autoselect' seemed to work just fine before under FreeBSD > 4.2.) > > I did compile a custom kernel. I've done it before for 4.2, and I'm > fairly sure I didn't botch it :-). My config file is available upon > request. I have not yet tried reinstalling the GENERIC kernel to see if the > problem goes away. > > The only other thing I can think of is that my FlowPoint DSL router > (which doubles as my LAN hub) is doing something wonky with packets from the > FreeBSD machine. I'm not using NAT or DHCP. > > All suggestions appreciated. > > Schwab > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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?20011230012543.G2888-100000>