From owner-freebsd-stable@FreeBSD.ORG Thu Jan 20 18:37:02 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14F5116A4CE for ; Thu, 20 Jan 2005 18:37:02 +0000 (GMT) Received: from www.wcborstel.nl (wcborstel.demon.nl [82.161.134.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AE5843D2D for ; Thu, 20 Jan 2005 18:37:01 +0000 (GMT) (envelope-from jorn@wcborstel.nl) Received: from localhost (localhost [127.0.0.1]) by www.wcborstel.nl (Postfix) with ESMTP id E2B634391; Thu, 20 Jan 2005 19:37:51 +0100 (CET) Received: from www.wcborstel.nl ([127.0.0.1]) by localhost (www.wcborstel.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 79758-07; Thu, 20 Jan 2005 19:37:47 +0100 (CET) Received: from www.wcborstel.nl (localhost [127.0.0.1]) by www.wcborstel.nl (Postfix) with ESMTP id A9422421A; Thu, 20 Jan 2005 19:37:47 +0100 (CET) From: "Jorn Argelo" To: =?ISO-8859-1?Q?Imobach_Gonz=E1lez_S?=osa , freebsd-stable@freebsd.org Date: Thu, 20 Jan 2005 19:37:47 +0100 Message-Id: <20050120183517.M81458@wcborstel.nl> In-Reply-To: <200501201630.04506.imobachgs@banot.net> References: <200501201630.04506.imobachgs@banot.net> X-Mailer: Open WebMail 2.41 20040926 X-OriginatingIP: 82.161.134.53 (jorn) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: by amavisd-new at mail.wcborstel.nl Subject: Re: Realtek 8139 (rl) very poor performance X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 18:37:02 -0000 On Thu, 20 Jan 2005 16:30:03 +0000, Imobach González Sosa wrote > Hi all, > > I'm havin' a strange problem with my Realtek Network Adapter. On > boot, the detection looks just fine: > > $ dmesg| grep rl > rl0: port 0xd000-0xd0ff mem 0xee000000- > 0xee0000ff irq 10 at device 10.0 on pci0 miibus0: on rl0 > rlphy0: on miibus0 rlphy0: > 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet > address: 00:40:f4:32:e5:12 > > However, the performance is very poor. Some examples: > > * using 'fetch' command, I get a lot of "timeouts", so some "ports" > fail to install (I have to retry). * using Konqueror, for instance, > I also get some "timeouts" and a very low speed connecting to > different websites. > > I've done the some test on the same machine (and on my laptop) using > GNU/Linux, and works pretty fine. So I discarded a network hardware > issue as the origin of the problem. If it's on an old machine then you have your problem there. The Realtek chips and its drivers put everything on the CPU, because the chip is not capable of doing too much. Which is why it's so cheap. Modern CPUs don't have too much problems with it, but older ones do. Of course, the Linux driver might be a bit better written then the FreeBSD one. It's advicable to get yourself a better network card if it's indeed an old machine. Cheers, Jorn