* RE: Bytes and stuff...
@ 1997-09-03 17:50 Kelvin Lunsford
0 siblings, 0 replies; 9+ messages in thread
From: Kelvin Lunsford @ 1997-09-03 17:50 UTC (permalink / raw)
Ronny Ranerup(ronny@axis.com) wrote:
... stuff deleted
>I just got an AlphaPC 164LX, 533Mhz. Slick machine... Twice as fast as a
>PPRO when running gcc and three times as fast running dhrystone (yes a
silly
>benchmark, I know). 530.57 BogoMips...
>
>Anyway, we bought it to try it out as a server running our
ASIC-simulators,
>but of course we didn't get the kind of speed we wanted. In fact the first
tests
>showed it to be a tad slower than our PPROs. Sad. We knew beforehand that
all
>the byteaccesses in the simulator might mess up the Alpha and it seems we
were
>right. So we changed all bytes into ints and tried again. 20 percent
faster, although
>the code got half the size of the byteversion and even smaller than the
PPRO one.
>Cache trashing or something? I don't know quite what is happening.
The Alpha processor is a 64 bit machine. Most arithmatic and logical
operations
occur using 64 bit values in the registers, and memory writes of less than
64 bits requires a read and merge operation. Because the compilers define
the int size
to be 32 bits the intermediate results require extending and truncating, so
using
ints is simular to using bytes. If you want the best performance try using
long
ints (64 bits).
>I'm not sure but I think the CPU has instructions for byte access, but
>gcc doesn't use them yet. I've heard that gcc for Alpha makes bad code
>so I would like to see if DEC cc does a better job.
I've gotten faster code (heavy byte manipulation) using gcc, although I
haven't
used the newest DEC compiler, still at 3.0B.
Kelvin Lunsford, kelvin@qantel.com
begin 600 WINMAIL.DAT
M>)\^(C<1`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$-@ 0`
M`@````(``@`!!) &`!P!```!````# ````,``# #````"P`/#@`````"`?\/
M`0```$4`````````@2L?I+ZC$!F=;@#=`0]4`@````!A>' M;&ES=$!R961H
M870N8V]M`%--5% `87AP+6QI<W1 <F5D:&%T+F-O;0`````>``(P`0````4`
M``!33510`````!X``S !````% ```&%X<"UL:7-T0')E9&AA="YC;VT``P`5
M# $````#`/X/!@```!X``3 !````%@```"=A>' M;&ES=$!R961H870N8V]M
M)P````(!"S !````&0```%--5% Z05A0+4Q)4U1 4D5$2$%4+D-/30`````#
M```Y``````L`0#H!`````@'V#P$````$`````````Y<R`0B !P`8````25!-
M+DUI8W)O<V]F="!-86EL+DYO=&4`,0@!!( !`!<```!213H@0GET97,@86YD
M('-T=69F+BXN`!T'`06 `P`.````S0<)``,`"@`R`#4``P!4`0$@@ ,`#@``
M`,T'"0`#``H`%0`!``,``P$!"8 !`"$````T-S(Y04,U-#0T,C1$,3$Q.#E$
M1# P-C X0S<Y140Y-P`+!P$#D 8`- <``!(````+`",```````,`)@``````
M"P`I```````#`#8``````$ `.0`@2IOLD;B\`1X`< `!````%P```%)%.B!"
M>71E<R!A;F0@<W1U9F8N+BX```(!<0`!````%@````&\N)'LDE2L*4@D1!'1
MB=T`8(QY[9<``!X`'@P!````!0```%--5% `````'@`?# $````2````:V5L
M=FEN0'%A;G1E;"YC;VT````#``80D.C7(@,`!Q#C! ``'@`($ $```!E````
M4D].3EE204Y%4E50*%)/3DY90$%825-#3TTI5U)/5$4Z4U151D9$14Q%5$5$
M24I54U1'3U1!3D%,4$A!4$,Q-C1,6"PU,S--2%I33$E#2TU!0TA)3D545TE#
M14%31D%35$%300`````"`0D0`0```+D%``"U!0``"@L``$Q:1G7Z9R2B_P`*
M`0\"%0*H!>L"@P!0`O()`@!C: K <V5T,C<&``;#`H,R`\4"`'!R0G$1XG-T
M96T"@S.W`N0'$P*#-!+,%,5]"H _",\)V0* "H$-L0M@;F<8,3 S%% +`VQI
M,>0T- +1:2T:,PS0&C-S"U458C$X"J #8!/08^,%0 @`;FYY!_ `< 20E'5P
M&VUC#> @*!MO1QQT`V <\4!A> 0`+HT%H&T=KQZP*2!W'&*>.A[O''0*CR,_
M("XF@*LA/QZP(!/ =0W0( VP;FP1P F )%4^)1\<=$E((&IU$\ @9QQP(!$#
MD4%L<!& 4$,@`#$V-$Q8+" U81F036AZ+@8`&A!C5&L@`,%H"X!E)H$@LE0#
M\&-E*U $(&8N<'LK000@821()M\I/QQE4&A04D\B<&@)\"! =4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0_RQ@=)!_="1591-VP4;TB9/7?X1D8WPA22@P>0A@
M3</_6L1/@6:25J$#@2Y!1')_A/L7,(ZL*(/5.U!R#S]_>%_C*.\I^R=M(#L@
M4L$(<#]#@43Q*K!TTBU 3()#4/Y5; %;PA/ '7 <H'YR+I#_!;%;$BM06V,L
M8$K!EP]Q;_\;WC."=6 'D$P"AO6:L#9P_V,1FI!%H&P`6T +(%<D,X+7G;)>
M% # :P>18E01:X)?GO^@#U'O1% JL'<(8&Q]?7%II;!$,E[A1 `H,$1^12OP
MHB4O$3I `D!%L6K\;V)P3QOSEO\>.*.S*R'7C,%G%6MT**0!=AT0G?/_`X$%
M($<B;>$B8'^$,X%GB/\JH1& ;G%,$215AO$SXBY0_U9!DE*K,X>%CB$T8&0Q
M5U&P,RXP0JRV)%5+*&"J=EOA3#,0<U:A9"Q@TZ6PN/) <4WB;"#R)%\7E\^[
M(A;!`+V0`````P`0$ `````#`!$0`````$ `!S `3 C C;B\`4 `"# `3 C
:C;B\`1X`/0`!````!0```%)%.B `````HUH`
`
end
--
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] 9+ messages in thread[parent not found: <Pine.LNX.3.95.970904013004.27349A-100000@vb.franken.de>]
* Bytes and stuff...
@ 1997-09-03 15:34 Ronny Ranerup
1997-09-03 7:05 ` jestabro
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Ronny Ranerup @ 1997-09-03 15:34 UTC (permalink / raw)
Hi there,
the axp-list seems to have been down for almost a week. I just mailed
RedHat about it and half an hour later it was working again... Coincidence?
Well, onto the troubles,
I just got an AlphaPC 164LX, 533Mhz. Slick machine... Twice as fast as a
PPRO when running gcc and three times as fast running dhrystone (yes a silly
benchmark, I know). 530.57 BogoMips...
Anyway, we bought it to try it out as a server running our ASIC-simulators,
but of course we didn't get the kind of speed we wanted. In fact the first tests
showed it to be a tad slower than our PPROs. Sad. We knew beforehand that all
the byteaccesses in the simulator might mess up the Alpha and it seems we were
right. So we changed all bytes into ints and tried again. 20 percent faster, although
the code got half the size of the byteversion and even smaller than the PPRO one.
Cache trashing or something? I don't know quite what is happening.
I'm not sure but I think the CPU has instructions for byte access, but
gcc doesn't use them yet. I've heard that gcc for Alpha makes bad code
so I would like to see if DEC cc does a better job.
Could someone with DEC UNIX pick up http://www.axis.se/neteye/scripts/dectest.c
and run it through their cc (-S?) and mail me the assembler?
More questions... I seem to remember someone disabling the external
cache but cannot find any info about it. The external memory are 10ns
statics so it might be slower running through the 2meg cache.
Any experience with this?
Thanks,
/ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com
--
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] 9+ messages in thread* Re: Bytes and stuff...
1997-09-03 15:34 Ronny Ranerup
@ 1997-09-03 7:05 ` jestabro
1997-09-03 11:12 ` jestabro
1997-09-03 23:54 ` Volker Barthelmann
1997-09-03 15:46 ` Tom Linden
` (2 subsequent siblings)
3 siblings, 2 replies; 9+ messages in thread
From: jestabro @ 1997-09-03 7:05 UTC (permalink / raw)
>>> Ronny Ranerup said:
>
> the axp-list seems to have been down for almost a week. I just mailed
> RedHat about it and half an hour later it was working again... Coincidence?
I think I beat you to it by half an hour... :-)
> Cache trashing or something? I don't know quite what is happening.
Not likely; original Alpha CPUs had no byte/short operations; all byte
access is done with int/long ops to load into registers, and then byte
extract/insert ops as appropriate. Currently, GCC utilizes this scenario
even on CPUs which do support the byte/short load ops. V2.8 of GCC purports
to do this, but its not been seen publicly, AFAIK...
> More questions... I seem to remember someone disabling the external
> cache but cannot find any info about it. The external memory are 10ns
> statics so it might be slower running through the 2meg cache.
> Any experience with this?
On the MIATA (PWSa series), it's been observed for apps that create a lot
of memory<->PCI bus traffic that the cache *does* get in the way.
The LX Tech Ref Man at:
http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.ht
ml
says that there are jumpers that allow specifying 0Mb of Bcache, which would
prolly do what you want, but I don't know if its safe to do that when there
*is* cache installed. I'll find out and let the list know...
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
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] 9+ messages in thread* Re: Bytes and stuff...
1997-09-03 7:05 ` jestabro
@ 1997-09-03 11:12 ` jestabro
1997-09-03 23:54 ` Volker Barthelmann
1 sibling, 0 replies; 9+ messages in thread
From: jestabro @ 1997-09-03 11:12 UTC (permalink / raw)
Answering my previous posting...
>>> jestabro@amt.tay1.dec.com said:
>
> > More questions... I seem to remember someone disabling the external
> > cache but cannot find any info about it. The external memory are 10ns
> > statics so it might be slower running through the 2meg cache.
> > Any experience with this?
>
> On the MIATA (PWSa series), it's been observed for apps that create a lot
> of memory<->PCI bus traffic that the cache *does* get in the way.
> The LX Tech Ref Man at:
>
> http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html
>
> says that there are jumpers that allow specifying 0Mb of Bcache, which would
> prolly do what you want, but I don't know if its safe to do that when there
> *is* cache installed. I'll find out and let the list know...
The asnwer is YES, you can safely install the jumpers to configure for 0Mb of
Bcache.
Please refer to the above manual, Section 2.1, page 2-4, for the details.
Good luck; let us know what affect it has.
--Jay++
> ---------------------------------------------------------------------------
> ----
> American Non Sequitur Society: we don't make sense, but we do like pizza.
> ..
>
> Jay A Estabrook Alpha Migration Tools - LINUX Proje
> ct
> Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
> 151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
> Littleton, MA 01460-1407 decnet: tallis::jestabro
> ---------------------------------------------------------------------------
> ----
>
>
>
>
> --
> 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
>
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Migration Tools - LINUX Project
Digital Equipment Corp. (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2 enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407 decnet: tallis::jestabro
-------------------------------------------------------------------------------
--
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] 9+ messages in thread
* Re: Bytes and stuff...
1997-09-03 7:05 ` jestabro
1997-09-03 11:12 ` jestabro
@ 1997-09-03 23:54 ` Volker Barthelmann
1 sibling, 0 replies; 9+ messages in thread
From: Volker Barthelmann @ 1997-09-03 23:54 UTC (permalink / raw)
On Wed, 3 Sep 1997 jestabro@amt.tay1.dec.com wrote:
> Not likely; original Alpha CPUs had no byte/short operations; all byte
> access is done with int/long ops to load into registers, and then byte
> extract/insert ops as appropriate.
Is there a list what Alpha CPUs support which extensions?
I played around a bit retargetting a compiler to the Alpha and got a bit
confused. Neither the Architecture Handbook nor the Alpha compiler
cookbook seemed to be very clear about which instructions are only
available on certain CPUs.
I then tried the ldbu, ldwu instructions which seemed to work on my 21164.
However after a while I discovered that GNU as obviously treated them as
macros and generated a series of instructions using an additional
register. :-/
Also I tested some instructions which I had to convert to hex by hand
because GNU as didn't accept them.
Can I determine the available extensions with the amask-instruction?
GNU as says it's only supported on 21164A. The Architecture Handbook seems
unclear to me. It says on 21164 amask just copies and on 21164A, 21164PC
and 21264 it correctly indicates extensions. Does that mean the 21164 has
no extensions or does it mean that amask doesn't indicate them?
Volker
--
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] 9+ messages in thread
* Re: Bytes and stuff...
1997-09-03 15:34 Ronny Ranerup
1997-09-03 7:05 ` jestabro
@ 1997-09-03 15:46 ` Tom Linden
1997-09-03 16:57 ` Benoit E. Donnette
2017-09-03 16:56 ` Robert Lorenz
3 siblings, 0 replies; 9+ messages in thread
From: Tom Linden @ 1997-09-03 15:46 UTC (permalink / raw)
I had a discussion with some of the alpha cpu designers about
4 years ago, essentially criticizing them for omitting byte
and 16bit integer instructions ( c = a+ b; where all entities
are 16bit took 19 clock ticks) but it took the power of Oracle
to get 4 additional instructions into the set (sign extended moves)
because without these Oracle ran like Molasses.
You may wish to check that the compiler you are using supports
these instructions. In fact you should probably check that the
instructions are indeed supported by your cpu.
On Wed, 3 Sep 1997, Ronny Ranerup wrote:
>
> Hi there,
>
> the axp-list seems to have been down for almost a week. I just mailed
> RedHat about it and half an hour later it was working again... Coincidence?
>
> Well, onto the troubles,
>
> I just got an AlphaPC 164LX, 533Mhz. Slick machine... Twice as fast as a
> PPRO when running gcc and three times as fast running dhrystone (yes a silly
> benchmark, I know). 530.57 BogoMips...
>
> Anyway, we bought it to try it out as a server running our ASIC-simulators,
> but of course we didn't get the kind of speed we wanted. In fact the first tests
> showed it to be a tad slower than our PPROs. Sad. We knew beforehand that all
> the byteaccesses in the simulator might mess up the Alpha and it seems we were
> right. So we changed all bytes into ints and tried again. 20 percent faster, although
> the code got half the size of the byteversion and even smaller than the PPRO one.
> Cache trashing or something? I don't know quite what is happening.
>
> I'm not sure but I think the CPU has instructions for byte access, but
> gcc doesn't use them yet. I've heard that gcc for Alpha makes bad code
> so I would like to see if DEC cc does a better job.
>
> Could someone with DEC UNIX pick up http://www.axis.se/neteye/scripts/dectest.c
> and run it through their cc (-S?) and mail me the assembler?
>
> More questions... I seem to remember someone disabling the external
> cache but cannot find any info about it. The external memory are 10ns
> statics so it might be slower running through the 2meg cache.
> Any experience with this?
>
> Thanks,
>
> /ronny@axis.com/Ronny Ranerup/Axis Communications AB/http://www.axis.com
>
> --
> 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
>
>
--
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] 9+ messages in thread
* Re: Bytes and stuff...
1997-09-03 15:34 Ronny Ranerup
1997-09-03 7:05 ` jestabro
1997-09-03 15:46 ` Tom Linden
@ 1997-09-03 16:57 ` Benoit E. Donnette
2017-09-03 16:56 ` Robert Lorenz
3 siblings, 0 replies; 9+ messages in thread
From: Benoit E. Donnette @ 1997-09-03 16:57 UTC (permalink / raw)
On Wed, 3 Sep 1997, Ronny Ranerup wrote:
|
| Hi there,
|
[Stuff deleted]
|
| I'm not sure but I think the CPU has instructions for byte access, but
| gcc doesn't use them yet. I've heard that gcc for Alpha makes bad code
| so I would like to see if DEC cc does a better job.
If it is actually the case (I only own a 21066 on which these instructions
aren't fitte), then it is possible to write loads/stores right in assembly
in C++ code.
| More questions... I seem to remember someone disabling the external
| cache but cannot find any info about it. The external memory are 10ns
| statics so it might be slower running through the 2meg cache.
| Any experience with this?
I beleive I heard about it but I cannot say for sure.
Anyway why not trying tu use 64-bits things?
Benoit.
--
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] 9+ messages in thread
* Re: Bytes and stuff...
1997-09-03 15:34 Ronny Ranerup
` (2 preceding siblings ...)
1997-09-03 16:57 ` Benoit E. Donnette
@ 2017-09-03 16:56 ` Robert Lorenz
3 siblings, 0 replies; 9+ messages in thread
From: Robert Lorenz @ 2017-09-03 16:56 UTC (permalink / raw)
Hi I just joined the mailing-list
but ....
>
> Hi there,
>
> I just got an AlphaPC 164LX, 533Mhz. Slick machine... Twice as fast as a
> PPRO when running gcc and three times as fast running dhrystone (yes a silly
> benchmark, I know). 530.57 BogoMips...
Similar to our experiences, we bought a 500MHz with 1MB 3rd Cache
>
> ...
> right. So we changed all bytes into ints and tried again. 20 percent faster, although
> the code got half the size of the byteversion and even smaller than the PPRO one.
> Cache trashing or something? I don't know quite what is happening.
>
We use a very floating-point intensive code (number-crunching) and the box is really
fast - about 7 times faster than a PPro and twice as fast as a RS6000/3BT
But ... - I am using the DEC-f90 compile and link static (really works fine), including
some small c-routines
> More questions... I seem to remember someone disabling the external
> cache but cannot find any info about it. The external memory are 10ns
> statics so it might be slower running through the 2meg cache.
> Any experience with this?
Got a 2MB and a 4MB 3rd Cache box for testing - and nearly no speed changes,
so I will try the tests with a more memory intensive job.
Or (are there any problems with 3rd level cache ?)
---------------------------------------------------------------------------
Lorenz | Technische Universitaet | Institut fuer | Tel 58801/5677
Robert | Wien - Austria - | Theoretische Physik |
| | |
email : lorenz@tph.tuwien.ac.at | |
---------------------------------------------------------------------------
--
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] 9+ messages in thread
end of thread, other threads:[~2017-09-03 16:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-03 17:50 Bytes and stuff Kelvin Lunsford
[not found] <Pine.LNX.3.95.970904013004.27349A-100000@vb.franken.de>
1997-09-04 22:03 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1997-09-03 15:34 Ronny Ranerup
1997-09-03 7:05 ` jestabro
1997-09-03 11:12 ` jestabro
1997-09-03 23:54 ` Volker Barthelmann
1997-09-03 15:46 ` Tom Linden
1997-09-03 16:57 ` Benoit E. Donnette
2017-09-03 16:56 ` Robert Lorenz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox