mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2006-07-15, 21:06   #23
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

BDD16 Posts
Default

Following GMP-ECM 6.1 binaries were compiled on Windows XP with Msys and MinGW (not the latest versions, does it matter?) and with GMP 4.2.1.
They were compiled with:
./configure --with-gmp=/usr/local
make
make check
make ecm-params; make
make install

Pentium4 Prescott 3.4 Ghz: ecm61-p4p.zip
Pentium4 Northwood 2.4 Ghz: ecm61-p4n.zip
Pentium4 Willamette 1.50 Ghz: ecm61-p4w.zip
Athlon XP 2200+ 1.80Ghz: ecm61-athlon.zip
ATH is offline   Reply With Quote
Old 2006-07-16, 19:19   #24
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

5×701 Posts
Default

For those of you who won't, or can't, compile on their own:

I've discovered in my own experience that downloading an ecm.exe file made by someone else, as long as it's compatible, has improved by speed from 10.5 hours to 4.5 hours when comparing the ElevenSmooth client to one I downloaded in this thread.
jasong is offline   Reply With Quote
Old 2006-07-23, 17:09   #25
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

3,037 Posts
Default

GMP-ECM 6.1.1 with GMP 4.2.1 compiled on Windows XP with Msys+MinGW with:
./configure --with-gmp=/usr/local
make
make check
make ecm-params; make
make install

Pentium4 Prescott 3.4 Ghz: ecm611-p4p.zip
Pentium4 Northwood 2.4 Ghz: ecm611-p4n.zip (coming august 2nd)
Pentium4 Willamette 1.50 Ghz: ecm611-p4w.zip (coming august 7th-ish)
Pentium3 Celeron 1.10 Ghz (P6C Coppermine128): ecm611-p3c.zip
Athlon XP 2200+ 1.80Ghz: ecm611-athlon.zip
ATH is offline   Reply With Quote
Old 2006-07-23, 17:21   #26
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

3·277 Posts
Default

Thanks, ATH!

Did you already test on which architectures "--enable-asm-redc" gave you advantages?

Last fiddled with by Mystwalker on 2006-07-23 at 17:22
Mystwalker is offline   Reply With Quote
Old 2006-07-23, 18:09   #27
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

3,037 Posts
Default

No. I can try, is it enabled or disabled by default?
ATH is offline   Reply With Quote
Old 2006-07-25, 20:51   #28
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

3,037 Posts
Default

GMP-ECM 6.1.1 with GMP 4.2.1 compiled on Windows XP with Msys+MinGW. The asmredc files is compiled with --enable-asm-redc, check txt-files for speedtest: asm-redc seems slightly faster up to 190-200 digit numbers. No asm-redc on Pentium3 since no SSE2.

Pentium4 Prescott 3.4 Ghz: ecm611-p4p.zip ecm611asmredc-p4p.zip ecm611-p4p.txt
Pentium4 Northwood 2.4 Ghz: ecm611-p4n.zip ecm611asmredc-p4n.zip ecm611-p4n.txt (coming august 2nd)
Pentium4 Willamette 1.50 Ghz: ecm611-p4w.zip ecm611asmredc-p4w.zip ecm611-p4w.txt (coming august 7th-ish)
Pentium3 Celeron 1.10 Ghz (P6C Coppermine128): ecm611-p3c.zip ecm611-p3c.txt
Athlon XP 2200+ 1.80Ghz: ecm611-athlon.zip ecm611asmredc-athlon.zip ecm611-athlon.txt

Last fiddled with by ATH on 2006-07-25 at 21:03
ATH is offline   Reply With Quote
Old 2006-08-22, 10:35   #29
Yamato
 
Yamato's Avatar
 
Sep 2005
Berlin

2×3×11 Posts
Default

Have you got a precompiled version for Linux, too? I'm using a P4 and I'm not keen on installing GMP-ECM (and the GMP libraries)...
Yamato is offline   Reply With Quote
Old 2006-08-25, 13:13   #30
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

3,037 Posts
Default

No sorry, I don't have Linux installed.
ATH is offline   Reply With Quote
Old 2006-08-25, 13:56   #31
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

I have Linux on a couple of architectures, but sadly, no P4 among them. Only P3, Athlon, Opteron.

Alex
akruppa is offline   Reply With Quote
Old 2006-09-01, 22:35   #32
Yamato
 
Yamato's Avatar
 
Sep 2005
Berlin

4216 Posts
Default

Following the instructions in the INSTALL and the README file I compiled a linux version for Athlon64, you can get it here.

System: Linux (64bit), Athlon64 (gmp 4.1.3, ecm 6.1.1)

