mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Factoring

Reply
 
Thread Tools
Old 2009-04-01, 18:09   #12
UberNumberGeek
 
UberNumberGeek's Avatar
 
Sep 2008
Masontown, PA

1001102 Posts
Default

Quote:
Originally Posted by 10metreh View Post
I don't know of any way of comparing which is faster without just running a curve of each. I think it depends on your processor too, if they are close. I would have thought that 3 50K curves on 120293 would be faster. (and you only need 214 of them to complete t25).
I got the following results from checking the status of my Prime95 after adding the curves to my worktodo.ini:

3 curves of 1061 @ 260M in 137 min
3 curves of 1657 @ 110M in 77 min
3 curves of 2671 @ 44M in 44 min
3 curves of 10061 @ 11M in 49 min
3 curves of 14489 @ 3M in 25 min
3 curves of 47507 @ 250K in 9 min
3 curves of 120293@ 50K in 4 min

Thus, I could finish the remaining 126 curves of 50K for M(120293) in under 3 hours with my Intel Core2 6600 @ 2.40GHz and 2 GB RAM. If that is a "waste" of processing power, I rationalize it by the fact that finding a prime takes more than 20 days and has odds of more than 1:200K against, whereas running a curve takes mere minutes and has a much better chance of success. I also believe the "goal" of GIMPS has gone from finding the next prime to knowing as much about all Mersennes since Aug 2008. I am now way off topic.

Last fiddled with by UberNumberGeek on 2009-04-01 at 18:10
UberNumberGeek is offline   Reply With Quote
Old 2009-04-01, 18:14   #13
10metreh
 
10metreh's Avatar
 
Nov 2008

2·33·43 Posts
Default

Quote:
Originally Posted by UberNumberGeek View Post
I got the following results from checking the status of my Prime95 after adding the curves to my worktodo.ini:

3 curves of 1061 @ 260M in 137 min
3 curves of 1657 @ 110M in 77 min
3 curves of 2671 @ 44M in 44 min
3 curves of 10061 @ 11M in 49 min
3 curves of 14489 @ 3M in 25 min
3 curves of 47507 @ 250K in 9 min
3 curves of 120293@ 50K in 4 min

Thus, I could finish the remaining 126 curves of 50K for M(120293) in under 3 hours with my Intel Core2 6600 @ 2.40GHz and 2 GB RAM. If that is a "waste" of processing power, I rationalize it by the fact that finding a prime takes more than 20 days and has odds of more than 1:200K against, whereas running a curve takes mere minutes and has a much better chance of success. I also believe the "goal" of GIMPS has gone from finding the next prime to knowing as much about all Mersennes since Aug 2008. I am now way off topic.
There are loads of Mersennes like M120293 that are in the same range and have not had t25, so if you do a lot of them, you should find quite a few factors. And that would put you one level above me, in a way - you would have found a new factor of a Mersenne number!

Last fiddled with by 10metreh on 2009-04-01 at 18:14
10metreh is offline   Reply With Quote
Old 2009-04-01, 18:15   #14
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

5·17·89 Posts
Default

Quote:
Originally Posted by UberNumberGeek View Post
I may need to lie down after receiving these posts which have removed so much confusion. Thank you both 10metreh and fivemack!

I by no means am trying to test your patience, but you both have used terms in your gracious replies to me that I have seen in other posts but not understood.

If I may:

For what does "SNFS" stand? Is that a similar undertaking to GIMPS or software comparable to Prime95?

Do you believe that the lowest factor for 1061 (and please, should I be using M(1061)?) lies above the t60 (t60 meaning 60-digit?) range? If so, is this beyond what Prime95's ECM can attempt? (Ah, I see that fivemack answered this, but I misread his post as "unlikely" rather than the actually posted "likely")

I did not state my 3 vs 59 curve question clearly enough, for which I do apologize. I suppose I was asking if running 59 curves had any sort of cummulative effect in that it may help Prime95 pick a better *some number* based upon the GCD and/or results of previous curves, perhaps "narrowing the scope" of the search. Would running more curves per line in the worktodo.ini possible lead to better results, or, because each curve is randomly-chosen, any given curve is just as likely as the next?

