Re: RSA performance on Athlon64 vs. Itanium

2003-10-23 Thread Peter Gutmann
"J.A. Terranson" <[EMAIL PROTECTED]> writes:
>On Sun, 12 Oct 2003, Lucky Green wrote:
>> I just picked up an Athlon64 3200+, which runs at a 2 GHz clock speed.
>> Using the Red Hat for AMD64 beta and the version of OpenSSL that ships
>> with that beta, I get 922 1024-bit RSA signs per second. This is a tad
>> less RSA signatures per second than I have seen on an 800MHz Itanium
>> using highly optimized assembler. That's rather poor performance on the
>> Athlon64.
>>
>> Are the figures that I am seeing typical for OpenSSL on the Athlon64?
>> Has anybody here seen different figures using optimized code?
>
>Was there ever a reply to this?  If so, could someone forward it to me off-
>list, as I missed it :-(

The reply, sent off-list, was something like "You're running x86-32 code on an
x86-64 CPU in emulation mode, what do you expect?" :-).  In addition the
Itanium RSA demo code works by turning the CPU into a $1000 ASIC, so you'd
need to test it for SSL handshakes per second or something similar where the
CPU has to do some other work besides RSA crypto ops.

Peter.



RE: RSA performance on Athlon64 vs. Itanium

2003-10-23 Thread Peter Gutmann
"Lucky Green" <[EMAIL PROTECTED]> writes:

>I since ran additional tests. All tests are for 1024-bit RSA signatures.

Taking some guesses here at the code being used:

>1) OpenSSL as shipping with the RedHat Taroon beta for Athlon 64:
>
>921 RSA signatures/second

x86-32 hand-tuned asm optimised for Pentium Pro.

>2) OpenSSL compiled manually:
>
>1313 RSA signatures/second

x86-64 code, gcc optimised for Athlon64.

>3) Performance benchmark application made available to reviewers:
>
>Exceeding 3800 RSA signatures/second.

x86-64 hand-tuned asm optimised for Athlon64.  I'm guessing this one has the
same catch as the Itanium speed test.

>I am getting ready to buy a second one to upgrade my other box at home.

My PoS hardware test PC and a $25 Broadcom chip beats your Athlon 64 :-).

Peter.



RE: RSA performance on Athlon64 vs. Itanium

2003-10-23 Thread Lucky Green
> -Original Message-
> From: J.A. Terranson [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 22, 2003 18:46
> To: Lucky Green
> Cc: [EMAIL PROTECTED]
> Subject: Re: RSA performance on Athlon64 vs. Itanium
> 
> 
> 
> On Sun, 12 Oct 2003, Lucky Green wrote:
> 
> > I just picked up an Athlon64 3200+, which runs at a 2 GHz 
> clock speed. 
> > Using the Red Hat for AMD64 beta and the version of OpenSSL 
> that ships 
> > with that beta, I get 922 1024-bit RSA signs per second. 
> This is a tad 
> > less RSA signatures per second than I have seen on an 
> 800MHz Itanium 
> > using highly optimized assembler. That's rather poor performance on 
> > the Athlon64.
> > 
> > Are the figures that I am seeing typical for OpenSSL on the 
> Athlon64? 
> > Has anybody here seen different figures using optimized code?
> > 
> > Thanks,
> > --Lucky Green
> 
> Was there ever a reply to this?  If so, could someone forward 
> it to me off-list, as I missed it :-(

J.A.,
I since ran additional tests. All tests are for 1024-bit RSA signatures.

1) OpenSSL as shipping with the RedHat Taroon beta for Athlon 64:

921 RSA signatures/second

2) OpenSSL compiled manually:

1313 RSA signatures/second

3) Performance benchmark application made available to reviewers:

Exceeding 3800 RSA signatures/second.

Reading various gamer and over clocker websites, the Athlon 64 general
performance is testing at about par with the Intel P4 3.2GHz, faster in
some tests, slower in others. With the Athlon 64 being the slightly less
expensive CPU based on the prices I have seen around here. You basically
get a 64-bit CPU for the price of a 32-bit CPU.

The CPU seems to be catching on amongst the early adopter crowd. A
friend just bought one for 32-bit gaming and is very pleased.

Motherboards for the Athlon 64 are appearing rapidly. Two weeks ago,
Fry's stocked one Athlon 64 motherboard. Today, Fry's had 3 of them.

Looks like AMD may have some done something right with this CPU. I am
getting ready to buy a second one to upgrade my other box at home.

--Lucky Green



Re: RSA performance on Athlon64 vs. Itanium

2003-10-22 Thread J.A. Terranson
On Sun, 12 Oct 2003, Lucky Green wrote:

> I just picked up an Athlon64 3200+, which runs at a 2 GHz clock speed.
> Using the Red Hat for AMD64 beta and the version of OpenSSL that ships
> with that beta, I get 922 1024-bit RSA signs per second. This is a tad
> less RSA signatures per second than I have seen on an 800MHz Itanium
> using highly optimized assembler. That's rather poor performance on the
> Athlon64.
> 
> Are the figures that I am seeing typical for OpenSSL on the Athlon64?
> Has anybody here seen different figures using optimized code?
> 
> Thanks,
> --Lucky Green

Was there ever a reply to this?  If so, could someone forward it to me
off-list, as I missed it :-(

Thanks!

-- 
Yours, 
J.A. Terranson
[EMAIL PROTECTED]

"Every living thing dies alone."
Donnie Darko