mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GMP-ECM (https://www.mersenneforum.org/forumdisplay.php?f=55)
-   -   Links to Precompiled GMP-ECM versions (https://www.mersenneforum.org/showthread.php?t=4087)

bdodson 2012-01-12 09:31

[QUOTE=ATH;285313]Compiled the latest SVN 1681 (The official 6.4 is SVN 1672):

[URL="http://www.hoegge.dk/GMP-ECM.html"]GMP-ECM.html[/URL]

Didn't have a chance to do the speedtests yet. I will add them tomorrow or monday.


I skipped the core2 32bit and pentium4 versions. I'll add them if someone requests them, but I don't have access to the Core2 Conroe anymore, so the 32bit version will be on the Core2 Yorksfield.[/QUOTE]
I get "signal -1073741795" from the i7 mpir w asmredc version. Google
seems to have seen this, but isn't very informative. Not sure which i7's we
have, maybe older ones missing avx? -Bruce

Karl M Johnson 2012-01-12 09:34

I can confirm that "ecm64-1681mpir250corei7-64-asmredc" works on Bulldozer.

ATH 2012-01-12 12:39

[QUOTE=bdodson;286026]I get "signal -1073741795" from the i7 mpir w asmredc version. Google
seems to have seen this, but isn't very informative. Not sure which i7's we
have, maybe older ones missing avx? -Bruce[/QUOTE]

I added a new corei7 binary built with -march=corei7 -mtune=corei7 instead of core7-avx, maybe that helps.

[URL="http://www.hoegge.dk/GMP-ECM.html"]GMP-ECM.html[/URL]

bdodson 2012-01-12 13:24

[QUOTE=ATH;286034]I added a new corei7 binary built with -march=corei7 -mtune=corei7 instead of core7-avx, maybe that helps.

[URL="http://www.hoegge.dk/GMP-ECM.html"]GMP-ECM.html[/URL][/QUOTE]
Thanks, but looks like I'll need another link on the page to get a 5th
corei7 binary. Also, I won't be able to test the new binary until there's
a site that closes for the day. -Bruce

ATH 2012-01-12 16:10

[QUOTE=bdodson;286041]Thanks, but looks like I'll need another link on the page to get a 5th
corei7 binary.[/QUOTE]

Did you try to hit F5 to refresh the page? Otherwise here is the direct links with and without --enable-asm-redc:
[URL="http://www.hoegge.dk/mersenne/ecm64svn1681/ecm64-1681mpir250corei7noavx-64-asmredc.zip"]ecm64-1681mpir250corei7noavx-64-asmredc.zip[/URL]

[URL="http://www.hoegge.dk/mersenne/ecm64svn1681/ecm64-1681mpir250corei7noavx-64.zip"]ecm64-1681mpir250corei7noavx-64.zip[/URL]

bdodson 2012-01-13 00:58

[QUOTE=ATH;286066]Did you try to hit F5 to refresh the page? Otherwise here is the direct links with and without --enable-asm-redc:
[URL="http://www.hoegge.dk/mersenne/ecm64svn1681/ecm64-1681mpir250corei7noavx-64-asmredc.zip"]ecm64-1681mpir250corei7noavx-64-asmredc.zip[/URL]

[URL="http://www.hoegge.dk/mersenne/ecm64svn1681/ecm64-1681mpir250corei7noavx-64.zip"]ecm64-1681mpir250corei7noavx-64.zip[/URL][/QUOTE]
Thanks, I see the two new binaries now. Our i7's turn out to be
"i7 quad core 870"'s, not the i7-2700k 2nd generation chips. Typical
purchasing for us, commodity chips for public pc's, library. More than
sufficient for word processing and web surfing. I have
[code]
341602 Jan 24 2011 ecm63mpircore2-64-asmredc.zip
999345 Jan 12 13:44 ecm64-1681mpir250corei7noavx-64-asmredc.zip
[/code]
and on
[code]
Input number is 18497627458323369222497070876046723999931638433141649181124615832553914429217118808483686055543196404160468420183749785716365582925168760774103407003448171479049297661884597054335772234218906543053621
(200 digits)
[/code]
the new binary appears just slightly slower
[code]
< GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]
---
> GMP-ECM 6.4 [configured with MPIR 2.5.0, --enable-asm-redc] [ECM]
3,5c3,5
< Using B1=400000000, B2=5821851770290, polynomial Dickson(30), sigma=62857100
< Step 1 took 4328684ms
< Step 2 took 1681738ms
---
> Using B1=400000000, B2=5821851770290, polynomial Dickson(30), sigma=637635111
> Step 1 took 4481549ms
> Step 2 took 1691316ms [/code]
Suppose it's good to switch anyway. Regards, Bruce

ATH 2012-01-13 03:44

I'm surprised the GMP build is faster than MPIR. Maybe you should try the Core2 build instead of Corei7 one? It might be closer to your Corei7 870, or maybe the Corei7 old 6.3.1 build with MPIR?

MPIR has been faster for 64bit in both 6.3, 6.3.1 and now 6.4. Maybe it is a 32 bit Windows? If it is I can build a 32 bit binary if needed.

Yamato 2012-01-13 11:36

[QUOTE=bdodson;286100]
...
the new binary appears just slightly slower
[/QUOTE]

Could you please compare that with my core2-binary ([URL="http://www.kay-schoenberger.de/eng/math/ecm/binaries/ecm64_win64_core2.zip"]link[/URL]) on your i7, I only have a core2, but the timings for stage 2 differ from the timings posted here. As I see it, MPIR is faster on Win64 but not on Linux64 (there is no real difference to gmp).
By the way, has anybody successfully run the 'tuneup' command for building MPIR, according to /doc/mpir.info-1 ? I got an error message here.

lorgix 2012-01-13 11:47

[QUOTE=ATH;286034]I added a new corei7 binary built with -march=corei7 -mtune=corei7 instead of core7-avx, maybe that helps.

[URL="http://www.hoegge.dk/GMP-ECM.html"]GMP-ECM.html[/URL][/QUOTE]
I switched from [B]ecm631mpir240core2-64-asmredc[/B] to [B]ecm64-1681mpir250core2-64-asmredc[/B].

I did a little testing, and it seems the new version is slower (at least for small inputs).

bdodson 2012-01-13 13:36

[QUOTE=Yamato;286149]Could you please compare that with my core2-binary ([URL="http://www.kay-schoenberger.de/eng/math/ecm/binaries/ecm64_win64_core2.zip"]link[/URL]) on your i7, I only have a core2, but the timings for stage 2 differ from the timings posted here. As I see it, MPIR is faster on Win64 but not on Linux64 (there is no real difference to gmp).
By the way, has anybody successfully run the 'tuneup' command for building MPIR, according to /doc/mpir.info-1 ? I got an error message here.[/QUOTE]
Thanks, but these are windows7 machines. Regards, Bruce

bdodson 2012-01-13 14:19

[QUOTE=ATH;286106]I'm surprised the GMP build is faster than MPIR. Maybe you should try the Core2 build instead of Corei7 one? It might be closer to your Corei7 870, or maybe the Corei7 old 6.3.1 build with MPIR?

MPIR has been faster for 64bit in both 6.3, 6.3.1 and now 6.4. Maybe it is a 32 bit Windows? If it is I can build a 32 bit binary if needed.[/QUOTE]
I've assumed that I have the MPIR build and

GMP-ECM 6.3 [configured with GMP 5.0.1 and --enable-asm-redc] [ECM]

is a reporting error? I'm double checking, and get
[code]
unzip -v ecm63mpircore2-64-asmredc.zip

Archive: ecm63mpircore2-64-asmredc.zip
Length Method Size Ratio Date Time CRC-32 Name
-------- ------ ------- ----- ---- ---- ------ ----
887156 Defl:N 341454 62% 01-22-11 21:43 95f18f0f ecm.exe
-------- ------- --- -------
887156 341454 62% 1 file
-----------
-rwxr-xr-x+ 1 bad0 faculty 887156 Jan 22 2011 ecm63core2-64asm

and

diff ecm63core2-64asm /tmp/bdtmp/ecm.exe

[binary files are the same] [/code]
This is surely the binary that was in the MPIR tarfile last January.

As I was reporting back then, these pcs run windows7, an upgrade for
our public sites from xp, and the 64-bit performance was way-up from
any of the 32-bit binaries. -Bruce


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

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