mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-07-23, 13:01   #1
galgrnpa
 
Jul 2016

112 Posts
Default Workers

I'm running four workers, one fore each core.
I need a way to tell the workers not to ask for more work from the server when they complete the current work, thus when the current work is done I will be able to go down to three worker without loosing the work that is currently in progress.
galgrnpa is offline   Reply With Quote
Old 2016-07-23, 14:37   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

22×2,767 Posts
Default

Which version of Prime95 are you running and on what OS/hardware? The most recent 64-bit versions default to 1 worker and will combine your worktodo.txt file sections when they start up.

You can also stop Prime95, make the changes to your worktodo.txt manually and change the settings on Prime95 at the same time. Then when you restart, have it finish the work for each worker before getting new work. If decide to do this, save a copy of your worktodo.txt file under a different name (for safety) first. Stop Prime95 from processing, but don't close it down. Edit your worktodo.txt, combining all of the worker sections (when you stop Prime95 it writes the files needed to resume, so don't worry about losing work.) Save your worktodo.txt (and another back-up copy of the edited version). In Prime95, change to 1 worker thread and 3 helpers. Continue the processing with Prime95. It should read the newly edited worktodo.txt file and work fine. Check that it has all the exponents that you want queued up. If it does, great you are finished. If not, stop and exit Prime95. Delete the existing worktodo.txt and replace it with a copy of the edited version. Restart Prime95 and it should be doing what you want.
Uncwilly is online now   Reply With Quote
Old 2016-07-23, 19:26   #3
galgrnpa
 
Jul 2016

316 Posts
Default

Windows64,Prime95,v28.9,build 2
Windows 10 home, Version 1511, build 10586
Mobo: Gigabyte H170-D3HP
i5-6600, 3.30GHz, 8GB
Regarding your reply, thanks, I set Prime95 in motion the automatic way according to the “How To…”, so pretty much everything you wrote is still not clear to me, but I will go under the hood to see how this thing works.
galgrnpa is offline   Reply With Quote
Old 2016-07-25, 15:02   #4
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

340610 Posts
Default

Quote:
Originally Posted by galgrnpa View Post
Windows64,Prime95,v28.9,build 2
Windows 10 home, Version 1511, build 10586
Mobo: Gigabyte H170-D3HP
i5-6600, 3.30GHz, 8GB
Regarding your reply, thanks, I set Prime95 in motion the automatic way according to the “How To…”, so pretty much everything you wrote is still not clear to me, but I will go under the hood to see how this thing works.
You could try using the "quit gimps" option and let it finish it's current assignments. When one of your workers finished, change the options to only do 3 workers instead of 4, then tell it to use the server assignments again.

As mentioned, with the current exponents being worked on, you may do better with a single worker using 4 cores (or only three if you want to have a CPU core free for other things).
Madpoo is offline   Reply With Quote
Old 2016-08-09, 10:59   #5
galgrnpa
 
Jul 2016

3 Posts
Default

So currently I use one Worker and two helpers on three cores out of the four.

When the program started processing the last assignment in the queue it immediately received another so this new assignment will wait in my queue for the whole duration of the current computation.

1) I don’t want this cash, how do I delay the acceptance of a new assignment from the server until the current (last) is done ?

2) As my computer will need to be shut down (vacation) and I don’t want to abort an assignment or to leave one incomplete and waiting to be resume, how will I prevent the download of a new assignment altogether ? And of course how will I later resume ?

3) I want to move the program folder (p95v289.win64) to another location, how ?

Last fiddled with by galgrnpa on 2016-08-09 at 11:01
galgrnpa is offline   Reply With Quote
Old 2016-08-09, 14:54   #6
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

Quote:
Originally Posted by galgrnpa View Post
So currently I use one Worker and two helpers on three cores out of the four.

When the program started processing the last assignment in the queue it immediately received another so this new assignment will wait in my queue for the whole duration of the current computation.

1) I don’t want this cash, how do I delay the acceptance of a new assignment from the server until the current (last) is done ?

2) As my computer will need to be shut down (vacation) and I don’t want to abort an assignment or to leave one incomplete and waiting to be resume, how will I prevent the download of a new assignment altogether ? And of course how will I later resume ?

3) I want to move the program folder (p95v289.win64) to another location, how ?
1&2) Under Options>Preferences, what is "Days of work to queue up" set for? The lower the number, the less lead time for acquiring the next assignment. Or, as Madpoo suggested, you can set "Advanced>Quit Gimps". This will prevent new assignments until the setting is taken off. It will not affect your registration as a user.

3) Move the entire folder with all its contents. Do not put it in either "Program Files" folder, as this causes problems with checkpoint files being saved. As long as the checkpoint files are moved, P95 will resume in the new location where it left off.
kladner is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting 34M-35M DC assignments for GPU workers UBR47K PrimeNet 3 2015-09-06 06:09
How many workers? Unregistered Information & Answers 12 2013-01-22 12:09
Max # Workers sk8kidamh Software 5 2011-07-16 15:58
Went from 8 workers to 4 workers on v26.6 upgrade dmoran Software 13 2011-05-23 12:36
Workers use same CPU Unregistered Information & Answers 7 2008-11-03 01:49

All times are UTC. The time now is 14:38.


Fri Jul 7 14:38:16 UTC 2023 up 323 days, 12:06, 0 users, load averages: 1.47, 1.09, 1.00

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.

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