mersenneforum.org  

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

Reply
 
Thread Tools
Old 2023-05-18, 14:20   #914
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

So only thing I changed from before is that 64*920^n+1 il a lot smaller then 3.8 M other candidates. Maybe B2 is depend on candidate size.
I will rerun test with TF value

https://www.mersenneforum.org/showpost.php?p=620989&postcount=812


This is how I work with Prime95 before: and one worker is always use full memory, second calculate first part....

Last fiddled with by pepi37 on 2023-05-18 at 14:56
pepi37 is online now   Reply With Quote
Old 2023-05-18, 17:20   #915
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

3·953 Posts
Default

Quote:
Originally Posted by pepi37 View Post
So only thing I changed from before is that 64*920^n+1 il a lot smaller then 3.8 M other candidates. Maybe B2 is depend on candidate size.
I will rerun test with TF value

https://www.mersenneforum.org/showpost.php?p=620989&postcount=812


This is how I work with Prime95 before: and one worker is always use full memory, second calculate first part....
How do you present this to Prime95 in the form you used above?
storm5510 is offline   Reply With Quote
Old 2023-05-18, 18:39   #916
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

Pminus1=64,920,308410,1,100000,20000000
pepi37 is online now   Reply With Quote
Old 2023-05-19, 15:39   #917
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

My question had bad formulation, so I will try to ask again. All files are in one zip, attached.
There is local.txt, results.txt, worktodo.txt and window.txt ( contain one worker window)
So question is ( for example) in two candidates in the row one use more memory, and second use far less memory, even fact they have nearly 29 GB RAM free.
So what algo Prime95 use, and how I can say that Prime95 use all memory for every test.
Code:
[May 19 16:17:55] Available memory is 28594MB.
[May 19 16:17:55] Switching to all-complex FMA3 FFT length 640K, Pass1=512, Pass2=1280, clm=2, 4 threads
[May 19 16:17:55] Estimated stage 2 vs. stage 1 runtime ratio: 0.765
[May 19 16:17:57] Using 22057MB of memory.  D: 1050, 120x4184 polynomial multiplication.
[May 19 16:18:00] Stage 2 init complete. 2948 transforms. Time: 4.460 sec.
[May 19 16:18:51] 64*920^462706+1 stage 2 complete. 95619 transforms. Total time: 50.533 sec.
[May 19 16:18:51] Round off: 0.34375
[May 19 16:18:51] Stage 2 GCD complete. Time: 0.643 sec.
[May 19 16:18:51] 64*920^462706+1 completed P-1, B1=100000, B2=13665750, Wi4: 0CCC1D93
[May 19 16:18:51] 
[May 19 16:18:51] P-1 on 64*920^463018+1 with B1=100000, B2=10000000
[May 19 16:18:51] Chance of finding a factor is an estimated 4.62%
[May 19 16:18:51] Using all-complex FMA3 FFT length 512K, Pass1=512, Pass2=1K, clm=1, 4 threads
[May 19 16:19:59] 64*920^463018+1 stage 1 complete. 288858 transforms. Total time: 67.858 sec.
[May 19 16:19:59] Round off: 0.2109375
[May 19 16:20:00] Inversion of stage 1 result complete. 5 transforms, 1 modular inverse. Time: 1.217 sec.
[May 19 16:20:01] Available memory is 28594MB.
[May 19 16:20:01] Switching to all-complex FMA3 FFT length 640K, Pass1=512, Pass2=1280, clm=2, 4 threads
[May 19 16:20:01] Estimated stage 2 vs. stage 1 runtime ratio: 0.735
[May 19 16:20:02] Using 16582MB of memory.  D: 1050, 120x3120 polynomial multiplication.
[May 19 16:20:05] Stage 2 init complete. 2948 transforms. Time: 4.463 sec.
[May 19 16:20:52] 64*920^463018+1 stage 2 complete. 93121 transforms. Total time: 47.326 sec.
[May 19 16:20:52] Round off: 0.3125
[May 19 16:20:53] Stage 2 GCD complete. Time: 0.631 sec.
[May 19 16:20:53] 64*920^463018+1 completed P-1, B1=100000, B2=13304550, Wi4: 0CC39868
Attached Files
File Type: zip prime.zip (25.5 KB, 7 views)

Last fiddled with by pepi37 on 2023-05-19 at 15:40
pepi37 is online now   Reply With Quote
Old 2023-05-19, 16:30   #918
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

3·953 Posts
Default

Quote:
Originally Posted by pepi37 View Post
My question had bad formulation, so I will try to ask again. All files are in one zip, attached.
There is local.txt, results.txt, worktodo.txt and window.txt ( contain one worker window)
So question is ( for example) in two candidates in the row one use more memory, and second use far less memory, even fact they have nearly 29 GB RAM free.
So what algo Prime95 use, and how I can say that Prime95 use all memory for every test.
In local.txt, you have it set to:

