All of lore.kernel.org
 help / color / mirror / Atom feed
* IDE-RAID Drive Performance
@ 2003-12-30 10:44 Nicklas Bondesson
  2003-12-30 11:21 ` Nuno Alexandre
  0 siblings, 1 reply; 20+ messages in thread
From: Nicklas Bondesson @ 2003-12-30 10:44 UTC (permalink / raw)
  To: linux-kernel

Hi!

I think i'm getting really bad values from my disks. It's two Western
Digital WD800JB-00DUA3 (Special Edition 8 MB cache) disks connected to a
Promise TX2000 (PDC20271) card (RAID1 using ataraid under Linux 2.4.23).

The disks are setup with hdparm at boot time:

/sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda 
/sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hdc

When running hdparm -tT I get the following:

/dev/hda:
 Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
 Timing buffered disk reads:  64 MB in  2.46 seconds = 26.02 MB/sec

/dev/hdc:
 Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
 Timing buffered disk reads:  64 MB in  2.47 seconds = 25.91 MB/sec

Are these normal values? I don't think so. Please advise.

/Nicke



^ permalink raw reply	[flat|nested] 20+ messages in thread
[parent not found: <Pine.LNX.4.44.0312301311530.6864-100000@coffee.psychology.mcmaster.ca>]
* RE: IDE-RAID Drive Performance
@ 2003-12-30 21:23 Nicklas Bondesson
  0 siblings, 0 replies; 20+ messages in thread
From: Nicklas Bondesson @ 2003-12-30 21:23 UTC (permalink / raw)
  To: linux-ide

Thanks for the info. What do you mean by "w/blockdev" and what should a
proper pci latency value bee?

/Nicke 

-----Original Message-----
From: Mark Hahn [mailto:hahn@physics.mcmaster.ca]
Sent: den 30 december 2003 19:14
To: Nicklas Bondesson
Subject: Re: IDE-RAID Drive Performance

> The disks are setup with hdparm at boot time:

not normally necessary or desirable.

> /dev/hda:
>  Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
>  Timing buffered disk reads:  64 MB in  2.46 seconds = 26.02 MB/sec

the 113 indicates that you're running on a fairly old/slow host.
as such, you cannot expect to achive the full disk bandwidth, though you can
probably do better than this by tweaking w/blockdev.
it's also worth checking your bios settings (pci latency too low?)



^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: IDE-RAID Drive Performance
@ 2003-12-30 15:21 Willy Gardiol
  2003-12-30 16:37 ` Nicklas Bondesson
  0 siblings, 1 reply; 20+ messages in thread
From: Willy Gardiol @ 2003-12-30 15:21 UTC (permalink / raw)
  To: Nicklas Bondesson; +Cc: linux-ide


no, it is 4.648 kb/sec has it says on top.
It is right, you must check the "block" section, not the "char" section.
Reading char by char is always a pain. 

Indeed 20/24mb/sec is a small figure for your disks, i get up to 35mb/sec 
for one drive and 75mb/sec for raid0. 

Try to connect the disks on the onboard controller of the mainboard and run 
again bonnie, just to check if it is a ocntroller issue. 

Nicklas Bondesson Scrive: 

