public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tom Felker <tcfelker@mtco.com>
To: "psycosonic" <psycosonic@rootisg0d.org>
Cc: <linux-net@oss.sgi.com>, <linux-kernel@vger.kernel.org>
Subject: Re: Abysmal network performance since 2.4.25 !!!!!...
Date: Fri, 12 Mar 2004 00:31:09 -0600	[thread overview]
Message-ID: <200403120031.09602.tcfelker@mtco.com> (raw)
In-Reply-To: <004c01c407cf$5fffa270$0700a8c0@darkgod>

On Thursday 11 March 2004 7:14 pm, psycosonic wrote:

> Well.. with kernel 2.4.24 i usually had a max speed of 12Mb/s .. now , with
> 2.4.25 it only goes to 2,2Mb/s MAX speed.  :(
> I've tried to use vsftpd, proftpd, apache 1.3.x, apache 2.x, samba.. etc

I'm assuming you meant MBytes/s, and assuming you're timing large file 
transfers, where disk speed could be a limiting factor.  12 MB/s is 96Mbit/s, 
which sounds about right for Ethernet.  Hard drive transfer rates are usually 
20-40.  But without DMA, in my experience, it can fall to around 2 MB/s, 
which is about what you're getting.

The dmesg from the first machine says DMA is on, but the second machine's 
dmesg doesn't mention it.  The following info, for both machines and all 
drives, would be helpful:

hdparm /dev/hdx
hdparm -t /dev/hdx

And if you notice DMA is 0, you might try 

hdparm -d 1 /dev/hdx

But be careful.  It's entirely possible that DMA got disabled because it was a 
risk on your drive or chipset.

> Mar 10 21:44:15 rootisg0d kernel: Uniform Multi-Platform E-IDE driver
> Revision: 7.00beta4-2.4
> Mar 10 21:44:15 rootisg0d kernel: ide: Assuming 33MHz system bus speed for
> PIO modes; override with idebus=xx
> Mar 10 21:44:15 rootisg0d kernel: ALI15X3: IDE controller at PCI slot
> 00:0f.0
> Mar 10 21:44:15 rootisg0d kernel: PCI: Hardcoded IRQ 14 for device 00:0f.0
> Mar 10 21:44:15 rootisg0d kernel: ALI15X3: chipset revision 194
> Mar 10 21:44:15 rootisg0d kernel: ALI15X3: not 100%% native mode: will
> probe irqs later
> Mar 10 21:44:15 rootisg0d kernel:     ide0: BM-DMA at 0xffa0-0xffa7, BIOS
> settings: hda:DMA, hdb:pio
> Mar 10 21:44:15 rootisg0d kernel:     ide1: BM-DMA at 0xffa8-0xffaf, BIOS
> settings: hdc:pio, hdd:DMA
> Mar 10 21:44:15 rootisg0d kernel: ide: Assuming 33MHz system bus speed for
> PIO modes; override with idebus=xx
> Mar 10 21:44:15 rootisg0d kernel: hda: 40021632 sectors (20491 MB)
> w/2048KiB Cache, CHS=2491/255/63, UDMA(66)
> Mar 10 21:44:15 rootisg0d kernel: hdd: ATAPI 48X CD-ROM drive, 128kB Cache,
> DMA
> Mar 10 21:44:15 rootisg0d kernel: Uniform CD-ROM driver Revision: 3.12
> Mar 10 21:44:15 rootisg0d kernel: Partition check:
> Mar 10 21:44:15 rootisg0d kernel:  hda: hda1 < hda5 > hda2

> Let's check the second...

> Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> hda: ST380011A, ATA DISK drive
> hdb: ST360014A, ATA DISK drive
> hdc: ASUS DVD-ROM E612, ATAPI CD/DVD-ROM drive
> hdd: SAMSUNG CD-R/RW SW-408B, ATAPI CD/DVD-ROM drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: attached ide-disk driver.
> hda: host protected area => 1
> hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63
> hdb: attached ide-disk driver.
> hdb: host protected area => 1
> hdb: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=7297/255/63
> hdc: attached ide-cdrom driver.
> hdc: ATAPI 40X DVD-ROM drive, 640kB Cache
> Uniform CD-ROM driver Revision: 3.12
> hdd: attached ide-cdrom driver.
> hdd: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache
> Partition check:
>  hda: hda1 hda2
>  hdb: unknown partition table

-- 
Tom Felker, <tcfelker@mtco.com>
<http://vlevel.sourceforge.net> - Stop fiddling with the volume knob.

ruby -r complex -e 
'c,m,w,h=Complex(-0.75,0.136),50,150,100;puts"P6\n#{w}\n#{h}\
n255";(0...h).each{|j|(0...w).each{|i|n,z=0,Complex(.9*i/w,.9*j/h);while 
n<=m&&(
z-c).abs<=2;z=z*z+c;n+=1 end;print [10+n*15,0,rand*99].pack("C*")}}'|display
#by Michael Neumann AFAICT

  parent reply	other threads:[~2004-03-12  6:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-12  1:14 Abysmal network performance since 2.4.25 !!!!! psycosonic
2004-03-12  2:06 ` Stefan Smietanowski
2004-03-12  7:54   ` Denis Vlasenko
2004-03-12  6:31 ` Tom Felker [this message]
2004-03-12 10:32 ` Felipe Alfaro Solana

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=200403120031.09602.tcfelker@mtco.com \
    --to=tcfelker@mtco.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@oss.sgi.com \
    --cc=psycosonic@rootisg0d.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