mersenneforum.org  

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

Reply
 
Thread Tools
Old 2023-01-11, 10:14   #837
tha
 
tha's Avatar
 
Dec 2002

881 Posts
Default

I added this line to the worktodo file again and this time it did the B2 part. I have no idea if I somehow misspelled the previous entry or not, and if so, what is was that was entered.

Code:
PMinus1=1,2,325133,-1,1000000000,40000000,68
tha is offline   Reply With Quote
Old 2023-01-20, 16:16   #838
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

24·199 Posts
Default

Quote:
Originally Posted by LOBES View Post
There are never any requests made to retrieve CERT work.

First, I don't understand why it makes the request when using the -m parameter and not the -d. Second, I don't know why my terminal screen is flooded with those Comm thread messages.

In the end, I just want my client to be able to request CERT work, even if none is available.
For what it's worth, I'm able to process and submit CERT work using v308b17 of mprime. I've not seen any of my v308b17 machines request CERT work, though I'm also keeping them stocked with P-1 work at the moment.
Mark Rose is offline   Reply With Quote
Old 2023-01-20, 16:49   #839
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

7×13×47 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I've not seen any of my v308b17 machines request CERT work
As discussed in my thread, I've also been having this problem. On a whim I downgraded to v30.8b7 (random earlier version). Clumsily I clobbered my v30.8b15 install, but when I started up b5 it happily requested CERT work, which b15 appears not to do. I'm not sure exactly when, but it seems that the bit of code that requests CERT work stopped working properly sometime between b7 and b15. [edit: later analysis suspects around b13]

Last fiddled with by James Heinrich on 2023-01-20 at 22:22
James Heinrich is offline   Reply With Quote
Old 2023-01-20, 21:32   #840
harlee
 
harlee's Avatar
 
Sep 2006
Odenton, MD, USA

110100002 Posts
Default

James, you're probably already doing this, but have you looked CERT results being returned to see which version is the highest that are returning CERT work?
harlee is offline   Reply With Quote
Old 2023-01-20, 22:21   #841
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

10000101101012 Posts
Default

Quote:
Originally Posted by harlee View Post
James, you're probably already doing this, but have you looked CERT results being returned to see which version is the highest that are returning CERT work?
I have, see my post here (and perhaps continue relevant discussion in that thread to avoid cross-posting).
James Heinrich is offline   Reply With Quote
Old 2023-01-26, 17:40   #842
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

37×59 Posts
Default

A quick read of the documentation didn't result in any answers, so...
I've noticed that the best way for me to run P-1 is by running a worker per core for stage 1, then multithread stage two. Is there a way to automate that somehow? Right now, I just change the worker settings/worktodo when stage one finishes, then switch back when stage two finishes etc... a bit tedious.
kracker is offline   Reply With Quote
Old 2023-01-26, 18:45   #843
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

17·487 Posts
Default

Quote:
Originally Posted by kracker View Post
A quick read of the documentation didn't result in any answers, so...
I've noticed that the best way for me to run P-1 is by running a worker per core for stage 1, then multithread stage two. Is there a way to automate that somehow? Right now, I just change the worker settings/worktodo when stage one finishes, then switch back when stage two finishes etc... a bit tedious.
No way to do that now. I'm contemplating a new feature that would do this.
Prime95 is offline   Reply With Quote
Old 2023-01-26, 18:52   #844
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

7·13·47 Posts
Default

A more flexible assignment system would be revolutionary. On my 7950X I need to run 2 workers, and I'm doing mostly P-1, but if I just let them run then I end up with a stage-2 backlog. So I need to throw in some PRP or other not-RAM-using work every now and then, or let both workers fight for stage2 RAM. Also there's the situation where one worker has done all the stage1 work it can while waiting for stage2 RAM to become available, the other worker has some stage1 work (or PRP or whatever) that hasn't been done yet, but the first worker sits idle. A unified work queue for all workers would be amazing. And if a worker runs out of things to do for lack of stage2 RAM it could grab some what-makes-sense-without-RAM worktype (e.g. PRP/DC)

