mersenneforum.org  

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

Reply
 
Thread Tools
Old 2009-04-10, 18:26   #166
10metreh
 
10metreh's Avatar
 
Nov 2008

2·33·43 Posts
Default

Jeff, could we please have P4-optimized binaries of GMP-ECM?
10metreh is offline   Reply With Quote
Old 2009-04-10, 19:59   #167
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by 10metreh View Post
Jeff, could we please have P4-optimized binaries of GMP-ECM?
If you are talking about MSVC 32bit versions, that is what the 32bit built is made for, the Pentium 4. But as we have seen here it might be faster to roll your own Linux/cygwin version.

There are no 64bit Pentium4 versions.
Jeff Gilchrist is offline   Reply With Quote
Old 2009-04-15, 11:18   #168
Yamato
 
Yamato's Avatar
 
Sep 2005
Berlin

2×3×11 Posts
Default

gmp-ecm 6.2.2, gmp 4.3.0, Linux-64-Bit, Core 2, asm-redc: ecm622_lin64.tar.gz
Yamato is offline   Reply With Quote
Old 2009-04-26, 10:06   #169
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

117310 Posts
Default

GMP-ECM 6.2.3 with MPIR 1.1.1 compiled for Windows 32bit & 64bit using Visual Studio 2008:
http://gilchrist.ca/jeff/factoring/
Jeff Gilchrist is offline   Reply With Quote
Old 2009-04-26, 17:44   #170
Andi_HB
 
Andi_HB's Avatar
 
Mar 2007
Germany

23×3×11 Posts
Default

Can you please compile ecm 6.2.3 with GMP 4.3.0 for Core2 Win32 ?
It will be interesting to see the speedup from GMP 4.3.0

Last fiddled with by Andi_HB on 2009-04-26 at 17:46
Andi_HB is offline   Reply With Quote
Old 2009-04-26, 19:01   #171
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3×17×23 Posts
Default

Quote:
Originally Posted by Andi_HB View Post
Can you please compile ecm 6.2.3 with GMP 4.3.0 for Core2 Win32 ?
It will be interesting to see the speedup from GMP 4.3.0
Is that aimed at me? I can give you cygwin benchmarks with GMP 4.3.0 but can't compare GMP 4.3.0 with MSVC builds because GMP 4.3.0 has no Windows compiler support.
Jeff Gilchrist is offline   Reply With Quote
Old 2009-04-26, 19:39   #172
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

10110111011102 Posts
Default

Quote:
Originally Posted by Jeff Gilchrist View Post
Is that aimed at me? I can give you cygwin benchmarks with GMP 4.3.0 but can't compare GMP 4.3.0 with MSVC builds because GMP 4.3.0 has no Windows compiler support.
what about mingw?
can't you cross compile stuff for windows with that?

Last fiddled with by henryzz on 2009-04-26 at 19:40
henryzz is offline   Reply With Quote
Old 2009-04-26, 20:45   #173
Yamato
 
Yamato's Avatar
 
Sep 2005
Berlin

1028 Posts
Default

Here are some more binaries for gmp-ecm 6.2.3 + gmp 4.3.0:

Linux, 64bit, Core2: ecm623_lin64.tar.gz
Linux, 32bit, Pentium4: ecm623_lin32.tar.gz
Windows, 32bit, Core2: ecm623_win32.zip
Yamato is offline   Reply With Quote
Old 2009-04-27, 13:43   #174
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

248210 Posts
Default Timings

Quote:
Originally Posted by Yamato View Post
Here are some more binaries for gmp-ecm 6.2.3 + gmp 4.3.0:

Windows, 32bit, Core2: ecm623_win32.zip
Timings on a Core2Duo at 1.8 GHz (running under Win XP 32 bit)

GMP-ECM 6.2 with GMP 4.2.2, compiled with MinGW/Msys
Code:
GMP-ECM 6.2 [powered by GMP 4.2.2] [ECM]
Input number is 4363521036736243362909434674593128775074296867895664746056146512001110140536995910538826352740264283689 (103 digits)
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=1806323290
Step 1 took 13672ms
Step 2 took 7734ms
Run 2 out of 651:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=1282855583
Step 1 took 13719ms
Step 2 took 7750ms
Run 3 out of 651:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=1254100664
Step 1 took 13812ms
Step 2 took 7907ms
Run 4 out of 651:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=630890257
Step 1 took 13718ms
Step 2 took 7828ms
Run 5 out of 651:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=1730893806
Step 1 took 13969ms
Step 2 took 7781ms
GMP-ECM 6.2.3 with GMP 4.3.0 (precompiled from Yamato)
Code:
GMP-ECM 6.2.3 [powered by GMP 4.3.0] [ECM]
Input number is 4363521036736243362909434674593128775074296867895664746056146512001110140536995910538826352740264283689 (103 digits)
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=3642599884
Step 1 took 10141ms
Step 2 took 4750ms
Run 2 out of 5:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=2597421712
Step 1 took 10062ms
Step 2 took 4750ms
Run 3 out of 5:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=2261704683
Step 1 took 10391ms
Step 2 took 4812ms
Run 4 out of 5:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=3276911541
Step 1 took 9875ms
Step 2 took 4797ms
Run 5 out of 5:
Using B1=1000000, B2=1045563762, polynomial Dickson(6), sigma=4096292858
Step 1 took 10719ms
Step 2 took 4750ms
Now THAT's a speedup!
Andi47 is offline   Reply With Quote
Old 2009-04-27, 15:28   #175
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

49516 Posts
Default

Quote:
Originally Posted by Yamato View Post
Here are some more binaries for gmp-ecm 6.2.3 + gmp 4.3.0:
What command lines did you use for configure to compile gmp-ecm and gmp 4.3.0for Win32?

Thanks,
Jeff.

Last fiddled with by Jeff Gilchrist on 2009-04-27 at 15:53
Jeff Gilchrist is offline   Reply With Quote
Old 2009-04-27, 15:31   #176
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

3·17·23 Posts
Default

Quote:
Originally Posted by henryzz View Post
what about mingw?
can't you cross compile stuff for windows with that?
You can create a 32bit binary that will run on Windows with mingw yes, I was just pointing out that GMP 4.3.0 does not have Windows support so can't be used by the Visual Studio compiler, you need something like gcc (ie: in cygwin or mingw) to compile the Linux version of the source.
Jeff Gilchrist is offline   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 23:50.

Fri May 14 23:50:08 UTC 2021 up 36 days, 18:31, 0 users, load averages: 2.35, 2.15, 2.07

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.