> This is what I get using bonnie: 
> 
> Is this correct 46.48 MB / sec ? 
> 
> gollum:~# bonnie -s 800 -u root
> Using uid:0, gid:0.
> Writing with putc()...done
> Writing intelligently...done
> Rewriting...done
> Reading with getc()...done
> Reading intelligently...done
> start 'em...done...done...done...
> Create files in sequential order...done.
> Stat files in sequential order...done.
> Delete files in sequential order...done.
> Create files in random order...done.
> Stat files in random order...done.
> Delete files in random order...done.
> Version 1.02b       ------Sequential Output------ --Sequential Input-
> --Random-
>                     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
> --Seeks--
> Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec
> %CP
> gollum         800M  4648  98 19443  37  8422  14  4859  94 24766  17 282.8
> 2
>                     ------Sequential Create------ --------Random
> Create--------
>                     -Create-- --Read--- -Delete-- -Create-- --Read---
> -Delete--
>               files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec
> %CP
>                  16   306  99 +++++ +++ 20985  99   319  99 +++++ +++  1683
> 97
> gollum,800M,4648,98,19443,37,8422,14,4859,94,24766,17,282.8,2,16,306,99,++++
> +,++
> +,20985,99,319,99,+++++,+++,1683,97  
> 
> -----Original Message-----
> From: linux-ide-owner@vger.kernel.org
> [mailto:linux-ide-owner@vger.kernel.org] On Behalf Of Willy Gardiol
> Sent: den 30 december 2003 12:12
> To: Nicklas Bondesson
> Cc: linux-ide@vger.kernel.org
> Subject: Re: IDE-RAID Drive Performance 
> 
> 
> Check you are using 80pin cables... but -X69 would fail if not.
> PCI bus should not be to blame for this, unless your is overloaded (?) like
> heavy network traffic (fast or gigabit ethernet) may steal PCI cycles, but i
> have never seen this happen in pc's...  
> 
> Maybe check your card is not sharing an IRQ, move into another slot, try
> some fixed allocation from BIOS to avoid this...
> But i whouldnt expect too much from this on the speed side (just in case
> some troubles with IRQ sharing).  
> 
> Are you using the new pdc driver? The new one is the one supporting newer
> chipsets like the 20271, i do not know which chip your promise has.  
> 
> Try Bonnie to get some real on-the-road measurement from ypur filesystems... 
> 
> that is the REAL speed you can get from your disks.  
> 
> 
> Nicklas Bondesson Scrive:  
> 
>> Ok, so you currently don't have any suggestions on this? Could it be a 
>> slow PCI slot causing the poor performance? It's an ASUS P2B (rev 
>> 1.04) motherboard with PCI 2.1 enabled in BIOS. 
>> 
>> /Nicke 
>> 
>> -----Original Message-----
>> From: Willy Gardiol [mailto:willy@gardiol.org]
>> Sent: den 30 december 2003 11:58
>> To: Nicklas Bondesson
>> Cc: linux-ide@vger.kernel.org
>> Subject: Re: IDE-RAID Drive Performance 
>> 
>> 
>> Every experience i had with Promise controllers AND linux 2.4.xx where 
>> xx is
>>> 17 has given me troubles both on x86 and sparc architecture with DMA
>> enabled.   
>> 
>> But i do not have enough time to troubleshoot this and i never got 
>> much attention here probably because i do not have any ooops or more 
>> specific data to report! 
>> 
>> Besides that, my maxtor 40gb (dont remember model right now) does 
>> about 40mb/sec instead of yours 25. 
>> 
>> Nicklas Bondesson Scrive:   
>> 
>>> Hi!   
>>> 
>>> I think i'm getting really bad values from my disks. It's two Western 
>>> Digital WD800JB-00DUA3 (Special Edition 8 MB cache) disks connected 
>>> to a Promise TX2000 (PDC20271) card (RAID1 using ataraid). 
>>> 
>>> The disks are setup with hdparm at boot time:   
>>> 
>>> /sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda /sbin/hdparm -X69 -d1 -u1
>>> -m16 -c3 /dev/hdc 
>>> 
>>> When running hdparm -tT I get the following:   
>>> 
>>> /dev/hda:
>>>  Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
>>>  Timing buffered disk reads:  64 MB in  2.46 seconds = 26.02 MB/sec 
>>> 
>>> /dev/hdc:
>>>  Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
>>>  Timing buffered disk reads:  64 MB in  2.47 seconds = 25.91 MB/sec 
>>> 
>>> Are these normal values? I don't think so. Please advise.   
>>> 
>>> /Nicke 
>>> 
>>> -
>>> To unsubscribe from this list: send the line "unsubscribe linux-ide" 
>>> in the body of a message to majordomo@vger.kernel.org More majordomo 
>>> info at  http://vger.kernel.org/majordomo-info.html
>>    
>> 
>  
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in the
> body of a message to majordomo@vger.kernel.org More majordomo info at
> http://vger.kernel.org/majordomo-info.html 
> 
 

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: IDE-RAID Drive Performance
@ 2003-12-30 13:18 uaca
  0 siblings, 0 replies; 20+ messages in thread
