Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron...
@ 2003-04-03  8:29  DiskMan
  2003-04-03 18:33 ` Hey Måns, " Falk Hueffner
  2003-04-04  0:05 ` OpenSSL RSA speed test Måns Rullgård
  0 siblings, 2 replies; 20+ messages in thread
From:  DiskMan @ 2003-04-03  8:29 UTC (permalink / raw)


Well I was looking for some information regarding the soon to be released
AMD Opteron (rel. 04/22/03) and I stumbled up on some comparisons and
decided to 'join in the mix'. The first time I ran the Openssl test, the
results were DISMAL! It was actually slightly slower than the Celery 400mhz
but after recompiling and optimizing, I damn near doubled the speed [;-)
You're notice, the larger the key, the more of a speed difference there is.
I assume this is due to the large caches the Alpha runs...

http://www.hwextreme.com/reviews/processor/opteron/page2.shtml

Intel Celeron 400mhz
                      Signs/s    Verifies/s
rsa  512bits    235.5      3127.0
rsa 1024 bits    52.1      1092.6
rsa 2048 bits      9.2        318.4
rsa 4096 bits      1.4          86.4

Dec AlphaPC533sx
                      Sign/s     Verify/s
rsa  512 bits   375.5      4327.7
rsa 1024 bits  108.6      1945.0
rsa 2048 bits    19.3        640.9
rsa 4096 bits     3.0         195.1

AMD Opteron 797.7mhz
                      Signs/s    Verifies/s
Rsa 512  bits  965.9      12211.9
Rsa 1024 bits  205.0       3980.0
Rsa 2048 bits   33.0       1093.3
Rsa 4096 bits     4.7         288.5




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Hey Måns, Heres a Speed Comparison Between Alpha, AMD, Celeron...
  2003-04-03  8:29 Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron  DiskMan
@ 2003-04-03 18:33 ` Falk Hueffner
  2003-04-03 22:34   ` Hey M�ns, "  DiskMan
                     ` (2 more replies)
  2003-04-04  0:05 ` OpenSSL RSA speed test Måns Rullgård
  1 sibling, 3 replies; 20+ messages in thread
From: Falk Hueffner @ 2003-04-03 18:33 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> Well I was looking for some information regarding the soon to be
> released AMD Opteron (rel. 04/22/03) and I stumbled up on some
> comparisons and decided to 'join in the mix'. The first time I ran
> the Openssl test, the results were DISMAL! It was actually slightly
> slower than the Celery 400mhz but after recompiling and optimizing,
> I damn near doubled the speed [;-) You're notice, the larger the
> key, the more of a speed difference there is.  I assume this is due
> to the large caches the Alpha runs...
> 
> http://www.hwextreme.com/reviews/processor/opteron/page2.shtml
> 
> Intel Celeron 400mhz
>                       Signs/s    Verifies/s
> rsa  512bits    235.5      3127.0
> rsa 1024 bits    52.1      1092.6
> rsa 2048 bits      9.2        318.4
> rsa 4096 bits      1.4          86.4
> 
> Dec AlphaPC533sx
>                       Sign/s     Verify/s
> rsa  512 bits   375.5      4327.7
> rsa 1024 bits  108.6      1945.0
> rsa 2048 bits    19.3        640.9
> rsa 4096 bits     3.0         195.1
> 
> AMD Opteron 797.7mhz
>                       Signs/s    Verifies/s
> Rsa 512  bits  965.9      12211.9
> Rsa 1024 bits  205.0       3980.0
> Rsa 2048 bits   33.0       1093.3
> Rsa 4096 bits     4.7         288.5

Just for fun, here's the result for an 796 MHz EV68AL:

                sign/s verify/s
rsa  512 bits   1459.5  19026.8
rsa 1024 bits    422.8   8167.5
rsa 2048 bits     81.1   2855.7
rsa 4096 bits     13.1    850.4

A system released two years ago or so, and still *way* faster than an
Opteron... oh well.

