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)

Karl M Johnson 2011-06-25 17:59

Indeed, currently the mpir240 for core2 for win64 with asm-reduction is the fastest binary I've ever seen! No icc needed:smile:

lorgix 2011-06-25 22:04

I switched from 'ecm[B]63[/B]mpir[B]230[/B]core2-64' to 'ecm[B]631[/B]mpir[B]240[/B]core2-64-[B]asmredc[/B]'.

The speedup seems to be several percent. I tried a few curves with B1=1e6 on a c207, using -B2scale 2.0. Seems to be >10% faster!

edit: More testing; conservative estimate of speedup when running 43e6 on c264 would be 5%. May very well be >10.

ATH 2011-07-05 21:00

I just got a new Sandy Bridge laptop, and added a Core i7 Sandy Bridge build:

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

The new build is SVN 1588. I wasn't able to compile GMP 5.0.2, so there is only a MPIR 2.4.0, but that is way faster on 64bit hardware anyway, at least for core2.

It doesn't seem like MPIR or GMP-ECM has any AVX instructions yet because a build with "--march=corei7-avx --mtune=corei7-avx" was not faster, so this build is with "--march=corei7 --mtune=corei7".

I couldn't find any new "--build=" for corei7 so still using "--build=x86_64-w64-mingw32".

Karl M Johnson 2011-07-19 20:47

Curious, but ATH's Core2 binaries are actually faster than amd64 binaries from Jeff's website, for Phenom II x6 CPU.

henryzz 2011-07-20 09:14

[QUOTE=Karl M Johnson;266962]Curious, but ATH's Core2 binaries are actually faster than amd64 binaries from Jeff's website, for Phenom II x6 CPU.[/QUOTE]
If the amd64 binaries were optimised for athlon 64 or to some degree phenom I then they will have been optimised to not use SSE2 which was slow on those architectures. Intel never had the problem and phenom II fixed it for amd(phenom I was better but not sorted).

lorgix 2012-01-05 15:46

GMP-ECM 6.4 has been released.

Maybe we'll see some new precompiled binaries soon...

Jeff Gilchrist 2012-01-06 19:51

[QUOTE=lorgix;284916]GMP-ECM 6.4 has been released.[/QUOTE]

Thanks for the heads up. MPIR 2.5.0 was also just released with some speedups ([url]http://www.mpir.org/[/url]), not sure if they are used by GMP-ECM but when I get a chance I will start updating the binaries on my site.

lorgix 2012-01-07 14:07

[QUOTE=Jeff Gilchrist;285124]Thanks for the heads up. MPIR 2.5.0 was also just released with some speedups ([URL]http://www.mpir.org/[/URL]), not sure if they are used by GMP-ECM but when I get a chance I will start updating the binaries on my site.[/QUOTE]
Nice. Hopefully ATH will update his too, or maybe I'll try yours this time.
[QUOTE=ATH;264585]Latest GMP 6.3.1 SVN 1582 compiled with MPIR 2.4.0 and GMP 5.0.2: [URL="http://www.hoegge.dk/GMP-ECM.html"]GMP-ECM.html[/URL]

Many credits to WraithX for helping me with several problems compiling this, and for coding the fix to GMP-ECM so we can use B1>2[sup]32[/sup] for P+1 and ECM.[/QUOTE]

[QUOTE=lorgix;264677]I switched from 'ecm[B]63[/B]mpir[B]230[/B]core2-64' to 'ecm[B]631[/B]mpir[B]240[/B]core2-64-[B]asmredc[/B]'.

The speedup seems to be several percent. I tried a few curves with B1=1e6 on a c207, using -B2scale 2.0. Seems to be >10% faster!

edit: More testing; conservative estimate of speedup when running 43e6 on c264 would be 5%. May very well be >10.[/QUOTE]

ATH 2012-01-07 20:29

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.

firejuggler 2012-01-07 20:36

thanks ATH

Karl M Johnson 2012-01-11 19:42

Can someone please compile ECM with/for AMD Bulldozer ? With xop flag ?


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

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