Finally, if all curves' sigmas are chosen randomly, how are they chosen, and why only 112,000 260M curves?

Again, sincere thanks to you both for the education.
Get hold of my joint paper with Sam Wagstaff
"A Practical Analysis of the Elliptic Curve Factoring Algorithm"

read it. It will answer your questions.
R.D. Silverman is offline   Reply With Quote
Old 2009-04-01, 18:16   #15
UberNumberGeek
 
UberNumberGeek's Avatar
 
Sep 2008
Masontown, PA

2·19 Posts
Default

Quote:
Originally Posted by 10metreh View Post
BTW I'd be surprised if the P-1 that has been run on M1061 is only B1=6e10, B2=12e10. Firstly, that B2 is way too small for that B1, and secondly, I would have expected someone like Alex Kruppa to have run much more than that.
Quote:
Originally Posted by Andi47 View Post
We did in spring 2008 (I did the B1, Alex did the B2): B1 = 103e10, B2 = 1e18 (I am not sure if he eventually extended that to B2=2e18)
I just went with what was available on M(1061)'s status page. The B2 should have been 6e12 if B1=6e10, correct?

If Andi47 and Alex ran the P-1 tests stated, it seems highly unlikely a factor for M(1061) will be found with, the comparably "tiny", ECM curves of 260M.
UberNumberGeek is offline   Reply With Quote
Old 2009-04-01, 18:21   #16
10metreh
 
10metreh's Avatar
 
Nov 2008

1001000100102 Posts
Default

Quote:
Originally Posted by UberNumberGeek View Post
I just went with what was available on M(1061)'s status page. The B2 should have been 6e12 if B1=6e10, correct?

If Andi47 and Alex ran the P-1 tests stated, it seems highly unlikely a factor for M(1061) will be found with, the comparably "tiny", ECM curves of 260M.
Remember I said that most 60-digit possible factors just couldn't be found with P-1 with current hardware. I also said that B1s in ECM and P-1 were not comparable. t60 is more likely to find a factor than the P-1 that has been done.

And with P-1, the optimal B2 is quite a way above what you would expect. With a B1 of 6e10, I would guess a B2 of ~1e16 would be optimal.

Last fiddled with by 10metreh on 2009-04-01 at 18:21
10metreh is offline   Reply With Quote
Old 2009-04-01, 18:24   #17
UberNumberGeek
 
UberNumberGeek's Avatar
 
Sep 2008
Masontown, PA

1001102 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Get hold of my joint paper with Sam Wagstaff
"A Practical Analysis of the Elliptic Curve Factoring Algorithm"

read it. It will answer your questions.
Sir, I will, and I am honored by your offering. Thank you for making my forthcoming education easily obtainable. Thank you also for not slaughtering me and my ignorant questions.
UberNumberGeek is offline   Reply With Quote
Old 2009-04-01, 18:28   #18
UberNumberGeek
 
UberNumberGeek's Avatar
 
Sep 2008
Masontown, PA

3810 Posts
Default

Quote:
Originally Posted by 10metreh View Post
Remember I said that most 60-digit possible factors just couldn't be found with P-1 with current hardware. I also said that B1s in ECM and P-1 were not comparable. t60 is more likely to find a factor than the P-1 that has been done.

And with P-1, the optimal B2 is quite a way above what you would expect. With a B1 of 6e10, I would guess a B2 of ~1e16 would be optimal.
Again I show how little I know and that I have not paid appropriate attention to the teaching you gave me earlier as well as to that which I have learned from other posts. I do apologize.

I also went with the assumption that B2 = B1 times 100, which I have seen in many posts and in the Wiki.

Thank you for your patience and multiple explanations.
UberNumberGeek is offline   Reply With Quote
Old 2009-04-01, 18:37   #19
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

5·17·89 Posts
Default

