From owner-freebsd-mobile Sat Oct 19 12:17:33 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6061437B401 for ; Sat, 19 Oct 2002 12:17:31 -0700 (PDT) Received: from mail.tols.org (vantol.xs4all.nl [194.109.244.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1673E43E8A for ; Sat, 19 Oct 2002 12:17:30 -0700 (PDT) (envelope-from marco@mail.tols.org) Received: from mail.tols.org (localhost [IPv6:::1]) by mail.tols.org (8.12.5/8.12.5) with ESMTP id g9JJHSEo055780 for ; Sat, 19 Oct 2002 19:17:28 GMT (envelope-from marco@mail.tols.org) Received: (from marco@localhost) by mail.tols.org (8.12.5/8.12.5/Submit) id g9JJHSMQ055779 for freebsd-mobile@FreeBSD.ORG; Sat, 19 Oct 2002 21:17:28 +0200 (CEST) (envelope-from marco) Date: Sat, 19 Oct 2002 21:17:28 +0200 From: Marco van Tol To: freebsd-mobile@FreeBSD.ORG Subject: Re: 100 Mbit/s is (a lot) slower than 10 Mbit/s Message-ID: <20021019211728.B55151@tols.org> Mail-Followup-To: freebsd-mobile@FreeBSD.ORG References: <20021019210804P.hanche@math.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20021019210804P.hanche@math.ntnu.no>; from hanche@math.ntnu.no on Sat, Oct 19, 2002 at 09:08:04PM +0200 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, Oct 19, 2002 at 09:08:04PM +0200, Harald Hanche-Olsen wrote: > I have a Linksys ethernet card in my laptop. It can to 10 or 100 > Mbit/s. But when it's in 100 Mbit/s mode, transfers into the laptop > are lots slower than at 10 Mbit/s, at least as long as the sender is > on the same local net and has a 100 Mbit/s interface. > > The reason is obvious enough: Snooping on the ethernet traffic reveals > that packets are lost, with frequent timeouts and waits for > retransmissions as a result. The timeouts are easily visible by > watching the blinkenlights on the dongle. I am assuming this is a > result of the Linksys' puny buffer being overrun, perhaps due to the > bandwidth from the PCMCIA slot to the CPU not being big enough to > cope. > > So why don't I just use 10 Mbit/s then? Well, at home that is what I > do, since I can tell my stationary PC to run its interface at 10 > Mbit/s, and the Linksys will automatically follow suit. But at work > we recently upgraded our network to 100 Mbit/s, and hence the > difficulty: The ed driver has no provision (it seems) for setting the > speed. (Maybe there is no way to ask the card to pick the lower > speed.) > > Could anyone suggest a reasonable workaround? I though maybe I could > set some kernel variables to make the window size in TCP smaller and > hence stop the buffer overrun from happening so often, but I am not > sure what knob to twiddle or even if there is one. (Yes, recompiling > the kernel is okay, too.) > > Is this a common problem? I don't see a lot of complaints about it on > the list. Maybe it's just the card that's crappy, and I should get > another one? FWIW, the card calls itself an EtherFast (ha!) 10/100 PC > Card. I got it back in 1999 because it was cheap, so I have got > enough use out of it and won't be unduly upset if I need to scrap it. Hi, perhaps this response is absolutely worthless, in which case I'd like to ask you to silently ignore it. But: if your ethernet card is connected to a switch, as opposed to a hub, did you check the duplex settings? I know from personal experience that if your duplex settings don't match on both the network card and the switch, packet loss will occur. If you did, pretend I never sent this e-mail. ;-) > - Harald > > PS. If the ethernet cable or dongle is disconnected for any reason, > the laptop hangs until I lean on the power button. Very annoying. Can't comment on this one. Sorry. :( -- Marco van Tol [mailto:bsd-mobile@tols.org] [http://www.tols.org] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message