![]() |
|
|
#936 | |
|
Nov 2010
Germany
3×199 Posts |
Quote:
As the write is atomic (a single line shorter than a disk block), I either had the file content of before the write, or the new contents. No corruption. (I know this is no proof, just a test aimed at breaking it.) Therefore I think that no special signal handling is necessary - as a precaution one or two backup copies of the checkpoint file are sufficient. prime95 may be a different story as the save files there can be much bigger, so that writes to the file are not atomic. And there I already saw a few times that the latest save file was not usable. B. |
|
|
|
|
|
|
#937 |
|
Dec 2010
Monticello
5·359 Posts |
Fine for purposes of mfaktc, but what about those Windows programs that simply won't be shut down, especially as you TRY to shut down the system nicely?
|
|
|
|
|
|
#938 | ||
|
If I May
"Chris Halsall"
Sep 2002
Barbados
9,767 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#939 | |
|
"Oliver"
Mar 2005
Germany
11·101 Posts |
Hi Jason,
Quote:
e.g. Code:
void my_signal_handler(int signum)
/* very simple signal handler */
{
#ifdef WINDOWS
signal(signum, &my_signal_handler);
#endif
...
}
int main()
{
signal(SIGINT, &my_signal_handler);
...
}
Oliver |
|
|
|
|
|
|
#940 |
|
Dec 2010
Monticello
70316 Posts |
Oliver:
Let's do a simple sample program, "sigtest", that sleeps and says either "don't touch me, I'm sleeping!" or "It's OK, I'm awake" on Ctrl-C, and then says "exiting" on the second Ctrl-C. All printing is from the main loop. I can test Linux64 and Win32. E. |
|
|
|
|
|
#941 |
|
Feb 2004
25·5 Posts |
I've been playing on my new computer with mfakt for a week or 2, right now I'm at 311 candidates tested. Most of them from 69 to 70 bit, and a small batch from 68 to 69 bit. And I haven't found 1 factor yet, where on average I should have found something along 4 or 5.
I'm starting to think there might be some problem with my hardware: i5-2500k not overclocked with a GTX 560, only running one instance of mfakt. I'm testing exponent in the 54-55XXXXXX range, does anyone have a candidate in that range with a 69 bit factor, it would help me have better confidence in my hardware. Or maybe someone already tested to that bit-level in that range while only submitting factor found? Thanks in advance, |
|
|
|
|
|
#942 | |
|
Sep 2006
The Netherlands
36 Posts |
Quote:
Thanks, Vincent |
|
|
|
|
|
|
#943 |
|
Feb 2004
25·5 Posts |
|
|
|
|
|
|
#944 | |
|
"Oliver"
Mar 2005
Germany
111110 Posts |
Quote:
M54789601 has one known factor between 267 and 268 M54790157 has one known factor between 269 and 270 hint: http://mersenne.org/report_exponent/ Oliver |
|
|
|
|
|
|
#945 |
|
Dec 2010
Monticello
5·359 Posts |
It's worth noting that the ranges we are now getting for TF from primenet are now beyond optimal for CPU-only TF, so we can expect the AVERAGE GHz-days effort per factor found to match or exceed that of 2 LL tests, or about O(200) GHz days for exponents in the 50M range.
|
|
|
|
|
|
#946 |
|
"Mike"
Aug 2002
2·23·179 Posts |
This morning we discovered that two of our eight workers had transferred all of their remaining worktodo.txt contents to their results.txt files and thus were idle.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mfakto: an OpenCL program for Mersenne prefactoring | Bdot | GPU Computing | 1676 | 2021-06-30 21:23 |
| The P-1 factoring CUDA program | firejuggler | GPU Computing | 753 | 2020-12-12 18:07 |
| gr-mfaktc: a CUDA program for generalized repunits prefactoring | MrRepunit | GPU Computing | 32 | 2020-11-11 19:56 |
| mfaktc 0.21 - CUDA runtime wrong | keisentraut | Software | 2 | 2020-08-18 07:03 |
| World's second-dumbest CUDA program | fivemack | Programming | 112 | 2015-02-12 22:51 |