* Performance....
@ 2000-04-25 4:00 Mathieu Chauvel
2000-04-25 4:00 ` Performance Andrei A. Dergatchev
0 siblings, 1 reply; 10+ messages in thread
From: Mathieu Chauvel @ 2000-04-25 4:00 UTC (permalink / raw)
Hello everybody...
I've a 164SX with one 21164PC 533MHz....
I've try to complete some test of performance and I'm very disapointed,
because, my old Pentium II 350MHz is more powerful... (incredible) no ???
to perform my test I'v used some test under Linux under the both computer...
and with dnetc from ditributed.net...
Result :
P2 : 978506 key/s
Alpha : 863256 key/s
Dingue non ???
Ok I've compile my kernel too on the both computer, and here the alpha is
first but with one minute less....
If some body knows something, give me information....
Thanks...
Mathieu
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Performance....
2000-04-25 4:00 Performance Mathieu Chauvel
@ 2000-04-25 4:00 ` Andrei A. Dergatchev
2000-04-25 4:00 ` Performance bmeyer
0 siblings, 1 reply; 10+ messages in thread
From: Andrei A. Dergatchev @ 2000-04-25 4:00 UTC (permalink / raw)
Hi !
>Hello everybody...
>
>I've a 164SX with one 21164PC 533MHz....
>
>I've try to complete some test of performance and I'm very disapointed,
>because, my old Pentium II 350MHz is more powerful... (incredible) no ???
Hehe, exactly the same as a combo I have here.
>
>to perform my test I'v used some test under Linux under the both computer...
>and with dnetc from ditributed.net...
>Result :
>P2 : 978506 key/s
>Alpha : 863256 key/s
>
>Dingue non ???
>
>Ok I've compile my kernel too on the both computer, and here the alpha is
>first but with one minute less....
>
>If some body knows something, give me information....
Kernel is important, but the most important thing to watch out
for Alpha executables is - which compiler was used ?? I vaguely
remeber that distributed.net Alpha client was not compiled using
the best compiler available for Alpha - Compaq C.
Generally speaking, you need to realize that Alpha and Pentium
are *different* chips :-) and so what matters a lot is if their
specific strong points (e.g. available instructions such as MVI
for our SX) were used during implementation of that particular
algorithm or not. There are many compilers out here which are
optimized to take into account only Pentium's specific details
and almost ignore the rest of CPUs.
Besides, the Alpha is better in fp. Crypto applications are almost
100% integer applications, where the difference comparing with
other CPUs is smaller.
Another issue to consider is - if Alpha's 64-bitness (registers) is
used in dnetc client or not.
>
>Thanks...
>
> Mathieu
>
>
>
Rgds,
Andrei
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance....
2000-04-25 4:00 ` Performance Andrei A. Dergatchev
@ 2000-04-25 4:00 ` bmeyer
2000-04-25 4:00 ` Performance Andrei A. Dergatchev
0 siblings, 1 reply; 10+ messages in thread
From: bmeyer @ 2000-04-25 4:00 UTC (permalink / raw)
A.Dergatchev@tn.utwente.nl (Andrei A. Dergatchev) writes:
>>to perform my test I'v used some test under Linux under the both computer...
>>and with dnetc from ditributed.net...
>>Result :
>>P2 : 978506 key/s
>>Alpha : 863256 key/s
>Kernel is important, but the most important thing to watch out
>for Alpha executables is - which compiler was used ?? I vaguely
>remeber that distributed.net Alpha client was not compiled using
>the best compiler available for Alpha - Compaq C.
Well, that's _usually_ the correct answer, but not in this case.
Both the x86 and the linux/AXP RC5 executable from distributed.net
have their main routine implemented in severely hand-optimized assembler,
with every dirty trick in the book, and counting every clock cycle. Both
cores pretty much keep all integer pipelines fully busy at all times (in
the case of the linux/AXP core, I can personally attest that the main loop
is about 10k of perfectly pairing, non-stalling integer instructions.
I wrote it ]or, more precisely, I wrote the program that outputted the
assembler code, and the program that did the reordering to get things to
this nice state] ;-).
The reason the Alpha's performance is disappointing in RC5 cracking compared
to x86 and PPC is simply that the Alpha has no "rotate" instruction, and
also that it is a 64 bit architecture. RC5 consists of lots of rotates
(which the Alpha has to make up from a shift, another shift, and an OR),
and adds (which are expected to be 32 bit unsigned --- a data type not
directly supported by the Alpha, and thus requiring a 64 bit add followed
by a masking operation). You can get rid of some of the extra instructions
by close analysis of which bits go where, but in the long run, you simply
need way more instructions to check a single key than on x86, 68k or PPC.
>Another issue to consider is - if Alpha's 64-bitness (registers) is
>used in dnetc client or not.
The 64 bit registers are actually a problem in RC5 --- RC5 is most definitely
a 32 bit algorithm.
However, if you go and benchmark the DES cores, you'll see the Alpha come
out far ahead (although the x86 core will use the 64 bit wide MMX registers
if they are available --- but has to pay by being restricted to the rather
limited set of MMX instructions).
Bernie
--
Friends applaud, the Comedy is over
Ludwig von Beethoven
German composer, 1770-1827
Last words, 26 March 1827
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance....
2000-04-25 4:00 ` Performance bmeyer
@ 2000-04-25 4:00 ` Andrei A. Dergatchev
2000-04-25 4:00 ` Performance bmeyer
0 siblings, 1 reply; 10+ messages in thread
From: Andrei A. Dergatchev @ 2000-04-25 4:00 UTC (permalink / raw)
[...]
Thanks for your detailed explanation !
Now I recall that I actually heard something about this problem
with rotate, just I manage to forget it laready :-(
>I wrote it ]or, more precisely, I wrote the program that outputted the
>assembler code, and the program that did the reordering to get things to
>this nice state] ;-).
Is such a nice program available somewhere ?
>
>The reason the Alpha's performance is disappointing in RC5 cracking compared
>to x86 and PPC is simply that the Alpha has no "rotate" instruction,
Well, this (RISC-imposed ?) situation sounds familiar to me - I
remember my disappointment when I first stumbled upon sqrt-
intensive code.
>
>The 64 bit registers are actually a problem in RC5 --- RC5 is most definitely
>a 32 bit algorithm.
>However, if you go and benchmark the DES cores, you'll see the Alpha come
>out far ahead (although the x86 core will use the 64 bit wide MMX registers
>if they are available --- but has to pay by being restricted to the rather
>limited set of MMX instructions).
Ah-ha, we're not always loosing :-) !!
>
>Bernie
>
>--
>Friends applaud, the Comedy is over
>Ludwig von Beethoven
>German composer, 1770-1827
>Last words, 26 March 1827
Regards,
Andrei
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance....
2000-04-25 4:00 ` Performance Andrei A. Dergatchev
@ 2000-04-25 4:00 ` bmeyer
0 siblings, 0 replies; 10+ messages in thread
From: bmeyer @ 2000-04-25 4:00 UTC (permalink / raw)
A.Dergatchev@tn.utwente.nl (Andrei A. Dergatchev) writes:
>>I wrote it [or, more precisely, I wrote the program that outputted the
>>assembler code, and the program that did the reordering to get things to
>>this nice state] ;-).
>Is such a nice program available somewhere ?
The answer to that would be the German "Jein" (a word made up from
combining "Ja" [yes] and "Nein" [no]).
If you want it, you can have it. I won't "release" it, because it is
a) Not fully debugged --- I *know* it fails on a lot of stuff, but
I debugged it to the point where it worked for everything *I* used.
b) A bit specialized --- it won't currently take symbolic names for registers,
and while I have a version which tries to handle FPU instructions, that
handling certainly isn't up to scratch
c) REALLY REALLY ugly code --- like so much code that started out as a quick
hack to solve a problem, and then grew, and grew, and grew some more,
without ever being designed
d) Limited to EV5 scheduling
e) Suboptimal --- it does a pretty good job at scheduling, but it sometimes
gets into a bit of a tangle due to the "thou shalt read thy memory one
cycle or three cycles after writing, but not two, lest thou shalt suffer
a heavy penalty" kind of rules, and produces code that takes longer to
execute than it should.
Now that I have thoroughly deterred you ;-), let me say this: If anybody
wants to hammer the whole thing into some presentable form (or even just
take it as a starting point, replacing each and every single line in what
amounts to a though-through rewrite) --- you are welcome! I just have
neither time nor motivation to actually do it properly right now.....
Bernie
--
The chief distinction of a diplomat is that he can say no in such
a way that it sounds like yes
Lester Pearson
Canadian Prime Minister 1963-68
^ permalink raw reply [flat|nested] 10+ messages in thread
* Performance
@ 2001-11-26 23:21 Mathieu Chauvel
2001-11-27 16:40 ` Performance Reinhard Eigner
0 siblings, 1 reply; 10+ messages in thread
From: Mathieu Chauvel @ 2001-11-26 23:21 UTC (permalink / raw)
Hello,
I would like to know how can I increase performance on my 164Sx @ 533 MHz
Because I find that is a little bit slow !!!!
Thanks
--
------------------------------
Mathieu Chauvel
mathieu@ddmc.dyndns.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance
2001-11-26 23:21 Performance Mathieu Chauvel
@ 2001-11-27 16:40 ` Reinhard Eigner
2001-11-27 22:23 ` Performance Mathieu Chauvel
0 siblings, 1 reply; 10+ messages in thread
From: Reinhard Eigner @ 2001-11-27 16:40 UTC (permalink / raw)
How much memory?
What kind of OS?
"Mathieu Chauvel" <mathieu@ddmc.dyndns.org> schrieb im Newsbeitrag
news:3c02cf56$0$32057$626a54ce@news.free.fr...
> Hello,
>
> I would like to know how can I increase performance on my 164Sx @ 533 MHz
>
> Because I find that is a little bit slow !!!!
>
> Thanks
>
> --
> ------------------------------
> Mathieu Chauvel
> mathieu@ddmc.dyndns.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance
2001-11-27 16:40 ` Performance Reinhard Eigner
@ 2001-11-27 22:23 ` Mathieu Chauvel
2001-11-28 1:25 ` Performance John Beardmore
0 siblings, 1 reply; 10+ messages in thread
From: Mathieu Chauvel @ 2001-11-27 22:23 UTC (permalink / raw)
Reinhard Eigner wrote:
> How much memory?
> What kind of OS?
Memory : 392 Mo
Os : Linux RedHat 6.1 (I cannot boot under 7.1 with SRM)
>
> "Mathieu Chauvel" <mathieu@ddmc.dyndns.org> schrieb im Newsbeitrag
> news:3c02cf56$0$32057$626a54ce@news.free.fr...
>> Hello,
>>
>> I would like to know how can I increase performance on my 164Sx @ 533 MHz
>>
>> Because I find that is a little bit slow !!!!
>>
>> Thanks
>>
>> --
>> ------------------------------
>> Mathieu Chauvel
>> mathieu@ddmc.dyndns.org
--
------------------------------
Mathieu Chauvel
mathieu@ddmc.dyndns.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance
2001-11-27 22:23 ` Performance Mathieu Chauvel
@ 2001-11-28 1:25 ` John Beardmore
2001-11-28 4:13 ` Performance Karl
0 siblings, 1 reply; 10+ messages in thread
From: John Beardmore @ 2001-11-28 1:25 UTC (permalink / raw)
In article <3c041340$0$194$626a54ce@news.free.fr>, Mathieu Chauvel
<mathieu@ddmc.dyndns.org> writes
>Reinhard Eigner wrote:
>
>> How much memory?
>> What kind of OS?
>
>Memory : 392 Mo
>Os : Linux RedHat 6.1 (I cannot boot under 7.1 with SRM)
Is that true for all SRMs with 7.1 ? Will it be true of 7.2 ?
Cheers, J/.
--
John Beardmore
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance
2001-11-28 1:25 ` Performance John Beardmore
@ 2001-11-28 4:13 ` Karl
0 siblings, 0 replies; 10+ messages in thread
From: Karl @ 2001-11-28 4:13 UTC (permalink / raw)
All,
I've got a similar problem (that I posted about a few days ago
w/ Subject: Failed Serial Install of RH7.1 (Seawolf) for Alpha
on EV6 SBC). An RH7.0 install works fine, but when I try a
RH7.1 install, the loading ends abruptly after starting on the
first install CD w/ a "kernel panic: Attempted to kill init!".
If anyone can provide details or a workaround, I'd be much
obliged. I even tried booting the 2.4 kernel that came with
the RH7.0 CD, but got the same result.
TIA.
Email response preferred.
Regards,
Karl
John Beardmore <wookie@wookie.demon.co.uk> wrote in
<P4o7722n0DB8Ewzi@wookie.demon.co.uk>:
>In article <3c041340$0$194$626a54ce@news.free.fr>, Mathieu Chauvel
><mathieu@ddmc.dyndns.org> writes
>>Reinhard Eigner wrote:
>>
>>> How much memory?
>>> What kind of OS?
>>
>>Memory : 392 Mo
>>Os : Linux RedHat 6.1 (I cannot boot under 7.1 with SRM)
>
>Is that true for all SRMs with 7.1 ? Will it be true of 7.2 ?
>
>
>Cheers, J/.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-11-28 4:13 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-25 4:00 Performance Mathieu Chauvel
2000-04-25 4:00 ` Performance Andrei A. Dergatchev
2000-04-25 4:00 ` Performance bmeyer
2000-04-25 4:00 ` Performance Andrei A. Dergatchev
2000-04-25 4:00 ` Performance bmeyer
-- strict thread matches above, loose matches on Subject: below --
2001-11-26 23:21 Performance Mathieu Chauvel
2001-11-27 16:40 ` Performance Reinhard Eigner
2001-11-27 22:23 ` Performance Mathieu Chauvel
2001-11-28 1:25 ` Performance John Beardmore
2001-11-28 4:13 ` Performance Karl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox