Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2008 13:21:01 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Gabriel Lavoie <glavoie@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Realtek 8139 with rl(4) driver -> Poor performance
Message-ID:  <20081124042101.GK78954@cdnetworks.co.kr>
In-Reply-To: <d05df8620811181809n550b10fcxb1950ea0cb17dd51@mail.gmail.com>
References:  <d05df8620811161501y4a503c29vf9432b265452d4ea@mail.gmail.com> <20081117003856.GB50872@cdnetworks.co.kr> <d05df8620811181455y30b7447dl3275cce45eb34095@mail.gmail.com> <d05df8620811181809n550b10fcxb1950ea0cb17dd51@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 18, 2008 at 09:09:44PM -0500, Gabriel Lavoie wrote:
 > 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

Yes, it's possible. rl(4) hardwares are notorious for its poor
performance and instability under heavy load. I'm not sure the poor
performance you're suffering from comes from rl(4) hardware itself
or driver bug though.

Note, ale(4) is not best hardware too. ale(4) hardwares still
requires copy operation as rl(4) due to hardware limitation and if
you're looking for better performance, replace your hardware with
better controller such as em(4)/bge(4) or jme(4) which would have
good performance/price ratio.

 > 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 <glavoie@gmail.com>
 > 
 > > 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 <pyunyh@gmail.com>
 > >
 > > 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<http://people.freebsd.org/%7Eyongari/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

-- 
Regards,
Pyun YongHyeon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081124042101.GK78954>