Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14706 - Slow HD performance even with DMA etc. enabled
Summary: Slow HD performance even with DMA etc. enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Seth Chandler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-29 01:59 UTC by Cliff Hudson
Modified: 2003-04-04 01:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cliff Hudson 2003-01-29 01:59:22 UTC
Output from hdparm -Tt /dev/hde: 
/dev/hde: 
 Timing buffer-cache reads:   128 MB in  0.32 seconds =400.00 MB/sec 
 Timing buffered disk reads:  64 MB in 29.90 seconds =  2.14 MB/sec  <--- *** 
This is the problem *** 
 
hdparm -i /dev/hde: 
/dev/hde: 
 
 Model=Maxtor 54098H8, FwRev=DAC10SC0, SerialNo=K80H89SC 
 Config={ Fixed } 
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57 
 BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16 
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=80041248 
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} 
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: disabled (255) WriteCache=enabled 
 Drive conforms to: ATA/ATAPI-6 T13 1410D revision 0:  1 2 3 4 5 6 
 
hdparm /dev/hde: 
/dev/hde: 
 multcount    = 16 (on) 
 IO_support   =  0 (default 16-bit) 
 unmaskirq    =  0 (off) 
 using_dma    =  1 (on) 
 keepsettings =  0 (off) 
 readonly     =  0 (off) 
 readahead    =  8 (on) 
 geometry     = 4982/255/63, sectors = 80041248, start = 0 
 
Relevant dmesg output: 
Uniform Multi-Platform E-IDE driver Revision: 6.31 
ide: Assuming 33MHz system bus speed for PIO modes; override with 
idebus=xx 
PCI_IDE: unknown IDE controller on PCI bus 00 device 48, VID=10de, 
DID=0065 
PCI_IDE: chipset revision 162 
PCI_IDE: not 100% native mode: will probe irqs later 
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA 
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA 
PDC20269: IDE controller on PCI bus 01 dev 38 
PDC20269: chipset revision 2 
PDC20269: not 100% native mode: will probe irqs later 
PDC20269: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary 
MASTER Mode. 
    ide2: BM-DMA at 0xa000-0xa007, BIOS settings: hde:pio, hdf:pio 
    ide3: BM-DMA at 0xa008-0xa00f, BIOS settings: hdg:pio, hdh:pio 
hde: Maxtor 54098H8, ATA DISK drive 
ide2 at 0x9000-0x9007,0x9402 on irq 10 
blk: queue c037481c, I/O limit 4095Mb (mask 0xffffffff) 
hde: 80041248 sectors (40981 MB) w/2048KiB Cache, CHS=79406/16/63, 
UDMA(100) 
Partition check: 
 /dev/ide/host2/bus0/target0/lun0: [PTBL] [4982/255/63] p1 p2 < p5 p6 > 
 
uname -a: 
Linux chronos-linux.spro.net 2.4.20-ck2 #7 Tue Jan 28 12:07:56 PST 2003 i686 
AMD Athlon(tm) XP 2400+ AuthenticAMD GNU/Linux 
 
 
This is connected to a Promise Ultra 133 T2X IDE card (non-RAID).  The drive 
is a Maxtor 54098H8, 40GB, 7200 RPM, ATA-5 support.  As far as I know, all 
relevant options in the kernel are enabled.  This same card and cable produces 
40Mb/sec buffered reads using a Maxtor 540X (80Gb, 5400rpm, ATA5).  The 
drive appears to be the determining factor, but the reasons for the poor 
performance are not revealed to me.  Jumper settings are correct.  No other 
flaws with the drive operation have been discovered.  This same drive appears 
to run fine under different OSs (FreeBSD particularly) though I did not do 
specific performance checking.  I have tried a variety of hdparm settings, none 
of which have a substantial effect on the transfer rate in question.  The slow 
transfer rate noticeably affects application startup times (even VI has a 
substantially noticeable pause when loading) and various write times.   I moved 
to the CK kernel at the suggestion of a regular on the #gentoo support channel.  
Both this kernel and the 2.4.19r10 kernel exhibit the same slowness with respect 
to this drive. 
 
I can make the machine available for remote access if necessary for 
investigation.  Please contact me at the registered email address to set this up.
Comment 1 Seth Chandler 2003-02-02 22:40:50 UTC
it looks like you're having some sort of kernel issue here...i.e. you don't have the right driver selected...or something along those lines...


i highly doubt its an hdparm error, as hdparm usually just gets that information from proc...this is really a tough one...

in other distros/*bsd it works fine?

i don't think remote access would help any with this...i think first of all we need to know if it works with any other distro...you might also want to try xfs-sources b/c we have the updated ide stuff in there...


let me know
Comment 2 Seth Chandler 2003-02-11 14:30:07 UTC
reopen this bug if its still a problem...i'm resolving as 'needinfo'
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:19:55 UTC
db fix
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:24:51 UTC
db fix