Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Ruffian IDE HD performance
@ 1999-05-19 22:18 Cliff Brake
  1999-05-19 23:20 ` Paul Jakma
  0 siblings, 1 reply; 14+ messages in thread
From: Cliff Brake @ 1999-05-19 22:18 UTC (permalink / raw)
  To: axp-list@redhat.com

I am only seeing ~2.5MB/s throughput for buffered disk reads (hdparm -t)
on a IDE hard drive on my Ruffian RedHat6.0 system.  I am in the process
of trying various 2.2.x kernels and patches.  I see 8-10MB/s throughput
on Linux pentium systems.

Current hdparm settings:
/dev/hda:
 multcount    = 16 (on)
 I/O support  =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 nowerr       =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 8940/15/63, sectors = 8448300, start = 0   

1)  Has anybody been able to get better IDE disk performance on a
Ruffian (UX) and if so, what kernel, patches, hdparm settings, etc were
used?

2)  Is there any documentation on the patches that are available?  It
seems that the "ac" and "uniform-ide" patches are referenced often.

Thanks,
Cliff


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

* Re: Ruffian IDE HD performance
  1999-05-19 22:18 Cliff Brake
@ 1999-05-19 23:20 ` Paul Jakma
  1999-05-20  8:19   ` Dr . David Alan Gilbert
  1999-05-20 19:21   ` Cliff Brake
  0 siblings, 2 replies; 14+ messages in thread
From: Paul Jakma @ 1999-05-19 23:20 UTC (permalink / raw)
  To: axp-list@redhat.com

On Wed, 19 May 1999, Cliff Brake wrote:

  I am only seeing ~2.5MB/s throughput for buffered disk reads (hdparm -t)
  on a IDE hard drive on my Ruffian RedHat6.0 system.  I am in the process
  of trying various 2.2.x kernels and patches.  I see 8-10MB/s throughput
  on Linux pentium systems.
  
  1)  Has anybody been able to get better IDE disk performance on a
  Ruffian (UX) and if so, what kernel, patches, hdparm settings, etc were
  used?
  
try hdparm -a128A1c1d1m32u1 /dev/hda

you might need to reduce the m32 to m16 or m8, depending on your
drive. 

the ide controller on the Ruffian is done by an Intel 82371SB PIIX3,
exact same as on older socket7 VX (and FX/HX?) chipset intel
machines. and it's being driven by the exact same Linux code. so it
shouldn't be slower than the equivalent intel pc.

On what kind of intel pc did you get 8-10MB/s, and what kind of
disk?

regards,
-- 
Paul Jakma
paul@clubi.ie	http://hibernia.clubi.ie
PGP5 key: http://www.clubi.ie/jakma/publickey.txt
-------------------------------------------
Fortune:
I used to work in a fire hydrant factory.  You couldn't park anywhere near
the place.
		-- Steven Wright


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

* Re: Ruffian IDE HD performance
  1999-05-19 23:20 ` Paul Jakma
@ 1999-05-20  8:19   ` Dr . David Alan Gilbert
  1999-05-20 19:21   ` Cliff Brake
  1 sibling, 0 replies; 14+ messages in thread
From: Dr . David Alan Gilbert @ 1999-05-20  8:19 UTC (permalink / raw)
  To: axp-list

At 00:20 20/05/99 +0100, Paul Jakma wrote:
>On Wed, 19 May 1999, Cliff Brake wrote:
>
>  I am only seeing ~2.5MB/s throughput for buffered disk reads (hdparm -t)
>  on a IDE hard drive on my Ruffian RedHat6.0 system.  I am in the process
>  of trying various 2.2.x kernels and patches.  I see 8-10MB/s throughput
>  on Linux pentium systems.
>  
>  1)  Has anybody been able to get better IDE disk performance on a
>  Ruffian (UX) and if so, what kernel, patches, hdparm settings, etc were
>  used?
>  
>try hdparm -a128A1c1d1m32u1 /dev/hda

Now that is what I call a bizaar command line :-)

>the ide controller on the Ruffian is done by an Intel 82371SB PIIX3,
>exact same as on older socket7 VX (and FX/HX?) chipset intel
>machines. and it's being driven by the exact same Linux code. so it
>shouldn't be slower than the equivalent intel pc.

That isn't so - it seems like non-Intel processors (including some x86's)
do very badly on PIO IDE transfers. 

If you can get the DMA going on the Alpha; which should be possible - maybe
with selecting some kernel build options - then you should be able to get
decent speeds.

>On what kind of intel pc did you get 8-10MB/s, and what kind of
>disk?

On my Alpha LX board it was giving around 2MB/s with PIO - I got
around 6MB/s when I got the DMA going.  That is a different IDE chip and
needed a particular rune to get the DMA going when building the kernel.
That is with a 2 or 3 year old 3.5GB IDE disc - I can quite imagine that
a modern IDE disc could shift 8-10.

Dave



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

* RE: Ruffian IDE HD performance
@ 1999-05-20  9:01 Paul Jakma
  1999-05-20 19:27 ` Wes Bauske
  0 siblings, 1 reply; 14+ messages in thread