-- 
	Falk


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Hey M�ns, Heres a Speed Comparison Between  Alpha, AMD, Celeron...
  2003-04-03 18:33 ` Hey Måns, " Falk Hueffner
@ 2003-04-03 22:34   `  DiskMan
  2003-04-03 22:49     ` Hey Måns, " Falk Hueffner
  2003-04-03 22:56   ` Just ran the 'test' on my AMD 1.47 (oc'd 1.55)  DiskMan
  2003-04-09 14:59   ` Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron Matt Simis
  2 siblings, 1 reply; 20+ messages in thread
From:  DiskMan @ 2003-04-03 22:34 UTC (permalink / raw)


JEZ!!! What model do you happen to have??? Will L G


PS <EVERYONE>If anyone out else out there wants to, how about posting your
scores so we can all compare and have a rough idea on speed/cpu
differences.... what does everybody say to that?

"Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de> wrote in message
news:87vfxvbfdv.fsf@student.uni-tuebingen.de...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > Well I was looking for some information regarding the soon to be
> > released AMD Opteron (rel. 04/22/03) and I stumbled up on some
> > comparisons and decided to 'join in the mix'. The first time I ran
> > the Openssl test, the results were DISMAL! It was actually slightly
> > slower than the Celery 400mhz but after recompiling and optimizing,
> > I damn near doubled the speed [;-) You're notice, the larger the
> > key, the more of a speed difference there is.  I assume this is due
> > to the large caches the Alpha runs...
> >
> > http://www.hwextreme.com/reviews/processor/opteron/page2.shtml
> >
> > Intel Celeron 400mhz
> >                       Signs/s    Verifies/s
> > rsa  512bits    235.5      3127.0
> > rsa 1024 bits    52.1      1092.6
> > rsa 2048 bits      9.2        318.4
> > rsa 4096 bits      1.4          86.4
> >
> > Dec AlphaPC533sx
> >                       Sign/s     Verify/s
> > rsa  512 bits   375.5      4327.7
> > rsa 1024 bits  108.6      1945.0
> > rsa 2048 bits    19.3        640.9
> > rsa 4096 bits     3.0         195.1
> >
> > AMD Opteron 797.7mhz
> >                       Signs/s    Verifies/s
> > Rsa 512  bits  965.9      12211.9
> > Rsa 1024 bits  205.0       3980.0
> > Rsa 2048 bits   33.0       1093.3
> > Rsa 4096 bits     4.7         288.5
>
> Just for fun, here's the result for an 796 MHz EV68AL:
>
>                 sign/s verify/s
> rsa  512 bits   1459.5  19026.8
> rsa 1024 bits    422.8   8167.5
> rsa 2048 bits     81.1   2855.7
> rsa 4096 bits     13.1    850.4
>
> A system released two years ago or so, and still *way* faster than an
> Opteron... oh well.
>
> -- 
> Falk




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Hey Måns, Heres a Speed Comparison Between  Alpha, AMD, Celeron...
  2003-04-03 22:34   ` Hey M�ns, "  DiskMan
@ 2003-04-03 22:49     ` Falk Hueffner
  2003-04-03 23:00       ` Hey M�ns, "  DiskMan
  0 siblings, 1 reply; 20+ messages in thread
From: Falk Hueffner @ 2003-04-03 22:49 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> JEZ!!! What model do you happen to have??? Will L G

UP1500 with 4M cache. libssl was compiled with -mcpu=ev67 (otherwise,
it's a lot slower).

> > Just for fun, here's the result for an 796 MHz EV68AL:
> >
> >                 sign/s verify/s
> > rsa  512 bits   1459.5  19026.8
> > rsa 1024 bits    422.8   8167.5
> > rsa 2048 bits     81.1   2855.7
> > rsa 4096 bits     13.1    850.4

-- 
	Falk


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Just ran the 'test' on my AMD 1.47 (oc'd 1.55)
  2003-04-03 18:33 ` Hey Måns, " Falk Hueffner
  2003-04-03 22:34   ` Hey M�ns, "  DiskMan
@ 2003-04-03 22:56   `  DiskMan
  2003-04-07 20:15     ` peter.watkinson1
  2003-04-09 14:59   ` Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron Matt Simis
  2 siblings, 1 reply; 20+ messages in thread
From:  DiskMan @ 2003-04-03 22:56 UTC (permalink / raw)


This is what I got under Windows:
                      sign/s     verify/s
rsa  512 bits   1293.0  13529.8
rsa 1024 bits    268.7    4934.9
rsa 2048 bits      45.6    1541.6
rsa 4096 bits        6.8      448.0

I can't believe it, I figured an Opteron would have kicked my behind but it
doesn't look that way. Your EV68 pretty much got me whipped but I'm gaining
on ya [;-)

"Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de> wrote in message
news:87vfxvbfdv.fsf@student.uni-tuebingen.de...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > Well I was looking for some information regarding the soon to be
> > released AMD Opteron (rel. 04/22/03) and I stumbled up on some
> > comparisons and decided to 'join in the mix'. The first time I ran
> > the Openssl test, the results were DISMAL! It was actually slightly
> > slower than the Celery 400mhz but after recompiling and optimizing,
> > I damn near doubled the speed [;-) You're notice, the larger the
> > key, the more of a speed difference there is.  I assume this is due
> > to the large caches the Alpha runs...
> >
> > http://www.hwextreme.com/reviews/processor/opteron/page2.shtml
> >
> > Intel Celeron 400mhz
> >                       Signs/s    Verifies/s
> > rsa  512bits    235.5      3127.0
> > rsa 1024 bits    52.1      1092.6
> > rsa 2048 bits      9.2        318.4
> > rsa 4096 bits      1.4          86.4
> >
> > Dec AlphaPC533sx
> >                       Sign/s     Verify/s
> > rsa  512 bits   375.5      4327.7
> > rsa 1024 bits  108.6      1945.0
> > rsa 2048 bits    19.3        640.9
> > rsa 4096 bits     3.0         195.1
> >
> > AMD Opteron 797.7mhz
> >                       Signs/s    Verifies/s
> > Rsa 512  bits  965.9      12211.9
> > Rsa 1024 bits  205.0       3980.0
> > Rsa 2048 bits   33.0       1093.3
> > Rsa 4096 bits     4.7         288.5
>
> Just for fun, here's the result for an 796 MHz EV68AL:
>
>                 sign/s verify/s
> rsa  512 bits   1459.5  19026.8
> rsa 1024 bits    422.8   8167.5
> rsa 2048 bits     81.1   2855.7
> rsa 4096 bits     13.1    850.4
>
> A system released two years ago or so, and still *way* faster than an
> Opteron... oh well.
>
> -- 
> Falk




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Hey M�ns, Heres a Speed Comparison Between   Alpha, AMD, Celeron...
  2003-04-03 22:49     ` Hey Måns, " Falk Hueffner
@ 2003-04-03 23:00       `  DiskMan
  2003-04-03 23:43         ` Hey Måns, " Måns Rullgård
  0 siblings, 1 reply; 20+ messages in thread
From:  DiskMan @ 2003-04-03 23:00 UTC (permalink / raw)


I was wondering, whats the difference between "-mcpu=pca56"  and "-arch
pca56"? Is there any difference or is it two different ways to do the same
thing?

I'm experimenting with different optimizing switchs/args, that was the
reason I was asking... TIA, Will L G

"Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de> wrote in message
news:87wuib9ox4.fsf@student.uni-tuebingen.de...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > JEZ!!! What model do you happen to have??? Will L G
>
> UP1500 with 4M cache. libssl was compiled with -mcpu=ev67 (otherwise,
> it's a lot slower).
>
> > > Just for fun, here's the result for an 796 MHz EV68AL:
> > >
> > >                 sign/s verify/s
> > > rsa  512 bits   1459.5  19026.8
> > > rsa 1024 bits    422.8   8167.5
> > > rsa 2048 bits     81.1   2855.7
> > > rsa 4096 bits     13.1    850.4
>
> -- 
> Falk




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Hey Måns, Heres a Speed Comparison Between   Alpha, AMD, Celeron...
  2003-04-03 23:00       ` Hey M�ns, "  DiskMan
@ 2003-04-03 23:43         ` Måns Rullgård
  0 siblings, 0 replies; 20+ messages in thread
From: Måns Rullgård @ 2003-04-03 23:43 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I was wondering, whats the difference between "-mcpu=pca56"  and "-arch
> pca56"? Is there any difference or is it two different ways to do the same
> thing?

There isn't a -march flag for Alpha.  However, there is a -mtune flag.
Its effect is to schedule the instructions for optimal execution on
the given cpu type.  The instruction set used is not changed.  Setting
-mcpu will choose the best instruction set available on the Alpha
variant chosen, and also schedule for that cpu, unless -mtune is also
specified.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 20+ messages in thread

* OpenSSL RSA speed test
  2003-04-03  8:29 Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron  DiskMan
  2003-04-03 18:33 ` Hey Måns, " Falk Hueffner
@ 2003-04-04  0:05 ` Måns Rullgård
  2003-04-04 13:19   ` Falk Hueffner
  2003-04-05  6:59   ` Rob B
  1 sibling, 2 replies; 20+ messages in thread
From: Måns Rullgård @ 2003-04-04  0:05 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> Well I was looking for some information regarding the soon to be released
> AMD Opteron (rel. 04/22/03) and I stumbled up on some comparisons and
> decided to 'join in the mix'. The first time I ran the Openssl test, the
> results were DISMAL! It was actually slightly slower than the Celery 400mhz
> but after recompiling and optimizing, I damn near doubled the speed [;-)
> You're notice, the larger the key, the more of a speed difference there is.
> I assume this is due to the large caches the Alpha runs...

Could you give the compiler and flags used to compile openssl?

Here are my results on sx164 @ 533 MHz:

OpenSSL 0.9.6g 9 Aug 2002
compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -mcpu=ev56 -O3 -DL_ENDIAN -DTERMIO
                sign/s verify/s
rsa  512 bits    337.9   4365.4
rsa 1024 bits     81.9   1691.7
rsa 2048 bits     15.3    548.0
rsa 4096 bits      2.4    153.9

OpenSSL 0.9.7a Feb 19 2003
compiler: ccc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -fast -readonly_strings -DL_ENDIAN -DTERMIO
available timing options: TIMES TIMEB HZ=1024 [sysconf value]
timing function used: times
                sign/s verify/s
rsa  512 bits    320.2   4075.8
rsa 1024 bits     99.8   1792.1
rsa 2048 bits     18.0    629.4
rsa 4096 bits      3.0    191.7

It's odd that the 512-bit test runs slower when compiled with ccc, but
the rest are 20% faster.

As comparison I ran it on a dual p4 xeon @2.4 GHz:

OpenSSL 0.9.7 31 Dec 2002
compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -mcpu=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
                sign/s verify/s
rsa  512 bits   1002.3  10307.1
rsa 1024 bits    195.5   3492.0
rsa 2048 bits     31.2   1052.4
rsa 4096 bits      4.6    298.6

That's only 1.5 times faster than the sx164 at 4.5 times faster clock.

And here's p3 @600 MHz:

OpenSSL 0.9.7 31 Dec 2002
compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -mcpu=pentium -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0023s   0.0002s    432.6   4369.4
rsa 1024 bits   0.0115s   0.0006s     86.9   1596.0
rsa 2048 bits   0.0686s   0.0020s     14.6    488.8
rsa 4096 bits   0.4591s   0.0071s      2.2    141.7


-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-04  0:05 ` OpenSSL RSA speed test Måns Rullgård
@ 2003-04-04 13:19   ` Falk Hueffner
  2003-04-05  6:59   ` Rob B
  1 sibling, 0 replies; 20+ messages in thread
From: Falk Hueffner @ 2003-04-04 13:19 UTC (permalink / raw)


mru@users.sourceforge.net (M�ns Rullg�rd) writes:

> It's odd that the 512-bit test runs slower when compiled with ccc,
> but the rest are 20% faster.

That's probably because of prefetches; gcc doesn't emit prefetches
unless forced with -fprefetch-loop-arrays. (I seem to recall it didn't
help when I tried it on openssl on ev6, though)

-- 
	Falk


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-04  0:05 ` OpenSSL RSA speed test Måns Rullgård
  2003-04-04 13:19   ` Falk Hueffner
@ 2003-04-05  6:59   ` Rob B
  2003-04-05  8:47     ` Måns Rullgård
  2003-04-07 21:29     ` Måns Rullgård
  1 sibling, 2 replies; 20+ messages in thread
From: Rob B @ 2003-04-05  6:59 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2982 bytes --]

mru@users.sourceforge.net (M�ns Rullg�rd) wrote in
news:yw1xsmszdt4g.fsf@zaphod.guide: 

> Here are my results on sx164 @ 533 MHz:
> 
> OpenSSL 0.9.6g 9 Aug 2002
> compiler: gcc -fPIC -DTHREADS -D_REENTRANT -DDSO_DLFCN
> -DHAVE_DLFCN_H -mcpu=ev56 -O3 -DL_ENDIAN -DTERMIO 
>                 sign/s verify/s
> rsa  512 bits    337.9   4365.4
> rsa 1024 bits     81.9   1691.7
> rsa 2048 bits     15.3    548.0
> rsa 4096 bits      2.4    153.9
> 
> OpenSSL 0.9.7a Feb 19 2003
> compiler: ccc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
> -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -fast -readonly_strings
> -DL_ENDIAN -DTERMIO available timing options: TIMES TIMEB HZ=1024
> [sysconf value] timing function used: times
>                 sign/s verify/s
> rsa  512 bits    320.2   4075.8
> rsa 1024 bits     99.8   1792.1
> rsa 2048 bits     18.0    629.4
> rsa 4096 bits      3.0    191.7
> 
> It's odd that the 512-bit test runs slower when compiled with ccc,
> but the rest are 20% faster.
> 
> As comparison I ran it on a dual p4 xeon @2.4 GHz:
> 
> OpenSSL 0.9.7 31 Dec 2002
> compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT
> -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO
> -O3 -fomit-frame-pointer -mcpu=pentium -Wall -DSHA1_ASM -DMD5_ASM
> -DRMD160_ASM available timing options: TIMES TIMEB HZ=100 [sysconf
> value] timing function used: times
>                 sign/s verify/s
> rsa  512 bits   1002.3  10307.1
> rsa 1024 bits    195.5   3492.0
> rsa 2048 bits     31.2   1052.4
> rsa 4096 bits      4.6    298.6
> 
> That's only 1.5 times faster than the sx164 at 4.5 times faster
> clock. 
> 
> And here's p3 @600 MHz:
> 
> OpenSSL 0.9.7 31 Dec 2002
> compiler: gcc -fPIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT
> -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO
> -O3 -fomit-frame-pointer -mcpu=pentium -Wall -DSHA1_ASM -DMD5_ASM
> -DRMD160_ASM available timing options: TIMES TIMEB HZ=100 [sysconf
> value] timing function used: times
>                   sign    verify    sign/s verify/s
> rsa  512 bits   0.0023s   0.0002s    432.6   4369.4
> rsa 1024 bits   0.0115s   0.0006s     86.9   1596.0
> rsa 2048 bits   0.0686s   0.0020s     14.6    488.8
> rsa 4096 bits   0.4591s   0.0071s      2.2    141.7
> 
> 

Here's my trusty old PWS 500au running FreeBSD :)

OpenSSL 0.9.7a Feb 19 2003
built on: Sun Mar 16 01:13:48 EST 2003
options:bn(64,64) md2(int) rc4(ptr,int) des(ptr,risc2,4,int) 
aes(partial) idea(int) blowfish(idx)
compiler: cc
available timing options: USE_TOD HZ=100 [sysconf value]
timing function used: getrusage
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0030s   0.0003s    334.2   3888.4
rsa 1024 bits   0.0122s   0.0007s     82.2   1466.2
rsa 2048 bits   0.0721s   0.0022s     13.9    461.0
rsa 4096 bits   0.4788s   0.0075s      2.1    133.4

The compiler is actually gcc 2.95.4 and I compiled OpenSSL using
-mcpu=ev56 -O -pipe -funroll-loops -fforce-mem -fforce-addr

cheers,
Rob


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-05  6:59   ` Rob B
@ 2003-04-05  8:47     ` Måns Rullgård
  2003-04-06 23:46       ` Rob B
  2003-04-07 21:29     ` Måns Rullgård
  1 sibling, 1 reply; 20+ messages in thread
From: Måns Rullgård @ 2003-04-05  8:47 UTC (permalink / raw)


Rob B <rbyrnes@ozemail.comdotau.invalid> writes:

> > Here are my results on sx164 @ 533 MHz:
> > 
> > OpenSSL 0.9.7a Feb 19 2003
> > compiler: ccc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
> > -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -fast -readonly_strings
> > -DL_ENDIAN -DTERMIO available timing options: TIMES TIMEB HZ=1024
> >                 sign/s verify/s
> > rsa  512 bits    320.2   4075.8
> > rsa 1024 bits     99.8   1792.1
> > rsa 2048 bits     18.0    629.4
> > rsa 4096 bits      3.0    191.7
> 
> Here's my trusty old PWS 500au running FreeBSD :)
> 
>                   sign    verify    sign/s verify/s
> rsa  512 bits   0.0030s   0.0003s    334.2   3888.4
> rsa 1024 bits   0.0122s   0.0007s     82.2   1466.2
> rsa 2048 bits   0.0721s   0.0022s     13.9    461.0
> rsa 4096 bits   0.4788s   0.0075s      2.1    133.4
> 
> The compiler is actually gcc 2.95.4 and I compiled OpenSSL using
> -mcpu=ev56 -O -pipe -funroll-loops -fforce-mem -fforce-addr

It looks like some more optimization could do you some good.

Btw, it would be interesting to compare the cache sizes and not only
clock frequency.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-05  8:47     ` Måns Rullgård
@ 2003-04-06 23:46       ` Rob B
  2003-04-07  8:58         ` Måns Rullgård
  0 siblings, 1 reply; 20+ messages in thread
From: Rob B @ 2003-04-06 23:46 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

mru@users.sourceforge.net (M�ns Rullg�rd) wrote in 
news:yw1xisttgwl7.fsf@nogger.e.kth.se:

> Rob B <rbyrnes@ozemail.comdotau.invalid> writes:
> 
>> > Here are my results on sx164 @ 533 MHz:
>> > 
>> > OpenSSL 0.9.7a Feb 19 2003
>> > compiler: ccc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
>> > -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -fast -readonly_strings
>> > -DL_ENDIAN -DTERMIO available timing options: TIMES TIMEB HZ=1024
>> >                 sign/s verify/s
>> > rsa  512 bits    320.2   4075.8
>> > rsa 1024 bits     99.8   1792.1
>> > rsa 2048 bits     18.0    629.4
>> > rsa 4096 bits      3.0    191.7
>> 
>> Here's my trusty old PWS 500au running FreeBSD :)
>> 
>>                   sign    verify    sign/s verify/s
>> rsa  512 bits   0.0030s   0.0003s    334.2   3888.4
>> rsa 1024 bits   0.0122s   0.0007s     82.2   1466.2
>> rsa 2048 bits   0.0721s   0.0022s     13.9    461.0
>> rsa 4096 bits   0.4788s   0.0075s      2.1    133.4
>> 
>> The compiler is actually gcc 2.95.4 and I compiled OpenSSL using
>> -mcpu=ev56 -O -pipe -funroll-loops -fforce-mem -fforce-addr
> 
> It looks like some more optimization could do you some good.

Absolutely, unfortunately optimisations over -O on FreeBSD/Alpha are 
known to cause problems in various areas of the OS and is not supported 
by the development teams.

> Btw, it would be interesting to compare the cache sizes and not only
> clock frequency.

My Miata has 2MB bcache.

cheers,
Rob



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-06 23:46       ` Rob B
@ 2003-04-07  8:58         ` Måns Rullgård
  2003-04-09 11:41           ` Rob B
  0 siblings, 1 reply; 20+ messages in thread
From: Måns Rullgård @ 2003-04-07  8:58 UTC (permalink / raw)


Rob B <rbyrnes@ozemail.com.au.invalid> writes:

> > It looks like some more optimization could do you some good.
> 
> Absolutely, unfortunately optimisations over -O on FreeBSD/Alpha are 
> known to cause problems in various areas of the OS and is not supported 
> by the development teams.

Are you saying that programs compiled with too much optimization will
fail on FreeBSD?  Or is it the OS that can't be compiled with high
optimization levels?  The latter seems more likely, otherwise the
compiler is broken.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Just ran the 'test' on my AMD 1.47 (oc'd 1.55)
  2003-04-03 22:56   ` Just ran the 'test' on my AMD 1.47 (oc'd 1.55)  DiskMan
@ 2003-04-07 20:15     ` peter.watkinson1
  0 siblings, 0 replies; 20+ messages in thread
From: peter.watkinson1 @ 2003-04-07 20:15 UTC (permalink / raw)


On Thu, 03 Apr 2003 22:56:25 GMT, " DiskMan" <nobody@thewheel.com>
wrote:



how do you run this test under windows?

cheers,


>This is what I got under Windows:
>                      sign/s     verify/s
>rsa  512 bits   1293.0  13529.8
>rsa 1024 bits    268.7    4934.9
>rsa 2048 bits      45.6    1541.6
>rsa 4096 bits        6.8      448.0
>
>I can't believe it, I figured an Opteron would have kicked my behind but it
>doesn't look that way. Your EV68 pretty much got me whipped but I'm gaining
>on ya [;-)
>
>"Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de> wrote in message
>news:87vfxvbfdv.fsf@student.uni-tuebingen.de...
>> " DiskMan" <nobody@thewheel.com> writes:
>>
>> > Well I was looking for some information regarding the soon to be
>> > released AMD Opteron (rel. 04/22/03) and I stumbled up on some
>> > comparisons and decided to 'join in the mix'. The first time I ran
>> > the Openssl test, the results were DISMAL! It was actually slightly
>> > slower than the Celery 400mhz but after recompiling and optimizing,
>> > I damn near doubled the speed [;-) You're notice, the larger the
>> > key, the more of a speed difference there is.  I assume this is due
>> > to the large caches the Alpha runs...
>> >
>> > http://www.hwextreme.com/reviews/processor/opteron/page2.shtml
>> >
>> > Intel Celeron 400mhz
>> >                       Signs/s    Verifies/s
>> > rsa  512bits    235.5      3127.0
>> > rsa 1024 bits    52.1      1092.6
>> > rsa 2048 bits      9.2        318.4
>> > rsa 4096 bits      1.4          86.4
>> >
>> > Dec AlphaPC533sx
>> >                       Sign/s     Verify/s
>> > rsa  512 bits   375.5      4327.7
>> > rsa 1024 bits  108.6      1945.0
>> > rsa 2048 bits    19.3        640.9
>> > rsa 4096 bits     3.0         195.1
>> >
>> > AMD Opteron 797.7mhz
>> >                       Signs/s    Verifies/s
>> > Rsa 512  bits  965.9      12211.9
>> > Rsa 1024 bits  205.0       3980.0
>> > Rsa 2048 bits   33.0       1093.3
>> > Rsa 4096 bits     4.7         288.5
>>
>> Just for fun, here's the result for an 796 MHz EV68AL:
>>
>>                 sign/s verify/s
>> rsa  512 bits   1459.5  19026.8
>> rsa 1024 bits    422.8   8167.5
>> rsa 2048 bits     81.1   2855.7
>> rsa 4096 bits     13.1    850.4
>>
>> A system released two years ago or so, and still *way* faster than an
>> Opteron... oh well.
>>
>> -- 
>> Falk
>
>

Peter Watkinson
peter.watkinson1<nospam>@ntlworld.com
remove <nospam> to reply :-)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-05  6:59   ` Rob B
  2003-04-05  8:47     ` Måns Rullgård
@ 2003-04-07 21:29     ` Måns Rullgård
  1 sibling, 0 replies; 20+ messages in thread
From: Måns Rullgård @ 2003-04-07 21:29 UTC (permalink / raw)


Rob B <rbyrnes@ozemail.comdotau.invalid> writes:

> > Here are my results on sx164 @ 533 MHz:
> > 
> >                 sign/s verify/s
> > rsa  512 bits    320.2   4075.8
> > rsa 1024 bits     99.8   1792.1
> > rsa 2048 bits     18.0    629.4
> > rsa 4096 bits      3.0    191.7
> > 
> 
> Here's my trusty old PWS 500au running FreeBSD :)
> 
>                   sign    verify    sign/s verify/s
> rsa  512 bits   0.0030s   0.0003s    334.2   3888.4
> rsa 1024 bits   0.0122s   0.0007s     82.2   1466.2
> rsa 2048 bits   0.0721s   0.0022s     13.9    461.0
> rsa 4096 bits   0.4788s   0.0075s      2.1    133.4
> 
> The compiler is actually gcc 2.95.4 and I compiled OpenSSL using
> -mcpu=ev56 -O -pipe -funroll-loops -fforce-mem -fforce-addr

I ran it on my Miata 433 MHz, 2 MB cache:

OpenSSL 0.9.7a Feb 19 2003
compiler: ccc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -fast -readonly_strings -DL_ENDIAN -DTERMIO
available timing options: TIMES TIMEB HZ=1024 [sysconf value]
timing function used: times
                  sign    verify    sign/s verify/s
rsa  512 bits   0.0028s   0.0002s    361.5   4384.8
rsa 1024 bits   0.0106s   0.0006s     94.3   1733.2
rsa 2048 bits   0.0593s   0.0018s     16.9    565.7
rsa 4096 bits   0.3825s   0.0061s      2.6    163.6

Note that the Miata is somewhat faster than the sx164 for 512 bits,
but slower on the rest.  I guess this is due to the larger cache.

I also tried it on an Athlon 2000+ @ 1600 MHz laptop.  I don't have
the figures at hand, but they were way below the sx164.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-07  8:58         ` Måns Rullgård
@ 2003-04-09 11:41           ` Rob B
  2003-04-09 12:06             ` Måns Rullgård
  0 siblings, 1 reply; 20+ messages in thread
From: Rob B @ 2003-04-09 11:41 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

mru@users.sourceforge.net (M�ns Rullg�rd) wrote in
news:yw1xptnyk7k5.fsf@calippo.e.kth.se: 

> Rob B <rbyrnes@ozemail.com.au.invalid> writes:
> 
>> > It looks like some more optimization could do you some good.
>> 
>> Absolutely, unfortunately optimisations over -O on FreeBSD/Alpha
>> are known to cause problems in various areas of the OS and is not
>> supported by the development teams.
> 
> Are you saying that programs compiled with too much optimization
> will fail on FreeBSD?  Or is it the OS that can't be compiled with
> high optimization levels?  The latter seems more likely, otherwise
> the compiler is broken.
> 

Yes, it is the latter.  Since OpenSSL is included as part of the 
FreeBSD OS, there is one general make.conf file to build the entire 
operating system.  I *could* temporarily modify it, but this would be 
way too cumbersome for continued usage, and wouldn't guarantee that 
OpenSSL et al would be happy.  Seems to only affect the Alpha platform 
as well.

Rob


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-09 11:41           ` Rob B
@ 2003-04-09 12:06             ` Måns Rullgård
  2003-04-12 12:38               ` Rob B
  0 siblings, 1 reply; 20+ messages in thread
From: Måns Rullgård @ 2003-04-09 12:06 UTC (permalink / raw)


Rob B <rbyrnes@ozemail.com.au.invalid> writes:

> >> > It looks like some more optimization could do you some good.
> >> 
> >> Absolutely, unfortunately optimisations over -O on FreeBSD/Alpha
> >> are known to cause problems in various areas of the OS and is not
> >> supported by the development teams.
> > 
> > Are you saying that programs compiled with too much optimization
> > will fail on FreeBSD?  Or is it the OS that can't be compiled with
> > high optimization levels?  The latter seems more likely, otherwise
> > the compiler is broken.
> > 
> 
> Yes, it is the latter.  Since OpenSSL is included as part of the 
> FreeBSD OS, there is one general make.conf file to build the entire 
> operating system.  I *could* temporarily modify it, but this would be 
> way too cumbersome for continued usage, and wouldn't guarantee that 
> OpenSSL et al would be happy.  Seems to only affect the Alpha platform 
> as well.

Now there's a reason to switch to linux :)

Couldn't you build openssl standalone like it's done for all other OSes?

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Hey M�ns, Heres a Speed Comparison Between  Alpha, AMD, Celeron...
  2003-04-03 18:33 ` Hey Måns, " Falk Hueffner
  2003-04-03 22:34   ` Hey M�ns, "  DiskMan
  2003-04-03 22:56   ` Just ran the 'test' on my AMD 1.47 (oc'd 1.55)  DiskMan
@ 2003-04-09 14:59   ` Matt Simis
  2 siblings, 0 replies; 20+ messages in thread
From: Matt Simis @ 2003-04-09 14:59 UTC (permalink / raw)



"Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de> wrote in message
news:87vfxvbfdv.fsf@student.uni-tuebingen.de...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > Well I was looking for some information regarding the soon to be
> > released AMD Opteron (rel. 04/22/03) and I stumbled up on some
> > comparisons and decided to 'join in the mix'. The first time I ran
> > the Openssl test, the results were DISMAL! It was actually slightly
> > slower than the Celery 400mhz but after recompiling and optimizing,
> > I damn near doubled the speed [;-) You're notice, the larger the
> > key, the more of a speed difference there is.  I assume this is due
> > to the large caches the Alpha runs...
> >
> > http://www.hwextreme.com/reviews/processor/opteron/page2.shtml
> >
> > Intel Celeron 400mhz
> >                       Signs/s    Verifies/s
> > rsa  512bits    235.5      3127.0
> > rsa 1024 bits    52.1      1092.6
> > rsa 2048 bits      9.2        318.4
> > rsa 4096 bits      1.4          86.4
> >
> > Dec AlphaPC533sx
> >                       Sign/s     Verify/s
> > rsa  512 bits   375.5      4327.7
> > rsa 1024 bits  108.6      1945.0
> > rsa 2048 bits    19.3        640.9
> > rsa 4096 bits     3.0         195.1
> >
> > AMD Opteron 797.7mhz
> >                       Signs/s    Verifies/s
> > Rsa 512  bits  965.9      12211.9
> > Rsa 1024 bits  205.0       3980.0
> > Rsa 2048 bits   33.0       1093.3
> > Rsa 4096 bits     4.7         288.5
>
> Just for fun, here's the result for an 796 MHz EV68AL:
>
>                 sign/s verify/s
> rsa  512 bits   1459.5  19026.8
> rsa 1024 bits    422.8   8167.5
> rsa 2048 bits     81.1   2855.7
> rsa 4096 bits     13.1    850.4
>
> A system released two years ago or so, and still *way* faster than an
> Opteron... oh well.
>
> --
> Falk


Well, the Opteron should break even for the smaller tests when its released,
at around the 2GHz mark afaik. No 800MHz Opteron would ever be released to
market. Wonder how the PPC does..


Matt




^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-09 12:06             ` Måns Rullgård
@ 2003-04-12 12:38               ` Rob B
  2003-04-12 14:42                 ` Måns Rullgård
  0 siblings, 1 reply; 20+ messages in thread
From: Rob B @ 2003-04-12 12:38 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1582 bytes --]

mru@users.sourceforge.net (M�ns Rullg�rd) wrote in
news:yw1xfzor7u4q.fsf@mars.e.kth.se: 

> Rob B <rbyrnes@ozemail.com.au.invalid> writes:
> 
>> >> > It looks like some more optimization could do you some good.
>> >> 
>> >> Absolutely, unfortunately optimisations over -O on
>> >> FreeBSD/Alpha are known to cause problems in various areas of
>> >> the OS and is not supported by the development teams.
>> > 
>> > Are you saying that programs compiled with too much
>> > optimization will fail on FreeBSD?  Or is it the OS that can't
>> > be compiled with high optimization levels?  The latter seems
>> > more likely, otherwise the compiler is broken.
>> > 
>> 
>> Yes, it is the latter.  Since OpenSSL is included as part of the 
>> FreeBSD OS, there is one general make.conf file to build the
>> entire operating system.  I *could* temporarily modify it, but
>> this would be way too cumbersome for continued usage, and
>> wouldn't guarantee that OpenSSL et al would be happy.  Seems to
>> only affect the Alpha platform as well.
> 
> Now there's a reason to switch to linux :)

Actually ... I see it as also a reason to use FreeBSD - no dependency 
problems :)  The only Linux-based OS that is as trouble-free in my 
opinion has been Debian, and I still use it on an i386 box.
 
> Couldn't you build openssl standalone like it's done for all other
> OSes? 
> 

I suppose I could, but it would be building only for benchmarking 
purposes ... not worth the bother really, if the system is usable, who 
really cares if it does 200 more verifies/sec than previous?

cheers,
Rob


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: OpenSSL RSA speed test
  2003-04-12 12:38               ` Rob B
@ 2003-04-12 14:42                 ` Måns Rullgård
  0 siblings, 0 replies; 20+ messages in thread
From: Måns Rullgård @ 2003-04-12 14:42 UTC (permalink / raw)


Rob B <rbyrnes@ozemail.com.au.invalid> writes:

> >> Yes, it is the latter.  Since OpenSSL is included as part of the 
> >> FreeBSD OS, there is one general make.conf file to build the
> >> entire operating system.  I *could* temporarily modify it, but
> >> this would be way too cumbersome for continued usage, and
> >> wouldn't guarantee that OpenSSL et al would be happy.  Seems to
> >> only affect the Alpha platform as well.
> > 
> > Now there's a reason to switch to linux :)
> 
> Actually ... I see it as also a reason to use FreeBSD - no dependency 
> problems :)  The only Linux-based OS that is as trouble-free in my 
> opinion has been Debian, and I still use it on an i386 box.

I usually don't have any problems compiling stuff on my
slackware-based machines.  I don't like depending on someone else to
bundle programs for me.

> > Couldn't you build openssl standalone like it's done for all other
> > OSes? 
> > 
> 
> I suppose I could, but it would be building only for benchmarking 
> purposes ... not worth the bother really, if the system is usable, who 
> really cares if it does 200 more verifies/sec than previous?

If you were running a web server you would care.  More optimization
than -O is good for other programs than openssl too.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2003-04-12 14:42 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-03  8:29 Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron  DiskMan
2003-04-03 18:33 ` Hey Måns, " Falk Hueffner
2003-04-03 22:34   ` Hey M�ns, "  DiskMan
2003-04-03 22:49     ` Hey Måns, " Falk Hueffner
2003-04-03 23:00       ` Hey M�ns, "  DiskMan
2003-04-03 23:43         ` Hey Måns, " Måns Rullgård
2003-04-03 22:56   ` Just ran the 'test' on my AMD 1.47 (oc'd 1.55)  DiskMan
2003-04-07 20:15     ` peter.watkinson1
2003-04-09 14:59   ` Hey M�ns, Heres a Speed Comparison Between Alpha, AMD, Celeron Matt Simis
2003-04-04  0:05 ` OpenSSL RSA speed test Måns Rullgård
2003-04-04 13:19   ` Falk Hueffner
2003-04-05  6:59   ` Rob B
2003-04-05  8:47     ` Måns Rullgård
2003-04-06 23:46       ` Rob B
2003-04-07  8:58         ` Måns Rullgård
2003-04-09 11:41           ` Rob B
2003-04-09 12:06             ` Måns Rullgård
2003-04-12 12:38               ` Rob B
2003-04-12 14:42                 ` Måns Rullgård
2003-04-07 21:29     ` Måns Rullgård

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