mersenneforum.org  

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

Reply
 
Thread Tools
Old 2019-04-05, 16:49   #1
Thecmaster
 
"Arvid Björklin"
Apr 2016
Pitea, Sweden

2·5·7 Posts
Default Misfit and worktodo.add with mfaktc

Hi. I'm using misfit to fetch work from GPU72. I have a problem where misfit puts work in worktodo.add and then it stays there. And next time misfit wants to add work or it wants to drain MISFITworktodo.txt it complains that worktodo.add have work in it already.

The thing that's bothers me is that it's not constant. Someone it works and if I move the work from .add to .txt and then delete .add it will work at least once. All way from fetch to .txt and then deleting .add.

Have anyone had the same problem or is there something I can check to make it work constant. Do I need to go through .add or is there any option to let misfit add work to .txt directly?

And if anyone can explain more in detail how it is supposed to work I might find what I have done wrong. And what is triggering the work in .add to get moved in to .txt? Is that misfit or mfaktc?
/Thecmaster

Last fiddled with by Thecmaster on 2019-04-05 at 16:53
Thecmaster is offline   Reply With Quote
Old 2019-04-05, 17:26   #2
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24·3·163 Posts
Default

Quote:
Originally Posted by Thecmaster View Post
Hi. I'm using misfit to fetch work from GPU72. I have a problem where misfit puts work in worktodo.add and then it stays there. And next time misfit wants to add work or it wants to drain MISFITworktodo.txt it complains that worktodo.add have work in it already.

The thing that's bothers me is that it's not constant. Someone it works and if I move the work from .add to .txt and then delete .add it will work at least once. All way from fetch to .txt and then deleting .add.

Have anyone had the same problem or is there something I can check to make it work constant. Do I need to go through .add or is there any option to let misfit add work to .txt directly?

And if anyone can explain more in detail how it is supposed to work I might find what I have done wrong. And what is triggering the work in .add to get moved in to .txt? Is that misfit or mfaktc?
/Thecmaster
Haven't used misfit myself, but:
mfaktc version you're using is v0.21? (0.20 or earlier doesn't check for .add file)
worktodo.add file is created in mfaktc's working directory by misfit?
Next check file permissions, and ownership and privilege of the misfit and mfaktc processes.

Last fiddled with by kriesel on 2019-04-05 at 17:27
kriesel is online now   Reply With Quote
Old 2019-04-05, 17:57   #3
Thecmaster
 
"Arvid Björklin"
Apr 2016
Pitea, Sweden

2×5×7 Posts
Default

Quote:
Originally Posted by kriesel View Post
Haven't used misfit myself, but:
mfaktc version you're using is v0.21? (0.20 or earlier doesn't check for .add file)
worktodo.add file is created in mfaktc's working directory by misfit?
Next check file permissions, and ownership and privilege of the misfit and mfaktc processes.
Yes. I'm using 0.21 and the .add is created in mfaktc directory. I can check privileges and ownership. Haven't done that. I can try to run everything as administrator to.
Thecmaster is offline   Reply With Quote
Old 2019-04-05, 18:00   #4
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

1E9016 Posts
Default

Quote:
Originally Posted by Thecmaster View Post
Yes. I'm using 0.21 and the .add is created in mfaktc directory. I can check privileges and ownership. Haven't done that. I can try to run everything as administrator to.
what does mfaktc.ini say about check interval?
Code:
# How often to check for more work to add to worktodo file; 3600 second max

WorkFileAddDelay=3600
kriesel is online now   Reply With Quote
Old 2019-04-05, 18:18   #5
Thecmaster
 
"Arvid Björklin"
Apr 2016
Pitea, Sweden

7010 Posts
Default

Quote:
Originally Posted by kriesel View Post
what does mfaktc.ini say about check interval?
Code:
# How often to check for more work to add to worktodo file; 3600 second max

WorkFileAddDelay=3600

Oooh. I don't know. I have to check that. That can be something to check in to. Thinking if misfit wants to add work more often than mfaktc wants to.

I'm not home before Sunday. I'll report back when I have checked.
Thecmaster is offline   Reply With Quote
Old 2019-04-05, 18:30   #6
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×112×47 Posts
Default

Quote:
Originally Posted by Thecmaster View Post
I'm not home before Sunday. I'll report back when I have checked.
kriesel has given you good advise.

What he has described is very similar to what is known as a "race condition", or alternatively a "temporal harmonic". It could well explain why you see this issue sometimes, but not others.
chalsall is offline   Reply With Quote
Old 2019-04-05, 19:18   #7
Thecmaster
 
"Arvid Björklin"
Apr 2016
Pitea, Sweden

2×5×7 Posts
Default

Quote:
Originally Posted by chalsall View Post
kriesel has given you good advise.

What he has described is very similar to what is known as a "race condition", or alternatively a "temporal harmonic". It could well explain why you see this issue sometimes, but not others.
Yeah. I got some solid advice from kriesel. And I'm grateful again for fast responses and all solid advise and help you give me when I can't figure it out my self.

I'll get back when I have checked and also when I got a resault. Someone else could get the same problem in the future and find this thread.
Thecmaster is offline   Reply With Quote
Old 2019-04-07, 21:22   #8
Thecmaster
 
"Arvid Björklin"
Apr 2016
Pitea, Sweden

2×5×7 Posts
Default

Quote:
Originally Posted by kriesel View Post
what does mfaktc.ini say about check interval?
Code:
# How often to check for more work to add to worktodo file; 3600 second max