From: Paul Jakma @ 1999-05-20  9:01 UTC (permalink / raw)
  To: 'axp-list@redhat.com'


> ?
> >  
> >try hdparm -a128A1c1d1m32u1 /dev/hda
> 
> Now that is what I call a bizaar command line :-)
> 
isnt it? :). a handy concatenation of the useful options i think. good for
putting in a boot up script, eg rc.local. (and add q to the above
commandline, for quiet)

> That isn't so - it seems like non-Intel processors (including some x86's)
> do very badly on PIO IDE transfers. 
> 
uhmm.. isn't PIO slow on intel too? is there an architectural reason why an
intel chip can do PIO faster than, eg, an alpha? imo there isn't. maybe it's
down to non-intel machines often having non-intel ide controllers, which
aren't as supported as well by operating systems?

> >On what kind of intel pc did you get 8-10MB/s, and what kind of
> >disk?
> 
> On my Alpha LX board it was giving around 2MB/s with PIO - I got
> around 6MB/s when I got the DMA going.  That is a different IDE chip and
> needed a particular rune to get the DMA going when building the kernel.
> 
the lx has the cypress super controller, right? afaik, the ide maintainer
has an updated test patch with much enhanced support for various ide
controllers (esp. non-intel ones) including the cypress. might be worth
trying his patch. Have a look on a linux-kernel archive.


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

* RE: Ruffian IDE HD performance
       [not found] <15AD5D7936F8D21198240000F831776E3E7922@dboexc1.dbo.dec.com >
@ 1999-05-20 10:59 ` Dr . David Alan Gilbert
  1999-05-20 12:49   ` Danilo Godec
  1999-05-20 14:36   ` Heinz Ulrich Stille
  0 siblings, 2 replies; 14+ messages in thread
From: Dr . David Alan Gilbert @ 1999-05-20 10:59 UTC (permalink / raw)
  To: axp-list

At 10:01 20/05/99 +0100, Paul Jakma wrote:
>> That isn't so - it seems like non-Intel processors (including some x86's)
>> do very badly on PIO IDE transfers. 
>> 
>uhmm.. isn't PIO slow on intel too? is there an architectural reason why an
>intel chip can do PIO faster than, eg, an alpha?

I am not sure - but I've seen similar things on ARM.  I'm guessing that 
on the Alpha we end up with a loop where each entry in the loop grabs a single
byte/word from the drive and each time it does this it has to slow down,
wiat for the result etc and then carry on.

I suspect on the Intel it does sometype of single instruction buffer copy
and so doesn't have the latency issues - thats just a highly unsubstantiated
guess.

>> >On what kind of intel pc did you get 8-10MB/s, and what kind of
>> >disk?
>> 
>> On my Alpha LX board it was giving around 2MB/s with PIO - I got
>> around 6MB/s when I got the DMA going.  That is a different IDE chip and
>> needed a particular rune to get the DMA going when building the kernel.
>> 
>the lx has the cypress super controller, right? afaik, the ide maintainer
>has an updated test patch with much enhanced support for various ide
>controllers (esp. non-intel ones) including the cypress. might be worth
>trying his patch. Have a look on a linux-kernel archive.

No - you don't need that.  Get a recent kernel, turn on PCI-DMA, turn on
support for which ever controller you have and turn the auto probing for DMA
on and it should do the trick.

Dave



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

* RE: Ruffian IDE HD performance
  1999-05-20 10:59 ` Ruffian IDE HD performance Dr . David Alan Gilbert
