mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* PDC20265 IDE controller trouble
@ 2001-12-15 17:35 Jurij Smakov
  2001-12-15 17:56 ` Rene Rebe
  0 siblings, 1 reply; 11+ messages in thread
From: Jurij Smakov @ 2001-12-15 17:35 UTC (permalink / raw)
  To: linux-kernel

Hi!

Recently I've got an Asus TUSL2 motherboard, which has an extra Promise
IDE RAID controller with a PDC20265 chip. I've connected two IBM 60 GB
disks to it (one disk per channel). I am using kernel 2.4.17-pre8
(with CONFIG_BLK_DEV_PDC202XX=y and with/without CONFIG_PDC202XX_BURST=y),
which nicely detects the extra controller and both disks, hde and hdg. If
I test the writing and reading speed (hdparm -t, dd if=/dev/zero of=test
...) separately for each disk, I get the expected figures, like 36-37
MB/sec for reading, about 30 MB/sec for writing. If, however, I try to
write simultaneously to both disks, the performance drops drastically. The
rate for writing is then something like 3.5 MB/sec (!). I wonder if anyone
have seen anything like that or might have any ideas on how to solve the
problem.

Suspecting the hardware, I've posted this message to
comp.os.linux.hardware first, but no one have seen such a behaviour. I
have also tried different sets of IDE cables.

Best regards and TIA,


Jurij.

P.S. Please cc responses to me, because I'm not on the list.


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: PDC20265 IDE controller trouble
@ 2001-12-16 11:44 Jurij Smakov
  2001-12-18 15:44 ` Alan Cox
  0 siblings, 1 reply; 11+ messages in thread
From: Jurij Smakov @ 2001-12-16 11:44 UTC (permalink / raw)
  To: linux-kernel; +Cc: hahn

On Sat, 15 Dec 2001 13:15:57 -0500 (EST)
Mark Hahn <hahn@physics.mcmaster.ca> wrote:
> can you replicate this with benchmarks more sane than hdparm
> (like build a raid0, and run bonnie or iozone on an ext2 on it?)

Here are the bonnie results on a RAID0 in my setup (kernel 2.4.17-pre8,
raidtools 0.9.0, PDC20265 controller on Asus TUSL2 motherboard, 2 IBM
60GB disks, one disk per channel). /etc/raidtab contains:

raiddev /dev/md0
        raid-level 0
        nr-raid-disks 2
        persistent-superblock 1
        chunk-size 4
        device /dev/hde
        raid-disk 0
        device /dev/hdg
        raid-disk 1

mkraid /dev/md0
mke2fs /dev/md0
mount /dev/md0 /backup
bonnie -d /backup -n 1 -s 1024k -u0

Version  1.02  ------Sequential Output------ --Sequential Input- --Random-
               -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
          Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
            1G  2338  16  2442   1  2135   1  7674  54 75023  28 236.7   0
                          ^^^^
As one can see, the results of writing time are RIDICULOUSLY low (2.4
MB/sec), while reading is ok. For comparison, result of bonnie on a
separate disk, used in the array:

mke2fs /dev/hde
mount /dev/hde /hde
bonnie -d /hde -n 1 -s 1024k -u0

Version  1.02  ------Sequential Output------ --Sequential Input- --Random-
               -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
          Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
            1G 11127  79 35617  21 16186  12 12969  93 39762  13 225.0   0

The results for the second disk look similarly.

Best regards,

Jurij.



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-12-18 18:41 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-15 17:35 PDC20265 IDE controller trouble Jurij Smakov
2001-12-15 17:56 ` Rene Rebe
2001-12-15 18:40   ` Rene Rebe
2001-12-15 18:52   ` Andre Hedrick
2001-12-15 19:18     ` Dropped patches Jeff Garzik
2001-12-15 23:41       ` Dropped patches -> dropped bugfix 2.4 since months ! Gunther Mayer
2001-12-15 23:12         ` Andre Hedrick
2001-12-16  0:19       ` Dropped patches Benjamin LaHaise
2001-12-15 20:27   ` PDC20265 IDE controller trouble Rene Rebe
2001-12-16 11:44 Jurij Smakov
2001-12-18 15:44 ` Alan Cox

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®