![]() |
|
|
#375 | |
|
Oct 2011
67910 Posts |
Quote:
|
|
|
|
|
|
|
#376 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2·67·73 Posts |
Quote:
Einstein once said "Insanity: doing the same thing over and over again and expecting different results. Of course, he never believed in quantum undertainty; and certainly had never encountered Windows....
|
|
|
|
|
|
|
#377 | |
|
Oct 2011
7×97 Posts |
Quote:
|
|
|
|
|
|
|
#378 | ||
|
Nov 2010
Germany
3×199 Posts |
Quote:
Edit: Oops, did not see this before: Quote:
Last fiddled with by Bdot on 2012-02-02 at 07:35 |
||
|
|
|
|
|
#379 |
|
Oct 2011
67910 Posts |
I only ran it twice. If you look close, I said I was rerunning the exp "which was 56 min".
|
|
|
|
|
|
#380 | |
|
Nov 2010
Germany
3·199 Posts |
Quote:
Anyway, thanks for the test - it seems the case can be blamed on Windows (or other applications running there), after all. I have a question for the scripters among you. In the next mfakto version I plan to add file locking for worktodo and results files. While on Windows all APIs seems to boil down to the same underlying locking mechanism, on Linux we have fcntl/lockf and flock locks which are independent. In case you have scripts or programs for Linux to maintain worktodo and results files (such as Chalsall's Submission Spider), would you consider synchronizing file accesses with mfakto? Do you have preferences which one to use? Is anyone accessing these files over NFS? Any other reasons why I should use one or the other? Of course I will provide these changes to Oliver when I got the locking to work, so that mfaktc can get the same. |
|
|
|
|
|
|
#381 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
FWIW, you've managed to get by me for *checks join date* 8 months. I only just now looked at your location.
|
|
|
|
|
|
#382 | ||
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2×67×73 Posts |
Quote:
Quote:
I asked for this feature on the mfaktc thread; don't know if it was added to a todo list. Since you're looking at working at related functionality, could you consider doing so? I would then write a reservation spider to complement it (actually two, one for PrimeNet, and one for GPU72). Last fiddled with by chalsall on 2012-02-03 at 14:26 Reason: Added observation of fcntl being more powerful. |
||
|
|
|
|
|
#383 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
FWIW, I like being able to modify the worktodo without having to worry about mfatk*. I only check to make sure it's not close to finishing an assignment, which is the only time it writes files. When would it lock the file? All the time? (I personally find it a pain to have to stop MPrime to modify worktodo, especially if I have S2 P-1 going. From what I can tell, most of the changes I typically make would not be possible with worktodo.add, e.g. adding only in sequence only whenver MPrime feels like looking at the file.)
|
|
|
|
|
|
#384 | ||
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2·67·73 Posts |
Quote:
Quote:
).Most would find this function useful.... |
||
|
|
|
|
|
#385 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Well then make the file locking a user option?
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfaktc: a CUDA program for Mersenne prefactoring | TheJudger | GPU Computing | 3498 | 2021-08-06 21:07 |
| gpuOwL: an OpenCL program for Mersenne primality testing | preda | GpuOwl | 2719 | 2021-08-05 22:43 |
| LL with OpenCL | msft | GPU Computing | 433 | 2019-06-23 21:11 |
| OpenCL for FPGAs | TObject | GPU Computing | 2 | 2013-10-12 21:09 |
| Program to TF Mersenne numbers with more than 1 sextillion digits? | Stargate38 | Factoring | 24 | 2011-11-03 00:34 |