@ 1999-05-20 12:49   ` Danilo Godec
  1999-05-20 14:36   ` Heinz Ulrich Stille
  1 sibling, 0 replies; 14+ messages in thread
From: Danilo Godec @ 1999-05-20 12:49 UTC (permalink / raw)
  To: axp-list

On Thu, 20 May 1999, Dr . David Alan Gilbert wrote:

> No - you don't need that.  Get a recent kernel, turn on PCI-DMA, turn on
> support for which ever controller you have and turn the auto probing for DMA
> on and it should do the trick.

Actually, you do need that (at least on 164SX).

Without the UDMA patch, there IS NO support for the controller I have
(/proc/pci tells me it's Contaq 82C693, but I think it somewhat related to
Cypress 82C693) and the transer rate (measured with hdparm -f -t /dev/hda)
is ~1 MB/sec.

With the patch it grows to just under 6 MB/sec. 

Just a side note: An Intel Pentium 233 MMX, Intel AN430TX motherboard and
QUANTUM FIREBALL EL2.5A disk gives me 10.13 MB/sec with hdparm
(2.0.36 kernel).

    D.



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

* RE: Ruffian IDE HD performance
  1999-05-20 10:59 ` Ruffian IDE HD performance Dr . David Alan Gilbert
  1999-05-20 12:49   ` Danilo Godec
@ 1999-05-20 14:36   ` Heinz Ulrich Stille
  1999-05-20 16:10     ` Dr . David Alan Gilbert
  1 sibling, 1 reply; 14+ messages in thread
From: Heinz Ulrich Stille @ 1999-05-20 14:36 UTC (permalink / raw)
  To: axp-list

Hi!

On Thu, 20 May 1999, Dr . David Alan Gilbert wrote:
> No - you don't need that.  Get a recent kernel, turn on PCI-DMA, turn on
> support for which ever controller you have and turn the auto probing for DMA
> on and it should do the trick.

Well, for me it is: turn on DMA, use HD, use soundcard, reset the
computer (with a Ruffian and SB AWE64). I was not able to get IDE DMA and
sound to work together.

MfG, Ulrich 

---
Some people are more real than others. It has been estimated that there
are only about five hundred *real* people on any given planet, which is
why they keep unexpectedly running into one another all the time.
                                           T. Pratchett, "Moving Pictures"



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

* RE: Ruffian IDE HD performance
  1999-05-20 14:36   ` Heinz Ulrich Stille
@ 1999-05-20 16:10     ` Dr . David Alan Gilbert
  1999-05-21  0:24       ` Heinz Ulrich Stille
  0 siblings, 1 reply; 14+ messages in thread
From: Dr . David Alan Gilbert @ 1999-05-20 16:10 UTC (permalink / raw)
  To: axp-list

At 16:36 20/05/99 +0200, you wrote:
>Hi!
>
>On Thu, 20 May 1999, Dr . David Alan Gilbert wrote:
>> No - you don't need that.  Get a recent kernel, turn on PCI-DMA, turn on
>> support for which ever controller you have and turn the auto probing for
DMA
>> on and it should do the trick.
>
>Well, for me it is: turn on DMA, use HD, use soundcard, reset the
>computer (with a Ruffian and SB AWE64). I was not able to get IDE DMA and
>sound to work together.

Oh dear; that is pretty dire - how does IDE DMA and sound interact?  I didn't
think they were related?? (They would be if both were ISA ?)

I'm using an old SB-16 value - works a treat together with IDE as far as I can
tell (on an LX)

Dave



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

* Re: Ruffian IDE HD performance
  1999-05-19 23:20 ` Paul Jakma
  1999-05-20  8:19   ` Dr . David Alan Gilbert
@ 1999-05-20 19:21   ` Cliff Brake
  1 sibling, 0 replies; 14+ messages in thread
From: Cliff Brake @ 1999-05-20 19:21 UTC (permalink / raw)
  To: axp-list

Tried your suggestions -- still 2.5MB/s.  The intel system I am using is
just a low cost (corporate) Toshiba Equiom 7100D, 333MHz PII, 196MB ram.

Cliff


