mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
To: Jim Faulkner <jfaulkne@ccs.neu.edu>
Cc: Linux Kernel Mailinglist <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>
Subject: Re: major network performance difference between 2.4 and 2.6.2-rc2
Date: Sat, 31 Jan 2004 15:28:26 +0100	[thread overview]
Message-ID: <1075559305.792.5.camel@teapot.felipe-alfaro.com> (raw)
In-Reply-To: <Pine.GSO.4.58.0401302108560.1211@denali.ccs.neu.edu>

On Sat, 2004-01-31 at 04:06, Jim Faulkner wrote:
> There is a major networking performance problem on my machine under recent
> 2.6 kernels.  I have a dual Athlon-MP machine with an onboard Intel
> Ethernet Pro 100 device, which can use either the e100 or eepro100 driver.
> 
> I ran some tests under 2.4 and recent 2.6 kernels to see what kind of
> performance I could get.  I tested using both ftp and samba, the client
> machine is a windows box with an onboard 3com 3c920b controller.  They
> are connected through a D-Link 100 megabit full duplex switch.
> 
> Under both 2.6.2-rc2 and 2.6.2-rc2-mm2, the performance is pretty bad.
> Copying 4.3 gigabytes of data from the linux machine to the windows box
> via samba takes about 35 minutes.  LFTP shows FTP transfers from the linux
> box to the windows box to go at about 2 megabytes per second.  The
> performance is even worse in the opposite direction, LFTP shows transfers
> from the linux box to the windows box to be around 1.5 megabytes per
> second.
> 
> I repeated the above tests with both the e100 driver and the eepro100
> driver and got the same results.  Running ifconfig shows "errors:0
> dropped:0 overruns:0 frame:0" and "errors:0 dropped:0 overruns:0
> carrier:0 collisions:0" for the device.
> 
> Unfortunately my OS (unstable Gentoo) does not appear to support 2.4
> kernels anymore, so I had to use a Knoppix CD to test 2.4 kernels.  I am
> using Knoppix nov 19 2003 version, which I believe uses a 2.4.21 or 2.4.22
> kernel.  It uses the eepro100 driver.
> 
> Under the Knoppix 2.4 kernel, using the exact same samba configuration
> file, I was able to copy 4.3 gigabytes of data from the linux machine to
> the windows machine in about 8 minutes.  Copying in the opposite direction
> takes about 10 minutes.  Unfortunately Knoppix doesn't include an FTP
> server so I wasn't able to test that.
> 
> It appears that my network device is capable of 4 times the throughput
> under 2.4 kernels versus recent 2.6 kernels.  I believe this problem arose
> recently, probably sometime since 2.6.0, since I only recently noticed
> this performance issue.
> 
> I don't know if this problem is specific to my configuration or not, so
> included below is lots of configuration information.  Please note that the
> funky modules like nvidia, vmware and cbm were not loaded when I ran my
> tests.

I have experienced lower network performance with 2.6 kernels and 3Com
cards. On my laptop, downstream traffic (download) seems to get nearly
full throughput (~10MB/s) but upstream traffic never rises from 3MB/s.
On other computers, the throughput is more symmetric, but not as good as
it was with 2.4 kernels. The problem seems to be related with a possible
hardware bug on my 3Com card, but I have been unable to confirm.


  reply	other threads:[~2004-01-31 14:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-31  3:06 Jim Faulkner
2004-01-31 14:28 ` Felipe Alfaro Solana [this message]
2004-02-04 20:42 ` Jim Faulkner
2004-02-04 20:54   ` Andrew Morton
2004-02-04 21:08     ` David S. Miller
2004-02-04 21:22       ` Andrew Morton
2004-02-05  4:57     ` Jim Faulkner
2004-02-06 21:14       ` Bill Davidsen
2004-02-07 17:56         ` Hilko Bengen
2004-02-18  3:33           ` Bill Davidsen
2004-02-04 21:28   ` Gerd Knorr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1075559305.792.5.camel@teapot.felipe-alfaro.com \
    --to=felipe_alfaro@linuxmail.org \
    --cc=akpm@osdl.org \
    --cc=jfaulkne@ccs.neu.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®