![]() |
![]() |
#177 |
Jun 2003
Ottawa, Canada
22218 Posts |
![]() |
![]() |
![]() |
![]() |
#178 | |
Oct 2004
Austria
2·17·73 Posts |
![]() Quote:
Code:
./configure --with-gmp=/usr/local --enable-asm-redc make make check make ecm-params; make make install Last fiddled with by Andi47 on 2009-04-27 at 16:25 |
|
![]() |
![]() |
![]() |
#179 |
Jun 2003
Ottawa, Canada
100100100012 Posts |
![]() |
![]() |
![]() |
![]() |
#180 | |
Sep 2005
Berlin
2×3×11 Posts |
![]() Quote:
./configure (for gmp, without any options. sse2 was enabled automatically) ./configure --with-gmp=/local --enable-asm-redc --enable-sse2 (for ecm) Interestingly, my older Notebook CPU (Intel T7300) wasn't recognized as Core2. |
|
![]() |
![]() |
![]() |
#181 | |
Jun 2003
Ottawa, Canada
116910 Posts |
![]() Quote:
./configure --with-gmp=/local --enable-asm-redc --enable-sse2 --build=pentium4 Jeff. |
|
![]() |
![]() |
![]() |
#182 |
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
![]()
Without --build=pentium4 but with --enable-asm-redc, it'll use the asm mulredc code from athlon/ which is slower on Pentium 4. With --build=pentium4 and --enable-asm-redc, it'll use the asm mulredc code from pentium4/. Without --enable-asm-redc, 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 --enable-asm-redc is enabled by default only on x86-64 now.
Alex |
![]() |
![]() |
![]() |
#183 |
Mar 2007
Germany
23·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 2009-04-27 at 21:57 |
![]() |
![]() |
![]() |
#184 | |
Jun 2003
Ottawa, Canada
116910 Posts |
![]() Quote:
*** Windows ECM BENCHMARK *** Factoring: 1877138824359859508015524119652506869600959721781289179190693027302028679377371001561 Sigma: 980060817 Using B1=20000000, B2=2158570060, polynomial Dickson(6), sigma=980060817 =================================================== ./configure --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-asm-redc --enable-sse2 --build=pentium4-pc-cygwin =================================================== Step 1 took 80761ms Step 2 took 2683ms real 1m23.570s =================================================== ./configure --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-sse2 --build=pentium4-pc-cygwin =================================================== Step 1 took 86674ms Step 2 took 2698ms real 1m29.607s You can see that even with GMP 4.3.0 that using --enable-asm-redc is faster. Jeff. |
|
![]() |
![]() |
![]() |
#185 |
Sep 2005
Berlin
2·3·11 Posts |
![]()
Another binary, built with
./configure --with-gmp=/local --enable-sse2 --build=pentium4 ecm623_win32_2.zip This seems to be faster only for input numbers > 4.6*10^192. |
![]() |
![]() |
![]() |
#186 |
Jun 2003
Ottawa, Canada
7·167 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 --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-asm-redc --enable-sse2 --build=pentium4-pc-cygwin =================================================== GMP-ECM 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 --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-sse2 --build=pentium4-pc-cygwin =================================================== GMP-ECM 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 --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-asm-redc --enable-sse2 --build=pentium4-pc-cygwin =================================================== GMP-ECM 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 --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-sse2 --build=pentium4-pc-cygwin =================================================== GMP-ECM 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 --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-asm-redc --enable-sse2 --build=pentium4-pc-cygwin =================================================== GMP-ECM 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 --with-gmp=/home/Jeff/gmp-4.3.0/ --enable-sse2 --build=pentium4-pc-cygwin =================================================== GMP-ECM 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 |
![]() |
![]() |
![]() |
#187 |
Einyen
Dec 2003
Denmark
22·757 Posts |
![]()
Back in version 6.1.1 when I tested it, --enable-asm-redc was faster up to around 190-200 digit numbers. Above that it was faster without the switch.
http://www.mersenneforum.org/showpos...1&postcount=28 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Project Links | masser | Sierpinski/Riesel Base 5 | 25 | 2011-11-26 09:21 |
Links to Precompiled Msieve versions | wblipp | Msieve | 0 | 2011-07-17 20:59 |
Links | davieddy | Information & Answers | 9 | 2010-10-08 14:27 |
Links question | ET_ | PrimeNet | 0 | 2008-01-26 09:35 |
Links. | Xyzzy | Forum Feedback | 2 | 2007-03-18 02:17 |