LINKS
CONTACTS



 
Productivity
Comparative characteristic of various algorithms realized today in the programs for PII-400
The formula is approximate to the experimental data.

Data has been rescaled to a frequency of 400 MHz. Note though that newer processors have a better instruction and data optimization code.

LegendsFast algorithm N<95bitClassical multiplicationFFT multiplication

 

Average value k/sec for 25 < n < 51

n=24283236404448
Fermat.exe3 100 0002 600 0002 220 0002 000 0001 750 0001 580 0001 360 000
7•107/n2 920 0002 500 0002 200 0001 950 0001 750 0001 590 0001 450 000
GMP-Fermat1 450 0001 325 0001 225 000775 000725 000625 000600 000
Proth.exe250250250250240240230
FermFact+PFGW5300530053005300520052005200

Note. Athlon processors work a little faster than Intel processors. For Fast algorithm approximately 35%.
Only Fermat.exe can perform the work for k < 2^62, other programs only k < 2^31.

Compare relative speed of different processors with this Excel file.

 

Average value k/sec for 50 < n < 1000

n=546080100150200300400600800
Fermat.exe400 000250 000200 000128 00068 00036 00019 00010 00040002000
13•108/n2446 000360 000200 000130 00057 00033 00014 500810036002000
GMP-Fermat575 000525 000400 000325 000125 00077 50024 25015 0005 0002 500
Proth.exe220220210200190190180170160150
FermFact+PFGW5200500050005000500040003300286020001550

Note. For small n, use Proth, PFGW and others program is not effective.
The relation of speed at n=36 Fermat/PFGW=580; at n=100, Fermat/PFGW=25; at n=800, Fermat/PFGW=1.3.

 

Average value k/sec for n > 1000

n=1000106020003000500010 00020 00030 00050 000100 000
Fermat.exe10503001525015
GMP-Fermat12504501756818
Proth.exe1451101055516610.30.140.02
NPGen+PRP+Proth26514512570321021.10.380.065
FermFact+PFGW110050027015057163.31.40.450.083
13•108/n2130050032514452133.251.440.50.13

Note. For n > 1000, use of Fermat.exe becomes inefficient.


Copyright © MoreWare 2003 ...