![]() |
|
|
#89 |
|
Aug 2012
New Hampshire
23×101 Posts |
This weekend I'll be adding the file locking mechanism to MISFIT that bdot uses in mfaktO. Once completed the possibility of I/O collision between MISFIT and mfaktO should be zero.
![]() mfaktC does not implement a file locking system so there will not be any benefit for that user base.
Last fiddled with by swl551 on 2012-12-07 at 16:03 |
|
|
|
|
#90 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Quote:
|
|
|
|
|
|
#91 |
|
Aug 2012
New Hampshire
23·101 Posts |
|
|
|
|
|
#92 |
|
Aug 2012
New Hampshire
23·101 Posts |
VERSION 2.2.0 is a real milestone in the life of MISFIT.
1. Implemented mfaktO style '.lck' file locking system. The following MISFIT actions execute file-lock-management (detection, retry, assertion, cleanup) UPDATE STATS ADD WORK ASSIGN WORK BALANCE WORK EXPORT RESULTS EDITING FILES (BUILT IN EDITOR ONLY) SEARCHING WORKTODO WORKTO REPORTS RESULTS REPORTS In a typical MISFIT installation there is more than one directory containing files that need file-lock-management therefore whenever executing an action that requires file-lock-management MISFIT treats the entire set as one. If any one of the files has a lock collision or hard error the entire set is rolled back out of the locked state. (think database transactions /commit /rollback) and MISFIT aborts further processing. An example would be you have 8 directories and you want to assign work out to them. MISFIT starts locking each workToDo.txt in each directory. If directory 6 encounters a lock collision and the wait_timeout is exceeded trying to apply a lock to workToDo (in directory 6) then MISFIT rollsback (unlocks) all the workToDo files it succesfully locked in directories 5,4,3,2,1 and aborts further processing. LOCKING always executes a retry loop if there is an existing lock on a file (LOCK_COLLISION). The retry loop last up to 10 retries with SLEEP(100ms * RETRY_COUNT) between each retry. If the counter reaches 10 then LOCK_COLLISION is terminal and MISFIT aborts further processing. If the locks is released by the "other program" during the retry loop MISFIT will then assert the lock and continue processing. Menu items for LOCK management are included to forcibly apply/remove/report on systemwide locks. On a special note: Currently ONLY MFAKTO implements the '.lck' file locking system. How to test with MFAKTO: Stop your MFAKTO instances. Use the menu item to "Apply systemwide file-locks" Start MFAKTO Observe MFAKTO's response to the file-locks Use the menu item to "Remove systemwide file-locks" Observe MFaKTO's response once the locks are removed. Unlike MFAKTO which will wait forever for a lock to be released, MISFIT is a UI driven application and waiting forever is unsuitable as MISIT has many tasks to perform at any given time. If a process is aborted due to a lock collision it can be re-executed at a later time. Remember most lock conditions last about .25 seconds so allowing MISFIT to wait a max of 5.5 seconds for a lock to be released is very tolerant and suitable to a UI. Enjoy. Get from http://mersenneforum.org/misfit/ Last fiddled with by swl551 on 2012-12-08 at 20:21 |
|
|
|
|
#93 | |
|
Nov 2010
Germany
3·199 Posts |
Quote:
Last fiddled with by Bdot on 2012-12-09 at 11:25 Reason: wording ... |
|
|
|
|
|
#94 |
|
May 2003
Belgium
2×139 Posts |
Sorry that I'm not commenting anymore, as I'm not doing LL tests, but only TF on a single PC, I haven't updated nor tried out (m)any of the new versions.
|
|
|
|
|
#95 |
|
Aug 2012
New Hampshire
32816 Posts |
This is the MISFIT version to support CUDALucas
VERSION 1.0.2 1. Added GHZDayToDo calculation 2. Added GhzDzDone calculation including the FFT component as found in the results line of the file 3. Enhanced MISFIT to further prevent unwanted/premature purging of checkpoint files under abnormal conditions by: a. increasing the inital delay to 60 minutes (from 30) b. After all stalled process are cleared there is now a 60 minute delay before the next purge cycle will run Get from http://mersenneforum.org/misfit/ |
|
|
|
|
#96 | |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
Quote:
|
|
|
|
|
|
#97 |
|
Aug 2012
New Hampshire
14508 Posts |
Is this the calm before some storm.
|
|
|
|
|
#98 |
|
"Mr. Meeseeks"
Jan 2012
California, USA
23×271 Posts |
Boom BOOOOOOOOOOOOMM!!
![]() ... Hmm, Did I miss something? ![]() ... Last fiddled with by kracker on 2012-12-16 at 22:26 |
|
|
|
|
#99 |
|
Aug 2012
New Hampshire
80810 Posts |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| questions about misfit | jschwar313 | MISFIT | 1 | 2016-02-02 00:32 |
| Help with Misfit | TheMawn | MISFIT | 18 | 2015-06-21 22:00 |
| Misfit feature request. | Aramis Wyler | MISFIT | 15 | 2015-03-04 21:13 |
| MISFIT 2.9 | swl551 | MISFIT | 44 | 2014-12-15 12:46 |
| MISFIT for MFAKTx | swl551 | MISFIT | 186 | 2014-02-05 23:27 |