Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* rc5 cracking
@ 1997-09-03 17:47 chrismcc
  1997-09-03 18:54 ` Thomas Leitner
  1997-09-03 23:11 ` Christopher E. Brown
  0 siblings, 2 replies; 4+ messages in thread
From: chrismcc @ 1997-09-03 17:47 UTC (permalink / raw)


Hello....

I am participating in the  Bovine RC5 Cracking Effort (
http://rc5.distributed.net , team: linux@linuxnet.org ) .  After running
the client on several linux boxes ( 486/66 , P133 , PP200 , Alpha300 ) I
was disappointed in the alpha.  The alpha does 350K keys/sec where the
PP200 does 500K keys/sec.  The problem is probably the source code not
taking advantage of the alpha's fp routines/64 bit arch.

Is anyone else doing the rc5 thing?
Is someone capable of tweaking the source code to run better on the
alpha?

The speed comparisons are at http://www.alde.com/speed.html . You might
have to check it a couple of times as alde.com is missing a dns server.  

-- 

Christopher McCrory
Lead Bithead, Netus Inc.
chrismcc@netus.com
admin@netus.com

"Linux: Because rebooting is for adding new hardware"

--
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] 4+ messages in thread

* Re: rc5 cracking
  1997-09-03 17:47 rc5 cracking chrismcc
@ 1997-09-03 18:54 ` Thomas Leitner
  1997-09-03 20:15   ` Zach
  1997-09-03 23:11 ` Christopher E. Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Leitner @ 1997-09-03 18:54 UTC (permalink / raw)


On Wed, 3 Sep 1997, chrismcc wrote:

> I am participating in the  Bovine RC5 Cracking Effort (
> http://rc5.distributed.net , team: linux@linuxnet.org ) .  After running
> the client on several linux boxes ( 486/66 , P133 , PP200 , Alpha300 ) I
> was disappointed in the alpha.  The alpha does 350K keys/sec where the
> PP200 does 500K keys/sec.  The problem is probably the source code not
> taking advantage of the alpha's fp routines/64 bit arch.
> 
> Is anyone else doing the rc5 thing?
> Is someone capable of tweaking the source code to run better on the
> alpha?

Me! I'm participating in the Cyberian effort, though. (see:
http://www.rc5.cyberian.org). I'm running the RC5 client 
(among many others) on an  AlphaStation 500/500 and get about 550kKeys/s,
though. This is because: Cyberian have a much better RC5 implementation
and had a german computer scientist improve the code for several
RISC machines.

The major problem of the Alphas in contrast to the X86 breed, though
is that it does *not* have any ROLL instructions which are needed
for a fast RC5 implementation (at least for the cyberian algorithm).
So the ROLL instruction needs to be worked around on the Alpha.

I suggest you switch to cyberian to be faster :-)

Tom

--------------------------------------------------------------------------
T o m   L e i t n e r                       Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@finwds01.tu-graz.ac.at      Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

--
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] 4+ messages in thread

* Re: rc5 cracking
  1997-09-03 18:54 ` Thomas Leitner
@ 1997-09-03 20:15   ` Zach
  0 siblings, 0 replies; 4+ messages in thread
From: Zach @ 1997-09-03 20:15 UTC (permalink / raw)


On Wed, 3 Sep 1997, Thomas Leitner wrote:

> 
> On Wed, 3 Sep 1997, chrismcc wrote:
> 
> > I am participating in the  Bovine RC5 Cracking Effort (
> > http://rc5.distributed.net , team: linux@linuxnet.org ) .  After running
> > the client on several linux boxes ( 486/66 , P133 , PP200 , Alpha300 ) I
> > was disappointed in the alpha.  The alpha does 350K keys/sec where the
> > PP200 does 500K keys/sec.  The problem is probably the source code not
> > taking advantage of the alpha's fp routines/64 bit arch.
> > 
> > Is anyone else doing the rc5 thing?
> > Is someone capable of tweaking the source code to run better on the
> > alpha?
> 
> Me! I'm participating in the Cyberian effort, though. (see:
> http://www.rc5.cyberian.org). I'm running the RC5 client 
> (among many others) on an  AlphaStation 500/500 and get about 550kKeys/s,
> though. This is because: Cyberian have a much better RC5 implementation
> and had a german computer scientist improve the code for several
> RISC machines.

can't argue there.  the source i've seen is 32bit and gcc doesn't do well
with it at all.  in fact, it was just a c reimplementation of x86 assembly
:/  hows that for cheesy?  Its good to know that someone is actually
optimizing it finally.  any 32bit sparc ports?

> The major problem of the Alphas in contrast to the X86 breed, though
> is that it does *not* have any ROLL instructions which are needed
> for a fast RC5 implementation (at least for the cyberian algorithm).
> So the ROLL instruction needs to be worked around on the Alpha.

well, as rc5 does _lots_ of rotating, it kind of follows that a rotate
instruction would make for a faster implementatin :) 

> I suggest you switch to cyberian to be faster :-)

and hopefully they're less all around confused than the bovine guys :/  

z

--
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] 4+ messages in thread

* Re: rc5 cracking
  1997-09-03 17:47 rc5 cracking chrismcc
  1997-09-03 18:54 ` Thomas Leitner
@ 1997-09-03 23:11 ` Christopher E. Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Christopher E. Brown @ 1997-09-03 23:11 UTC (permalink / raw)


On Wed, 3 Sep 1997, chrismcc wrote:

> I am participating in the  Bovine RC5 Cracking Effort (
> http://rc5.distributed.net , team: linux@linuxnet.org ) .  After running
> the client on several linux boxes ( 486/66 , P133 , PP200 , Alpha300 ) I
> was disappointed in the alpha.  The alpha does 350K keys/sec where the
> PP200 does 500K keys/sec.  The problem is probably the source code not
> taking advantage of the alpha's fp routines/64 bit arch.
> 
> The speed comparisons are at http://www.alde.com/speed.html . You might
> have to check it a couple of times as alde.com is missing a dns server.  

	You really should ready all the info provided.  It seems that rc5
uses

	Ack, I was going to say that, but it seems the original info I
read on the Alpha clients is gone.  

	According to the original info posted rc5 (encrypting or
decrypting) uses the 'rotate left' instruction, one that is of course not
built into a RISC cpu and must be emulated.

----------------------------------------------------------------------------
 Christopher E. Brown (CB421)    <cbrown@alaska.net>        +(907) 357-5680

 We are Pentuim of Borg.  Division is futile.  You will be approximated.
----------------------------------------------------------------------------

--
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] 4+ messages in thread

end of thread, other threads:[~1997-09-03 23:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-03 17:47 rc5 cracking chrismcc
1997-09-03 18:54 ` Thomas Leitner
1997-09-03 20:15   ` Zach
1997-09-03 23:11 ` Christopher E. Brown

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