All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Peter <ujq7@rz.uni-karlsruhe.de>
To: linux-kernel@vger.kernel.org
Subject: Ide performance (was RAID0 Performance problems)
Date: Sun, 15 Apr 2001 21:08:04 +0200	[thread overview]
Message-ID: <01041521080401.00510@debian> (raw)

Hi,
I've posted about performance problems with my RAID0 setup.
RAID works fine, but it's too slow.
But now it seems not to be a problem with the md code, it's an ide problem.
There are two HDs in my PC: /dev/hda and /dev/hdc. No other devices are 
attached to the ide-bus.
PC is a SMP-System, 2 Celeron 533, Gigabyte 6BXDS with Intel BX-Chipset, 
66MHz FSB.
The hdparm settings: 

bash-2.04# hdparm /dev/hda /dev/hdc
 
/dev/hda:
 multcount    =  0 (off)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  0 (off)
 geometry     = 59556/16/63, sectors = 60032448, start = 0
 
/dev/hdc:
 multcount    =  0 (off)
 I/O support  =  3 (32-bit w/sync)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  0 (off)
 geometry     = 59556/16/63, sectors = 60032448, start = 0

I've tested a lot of variations of this settings (multcount=16, 
unmaskirq=0...) without succes. 
The performance of the RAID doesn't increase :-(
hdparm -tT on a single HD (dev/hda3 is the RAID-partition) reports a very 
good performance:

bash-2.04# hdparm -tT /dev/hda3
 
/dev/hda3:
 Timing buffer-cache reads:   128 MB in  1.42 seconds = 90.14 MB/sec
 Timing buffered disk reads:  64 MB in  2.27 seconds = 28.19 MB/sec

But if I start 2 hdparms simultanous (one on /dev/hda3 the other on 
/dev/hdc3) the performance on the HDs decreases to 1/2 of the original speed:

bash-2.04# hdparm -tT /dev/hda3
 
/dev/hda3:
 Timing buffer-cache reads:   128 MB in  2.27 seconds = 56.39 MB/sec
 Timing buffered disk reads:  64 MB in  4.56 seconds = 14.04 MB/sec

bash-2.04# hdparm -tT /dev/hdc3
 
/dev/hdc3:
 Timing buffer-cache reads:   128 MB in  2.25 seconds = 56.89 MB/sec
 Timing buffered disk reads:  64 MB in  4.49 seconds = 14.25 MB/sec

The performance of the RAID0:

bash-2.04# hdparm -tT /dev/md0
 
/dev/md0:
 Timing buffer-cache reads:   128 MB in  1.35 seconds = 94.81 MB/sec
 Timing buffered disk reads:  64 MB in  3.11 seconds = 20.58 MB/sec

Tests with bonnie or iozone have the same reuslts, RAID is slower then a 
single HD :-(

Does anybody has an idea what's wrong with my setup??

Thx,
Andreas
-- 
Andreas Peter *** ujq7@rz.uni-karlsruhe.de


             reply	other threads:[~2001-04-15 19:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-15 19:08 Andreas Peter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-04-17  9:57 Ide performance (was RAID0 Performance problems) Philippe Amelant
2001-04-17 21:50 Phil
2001-04-17 23:15 ` Jakob Østergaard

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=01041521080401.00510@debian \
    --to=ujq7@rz.uni-karlsruhe.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.