mersenneforum.org  

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

Reply
 
Thread Tools
Old 2006-06-18, 20:44   #12
fetofs
 
fetofs's Avatar
 
Aug 2005
Brazil

2·181 Posts
Default

Quote:
Originally Posted by wblipp
Bump.

Are there 6.1 executables available for various configurations?

I've determined the 6.0.1 Windows executable I'm using on P4s and Athlon XPs fails when doing ECM with B1=260M, giving the message

GNU MP: Cannot allocate memory (size=562053120)
You can reduce memory allocation by using various -k and -treefile options (I think), and here is the binary I use for my P4 (compiled with GMP 4.2 and ECM 6.1).
I compiled it under WinXP/MinGW.

Last fiddled with by fetofs on 2006-06-18 at 20:54
fetofs is offline   Reply With Quote
Old 2006-06-19, 12:30   #13
Greenbank
 
Greenbank's Avatar
 
Jul 2005

6028 Posts
Default

MacOS X, ECM 6.0.1 with GMP 4.2 64-bit G5 only: ecm_6.0.1_gmp_4.2_MacOSX_64bit.zip

Last fiddled with by Greenbank on 2006-06-19 at 12:31
Greenbank is offline   Reply With Quote
Old 2006-06-19, 22:19   #14
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

3×277 Posts
Default

gmp-ecm 6.1 w/ gmp 4.2, asm-redc disabled, ntt and tuned, available here

I found this combination to be the fastest in general, but not in every situation. Let's wait for gmp-ecm 6.1.1 to do a wide-range benchmarking...
Mystwalker is offline   Reply With Quote
Old 2006-06-19, 23:00   #15
fetofs
 
fetofs's Avatar
 
Aug 2005
Brazil

2×181 Posts
Default

Quote:
Originally Posted by Mystwalker
gmp-ecm 6.1 w/ gmp 4.2, asm-redc disabled, ntt and tuned
Tuned for what?
fetofs is offline   Reply With Quote
Old 2006-06-20, 10:48   #16
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

3·277 Posts
Default

Quote:
Originally Posted by fetofs
Tuned for what?
I tuned the ecm-params.h parameters, using the "tune" command. I found that those were some % faster on a 500 digit candidate, but (IIRC) 1% slower on a 200 digit composite.
Most other compile combinations basically yielded equal run times per curve.

Last fiddled with by Mystwalker on 2006-06-20 at 10:48
Mystwalker is offline   Reply With Quote
Old 2006-06-20, 16:21   #17
Greenbank
 
Greenbank's Avatar
 
Jul 2005

2×193 Posts
Default

Notice that every other post describes what OS and platform their binaries have been compiled for. Notice what you post lacks. Now consider what was meant by:-

Quote:
Tuned for what?
Greenbank is offline   Reply With Quote
Old 2006-06-20, 18:09   #18
Phil MjX
 
Phil MjX's Avatar
 
Sep 2004

18510 Posts
Default

Quote:
Originally Posted by Mystwalker
I tuned the ecm-params.h parameters, using the "tune" command. I found that those were some % faster on a 500 digit candidate, but (IIRC) 1% slower on a 200 digit composite.
Most other compile combinations basically yielded equal run times per curve.
Hi !

I have noticed that it is very important to tune gmp-ecm 6.1 : look for the difference for stage 2
(most of the composites are ok with both versions but in this case, and some others, it makes a great difference) :

first compilation, without tuning :

GMP-ECM 6.1 [powered by GMP 4.2.1] [ECM]
Input number is 709891330215674922888729762564179876071621230485156504316706784486089//
628388958197669654729613064737223993515869067455247541707 (126 digits)
Using B1=3000000, B2=5706890290, polynomial Dickson(6), sigma=78228681
Step 1 took 78266ms
Step 2 took 101594ms ( ! )


recompiled, adjusting ecm-params.h :

GMP-ECM 6.1 [powered by GMP 4.2.1] [ECM]
Input number is 709891330215674922888729762564179876071621230485156504316706784486089//
628388958197669654729613064737223993515869067455247541707 (126 digits)
Using B1=3000000, B2=5706890290, polynomial Dickson(6), sigma=1397049393
Step 1 took 77828ms
Step 2 took 36078ms


This may explain some disappointing results with version 6.1...

Regards.
Philippe.

PS have you noticed that running many instances of tune.exe gives differents parameters? The first trial offers me good params but I am interested in increasing the accuracy of the test : how can I change the sources to obtain a better estimation?
Thanks

Last fiddled with by Phil MjX on 2006-06-20 at 18:10
Phil MjX is offline   Reply With Quote
Old 2006-06-20, 21:42   #19
Mystwalker
 
Mystwalker's Avatar
 
Jul 2004
Potsdam, Germany

3·277 Posts
Default

Quote:
Originally Posted by Greenbank
Notice that every other post describes what OS and platform their binaries have been compiled for. Notice what you post lacks. Now consider what was meant by "Tuned for what?"
Ok, I just realized that it's not clear that my post #14 was a response to William's request in #11.
Hence, I explicitely state that it's a Windows binary. I don't know whether the optimal parameters differ across OS'es, though. If not, I've tuned it for every OS, one just needs to recompile for the resp. platform.

Quote:
Originally Posted by Phil MjX
look for the difference for stage 2
What CPU do you use? Pentium M and P4 only gained a few % in my tuning tests...

Quote:
PS have you noticed that running many instances of tune.exe gives differents parameters?
Yes, I also noticed this when I tested some dev-versions for David Newman. Some values deviate slightly, others from one extreme (e.g. 65535) to the other (e.g. 512).
Probably these values are not really critical or some background processes slightly modifiy the outcome of some parameters, which could result in other changed parameters.

But I don't have insight experience with this. I've only changed the values and did some benchmarking...
Mystwalker is offline   Reply With Quote
Old 2006-06-21, 03:28   #20
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

3·787 Posts
Default

Thanks, fetofs and Mystwalker. Those solved the problem on the P4. Anybody have a version for Athlon XP?

William
wblipp is offline   Reply With Quote
Old 2006-07-14, 19:16   #21
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

1101101100012 Posts
Default

Since something happened that "broke" OmbooHankvald's tutorial, I'd like to request an ecm.exe file that will work well on a 2.8GHz Pentium-D with 1MB cache for each core. I don't think they're shared, but I may be wrong. I've been having some really, REALLY bad luck with my new computer(I think the d: drive is causing most, if not all, of the trouble.), so I don't have a lot of stuff at the moment, like cpu-z.
jasong is offline   Reply With Quote
Old 2006-07-15, 12:03   #22
wblipp
 
wblipp's Avatar
 
"William"
May 2003
New Haven

3×787 Posts
Default

Quote:
Originally Posted by jasong
I'd like to request an ecm.exe file that will work well on a 2.8GHz Pentium-D with 1MB cache for each core.
Try the links in messages #12 and #14 in this thread.
wblipp 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 22:56.

Mon Mar 1 22:56:55 UTC 2021 up 88 days, 19:08, 0 users, load averages: 1.70, 2.08, 2.35

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.