* RE: Alpha too slow?
@ 1999-03-03 15:55 Andreas Krebs
1999-03-03 16:07 ` Vignaud Jean-Baptiste
1999-03-03 21:51 ` Danilo Godec
0 siblings, 2 replies; 7+ messages in thread
From: Andreas Krebs @ 1999-03-03 15:55 UTC (permalink / raw)
To: axp-list
hi,
> The patch is now distributed in the beta ide-udma driver for 2.2.x
> (http://www.dyer.vanderbilt.edu/server/udma/) and it gives me ~6MB/s vs.
> ~1.5MB/s (hdparm -t) on my 164sx. Integer performance on a pc164sx/533
> should be about the same as a pII/350 (floating point much higher on
> anything but linux).
i get ~8MB/s with my patch and an IBM DTTA (hdparm -t) and ~9MB/s using
time dd if reading through the file system (ext2).
by the way does anybody know why reading through the file system is faster
than reading /dev/hda or hda1 direct? (i tried several diferent block sizes
and got almost the same results every time).
one of the things i use my sx for is mpeg video encoding (only integer no
floating point). i use the stanford mpeg encoder with a modified motion
estimation routine for alpha and intel mmx.
my pc164SX/533 is about 2 to 3 times faster than my PII/333.
the alpha version uses my own MVI assembler (if you have a pc alpha use it :-) )
optimized motion estimation and is build with the digital unix compiler.
the intel version using intel's mmx code for motion estimation and build with
Visual C++ 5.0 and running under NT(i don't have linux on my intel box!).
since it takes hours to transcode large mpeg the alpha realy makes a
difference !!!!
Andreas
--
_____________________________________________________________________________
Andreas S. Krebs
CEC Karlsruhe, SAP AG, Andreas.Krebs@sap-ag.de
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Alpha too slow?
1999-03-03 15:55 Alpha too slow? Andreas Krebs
@ 1999-03-03 16:07 ` Vignaud Jean-Baptiste
1999-03-03 16:44 ` Andreas Krebs
1999-03-03 21:51 ` Danilo Godec
1 sibling, 1 reply; 7+ messages in thread
From: Vignaud Jean-Baptiste @ 1999-03-03 16:07 UTC (permalink / raw)
To: axp-list
hi,
> > The patch is now distributed in the beta ide-udma driver for 2.2.x
> > (http://www.dyer.vanderbilt.edu/server/udma/) and it gives me ~6MB/s vs.
> > ~1.5MB/s (hdparm -t) on my 164sx. Integer performance on a pc164sx/533
> > should be about the same as a pII/350 (floating point much higher on
> > anything but linux).
>
> i get ~8MB/s with my patch and an IBM DTTA (hdparm -t) and ~9MB/s using
> time dd if reading through the file system (ext2).
> by the way does anybody know why reading through the file system is faster
> than reading /dev/hda or hda1 direct? (i tried several diferent
> block sizes
> and got almost the same results every time).
>
> one of the things i use my sx for is mpeg video encoding (only integer no
> floating point). i use the stanford mpeg encoder with a modified motion
> estimation routine for alpha and intel mmx.
> my pc164SX/533 is about 2 to 3 times faster than my PII/333.
>
> the alpha version uses my own MVI assembler (if you have a pc
> alpha use it :-) )
^^
Where is it??
by the way, does egcs handle mvi instruction?
> optimized motion estimation and is build with the digital unix compiler.
> the intel version using intel's mmx code for motion estimation
> and build with
> Visual C++ 5.0 and running under NT(i don't have linux on my intel box!).
>
> since it takes hours to transcode large mpeg the alpha realy makes a
> difference !!!!
Jean-Baptiste
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha too slow?
1999-03-03 16:07 ` Vignaud Jean-Baptiste
@ 1999-03-03 16:44 ` Andreas Krebs
0 siblings, 0 replies; 7+ messages in thread
From: Andreas Krebs @ 1999-03-03 16:44 UTC (permalink / raw)
To: axp-list
> > one of the things i use my sx for is mpeg video encoding (only integer no
> > floating point). i use the stanford mpeg encoder with a modified motion
> > estimation routine for alpha and intel mmx.
> > my pc164SX/533 is about 2 to 3 times faster than my PII/333.
> >
> > the alpha version uses my own MVI assembler (if you have a pc
> > alpha use it :-) )
> ^^
> Where is it??
on my disk :-), all you really need is the perr instruction it does almost
everything, so if somebody could tell me how to write inline assembler with
gcc/egcs and do unaligned access. does anybody know of a documentation for
writing alpha inline assembler with egcs???
under digital unix you need to following code in me.c:
#include <c_asm.h>
#define perr(v1, v2) (asm("perr %a0, %a1, %v0", (v1), (v2)))
and in the inner loop of HPFastBME you replace (it occurs twice)
for(val=i=0;i<16;i++)
{
data=(*(bptr++)-*(cptr++));
...
}
with
{
const unsigned __unaligned __int64 *p1;
const unsigned __int64 *p2;
p1 = (const unsigned __int64 *)bptr;
p2 = (const unsigned __int64 *)cptr;
i=16;
val=0;
while(i--)
{
val+=perr(p1[0], p2[0]); /* Block 1 */
val+=perr(p1[1], p2[1]); /* Block 2 */
((const unsigned char *) p2) += rm->width;
((const unsigned char *) p1) += cm->width;
if (val COMPARISON MV)
break;
}
}
> by the way, does egcs handle mvi instruction?
i don't know
--
_____________________________________________________________________________
Andreas S. Krebs
CEC Karlsruhe, SAP AG, Andreas.Krebs@sap-ag.de
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Alpha too slow?
1999-03-03 15:55 Alpha too slow? Andreas Krebs
1999-03-03 16:07 ` Vignaud Jean-Baptiste
@ 1999-03-03 21:51 ` Danilo Godec
1999-03-15 8:30 ` Vignaud Jean-Baptiste
1 sibling, 1 reply; 7+ messages in thread
From: Danilo Godec @ 1999-03-03 21:51 UTC (permalink / raw)
To: axp-list
On Wed, 3 Mar 1999, Andreas Krebs wrote:
> > The patch is now distributed in the beta ide-udma driver for 2.2.x
> > (http://www.dyer.vanderbilt.edu/server/udma/) and it gives me ~6MB/s vs.
> > ~1.5MB/s (hdparm -t) on my 164sx. Integer performance on a pc164sx/533
> > should be about the same as a pII/350 (floating point much higher on
> > anything but linux).
>
> i get ~8MB/s with my patch and an IBM DTTA (hdparm -t) and ~9MB/s using
> time dd if reading through the file system (ext2).
Anyone tried this patch with 2.2.2-ac6? Plain 2.2.2-ac6 compiles fine, but
IDE patch breaks it in some way (didn't have time to look into it a bit
more or try plain 2.2.2 with IDE patch yet).
D.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Alpha too slow?
1999-03-03 21:51 ` Danilo Godec
@ 1999-03-15 8:30 ` Vignaud Jean-Baptiste
1999-03-15 9:33 ` Andreas Krebs
0 siblings, 1 reply; 7+ messages in thread
From: Vignaud Jean-Baptiste @ 1999-03-15 8:30 UTC (permalink / raw)
To: axp-list
I'v compiled 2.2.3 and applied the patched patch for SX164 UDMA found on
ftp://ftp.alphalinux.org and it seems to work.
The patch is not in full sync with 2.2.3 but applies with some offsets.
The only problem is that on my two disks doesn't have the same behaviour:
before the patch (stock 2.1.132)
hda: 1.5Mo/s
hdc: 1.5Mo/s
After the patch (2.2.3 + UDMA Patch + SX164 Patch) added bootarg idebus=33
hda: 3.58o/s
hdc: 7.6Mo/s
This i with no call to hdparm
That's better, but maybe someone can tell me the best hdparm parameters to
use.
Jean-Baptiste
> On Wed, 3 Mar 1999, Andreas Krebs wrote:
>
> > > The patch is now distributed in the beta ide-udma driver for 2.2.x
> > > (http://www.dyer.vanderbilt.edu/server/udma/) and it gives me
> ~6MB/s vs.
> > > ~1.5MB/s (hdparm -t) on my 164sx. Integer performance on a
> pc164sx/533
> > > should be about the same as a pII/350 (floating point much higher on
> > > anything but linux).
> >
> > i get ~8MB/s with my patch and an IBM DTTA (hdparm -t) and ~9MB/s using
> > time dd if reading through the file system (ext2).
>
> Anyone tried this patch with 2.2.2-ac6? Plain 2.2.2-ac6 compiles fine, but
> IDE patch breaks it in some way (didn't have time to look into it a bit
> more or try plain 2.2.2 with IDE patch yet).
>
> D.
>
> --
> 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
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Alpha too slow?
1999-03-15 8:30 ` Vignaud Jean-Baptiste
@ 1999-03-15 9:33 ` Andreas Krebs
1999-03-15 14:29 ` Memory mapped IO with Cypress CY82C693U (was RE: Alpha too slow?) Guenter Geiger
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Krebs @ 1999-03-15 9:33 UTC (permalink / raw)
To: axp-list
> I'v compiled 2.2.3 and applied the patched patch for SX164 UDMA found on
> ftp://ftp.alphalinux.org and it seems to work.
> The patch is not in full sync with 2.2.3 but applies with some offsets.
>
> The only problem is that on my two disks doesn't have the same behaviour:
> before the patch (stock 2.1.132)
> hda: 1.5Mo/s
> hdc: 1.5Mo/s
> After the patch (2.2.3 + UDMA Patch + SX164 Patch) added bootarg idebus=33
> hda: 3.58o/s
> hdc: 7.6Mo/s
>
> This i with no call to hdparm
> That's better, but maybe someone can tell me the best hdparm parameters to
> use.
depends on your disks - find out what features they support and play a bit with
the parameters. the most insteresting is of course the transfer mode (hdparm -X).
for one of my old disks, it's even faster to use pio instead of dma (a fujitsu disk).
this is because the driver also changes the pio timing values.
if you have more than one device per channel try using the slower device (e.g.
cdrom) in pio and the faster one in dma mode. for pio mode also try to enable
32bit IO (hdparm -c 1).
by the way the idebus parameter is only use to calculate the timings for by the way
the idebus parameter is only use to calculate the timings for
--
_____________________________________________________________________________
Andreas S. Krebs
CEC Karlsruhe, SAP AG, krebs@qkal.sap-ag.de
_____________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Memory mapped IO with Cypress CY82C693U (was RE: Alpha too slow?)
1999-03-15 9:33 ` Andreas Krebs
@ 1999-03-15 14:29 ` Guenter Geiger
0 siblings, 0 replies; 7+ messages in thread
From: Guenter Geiger @ 1999-03-15 14:29 UTC (permalink / raw)
To: axp-list
I have a soundcard which uses memory mapped IO on ISA for data
transfer. This is terribly slow on my sx164, probably due to the
Cypress chip, which includes the PCI-to-ISA bridge AFAIK.
I used it on a PC164 once, and there it worked fine.
Does anyone happen to know if MMIO performance can be increased somehow,
by implementing specific support for this chip ?
Guenter
> -----Original Message-----
> From: Andreas Krebs [mailto:krebs@qkal.sap-ag.de]
> Sent: Monday, March 15, 1999 10:33 AM
> To: axp-list@redhat.com
> Subject: Re: Alpha too slow?
>
>
> > I'v compiled 2.2.3 and applied the patched patch for SX164
> UDMA found on
> > ftp://ftp.alphalinux.org and it seems to work.
> > The patch is not in full sync with 2.2.3 but applies with
> some offsets.
> >
> > The only problem is that on my two disks doesn't have the
> same behaviour:
> > before the patch (stock 2.1.132)
> > hda: 1.5Mo/s
> > hdc: 1.5Mo/s
> > After the patch (2.2.3 + UDMA Patch + SX164 Patch) added
> bootarg idebus=33
> > hda: 3.58o/s
> > hdc: 7.6Mo/s
> >
> > This i with no call to hdparm
> > That's better, but maybe someone can tell me the best
> hdparm parameters to
> > use.
>
> depends on your disks - find out what features they support
> and play a bit with
> the parameters. the most insteresting is of course the
> transfer mode (hdparm -X).
>
> for one of my old disks, it's even faster to use pio instead
> of dma (a fujitsu disk).
> this is because the driver also changes the pio timing values.
>
> if you have more than one device per channel try using the
> slower device (e.g.
> cdrom) in pio and the faster one in dma mode. for pio mode
> also try to enable
> 32bit IO (hdparm -c 1).
>
> by the way the idebus parameter is only use to calculate the
> timings for by the way
> the idebus parameter is only use to calculate the timings for
>
>
> --
> ______________________________________________________________
> _______________
>
> Andreas S. Krebs
>
> CEC Karlsruhe, SAP AG, krebs@qkal.sap-ag.de
> ______________________________________________________________
> _______________
>
> --
> 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
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1999-03-15 14:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-03 15:55 Alpha too slow? Andreas Krebs
1999-03-03 16:07 ` Vignaud Jean-Baptiste
1999-03-03 16:44 ` Andreas Krebs
1999-03-03 21:51 ` Danilo Godec
1999-03-15 8:30 ` Vignaud Jean-Baptiste
1999-03-15 9:33 ` Andreas Krebs
1999-03-15 14:29 ` Memory mapped IO with Cypress CY82C693U (was RE: Alpha too slow?) Guenter Geiger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox