mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2021-09-01, 11:11   #419
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

1,487 Posts
Default

Quote:
Originally Posted by Prime95 View Post
What's wrong with ProofPower=0?

Thank you! Works perfect!
pepi37 is online now   Reply With Quote
Old 2021-09-02, 19:55   #420
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

5·7·11 Posts
Default

I missed a comma in a PMinus1 assignment which resulted in only stage one happening (which it completed).
When I added the exponent back with

PMinus1=1,2,21317,-1,30000000000,0,67,2

Code:
[Worker #5 Sep 1 23:29] P-1 on M21317 with B1=30000000000, B2=TBD
[Worker #5 Sep 1 23:29] Using AVX FFT length 1K
[Worker #5 Sep 1 23:29] M21317 stage 1 complete. 0 transforms. Time: 0.887 sec.
[Worker #5 Sep 1 23:29] Stage 1 GCD complete. Time: 0.001 sec.
[Worker #5 Sep 1 23:29] Available memory is 31000MB.
(6 hours to make up it's mind)
[Worker #5 Sep 2 05:36] With trial factoring done to 2^67, optimal B2 is 614891451*B1 = 18446743530000000000.
[Worker #5 Sep 2 05:36] If no prior P-1, chance of a new factor is 41.6%
I've seen 200*B1 and 1000*B1 with ecm but never 614,000,000*B1
Also weird that it took 6 hours to make up it's mind.
SethTro is offline   Reply With Quote
Old 2021-09-03, 01:18   #421
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

32×853 Posts
Default

Quote:
Originally Posted by SethTro View Post
PMinus1=1,2,21317,-1,30000000000,0,67,2
I've seen 200*B1 and 1000*B1 with ecm but never 614,000,000*B1
Also weird that it took 6 hours to make up it's mind.
The 6 hours bug is fixed in 30.7. I've also capped the max B2/B1 at 1000 (can override with a prime.txt setting).

It may well be that large B2/B1 ratio makes sense. Prime95 looks at the incremental cost associated with increasing the B2/B1 ratio and asks "if I invested that cost in increasing B1, which would have the better chance of finding a factor"?

With your ultra large B1 I suppose there is little to be gained in raising B1, thus prime95 concludes a very large B2/B1 ratio makes sense. Your version finally stopped at a ratio of 614000000 because B2*B1 overflowed 64 bits.
Prime95 is offline   Reply With Quote
Old 2021-09-03, 03:19   #422
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

767710 Posts
Default

Quote:
Originally Posted by SethTro View Post
PMinus1=1,2,21317,-1,30000000000,0,67,2
30.7 is going to have real trouble running stage 2 on this. Maybe if you keep the B2/B1 ratio low it will work.

30.7 uses a new prime pairing algorithm that is mainly targeting the common cases: B1 from 50,000 to 100,000,000 and B2/B1 from 10 to 200.
Prime95 is offline   Reply With Quote
Old 2021-09-03, 04:28   #423
axn
 
axn's Avatar
 
Jun 2003

120738 Posts
Default

21317 has ECM done till half t45. If you convert that to a TF depth and use that instead of 67, maybe it will generate reasonable B2?

EDIT:- Or realize that asking P95 to generate "optimal" B2 with completely made up numbers like "67,2" is piling nonsense upon nonsense, and instead just specify the B2 manually (say B1*200).

EDIT2:- But naturally, this small an exponent should use GMP-ECM to do stage 2.

Last fiddled with by axn on 2021-09-03 at 04:39
axn is online now   Reply With Quote
Old 2021-09-03, 06:38   #424
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

101110011112 Posts
Default

To rise old question from the dust, can in Prime95 be implemented option STOP K when prime is found ( same as LLR have) It will be great for CRUS search.
pepi37 is online now   Reply With Quote
Old 2021-09-03, 17:58   #425
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

5×7×11 Posts
Default

I think changing worker threads reset my progress on ECM.

BL;UP
Worker #2 is on curve 646, then I change to 1 worker with 8 threads and that the ECM workitem gets moved to Worker #1 and progress gets reset back to curve 1.

I do have e0125429 and e0125429_1 so it's likely some status has been saved but it's hard to inspect these files by hand to see which curve it thinks it's on.

Excerpts from my logs


Code:
[Worker #2 Sep 3 00:47] ECM on M125429: curve #644 with s=8339439611366174, B1=3000000, B2=300000000
[Worker #2 Sep 3 00:59] Stage 1 complete. 78140227 transforms, 1 modular inverses. Time: 668.117 sec.
[Worker #2 Sep 3 01:03] Stage 2 complete. 28174299 transforms, 2 modular inverses. Time: 255.439 sec.
[Worker #2 Sep 3 01:03] ECM on M125429: curve #645 with s=8285950124090187, B1=3000000, B2=300000000
[Worker #2 Sep 3 01:14] Stage 1 complete. 78140227 transforms, 1 modular inverses. Time: 670.593 sec.
[Worker #2 Sep 3 01:18] Stage 2 complete. 28174299 transforms, 2 modular inverses. Time: 252.148 sec.
[Worker #2 Sep 3 01:18] Stage 2 GCD complete. Time: 0.004 sec.
[Worker #2 Sep 3 01:18] ECM on M125429: curve #646 with s=5349357897010496, B1=3000000, B2=300000000

	     Main Menu

	 1.  Test/Primenet
	 2.  Test/Worker threads
	 3.  Test/Status
	 4.  Test/Stop
	 5.  Test/Exit
	 6.  Advanced/Test
	 7.  Advanced/Time
	 8.  Advanced/P-1
	 9.  Advanced/ECM
	10.  Advanced/Manual Communication
	11.  Advanced/Unreserve Exponent
	12.  Advanced/Quit Gimps
	13.  Options/CPU
	14.  Options/Resource Limits
	15.  Options/Preferences
	16.  Options/Torture Test
	17.  Options/Benchmark
	18.  Help/About
	19.  Help/About PrimeNet Server
Your choice: 3

Below is a report on the work you have queued and any expected completion
dates.
[Worker thread #1]
No work queued up.
[Worker thread #2]
M125429, ECM 750 curves B1=3000000, Sun Sep  5 12:14 2021
[Worker thread #3]
No work queued up.
[Worker thread #4]
No work queued up.
[Worker thread #5]
No work queued up.
[Worker thread #6]
No work queued up.
[Worker thread #7]
No work queued up.


Hit enter to continue: [Worker #2 Sep 3 01:30] Stage 1 complete. 78140227 transforms, 1 modular inverses. Time: 688.191 sec.
[Worker #2 Sep 3 01:30] Using 892MB of memory in stage 2.
[Worker #2 Sep 3 01:30] Stage 2 init complete. 160213 transforms, 1 modular inverses. Time: 1.430 sec.
[Worker #2 Sep 3 01:34] Stage 2 complete. 28174299 transforms, 2 modular inverses. Time: 263.829 sec.
[Worker #2 Sep 3 01:34] Stage 2 GCD complete. Time: 0.006 sec.
[Worker #2 Sep 3 01:34] ECM on M125429: curve #647 with s=2997245615684352, B1=3000000, B2=300000000
[Worker #4 Sep 3 01:42] Resuming.
[Worker #4 Sep 3 01:42] No work to do at the present time.  Waiting.

	     Main Menu

	 1.  Test/Primenet
	 2.  Test/Worker threads
	 3.  Test/Status
	 4.  Test/Stop
	 5.  Test/Exit
	 6.  Advanced/Test
	 7.  Advanced/Time
	 8.  Advanced/P-1
	 9.  Advanced/ECM
	10.  Advanced/Manual Communication
	11.  Advanced/Unreserve Exponent
	12.  Advanced/Quit Gimps
	13.  Options/CPU
	14.  Options/Resource Limits
	15.  Options/Preferences
	16.  Options/Torture Test
	17.  Options/Benchmark
	18.  Help/About
	19.  Help/About PrimeNet Server
Your choice: 2

Number of workers to run (7): 1

CPU cores to use (multithreading) (1): 8

Accept the answers above? (Y): Y
[Main thread Sep 3 01:43] Restarting all worker windows.
	     Main Menu

	 1.  Test/Primenet
	 2.  Test/Worker threads
	 3.  Test/Status
	 4.  Test/Stop
	 5.  Test/Exit
	 6.  Advanced/Test
	 7.  Advanced/Time
	 8.  Advanced/P-1
	 9.  Advanced/ECM
	10.  Advanced/Manual Communication
	11.  Advanced/Unreserve Exponent
	12.  Advanced/Quit Gimps
	13.  Options/CPU
	14.  Options/Resource Limits
	15.  Options/Preferences
	16.  Options/Torture Test
	17.  Options/Benchmark
	18.  Help/About
	19.  Help/About PrimeNet Server
Your choice: [Worker #1 Sep 3 01:43] Resuming.
[Worker #1 Sep 3 01:43] Worker stopped.
[Worker #4 Sep 3 01:43] Resuming.
[Worker #4 Sep 3 01:43] Worker stopped.
[Worker #7 Sep 3 01:43] Resuming.
[Worker #7 Sep 3 01:43] Worker stopped.
[Worker #3 Sep 3 01:43] Resuming.
[Worker #3 Sep 3 01:43] Worker stopped.
[Worker #6 Sep 3 01:43] Resuming.
[Worker #6 Sep 3 01:43] Worker stopped.
[Worker #5 Sep 3 01:43] Resuming.
[Worker #5 Sep 3 01:43] Worker stopped.
[Worker #2 Sep 3 01:43] Worker stopped.
[Main thread Sep 3 01:43] Restarting all worker windows using new settings.
[Main thread Sep 3 01:43] Too many sections in worktodo.txt.  Moving work from section #2 to #1.
[Main thread Sep 3 01:43] Too many sections in worktodo.txt.  Moving work from section #3 to #1.
[Main thread Sep 3 01:43] Too many sections in worktodo.txt.  Moving work from section #4 to #1.
[Main thread Sep 3 01:43] Too many sections in worktodo.txt.  Moving work from section #5 to #1.
[Main thread Sep 3 01:43] Too many sections in worktodo.txt.  Moving work from section #6 to #1.
[Main thread Sep 3 01:43] Too many sections in worktodo.txt.  Moving work from section #7 to #1.
[Worker #1 Sep 3 01:43] Worker starting
[Worker #1 Sep 3 01:43] Setting affinity to run worker on CPU core #2
[Worker #1 Sep 3 01:43] Setting affinity to run helper thread 1 on CPU core #3
[Worker #1 Sep 3 01:43] Setting affinity to run helper thread 3 on CPU core #5
[Worker #1 Sep 3 01:43] Setting affinity to run helper thread 4 on CPU core #6
[Worker #1 Sep 3 01:43] Setting affinity to run helper thread 5 on CPU core #7
[Worker #1 Sep 3 01:43] Setting affinity to run helper thread 2 on CPU core #4
[Worker #1 Sep 3 01:43] Using FMA3 FFT length 6K, Pass1=128, Pass2=48, clm=2, 6 threads
[Worker #1 Sep 3 01:43] ECM on M125429: curve #1 with s=4174744624872270, B1=3000000, B2=300000000
[Worker #1 Sep 3 02:38] Stage 1 complete. 78140227 transforms, 1 modular inverses. Time: 3308.460 sec.
[Worker #1 Sep 3 02:56] Stage 2 complete. 28174303 transforms, 2 modular inverses. Time: 1042.426 sec.
[Worker #1 Sep 3 02:56] ECM on M125429: curve #2 with s=1008188240961680, B1=3000000, B2=300000000
[Worker #1 Sep 3 03:49] Stage 1 complete. 78140227 transforms, 1 modular inverses. Time: 3180.581 sec.
[Worker #1 Sep 3 04:06] Stage 2 complete. 28174299 transforms, 2 modular inverses. Time: 1009.045 sec.
[Worker #1 Sep 3 04:06] ECM on M125429: curve #3 with s=2585226154145931, B1=3000000, B2=300000000
SethTro is offline   Reply With Quote
Old 2021-09-03, 19:30   #426
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

167758 Posts
Default

Quote:
Originally Posted by SethTro View Post
I think changing worker threads reset my progress on ECM.

I do have e0125429 and e0125429_1 so it's likely some status has been saved but it's hard to inspect these files by hand to see which curve it thinks it's on.
ECM save file names are a mess. The _1 is there so that multiple workers can all ECM the same number.

Step 1: backup the two files.
Step 2: delete and/or rename files until prime95 uses the one with 640+ curves.

Sorry for the trouble.
Prime95 is offline   Reply With Quote
Old 2021-09-03, 21:26   #427
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

1100000012 Posts
Default

That worked.

Thanks for the advice and thanks for writing all of the code :)
SethTro is offline   Reply With Quote
Old 2021-09-11, 00:29   #428
Glenn
 
"Glenn Leider"
Apr 2021
Carlsbad, CA

1116 Posts
Smile Latest Prime95 Updating?

At what point should I update my Prime95 software? I'm currently using 30.6 Build 4, which seems to be the latest easily available, though I'm now reading about 30.7 in this thread.
Glenn is offline   Reply With Quote
Old 2021-09-11, 00:47   #429
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2×5×353 Posts
Default

Perhaps the better question is why the download page still points to v30.3b6?
James Heinrich is online now   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 17:56.


Tue Nov 30 17:56:15 UTC 2021 up 130 days, 12:25, 0 users, load averages: 1.00, 1.29, 1.43

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.