mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2018-06-17, 11:58   #1
ICWiener
 
Jun 2018

17 Posts
Default In CUDALucas, do I have to wait until 100% completion before knwoing that my cadidate is composite?

I am running a CUDALucas Mersenne prime test since several months, and I am reaching the 20% mark. My candidate is purely random[1] (the prime exponent, that is), so I do not expect to find a new Mersenne prime. However, the fact that CUDALucas continues to compute for months without ruling out that it's composite makes me wonder:

- does CUDALucas need to reach 100% before giving a "verdict"?
- should I entertain hopes that finding a prime has more probability, now that several months of computing have elapsed?
_________________________

[1] i.e., it doesn't fulfill any of the criteria of the new Mersenne conjecture.
ICWiener is offline   Reply With Quote
Old 2018-06-17, 12:08   #2
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

23·3·5·71 Posts
Default

Quote:
Originally Posted by ICWiener View Post
I am running a CUDALucas Mersenne prime test since several months, and I am reaching the 20% mark. My candidate is purely random[1] (the prime exponent, that is), so I do not expect to find a new Mersenne prime. However, the fact that CUDALucas continues to compute for months without ruling out that it's composite makes me wonder:

- does CUDALucas need to reach 100% before giving a "verdict"?
- should I entertain hopes that finding a prime has more probability, now that several months of computing have elapsed?
_________________________

[1] i.e., it doesn't fulfill any of the criteria of the new Mersenne conjecture.
A Lucas Lehmer primality test needs to complete to tell if a Mersenne number is prime or not. edit: or if p and 2p+1 are both 3 mod 4 and prime we know it's composite but only a few cases like that.

Last fiddled with by science_man_88 on 2018-06-17 at 12:35
science_man_88 is offline   Reply With Quote
Old 2018-06-17, 13:52   #3
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

27·33 Posts
Default

What graphic card are you running this on? How big is the exponent approximately?

It is not supposed to take many months, so either it is a very old card and/or you have chosen a way too large exponent.

It might also be one of those graphic cards that is best used for trial factoring because double precision speed (needed for LL test) is 32 times slower than single precision speed (used for trial factoring).
ATH is offline   Reply With Quote
Old 2018-06-17, 14:00   #4
ICWiener
 
Jun 2018

17 Posts
Default

Quote:
Originally Posted by ATH View Post
What graphic card are you running this on? How big is the exponent approximately?

It is not supposed to take many months, so either it is a very old card and/or you have chosen a way too large exponent.

It might also be one of those graphic cards that is best used for trial factoring because double precision speed (needed for LL test) is 32 times slower than single precision speed (used for trial factoring).
I have chosen a very large exponent. The calculation's ETA is almost 300 days.
ICWiener is offline   Reply With Quote
Old 2018-06-17, 15:25   #5
GP2
 
GP2's Avatar
 
Sep 2003

2×5×7×37 Posts
Default

Only the final result matters, and it is a yes-or-no result.

Zero means yes it's prime, and non-zero means no it's not prime.

Any interim result (or the exact numerical value of a non-zero final result) is useful only for comparison purposes when it comes time for someone else to do a verification run, to double-check the accuracy of your test. If the two runs don't match then one or possibly both of them is wrong and further tests are needed.
GP2 is offline   Reply With Quote
Old 2018-06-17, 15:36   #6
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

100001010010002 Posts
Default

Quote:
Originally Posted by ICWiener View Post
I have chosen a very large exponent. The calculation's ETA is almost 300 days.
Is the exponent in the 25.92 billion range ?

Last fiddled with by science_man_88 on 2018-06-17 at 15:36
science_man_88 is offline   Reply With Quote
Old 2018-06-17, 16:39   #7
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

809310 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
Is the exponent in the 25.92 billion range ?
No. Max CUDALucas fft length is 64M & theoretically limited to 1143M. In practice it appears to be lower.
kriesel is offline   Reply With Quote
Old 2018-06-17, 16:55   #8
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

23·3·5·71 Posts
Default

Quote:
Originally Posted by kriesel View Post
No. Max CUDALucas fft length is 64M & theoretically limited to 1143M. In practice it appears to be lower.
Means either iteration times are above 22.7 ms per iteration or the computer isn't 24/7
science_man_88 is offline   Reply With Quote
Old 2018-06-17, 17:29   #9
ICWiener
 
Jun 2018

17 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
Means either iteration times are above 22.7 ms per iteration or the computer isn't 24/7
Iteration times are around 60 ms, and the PC is on 24/7. Note that I'm only using a home PC, nothing fancy with a GeForce GTX Ti 1050. My exponent isn't in't the billions range, as someone suggested. Instead, it's in the 100 million.
ICWiener is offline   Reply With Quote
Old 2018-06-17, 18:45   #10
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

8,093 Posts
Default

Quote:
Originally Posted by ICWiener View Post
I am running a CUDALucas Mersenne prime test since several months, and I am reaching the 20% mark. My candidate is purely random[1] (the prime exponent, that is), so I do not expect to find a new Mersenne prime. However, the fact that CUDALucas continues to compute for months without ruling out that it's composite makes me wonder:

a- does CUDALucas need to reach 100% before giving a "verdict"?
b- should I entertain hopes that finding a prime has more probability, now that several months of computing have elapsed?
_________________________

[1] i.e., it doesn't fulfill any of the criteria of the new Mersenne conjecture.
Welcome to the hunt. (Futurama fan?)

a) yes
b) only in the sense that it has not obviously crashed yet. Only the last Lucas-Lehmer sequence output tells of primality status, the other iterations are necessary steps to reach it.

Did you use good practice, fft benchmarking the card, in CUDALucas for the fft lengths of interest, threads benchmarking the card, run the residue selftest, run memory test over the whole card, run a couple of low double checks to verify it's working at differing fft lengths, before tackling a several months or some years' length assignment? Check out the exponent? Confirm that 64-bit residues are changing from one status line to the next, and known-bad behavior not happening? What version CUDALucas is running? (V2.06 May 5 2017 beta?)
kriesel is offline   Reply With Quote
Old 2018-06-17, 18:46   #11
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

8,093 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
Means either iteration times are above 22.7 ms per iteration or the computer isn't 24/7
CUDALucas won't run 25 billion or even 2 billion exponent; 1.143 billion max exponent, for 64M fft length max.

Last fiddled with by kriesel on 2018-06-17 at 18:50
kriesel is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
DC completion not noticed TimSorbet GPU to 72 3 2011-12-20 16:12
Reserve Exponent to Completion Unregistered Information & Answers 7 2010-11-28 11:00
Update computer, buy new one, or wait? Unregistered Information & Answers 21 2010-07-21 02:38
Bug in P-1 completion percentage report NBtarheel_33 Software 3 2010-05-21 16:47
Expected completion dates herschko Information & Answers 3 2009-11-28 16:21

All times are UTC. The time now is 04:31.


Sat Sep 30 04:31:18 UTC 2023 up 17 days, 2:13, 0 users, load averages: 1.29, 1.13, 1.15

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.

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