mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet > MISFIT

Reply
 
Thread Tools
Old 2015-03-01, 15:21   #1
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default worktodo.add

Ok, now that mfaktC and mfaktO both support worktodo.add I can make a configuration option in MISFIT to push work into that file instead of loading directly into workToDo.txt.

Comments please!
swl551 is offline   Reply With Quote
Old 2015-03-01, 15:38   #2
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

29B616 Posts
Default

Quote:
Originally Posted by swl551 View Post
Comments please!
Yes!!! No more race conditions!!!
chalsall is offline   Reply With Quote
Old 2015-03-01, 16:05   #3
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

1012910 Posts
Default

Quote:
Originally Posted by swl551 View Post
Ok, now that mfaktC and mfaktO both support worktodo.add I can make a configuration option in MISFIT to push work into that file instead of loading directly into workToDo.txt.

Comments please!
+1
LaurV is offline   Reply With Quote
Old 2015-03-01, 17:23   #4
TheMawn
 
TheMawn's Avatar
 
May 2013
East. Always East.

11·157 Posts
Default

Sounds good.
TheMawn is offline   Reply With Quote
Old 2015-03-03, 01:09   #5
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default VERSION 2.10.0

VERSION 2.10.0
1. Added a new report showing all "Recent Results Uploads" **special feature for TheMawn**
2. Added configuration to push work assignments into WorkToDo.add instead of WorkToDo.txt (off by default)
**please verify your version of MFAKTx supports .ADD**

See the changelog for important notations on the .ADD feature



http://www.mersenneforum.org/misfit/downloads/MISFIT/
swl551 is offline   Reply With Quote
Old 2015-03-03, 01:30   #6
TheMawn
 
TheMawn's Avatar
 
May 2013
East. Always East.

32778 Posts
Default

So does Misfit take into account worktodo.add when calculating how much work is remaining?


Quote:
Originally Posted by swl551 View Post
VERSION 2.10.0
1. Added a new report showing all "Recent Results Uploads" **special feature for TheMawn**


:TheMawn:

Last fiddled with by TheMawn on 2015-03-03 at 01:31
TheMawn is offline   Reply With Quote
Old 2015-03-03, 01:42   #7
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by TheMawn View Post
So does Misfit take into account worktodo.add when calculating how much work is remaining?
No, because worktodo.add is just a temporary/gateway file into workToDo.txt


If the WorkToDo.txt files are running low MISFIT will create a .ADD file with the desired amount of work and within minutes MFAKTx will absorb that work into the WorkToDo.txt file.

I hope that helps.
swl551 is offline   Reply With Quote
Old 2015-03-03, 03:16   #8
TheMawn
 
TheMawn's Avatar
 
May 2013
East. Always East.

11·157 Posts
Default

Okay, sounds good. Actually I just mis-calculated the way MISFIT adds work. It used to dump it straight to worktodo.txt, now it dumps to worktodo.add instead, if the option is checked. Much simpler than I made it out to be.

Thanks
TheMawn is offline   Reply With Quote
Old 2015-03-03, 14:43   #9
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

32·7·83 Posts
Default I'll probably regret asking this....

What was/is the reasoning for 2 and now 3 (or 4) worktodo files?

On my setup I have a mfaktc worktodo.txt and a misfit worktodo.txt.
I don't understand why misfit couldn't add new work directly into the mfaktc worktodo.txt.

And now I'm even more confused why there is now a misfit worktodo.add.

I can see where a mfaktc worktodo.add could be used for work I manually add outside of misfit.

Maybe if I knew what a "race condition" was ...
petrw1 is offline   Reply With Quote
Old 2015-03-03, 14:57   #10
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

427810 Posts
Default

Quote:
Originally Posted by petrw1 View Post
On my setup I have a mfaktc worktodo.txt and a misfit worktodo.txt.
This makes more sense when MISFIT is managing multiple mfaktc instances: MISFIT gets work and puts it in its own worktodo.txt file. As the instances need additional work, it is doled out from MISFIT's file.
Quote:
Originally Posted by petrw1 View Post
Maybe if I knew what a "race condition" was ...
When two processes try to read or write the same file at the same time, confusing things can happen. https://en.wikipedia.org/wiki/Race_condition
Mini-Geek is offline   Reply With Quote
Old 2015-03-03, 15:27   #11
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

32816 Posts
Default

Quote:
Originally Posted by petrw1 View Post
What was/is the reasoning for 2 and now 3 (or 4) worktodo files?

On my setup I have a mfaktc worktodo.txt and a misfit worktodo.txt.
I don't understand why misfit couldn't add new work directly into the mfaktc worktodo.txt.

And now I'm even more confused why there is now a misfit worktodo.add.

I can see where a mfaktc worktodo.add could be used for work I manually add outside of misfit.

Maybe if I knew what a "race condition" was ...
Before mfaktc could do sieving on the GPU it required the CPU and maximum throughput was achieved running 4 instances. In his GPU farm FlashJH ran around 40 instances and misfit managed it all. Nowadays most people just have 1 instance.

The .add file is not a misfit file, it is mfaktc that wants this file as a controlled path to deliver work into workto do.txt files

Last fiddled with by swl551 on 2015-03-03 at 15:28
swl551 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
A problem with worktodo.txt fefu Information & Answers 7 2010-01-13 23:46
WorkToDo File storm5510 Software 9 2009-08-18 00:18
worktodo.ini clowns789 Software 7 2003-10-21 03:57
worktodo.ini ? kwstone Software 9 2003-07-27 06:30
worktodo.ini ThomRuley Lone Mersenne Hunters 2 2003-07-01 02:26

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


Wed Oct 5 05:31:19 UTC 2022 up 48 days, 2:59, 0 users, load averages: 1.54, 1.47, 1.12

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

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