I know this could become complex, but any improvements in this area would be much appreciated.
James Heinrich is offline   Reply With Quote
Old 2023-01-26, 21:42   #845
nordi
 
Dec 2016

11111112 Posts
Default

Quote:
Originally Posted by kracker View Post
I've noticed that the best way for me to run P-1 is by running a worker per core for stage 1, then multithread stage two.
To make matters worse, this approach is best for small exponents (e.g. for 30k), but not for larger exponents (e.g. 14M).

Quote:
Originally Posted by Prime95 View Post
No way to do that now. I'm contemplating a new feature that would do this.
It would be interesting to hear your thoughts on that topic.

My idea would be to configure Core Groups instead of individual Workers. Each Group is assigned some CPU cores and a Config like this:
Code:
[Group #1]
total_cores = 16
stage_1_cores = 1
stage_2_cores = 4
Initially, 16 Stage-1 workers run on 1 core each. They share a common section in worktodo.txt from where they get their jobs.

When a Stage-1 worker in the Group has a result, 4 of the Stage-1 workers are paused. The 4 available CPU cores are now used by another worker doing the Stage-2 work.

Notes:
  • When pausing Stage-1 workers, they should be chosen round-robin to avoid starvation.
  • The stage_2_cores should not be hard coded to "all cores in the group" to accommodate CPUs with separate chiplets, like current AMD CPUs (or separate core-complexes, like my Zen2 chip).
  • I also considered having 1 Group per chiplet, so the stage_2_cores setting wouldn't be needed. But the setup above has the advantage that the Stage-1 workers can provide a steady stream of work to the Stage-2 workers, thus maximizing RAM utilization.


Maybe it would even make sense to have a similar mechanism for ECM and P+1?

Last fiddled with by nordi on 2023-01-26 at 21:44
nordi is offline   Reply With Quote
Old 2023-01-26, 22:24   #846
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

32×11×79 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
A more flexible assignment system would be revolutionary. On my 7950X I need to run 2 workers, and I'm doing mostly P-1, but if I just let them run then I end up with a stage-2 backlog. So I need to throw in some PRP or other not-RAM-using work every now and then, or let both workers fight for stage2 RAM. Also there's the situation where one worker has done all the stage1 work it can while waiting for stage2 RAM to become available, the other worker has some stage1 work (or PRP or whatever) that hasn't been done yet, but the first worker sits idle. A unified work queue for all workers would be amazing. And if a worker runs out of things to do for lack of stage2 RAM it could grab some what-makes-sense-without-RAM worktype (e.g. PRP/DC)
As a stopgap, set days of work to get to something comfortable, like 3-7 days, let it fill that up with PrimeNet-API-obtained P-1 assignments, then append manually obtained PRP/proof as DC for LL, to each worker, which won't expire for weeks or months. If a worker exhausts its stage 1 work, it can do useful work on a DC until big memory becomes available. More manually obtained P-1 can be added in front of the DC from time to time.
kriesel is offline   Reply With Quote
Old 2023-01-26, 22:30   #847
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

427710 Posts
Default

Quote:
Originally Posted by kriesel View Post
As a stopgap
Naturally I can (and do) manage it all manually, but it would be nice to be able to set a machine to "do P-1 unless you run out things to do, then go automatically find something else useful to do" rather than micromanaging. On my other machines I tend to just run one worker and "waste" the available RAM maybe 25% of realtime (stage2 takes a bit longer than stage1, and sometimes Real Work takes RAM precedence via LowMemWhileRunning) rather than micromanage. On my 7950X I need to run 2 workers for chiplet reasons, and when I can't micromanage I just let them fight it out (MaxHighMemWorkers=2) if they both want RAM. Sometimes they're lucky and get all the RAM to themselves, sometimes not.
James Heinrich is offline   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 04:23.


Fri Jul 7 04:23:17 UTC 2023 up 323 days, 1:51, 0 users, load averages: 1.59, 1.64, 1.54

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.

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