Paul Jakma wrote:
> 
> On Wed, 19 May 1999, Cliff Brake wrote:
> 
>   I am only seeing ~2.5MB/s throughput for buffered disk reads (hdparm -t)
>   on a IDE hard drive on my Ruffian RedHat6.0 system.  I am in the process
>   of trying various 2.2.x kernels and patches.  I see 8-10MB/s throughput
>   on Linux pentium systems.
> 
>   1)  Has anybody been able to get better IDE disk performance on a
>   Ruffian (UX) and if so, what kernel, patches, hdparm settings, etc were
>   used?
> 
> try hdparm -a128A1c1d1m32u1 /dev/hda
> 
> you might need to reduce the m32 to m16 or m8, depending on your
> drive.
> 
> the ide controller on the Ruffian is done by an Intel 82371SB PIIX3,
> exact same as on older socket7 VX (and FX/HX?) chipset intel
> machines. and it's being driven by the exact same Linux code. so it
> shouldn't be slower than the equivalent intel pc.
> 
> On what kind of intel pc did you get 8-10MB/s, and what kind of
> disk?
> 
> regards,
> --
> Paul Jakma
> paul@clubi.ie   http://hibernia.clubi.ie
> PGP5 key: http://www.clubi.ie/jakma/publickey.txt
> -------------------------------------------
> Fortune:
> I used to work in a fire hydrant factory.  You couldn't park anywhere near
> the place.
>                 -- Steven Wright
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
Cliff Brake			Codonics, Inc.
Electrical Engineer
e-mail:	cbrake@codonics.com
Phone:	440.243.1198 x258	Fax:  440.243.1334
http://www.codonics.com


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

* Re: Ruffian IDE HD performance
  1999-05-20  9:01 Ruffian IDE HD performance Paul Jakma
@ 1999-05-20 19:27 ` Wes Bauske
  0 siblings, 0 replies; 14+ messages in thread
From: Wes Bauske @ 1999-05-20 19:27 UTC (permalink / raw)
  To: axp-list

Paul Jakma wrote:
> 
> >
> > On my Alpha LX board it was giving around 2MB/s with PIO - I got
> > around 6MB/s when I got the DMA going.  That is a different IDE chip and
> > needed a particular rune to get the DMA going when building the kernel.
> >
> the lx has the cypress super controller, right? afaik, the ide maintainer
> has an updated test patch with much enhanced support for various ide
> controllers (esp. non-intel ones) including the cypress. might be worth
> trying his patch. Have a look on a linux-kernel archive.

The 164LX has CMD646 IDE, not Cypress. Cypress is in the 164SX.


Wes


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

* RE: Ruffian IDE HD performance
  1999-05-20 16:10     ` Dr . David Alan Gilbert
@ 1999-05-21  0:24       ` Heinz Ulrich Stille
  1999-05-21 10:03         ` Phil Carmody
  0 siblings, 1 reply; 14+ messages in thread
From: Heinz Ulrich Stille @ 1999-05-21  0:24 UTC (permalink / raw)
  To: axp-list

Hi!

On Thu, 20 May 1999, Dr . David Alan Gilbert wrote:
> >computer (with a Ruffian and SB AWE64). I was not able to get IDE DMA and
> >sound to work together.
> 
> Oh dear; that is pretty dire - how does IDE DMA and sound interact?  I didn't
> think they were related?? (They would be if both were ISA ?)

IDE and ISA bridge are both on the intel PIIX3, and ide and sound both use
DMA? I don't know what happens, and I don't really care. I'm quite ashamed
for having an IDE disk anyway...

From bonnie:
              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
ide      1024  1836 61.9  2365 34.2   985 51.8  1406 85.0  1783 24.5  32.4 9.5
scsi-u   1024  3998 55.2  5806  8.9  1842  5.2  3527 57.1  3588  4.9  39.3 0.7
scsi-uw  1024  6660 92.2 12924 21.0  3978 10.9  5702 92.4  8737 12.2  74.1 1.4

Also quite interesting: with test file size 100MB (my main memory is
128MB), block sequential input:
for scsi: ~171MB/s, cpu ~100% (probably not the real disk transfer rate:-)
but ide: ~15.6MB/s, cpu ~30% ???

> I'm using an old SB-16 value - works a treat together with IDE as far as I can
> tell (on an LX)

Doesn't the LX have a different ide controller? Perhaps there is a strange
interaction with the PIIX3, or other parts of the chipset?

