From owner-freebsd-net@FreeBSD.ORG Wed Nov 19 02:09:45 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B876106564A for ; Wed, 19 Nov 2008 02:09:45 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by mx1.freebsd.org (Postfix) with ESMTP id E9BB98FC0A for ; Wed, 19 Nov 2008 02:09:44 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: by rv-out-0506.google.com with SMTP id f9so405491rvb.1 for ; Tue, 18 Nov 2008 18:09:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=Hr3N689FT+nvwKWoK/7QvCGS+eWuvIJQw9CAeXHw+Hs=; b=OxQ0DxyoDJ8uud7wyNN/uag8lkwdBK087+WD5zBNcw/ro1eCmfbgt5FapQN6xF3v0n ibevulXhIMxk3MLS/MCFOxKEC3VO9h2Wka/JFRK86Umrujkifp4QIOUFyAw6rUSTIQ0d 3TkIwGKhcGg8Dabg/jI82mB+RdUtEIzz8uHJA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=SiBybECFDKI6N5MuO+Ml8gaM1Ud5WDJ4xc/726GT5YdE55Dah3FvwzlsgeSmeSAaTL r4XUNYjHXcEWCOAQttGpHg5Lktj5nJFK+YXshEZ3FZsSyYLwSMKY2FtKm8ygXXA46Mzg 6o3o4Y5OMp7Qpo6PkDGMdOEx46iGRhHtISORY= Received: by 10.140.177.15 with SMTP id z15mr286179rve.114.1227060584631; Tue, 18 Nov 2008 18:09:44 -0800 (PST) Received: by 10.141.146.8 with HTTP; Tue, 18 Nov 2008 18:09:44 -0800 (PST) Message-ID: Date: Tue, 18 Nov 2008 21:09:44 -0500 From: "Gabriel Lavoie" To: pyunyh@gmail.com In-Reply-To: MIME-Version: 1.0 References: <20081117003856.GB50872@cdnetworks.co.kr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org Subject: Re: Realtek 8139 with rl(4) driver -> Poor performance X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2008 02:09:45 -0000 Hum when I do my Samba transfer, there is a lot of small files (> 50 000) and it seems at some point Samba tops at 100% CPU usage on one core. Is it possible the rl(4) driver could be influenced by high CPU load? With the ale(4) driver, there's no problem but the Samba transfer becomes really slow because of the amount of files. Gabriel 2008/11/18 Gabriel Lavoie > By the way, I'm currently trying the ale(4) driver under FreeBSD 7.0 (my > current installation). It seems to works flawlesly with excellent > performances. I'm currently doing the 30 GB transfer I'm unable to do with > the Realtek card. I'll see what happens. > > Gabriel > > 2008/11/16 Pyun YongHyeon > > On Sun, Nov 16, 2008 at 06:01:58PM -0500, Gabriel Lavoie wrote: >> > Hello, >> > I recently built a new system to use as a home server. This system >> has >> > an Intel Pentium Dual Core E5200, 4GB RAM and an Asus P5KPL-CM >> motherboard >> > which has an Atheros L1E network adapter, not yet supported on FreeBSD. >> For >> >> ale(4) was committed to HEAD. If you're using lastest stable/7 >> see the following URL. >> http://people.freebsd.org/~yongari/ale/README >> >> > now, I use a Realtek 8139 PCI adapter that uses the rl(4) driver, but >> the >> > upload performances are really poor (under 1 MB/sec). Is there any way >> to >> > improve the performance with this driver? This adapter was in a Linux >> system >> > with a Pentium III processor before and I could upload/download at >> around 10 >> > MB/sec in my local network with no problem at all. >> > >> >> There was a bus_dma(9) bug in rl(4) and it was fixed in HEAD. >> How about rl(4) in HEAD? I guess it would build with minor >> modification. >> >> -- >> Regards, >> Pyun YongHyeon >> > > > > -- > Gabriel Lavoie > glavoie@gmail.com > -- Gabriel Lavoie glavoie@gmail.com