From: uaca @ 2003-12-30 13:18 UTC (permalink / raw)
  To: linux-ide

On Tue, Dec 30, 2003 at 11:41:47AM +0100, Nicklas Bondesson wrote:
> Hi!
> 
> I think i'm getting really bad values from my disks. It's two Western
> Digital WD800JB-00DUA3 (Special Edition 8 MB cache) disks connected to a
> Promise TX2000 (PDC20271) card (RAID1 using ataraid).

I think I have the same/similar drive, my results

(after trying to flush disk cache by doing a find /)

root@agapito:~# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  124 MB in  3.03 seconds =  40.92 MB/sec

(without pause)
root@agapito:~# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  132 MB in  3.01 seconds =  43.86 MB/sec
root@agapito:~# hdparm -i /dev/hda

/dev/hda:

 Model=WDC WD800JB-00CRA1, FwRev=17.07W17, SerialNo=WD-WMA8E4519860
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=156301488
 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=no WriteCache=enabled
 Drive conforms to: device does not report version:

 * signifies the current active mode


my kernel: 2.6.0-test11
my chipset: sis-735

looking at your test results I believe hdparm is reading to few data to make
the benchmark

	Ulisses

> 
> The disks are setup with hdparm at boot time:
> 
> /sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda
> /sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hdc
> 
> When running hdparm -tT I get the following:
> 
> /dev/hda:
>  Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
>  Timing buffered disk reads:  64 MB in  2.46 seconds = 26.02 MB/sec
> 
> /dev/hdc:
>  Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
>  Timing buffered disk reads:  64 MB in  2.47 seconds = 25.91 MB/sec
> 
> Are these normal values? I don't think so. Please advise.
> 
> /Nicke
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
                Debian GNU/Linux: a dream come true
-----------------------------------------------------------------------------
"Computers are useless. They can only give answers."            Pablo Picasso

--->	Visita http://www.valux.org/ para saber acerca de la	<---
--->	Asociación Valenciana de Usuarios de Linux		<---

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Re: IDE-RAID Drive Performance
@ 2003-12-30 11:12 Willy Gardiol
  2003-12-30 15:04 ` Nicklas Bondesson
  0 siblings, 1 reply; 20+ messages in thread
From: Willy Gardiol @ 2003-12-30 11:12 UTC (permalink / raw)
  To: Nicklas Bondesson; +Cc: linux-ide


Check you are using 80pin cables... but -X69 would fail if not.
PCI bus should not be to blame for this, unless your is overloaded (?) like 
heavy network traffic (fast or gigabit ethernet) may steal PCI cycles, but i 
have never seen this happen in pc's... 

Maybe check your card is not sharing an IRQ, move into another slot, try 
some fixed allocation from BIOS to avoid this...
But i whouldnt expect too much from this on the speed side (just in case 
some troubles with IRQ sharing). 

Are you using the new pdc driver? The new one is the one supporting newer 
chipsets like the 20271, i do not know which chip your promise has. 

Try Bonnie to get some real on-the-road measurement from ypur filesystems... 
that is the REAL speed you can get from your disks. 


Nicklas Bondesson Scrive: 

> Ok, so you currently don't have any suggestions on this? Could it be a slow
> PCI slot causing the poor performance? It's an ASUS P2B (rev 1.04)
> motherboard with PCI 2.1 enabled in BIOS. 
> 
> /Nicke  
> 
> -----Original Message-----
> From: Willy Gardiol [mailto:willy@gardiol.org] 
> Sent: den 30 december 2003 11:58
> To: Nicklas Bondesson
> Cc: linux-ide@vger.kernel.org
> Subject: Re: IDE-RAID Drive Performance 
> 
> 
> Every experience i had with Promise controllers AND linux 2.4.xx where xx is
>> 17 has given me troubles both on x86 and sparc architecture with DMA
> enabled.  
> 
> But i do not have enough time to troubleshoot this and i never got much
> attention here probably because i do not have any ooops or more specific
> data to report!  
> 
> Besides that, my maxtor 40gb (dont remember model right now) does about
> 40mb/sec instead of yours 25.  
> 
> Nicklas Bondesson Scrive:  
> 
>> Hi!  
>> 
>> I think i'm getting really bad values from my disks. It's two Western 
>> Digital WD800JB-00DUA3 (Special Edition 8 MB cache) disks connected to 
>> a Promise TX2000 (PDC20271) card (RAID1 using ataraid). 
>> 
>> The disks are setup with hdparm at boot time:  
>> 
>> /sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda /sbin/hdparm -X69 -d1 -u1 
>> -m16 -c3 /dev/hdc 
>> 
>> When running hdparm -tT I get the following:  
>> 
>> /dev/hda:
>>  Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
>>  Timing buffered disk reads:  64 MB in  2.46 seconds = 26.02 MB/sec 
>> 
>> /dev/hdc:
>>  Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
>>  Timing buffered disk reads:  64 MB in  2.47 seconds = 25.91 MB/sec 
>> 
>> Are these normal values? I don't think so. Please advise.  
>> 
>> /Nicke 
>> 
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-ide" 
>> in the body of a message to majordomo@vger.kernel.org More majordomo 
>> info at  http://vger.kernel.org/majordomo-info.html
>   
> 
 

^ permalink raw reply	[flat|nested] 20+ messages in thread
* IDE-RAID Drive Performance
@ 2003-12-30 10:41 Nicklas Bondesson
  2003-12-30 10:57 ` Willy Gardiol
  0 siblings, 1 reply; 20+ messages in thread
