20090427, 15:54  #177 
Jun 2003
Ottawa, Canada
7·167 Posts 

20090427, 16:22  #178  
Oct 2004
Austria
2·17·73 Posts 
Quote:
Code:
./configure withgmp=/usr/local enableasmredc make make check make ecmparams; make make install Last fiddled with by Andi47 on 20090427 at 16:25 

20090427, 17:58  #179 
Jun 2003
Ottawa, Canada
7·167 Posts 

20090427, 18:03  #180  
Sep 2005
Berlin
42_{16} Posts 
Quote:
./configure (for gmp, without any options. sse2 was enabled automatically) ./configure withgmp=/local enableasmredc enablesse2 (for ecm) Interestingly, my older Notebook CPU (Intel T7300) wasn't recognized as Core2. 

20090427, 18:52  #181  
Jun 2003
Ottawa, Canada
7×167 Posts 
Quote:
./configure withgmp=/local enableasmredc enablesse2 build=pentium4 Jeff. 

20090427, 19:04  #182 
"Nancy"
Aug 2002
Alexandria
2,467 Posts 
Without build=pentium4 but with enableasmredc, it'll use the asm mulredc code from athlon/ which is slower on Pentium 4. With build=pentium4 and enableasmredc, it'll use the asm mulredc code from pentium4/. Without enableasmredc, it'll use only GMP functions, which seems to be faster than our own assembly code if GMP 4.3.0 is used. This is why enableasmredc is enabled by default only on x8664 now.
Alex 
20090427, 21:18  #183 
Mar 2007
Germany
2^{3}·3·11 Posts 
Thx to all for the good work  and special thx to Yamato.
The binary from Yamato is the fastest till now for my Core 2 Duo T8100 on WinVista 32bit Last fiddled with by Andi_HB on 20090427 at 21:57 
20090427, 23:54  #184  
Jun 2003
Ottawa, Canada
7·167 Posts 
Quote:
*** Windows ECM BENCHMARK *** Factoring: 1877138824359859508015524119652506869600959721781289179190693027302028679377371001561 Sigma: 980060817 Using B1=20000000, B2=2158570060, polynomial Dickson(6), sigma=980060817 =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enableasmredc enablesse2 build=pentium4pccygwin =================================================== Step 1 took 80761ms Step 2 took 2683ms real 1m23.570s =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enablesse2 build=pentium4pccygwin =================================================== Step 1 took 86674ms Step 2 took 2698ms real 1m29.607s You can see that even with GMP 4.3.0 that using enableasmredc is faster. Jeff. 

20090428, 08:15  #185 
Sep 2005
Berlin
2×3×11 Posts 
Another binary, built with
./configure withgmp=/local enablesse2 build=pentium4 ecm623_win32_2.zip This seems to be faster only for input numbers > 4.6*10^192. 
20090428, 14:05  #186 
Jun 2003
Ottawa, Canada
1169_{10} Posts 
Some more benchmarks using different size inputs from my binaries. In my case it seems that a C65, C85, and C130 are all faster using the muldrec code instead of leaving it up to GMP 4.3.0 alone:
Code:
*** Windows 32bit ECM BENCHMARK *** Factoring: 34053408309992030649212497354061832056920539397279047809781589871 Sigma: 980060817 =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enableasmredc enablesse2 build=pentium4pccygwin =================================================== GMPECM 6.2.3 [powered by GMP 4.3.0] [ECM] Input number is 34053408309992030649212497354061832056920539397279047809781589871 (65 digits) Using B1=20000000, B2=70272304840, polynomial Dickson(12), sigma=980060817 Step 1 took 58407ms Step 2 took 19344ms real 1m18.148s user 1m17.766s sys 0m0.109s =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enablesse2 build=pentium4pccygwin =================================================== GMPECM 6.2.3 [powered by GMP 4.3.0] [ECM] Input number is 34053408309992030649212497354061832056920539397279047809781589871 (65 digits) Using B1=20000000, B2=70272304840, polynomial Dickson(12), sigma=980060817 Step 1 took 62821ms Step 2 took 19921ms real 1m23.117s user 1m22.757s sys 0m0.061s Factoring: 1877138824359859508015524119652506869600959721781289179190693027302028679377371001561 Sigma: 980060817 =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enableasmredc enablesse2 build=pentium4pccygwin =================================================== GMPECM 6.2.3 [powered by GMP 4.3.0] [ECM] Input number is 1877138824359859508015524119652506869600959721781289179190693027302028679377371001561 (85 digits) Using B1=20000000, B2=70272304840, polynomial Dickson(12), sigma=980060817 Step 1 took 79997ms Step 2 took 23993ms real 1m45.140s user 1m44.021s sys 0m0.108s =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enablesse2 build=pentium4pccygwin =================================================== GMPECM 6.2.3 [powered by GMP 4.3.0] [ECM] Input number is 1877138824359859508015524119652506869600959721781289179190693027302028679377371001561 (85 digits) Using B1=20000000, B2=70272304840, polynomial Dickson(12), sigma=980060817 Step 1 took 87001ms Step 2 took 23946ms real 1m52.173s user 1m50.947s sys 0m0.108s Factoring: 3561374769003472006611194942083317805928391841857811709042682130841367523415658737688338172847927090359833780290773316642214955689 Sigma: 980060817 =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enableasmredc enablesse2 build=pentium4pccygwin =================================================== GMPECM 6.2.3 [powered by GMP 4.3.0] [ECM] Input number is 3561374769003472006611194942083317805928391841857811709042682130841367523415658737688338172847927090359833780290773316642214955689 (130 digits) Using B1=20000000, B2=70272304840, polynomial Dickson(12), sigma=980060817 Step 1 took 150479ms Step 2 took 39250ms real 3m11.015s user 3m9.759s sys 0m0.093s =================================================== ./configure withgmp=/home/Jeff/gmp4.3.0/ enablesse2 build=pentium4pccygwin =================================================== GMPECM 6.2.3 [powered by GMP 4.3.0] [ECM] Input number is 3561374769003472006611194942083317805928391841857811709042682130841367523415658737688338172847927090359833780290773316642214955689 (130 digits) Using B1=20000000, B2=70272304840, polynomial Dickson(12), sigma=980060817 Step 1 took 155174ms Step 2 took 39515ms real 3m15.745s user 3m14.704s sys 0m0.187s 
20090428, 15:02  #187 
Einyen
Dec 2003
Denmark
2^{3}×379 Posts 
Back in version 6.1.1 when I tested it, enableasmredc was faster up to around 190200 digit numbers. Above that it was faster without the switch.
http://www.mersenneforum.org/showpos...1&postcount=28 
Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Project Links  masser  Sierpinski/Riesel Base 5  25  20111126 09:21 
Links to Precompiled Msieve versions  wblipp  Msieve  0  20110717 20:59 
Links  davieddy  Information & Answers  9  20101008 14:27 
Links question  ET_  PrimeNet  0  20080126 09:35 
Links.  Xyzzy  Forum Feedback  2  20070318 02:17 