Code:
Memory=28600 during 7:30-23:30 else 29000
Prime95 may not use all of what you have allowed. Only what it needs. I do not see a problem with what you have, but someone else might.
storm5510 is offline   Reply With Quote
Old 2023-05-19, 17:01   #919
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

Quote:
Originally Posted by storm5510 View Post
In local.txt, you have it set to:

Code:
Memory=28600 during 7:30-23:30 else 29000
Prime95 may not use all of what you have allowed. Only what it needs. I do not see a problem with what you have, but someone else might.
If you read my zip file you will find that is set already
Memory=28600 during 7:30-23:30 else 29000

Problem is next: when Prime95 use more memory then will go further in B2 and change for find factor will be better.
Maybe I need to lift up B1 bound?
pepi37 is online now   Reply With Quote
Old 2023-05-19, 20:29   #920
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17×487 Posts
Default

Quote:
Originally Posted by pepi37 View Post
If you read my zip file you will find that is set already
Memory=28600 during 7:30-23:30 else 29000
This seems silly. What this ensures is that P-1 will needlessly stop and restart for new memory settings. Just set it to 28600 all day (or 29000).

Quote:
Problem is next: when Prime95 use more memory then will go further in B2 and change for find factor will be better. Maybe I need to lift up B1 bound?
Prime95 needs to know how much TF has been done for it to pick the near optimal B2 bounds. Otherwise, prime95 will use the B2 value from worktodo.txt
Prime95 is offline   Reply With Quote
Old 2023-05-19, 20:54   #921
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This seems silly. What this ensures is that P-1 will needlessly stop and restart for new memory settings. Just set it to 28600 all day (or 29000).



Prime95 needs to know how much TF has been done for it to pick the near optimal B2 bounds. Otherwise, prime95 will use the B2 value from worktodo.txt
Is any way to force all memory not optimal b2 bound? As you suggest I set Tf bound in woroktodo.txt. Also will upper b1 produce better chance of finding factor?
pepi37 is online now   Reply With Quote
Old 2023-05-20, 00:36   #922
storm5510
Random Account
 
storm5510's Avatar
 
Aug 2009
Not U. + S.A.

3·953 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Is any way to force all memory not optimal b2 bound? As you suggest I set Tf bound in woroktodo.txt. Also will upper b1 produce better chance of finding factor?
Match your memory settings!

You seem to be fighting with what you are doing. B1 uses very little memory. B2 will adjust itself based on your memory setting if you allow it. You are trying to force it using the Pminus1 form. I do not believe this will do any good. It may even slow it down. I feel it would be better to use the PFactor form. This will allow Prime95 to use what it needs, as I described above.
storm5510 is offline   Reply With Quote
Old 2023-05-20, 09:01   #923
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

Quote:
Originally Posted by storm5510 View Post
Match your memory settings!

You seem to be fighting with what you are doing. B1 uses very little memory. B2 will adjust itself based on your memory setting if you allow it. You are trying to force it using the Pminus1 form. I do not believe this will do any good. It may even slow it down. I feel it would be better to use the PFactor form. This will allow Prime95 to use what it needs, as I described above.
If I use your solution with Pfactor then I got this

64*920^300082+1 does not need P-1 factoring.

So this is not solution (for my case)
pepi37 is online now   Reply With Quote
Old 2023-05-20, 11:45   #924
pepi37
 
pepi37's Avatar
 
Dec 2011
After 1.58M nines:)

1,699 Posts
Default

Quote:
Originally Posted by storm5510 View Post
Match your memory settings!

You seem to be fighting with what you are doing. B1 uses very little memory. B2 will adjust itself based on your memory setting if you allow it. You are trying to force it using the Pminus1 form. I do not believe this will do any good. It may even slow it down. I feel it would be better to use the PFactor form. This will allow Prime95 to use what it needs, as I described above.
Or better to say / kindly ask please write one line what I should put in worktodo.txt to get benefit from using Pfactor. You have all info you need to know. Thanks in advance
pepi37 is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Do not post your results here! kar_bon Prime Wiki 40 2022-04-03 19:05
what should I post ? science_man_88 science_man_88 24 2018-10-19 23:00
Where to post job ad? xilman Linux 2 2010-12-15 16:39
Moderated Post kar_bon Forum Feedback 3 2010-09-28 08:01
Something that I just had to post/buy dave_0273 Lounge 1 2005-02-27 18:36

All times are UTC. The time now is 13:50.


Fri Jul 7 13:50:30 UTC 2023 up 323 days, 11:19, 0 users, load averages: 1.08, 1.18, 1.14

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.

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