WorkFileAddDelay=3600
I don't have WorkFileAddDelay= in my mfaktc.ini Does that meen it are suposed to add rightaway when worktodo.add is detected?
Thecmaster is offline   Reply With Quote
Old 2019-04-08, 01:11   #9
nomead
 
nomead's Avatar
 
"Sam Laur"
Dec 2018
Turku, Finland

1001111012 Posts
Default

Quote:
Originally Posted by Thecmaster View Post
I don't have WorkFileAddDelay= in my mfaktc.ini Does that meen it are suposed to add rightaway when worktodo.add is detected?
No. If it is not defined, the default is 600 seconds.
nomead is offline   Reply With Quote
Old 2019-04-08, 01:43   #10
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

24·3·163 Posts
Default

With worktodoadddelay=3600, it looks like it checks after each class completion that is more than 3600s past the previous check.
Code:
Apr 05 11:35 | 2971  64.5% | 644.59   2d13h |   1105.11    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 11:46 | 2976  64.6% | 644.46   2d12h |   1105.33    90677    n.a.%
Apr 05 11:56 | 2979  64.7% | 644.56   2d12h |   1105.15    90677    n.a.%
Apr 05 12:07 | 2980  64.8% | 651.02   2d13h |   1094.18    90677    n.a.%
Date    Time | class   Pct |   time     ETA | GHz-d/day    Sieve     Wait
Apr 05 12:18 | 2991  64.9% | 666.96   2d14h |   1068.04    90677    n.a.%
Apr 05 12:30 | 2992  65.0% | 667.65   2d14h |   1066.93    90677    n.a.%
Apr 05 12:41 | 3000  65.1% | 667.95   2d14h |   1066.46    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 12:52 | 3004  65.2% | 668.18   2d13h |   1066.08    90677    n.a.%
Apr 05 13:03 | 3007  65.3% | 669.06   2d13h |   1064.70    90677    n.a.%
Apr 05 13:14 | 3012  65.4% | 669.63   2d13h |   1063.79    90677    n.a.%
Apr 05 13:25 | 3015  65.5% | 673.00   2d13h |   1058.46    90677    n.a.%
Apr 05 13:44 | 3019  65.6% | 1130.0   4d07h |    630.37    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 14:03 | 3024  65.7% | 1154.5   4d09h |    617.00    90677    n.a.%
Apr 05 14:23 | 3027  65.8% | 1157.2   4d09h |    615.56    90677    n.a.%
Apr 05 14:42 | 3031  65.9% | 1157.5   4d09h |    615.41    90677    n.a.%
Apr 05 15:02 | 3036  66.0% | 1174.5   4d10h |    606.48    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 15:21 | 3039  66.1% | 1194.4   4d11h |    596.38    90677    n.a.%
Apr 05 15:41 | 3040  66.3% | 1194.4   4d11h |    596.38    90677    n.a.%
Apr 05 16:01 | 3052  66.4% | 1195.0   4d11h |    596.09    90677    n.a.%
Apr 05 16:21 | 3055  66.5% | 1194.9   4d10h |    596.15    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 16:34 | 3060  66.6% | 739.37   2d17h |    963.44    90677    n.a.%
Apr 05 17:02 | 3064  66.7% | 1716.0   6d08h |    415.12    90677    n.a.%
Apr 05 17:35 | 3067  66.8% | 1973.4   7d06h |    360.97    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 18:08 | 3075  66.9% | 1973.6   7d06h |    360.93    90677    n.a.%
Date    Time | class   Pct |   time     ETA | GHz-d/day    Sieve     Wait
Apr 05 18:41 | 3084  67.0% | 1976.0   7d05h |    360.49    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 19:14 | 3091  67.1% | 1973.2   7d05h |    361.01    90677    n.a.%
Apr 05 19:47 | 3096  67.2% | 1974.6   7d04h |    360.74    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 20:20 | 3099  67.3% | 1974.5   7d04h |    360.77    90677    n.a.%
Apr 05 20:52 | 3111  67.4% | 1957.4   7d02h |    363.91    90677    n.a.%
checking for "worktodo.add"... not found
Apr 05 21:24 | 3112  67.5% | 1936.6   6d23h |    367.82    90677    n.a.%
Apr 05 21:57 | 3115  67.6% | 1945.9   7d00h |    366.07    90677    n.a.%
checking for "worktodo.add"... not found
kriesel is online now   Reply With Quote
Old 2019-04-08, 03:40   #11
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

2×112×47 Posts
Default

Quote:
Originally Posted by Thecmaster View Post
I don't have WorkFileAddDelay= in my mfaktc.ini Does that meen it are suposed to add rightaway when worktodo.add is detected?
Technically, undefined. You have to drill down on the code to be sure. Is it never, or the default plus some value.

Sorry for being pedantic here, but I'm currently involved in a somewhat serious debate which involves only the word "and" in some code (law).

Seriously.
chalsall is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
MFAKTC worktodo.txt permissions keep changing back Rodrigo GPU Computing 16 2017-12-23 15:04
mfaktc on Linux and misfit on Windows bgbeuning GPU Computing 3 2016-01-25 05:20
Help with Misfit TheMawn MISFIT 18 2015-06-21 22:00
MISFIT 2.9 swl551 MISFIT 44 2014-12-15 12:46
MISFIT for MFAKTx swl551 MISFIT 186 2014-02-05 23:27

All times are UTC. The time now is 15:24.


Fri Jul 7 15:24:42 UTC 2023 up 323 days, 12:53, 0 users, load averages: 1.51, 1.17, 1.12

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.

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