Quote:
Originally Posted by UberNumberGeek View Post
Again I show how little I know and that I have not paid appropriate attention to the teaching you gave me earlier as well as to that which I have learned from other posts. I do apologize.

I also went with the assumption that B2 = B1 times 100, which I have seen in many posts and in the Wiki.

Thank you for your patience and multiple explanations.

B2 = B1 * 100 is a legacy assertion. It was once true based upon the
fastest ECM implementation at the time (back in the 1980's and early
90's; due to P. Montgomery).

Now, if one wants to OPTIMIZE the parameters using a convolution/FFT
based step 2, then B2 = B1^2 will maximize the per unit time probability
of success. Once, again, you need to read my paper to see the
analysis of why this is true.
R.D. Silverman is offline   Reply With Quote
Old 2009-04-01, 18:40   #20
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

5·17·89 Posts
Default

Quote:
Originally Posted by UberNumberGeek View Post
I just went with what was available on M(1061)'s status page. The B2 should have been 6e12 if B1=6e10, correct?

If Andi47 and Alex ran the P-1 tests stated, it seems highly unlikely a factor for M(1061) will be found with, the comparably "tiny", ECM curves of 260M.
(1) It is P-1 test (singular).
(2) Your second assertion is grossly false. Especially if you are reaching
your 'conclusion' by comparing the B1,B2 limits between P-1 and ECM.
ECM uses *multiple* curves.

Once more: READ MY PAPER
R.D. Silverman is offline   Reply With Quote
Old 2009-04-01, 18:57   #21
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Get hold of my joint paper with Sam Wagstaff
"A Practical Analysis of the Elliptic Curve Factoring Algorithm"

read it. It will answer your questions.
It won't do him a blind bit of good, not without learning some basics first. The standard recommendation "Crandall & Pomerance, Prime numbers" is the best I can think of to get a first idea of how P-1 and ECM work. They go into rather more detail on elliptic curve arithmetic than one really needs to understand how to use ECM, though.

What's a good text for elementary facts on smoothness probabilities, explaining stuff like Dickman's ρ(α) function, and that for a given p, B/ρ(log(p)/log(B)) has a minimum for some positive B?

Alex
akruppa is offline   Reply With Quote
Old 2009-04-01, 19:29   #22
FactorEyes
 
FactorEyes's Avatar
 
Oct 2006
vomit_frame_pointer

23·32·5 Posts
Default

Quote:
Originally Posted by fivemack View Post
It is very likely that 2^1061-1 has no factors accessible to ECM, and should be done by SNFS; however, doing it by SNFS would require a fair amount of software development that hasn't been done yet, about a thousand years of sieving on machines with 4GB memory per CPU and an uninterrupted month on a $100,000 computer cluster to finish the job.
In the spirit of this thread, I would like to add that I am working on a new implementation of Pollard rho which should be able to crack 2^1061-1 on a cluster which I am building in my garage. Using 65,536 CPUs, as well as careful ASM subroutines to take advantage of branch prediction at the hardware level, both P-1 and ECM will be rendered obsolete.

Last fiddled with by FactorEyes on 2009-04-01 at 19:31 Reason: 2012 bug is playing havoc with my workstation
FactorEyes is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying the Lucas Lehmer Primality Test into a fast test of nothing Trilo Miscellaneous Math 25 2018-03-11 23:20
P95 PrimeNet causes BSOD; small FFTs, large FFTs, and blend test don't KarateF22 PrimeNet 16 2013-10-28 00:34
launching mprime large FFTs torture test with no menu/interactions graysky Linux 2 2012-07-26 07:54
A primality test for Fermat numbers faster than Pépin's test ? T.Rex Math 0 2004-10-26 21:37
Using Factors to Eliminate Candidates Mivacca2 Math 8 2003-03-25 16:52

All times are UTC. The time now is 03:52.


Fri Jul 7 03:52:54 UTC 2023 up 323 days, 1:21, 0 users, load averages: 1.29, 1.14, 1.13

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