I took the c301 from Kevin Hare for a quick test on an Athlon64 3400+ (@2.4GHz), program output:
Code:
ecm 3e6 < in.txt >> out.txt
GMP-ECM 6.1.1 [powered by GMP 4.1.3] [ECM]
Input number is 3831565799519436303487742350308454794716675157894098584352121252263510024611805907320592374654433186020517//1086654671434719340358393954962433533212457600196112076644876654207767427267797808629935905445969160204965//10980740067901995154639576852120198067468078357247366647828551141390739467161074462608561 (301 digits)
Using B1=3000000, B2=5706890290, polynomial Dickson(6), sigma=4115968196
Step 1 took 91619ms
Step 2 took 24242ms
In comparison to my P4 it's really a nice speed (forget all those P4 processors...)

Last fiddled with by xilman on 2006-09-02 at 01:16 Reason: Put results into [code] tags to keep window width reasonable
Yamato is offline   Reply With Quote
Old 2006-09-02, 01:14   #33
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

3·3,529 Posts
Default

Quote:
Originally Posted by Yamato View Post
Following the instructions in the INSTALL and the README file I compiled a linux version for Athlon64, you can get it here.

System: Linux (64bit), Athlon64 (gmp 4.1.3, ecm 6.1.1)

I took the c301 from Kevin Hare for a quick test on an Athlon64 3400+ (@2.4GHz), program output:
Code:
ecm 3e6 < in.txt >> out.txt
GMP-ECM 6.1.1 [powered by GMP 4.1.3] [ECM]
Input number is 3831565799519436303487742350308454794716675157894098584352121252263510024611805907320592374654433186020517//1086654671434719340358393954962433533212457600196112076644876654207767427267797808629935905445969160204965//10980740067901995154639576852120198067468078357247366647828551141390739467161074462608561 (301 digits)
Using B1=3000000, B2=5706890290, polynomial Dickson(6), sigma=4115968196
Step 1 took 91619ms
Step 2 took 24242ms
In comparison to my P4 it's really a nice speed (forget all those P4 processors...)
Interesting.

I ran your binary on my 3500+ with this result:
Code:
pcl@imhotep ~/ecm-6.1.1 $ ./ecm 3000000
GMP-ECM 6.1.1 [powered by GMP 4.1.4] [ECM]
3831565799519436303487742350308454794716675157894098584352121252263510024611805907320592374654433186020517108665467143471934035839395496243353321245760019611207664487665420776742726779780862993590544596916020496510980740067901995154639576852120198067468078357247366647828551141390739467161074462608561
Input number is 3831565799519436303487742350308454794716675157894098584352121252263510024611805907320592374654433186020517108665467143471934035839395496243353321245760019611207664487665420776742726779780862993590544596916020496510980740067901995154639576852120198067468078357247366647828551141390739467161074462608561 (301 digits)
Using B1=3000000, B2=5706890290, polynomial Dickson(6), sigma=2206158585
Step 1 took 48445ms
Step 2 took 18764ms
This is approximately twice the speed of your run for stage 1 and noticeably faster in stage 2. The major difference, as I see it, is that I've GMP 4.1.4 installed. The clock speed of my system is slower than yours (2188.896 MHz) according to /proc/cpuinfo.

Performing the same test on the ecm 6.0.1 I have installed gives this result:
Code:
pcl@imhotep ~/ecm-6.1.1 $ /usr/local/bin/ecm 3000000
GMP-ECM 6.0.1 [powered by GMP 4.1.4] [ECM]
3831565799519436303487742350308454794716675157894098584352121252263510024611805907320592374654433186020517108665467143471934035839395496243353321245760019611207664487665420776742726779780862993590544596916020496510980740067901995154639576852120198067468078357247366647828551141390739467161074462608561
Input number is 3831565799519436303487742350308454794716675157894098584352121252263510024611805907320592374654433186020517108665467143471934035839395496243353321245760019611207664487665420776742726779780862993590544596916020496510980740067901995154639576852120198067468078357247366647828551141390739467161074462608561 (301 digits)
Using B1=3000000, B2=4016636513, polynomial Dickson(6), sigma=1196414020
Step 1 took 50620ms
Step 2 took 26185ms
So 6.1.1 is marginally faster in stage 1 and substantially faster in stage 2 despite having a markedly higher B2 value. Both programs run much faster on my machine, despite it having a lower clock speed.

Quite remarkable. I'm wondering whether your GMP has the x64 assembler code incorporated.


Paul

Last fiddled with by xilman on 2006-09-02 at 01:19 Reason: Put quoted material in [code] tags
xilman is online now   Reply With Quote
Reply

Thread Tools


Similar Threads
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

All times are UTC. The time now is 22:47.

Mon Mar 1 22:47:22 UTC 2021 up 88 days, 18:58, 0 users, load averages: 2.96, 2.68, 2.59

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.