Re: GMP versus TFM on an AMD64



On Fri, 17 Mar 2006 21:30:17 -0800, tomstdenis wrote:

For all those who were trying to insult me about how much GMP was
faster...

:-) ^_^ grin ^_^

This is on an Opteron 275 running the latest GMP and my newly crafted GMP
plugin for LTC (basically calls mpz_powm).

GMP:
RSA-1024 encrypt_key took 121194 cycles RSA-1024 decrypt_key took
1845297 cycles RSA-1280 encrypt_key took 169824 cycles
RSA-1280 decrypt_key took 3278677 cycles RSA-1536 encrypt_key took
229255 cycles RSA-1536 decrypt_key took 5317780 cycles
RSA-1792 encrypt_key took 301444 cycles RSA-1792 decrypt_key took
8069089 cycles RSA-2048 encrypt_key took 384635 cycles
RSA-2048 decrypt_key took 11513466 cycles

Compare to TFM:
RSA-1024 encrypt_key took 178994 cycles RSA-1024 decrypt_key took
1376474 cycles

Hmm... That's about 5.5 times slower than Itanium 2.


.