MfG, Ulrich

---
Ah, but maybe the population declined because we *stopped* sacrificing
virgins - of both sexes, of course. Have you ever thougt of it like that?
                                                  T. Pratchett, "Pyramids"



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

* Re: Ruffian IDE HD performance
  1999-05-21  0:24       ` Heinz Ulrich Stille
@ 1999-05-21 10:03         ` Phil Carmody
  1999-05-21 21:10           ` Heinz Ulrich Stille
  0 siblings, 1 reply; 14+ messages in thread
From: Phil Carmody @ 1999-05-21 10:03 UTC (permalink / raw)
  To: axp-list

>>>>> "Heinz" == Heinz Ulrich Stille <h.u.s@iname.com> writes:
Heinz>               -------Sequential Output-------- ---Sequential Input-- --Random--
Heinz>               -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Heinz> Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec %CPU
Heinz> ide      1024  1836 61.9  2365 34.2   985 51.8  1406 85.0  1783 24.5  32.4 9.5
Heinz> scsi-u   1024  3998 55.2  5806  8.9  1842  5.2  3527 57.1  3588  4.9  39.3 0.7
Heinz> scsi-uw  1024  6660 92.2 12924 21.0  3978 10.9  5702 92.4  8737 12.2  74.1 1.4


How wonderfully nerdy, that's really brightened my morning! 
What program did you use to get these figures? I could make very good use
of it at the mo'. 

Phil


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

* Re: Ruffian IDE HD performance
  1999-05-21 10:03         ` Phil Carmody
@ 1999-05-21 21:10           ` Heinz Ulrich Stille
  1999-05-21 23:07             ` DEC (but not alpha) question Jason Duerstock
  0 siblings, 1 reply; 14+ messages in thread
From: Heinz Ulrich Stille @ 1999-05-21 21:10 UTC (permalink / raw)
  To: axp-list; +Cc: Phil Carmody

On Fri, 21 May 1999, Phil Carmody wrote:
> What program did you use to get these figures? I could make very good use
> of it at the mo'. 

It's `bonnie'. Ask archie about bonnie-1.0. IIRC I got the source package 
from debian.

MfG, Ulrich

---
Sometimes the truth keeps itself alive in devious ways despite the
best efforts of the official keepers of information.
                                          T. Pratchett, "Lords and Ladies"



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

* DEC (but not alpha) question
  1999-05-21 21:10           ` Heinz Ulrich Stille
@ 1999-05-21 23:07             ` Jason Duerstock
  0 siblings, 0 replies; 14+ messages in thread
From: Jason Duerstock @ 1999-05-21 23:07 UTC (permalink / raw)
  To: axp-list

One of our ancient servers here is an 'applicationDEC 433MP'.  It has a
Corollary bus of some sort, 64 MB of RAM, and three 486 CPUs.  I'm trying
to find some sort of documentation on it but I'm turning up totally empty.
I realize this is off-topic, but if anyone at Digital^H^H^H^H^H^H^Compaq 
has an inside track on where I could dig up information on this dinosaur,
I'd really appreciate the help.

Thanks

Jason



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

end of thread, other threads:[~1999-05-21 23:46 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <15AD5D7936F8D21198240000F831776E3E7922@dboexc1.dbo.dec.com >
1999-05-20 10:59 ` Ruffian IDE HD performance Dr . David Alan Gilbert
1999-05-20 12:49   ` Danilo Godec
1999-05-20 14:36   ` Heinz Ulrich Stille
1999-05-20 16:10     ` Dr . David Alan Gilbert
1999-05-21  0:24       ` Heinz Ulrich Stille
1999-05-21 10:03         ` Phil Carmody
1999-05-21 21:10           ` Heinz Ulrich Stille
1999-05-21 23:07             ` DEC (but not alpha) question Jason Duerstock
1999-05-20  9:01 Ruffian IDE HD performance Paul Jakma
1999-05-20 19:27 ` Wes Bauske
  -- strict thread matches above, loose matches on Subject: below --
1999-05-19 22:18 Cliff Brake
1999-05-19 23:20 ` Paul Jakma
1999-05-20  8:19   ` Dr . David Alan Gilbert
1999-05-20 19:21   ` Cliff Brake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox