public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bharath Krishnan <bharath@mit.edu>
To: linux-kernel@vger.kernel.org
Subject: Yet another disk transfer speed problem
Date: 28 Feb 2002 11:34:47 -0500	[thread overview]
Message-ID: <1014914087.3274.22.camel@wavelets.mit.edu> (raw)

Hello!

Please CC: me on replies,

Problem: ata disk on secondary controller of PDC20265
gives sub-par performance.

both disks have c3 and d1 set along with X69.

hdparm -tT /dev/hdg:
/dev/hdg:
 Timing buffer-cache reads:   128 MB in  0.77 seconds =166.23 MB/sec
 Timing buffered disk reads:  64 MB in  3.81 seconds = 16.80 MB/sec

compared to
hdparm -tT /dev/hde:
/dev/hde:
 Timing buffer-cache reads:   128 MB in  0.73 seconds =175.34 MB/sec
 Timing buffered disk reads:  64 MB in  1.82 seconds = 35.16 MB/sec


Setup:
kernel: 2.4.17
pdc20265 controller on asus a7v motherboard.
kernel config options:
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_PDC202XX_BURST=y
# CONFIG_PDC202XX_FORCE is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set

similar behavior with redhat 7.2 updated kernel 2.4.9-21

hde: IBM-DTLA-307015, ATA DISK drive
hdg: MAXTOR 6L040J2, ATA DISK drive

Interesting stuff from dmesg:
ide2: BM-DMA at 0x8000-0x8007, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0x8008-0x800f, BIOS settings: hdg:DMA, hdh:pio

cat /proc/ide/ide2/config
pci bus 00 device 88 vid 105a did 0d30 channel 0
5a 10 30 0d 07 00 10 02 02 00 80 01 00 20 00 00
01 94 00 00 01 90 00 00 01 88 00 00 01 84 00 00
01 80 00 00 00 00 00 d4 00 00 00 00 5a 10 33 4d
00 00 00 00 58 00 00 00 00 00 00 00 0a 01 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
be 33 00 00 00 00 00 00 01 00 01 00 00 00 00 00
f1 24 41 00 c4 f3 4f 00 f1 24 41 00 c4 f3 4f 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

cat /proc/ide/ide3/config 
pci bus 00 device 88 vid 105a did 0d30 channel 1
5a 10 30 0d 07 00 10 02 02 00 80 01 00 20 00 00
01 94 00 00 01 90 00 00 01 88 00 00 01 84 00 00
01 80 00 00 00 00 00 d4 00 00 00 00 5a 10 33 4d
00 00 00 00 58 00 00 00 00 00 00 00 0a 01 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
be 33 00 00 00 00 00 00 01 00 01 00 00 00 00 00
f1 24 41 00 c4 f3 4f 00 f1 24 41 00 c4 f3 4f 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

hdparm -i
/dev/hde
Model=IBM-DTLA-307015, FwRev=TX2OA50C, SerialNo=YF0YFFX4393
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=30003120
 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4 
 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 
 AdvancedPM=yes: disabled (255)
 Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-2 ATA-3 ATA-4
ATA-5 

/dev/hdg
Model=MAXTOR 6L040J2, FwRev=A93.0300, SerialNo=662125114610
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=16383/16/63, TrkSize=32256, SectSize=21298, ECCbytes=4
 BuffType=DualPortCache, BuffSize=1820kB, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=78177792
 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 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
 AdvancedPM=no
 Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-1 ATA-2 ATA-3
ATA-4 ATA-5 

cat /proc/ide/pdc202xx
                               PDC20265 Chipset.
------------------------------- General Status
---------------------------------Burst Mode                           :
enabled
Host Mode                            : Normal
Bus Clocking                         : 33 PCI Internal
IO pad select                        : 10 mA
Status Polling Period                : 8
Interrupt Check Status Polling Delay : 11
--------------- Primary Channel ---------------- Secondary Channel ----
                enabled                          enabled 
66 Clocking     enabled                          enabled 
           Mode PCI                         Mode PCI   
                FIFO Empty                       FIFO Empty  
--------------- drive0 --------- drive1 -------- drive0 ----------
drive1 -DMA enabled:    yes              no             
yes               no 
DMA Mode:       UDMA 4           NOTSET          UDMA 4           
NOTSET
PIO Mode:       PIO 4            NOTSET           PIO 4           
NOTSET


What is going on? I do have ata100 cables. 

Thanks,

-bharath

             reply	other threads:[~2002-02-28 16:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-28 16:34 Bharath Krishnan [this message]
2002-02-28 19:55 ` Yet another disk transfer speed problem Joseph Malicki
2002-02-28 20:06   ` Bharath Krishnan
2002-03-01  9:02     ` Helge Hafting
2002-03-01 19:50       ` Bharath Krishnan
2002-03-01 15:58     ` Holger Lubitz
  -- strict thread matches above, loose matches on Subject: below --
2002-03-01 19:54 Bharath Krishnan

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=1014914087.3274.22.camel@wavelets.mit.edu \
    --to=bharath@mit.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