Re: comparing CPUs running blowfish [Re: fastest blowfish.asm?]

New Message Reply About this list Date view Thread view Subject view Author view

Adam Back (aba@dcs.ex.ac.uk)
Wed, 25 Mar 1998 21:16:59 GMT


> When I ran the bfspeed utill I didn't get numbers like this, what is
> this?
>
>
>
> Adam Back wrote:
> > OK, here's same again without BF_PTR2.
> >
> > Using raw ecb bytes / sec as performance metric, again all CPUs at
> > 166 Mhz.
> >
> > Intel AMD k6 AMD k5 Intel Pentium Pentium
> > MMX MMX non-MMX non-MMX pro II

when you run bfspeed it says:

Doing BF_set_key for 10 seconds
11276 BF_set_key's in 10.00 seconds
Doing BF_encrypt's for 10 seconds
6022104 BF_encrypt's in 10.00 second
Doing BF_cbc_encrypt on 1024 byte blocks for 10 seconds
45008 BF_cbc_encrypt's of 1024 byte blocks in 10.00 second
Blowfish set_key per sec = 1127.600 ( 886.839uS)
Blowfish raw ecb bytes per sec = 4817683.200 ( 1.661uS)
                                  ^^^^^^^^^^^
Blowfish cbc bytes per sec = 4608819.200 ( 1.736uS)

The figures above are the indicated figure (which is in bytes/sec)
converted into Mb/sec by dividing by 1,000,000, so in this case I
would have entered 4.8 into the column for an AMD k6.

Secondly the above table is assuming you have a processor clocked at
166 Mhz. Because all of the calculation resides in primary cache,
artefacts such as memory speed, and bus speed have minimal impact.
This implies for you (with your 233 Cyrix MX) that you would conver
that figure to 166 equivalent:

(4817683.200 * 166 / 233) / 1000000 = 3.43

However I am not sure about the 233 figure -- is a cyrix 233 really
running at 233, or is that a performance rating? If it is actually
running at 192 or whatever use that figure instead -- as we are trying
to find out what the performance is at equivalent clock rates.

Adam


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Fri Aug 21 1998 - 17:16:16 ADT