From: Nicklas Bondesson @ 2003-12-30 10:41 UTC (permalink / raw)
  To: linux-ide

Hi!

I think i'm getting really bad values from my disks. It's two Western
Digital WD800JB-00DUA3 (Special Edition 8 MB cache) disks connected to a
Promise TX2000 (PDC20271) card (RAID1 using ataraid).

The disks are setup with hdparm at boot time:

/sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hda
/sbin/hdparm -X69 -d1 -u1 -m16 -c3 /dev/hdc

When running hdparm -tT I get the following:

/dev/hda:
 Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
 Timing buffered disk reads:  64 MB in  2.46 seconds = 26.02 MB/sec

/dev/hdc:
 Timing buffer-cache reads:   128 MB in  1.13 seconds =113.27 MB/sec
 Timing buffered disk reads:  64 MB in  2.47 seconds = 25.91 MB/sec

Are these normal values? I don't think so. Please advise.

/Nicke


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

end of thread, other threads:[~2004-01-03 15:58 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-30 10:44 IDE-RAID Drive Performance Nicklas Bondesson
2003-12-30 11:21 ` Nuno Alexandre
2004-01-02  8:19   ` Bob
2004-01-03 14:00   ` Andre Tomt
2004-01-03 15:58     ` Nicklas Bondesson
2004-01-03 15:58     ` Nicklas Bondesson
2004-01-03 15:58       ` Nicklas Bondesson
     [not found] <Pine.LNX.4.44.0312301311530.6864-100000@coffee.psychology.mcmaster.ca>
2003-12-30 21:57 ` Nicklas Bondesson
2003-12-30 23:26 ` Nicklas Bondesson
2003-12-31  9:28   ` Willy Gardiol
  -- strict thread matches above, loose matches on Subject: below --
2003-12-30 21:23 Nicklas Bondesson
2003-12-30 15:21 Willy Gardiol
2003-12-30 16:37 ` Nicklas Bondesson
2003-12-30 19:31   ` Bartlomiej Zolnierkiewicz
2003-12-30 13:18 uaca
2003-12-30 11:12 Willy Gardiol
2003-12-30 15:04 ` Nicklas Bondesson
2003-12-30 10:41 Nicklas Bondesson
2003-12-30 10:57 ` Willy Gardiol
2003-12-30 11:03   ` Nicklas Bondesson

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.