![]() |
|
|
#23 |
|
Oct 2006
Berlin, Germany
619 Posts |
In yoyo@home I wrote a wrapper arround gmp-ecm. It runs ecm with -chkpnt. This option periodicaly saves the state in phase 1 of the run. Phase 1 is roughly 80% of the total runtime. So during this phase checkpoints are generated.
These checkpoints are used to in restart cases. So if you shoutdown Boinc or your computer or if something crashes and Boinc restarts, the wrapper checks if a checkpoint file exists. If yes, it runs ecm with -resume to resume from the checkpoint. yoyo |
|
|
|
|
|
#24 | |
|
Aug 2005
Seattle, WA
25·5·11 Posts |
Quote:
You may be getting confused by what's happening if you're running ecmclient as a foreground job in some shell and you do a Ctrl-C. In such circumstances, the shell sends a SIGINT to the entire foreground process group, so GMP-ECM is getting one as well, causing it to die immediately (and ecmclient to then clean up immediately). But if you send a SIGINT (or SIGTERM or SIGQUIT) to just the ecmclient process (e.g. from some other shell), then you should see the behavior you want. |
|
|
|
|
|
|
#25 |
|
Aug 2005
Seattle, WA
25·5·11 Posts |
??
You already have support for the GMP-ECM -k option (see "gmpecmkvalue" in the .cfg file). But it would be really nice to directly support -maxmem. I've done that for my own use, and it's really nice (Paul L's ECMNet server has lately been handing out P+1 assignments with a B1 of 260e6, and GMP-ECM would otherwise want about 2.5 GB of memory for these). Let me know if you want me to send you my diffs. |
|
|
|
|
|
#26 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
5,881 Posts |
@Rogue What is stopping you doing something similar to prpnet?
|
|
|
|
|
|
#27 | |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Quote:
|
|
|
|
|
|
|
#28 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Specifically what?
There are some fundamental differences between how PRPNet and ECMNet work. I intend to have them share a lot more code with the next release, but I don't think that a database is necessary for ECMNet. Maybe someone disagrees, but I don't see ECMNet servers having as many dedicated clients. |
|
|
|
|
|
#29 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
5,881 Posts |
Quote:
As far as I remember that was a pretty early change in prpnet. I fail to understand how starting llr or pfgw is different to starting ecm. |
|
|
|
|
|
|
#30 |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
GMP-ECM didn't always write a checkpoint. If it does now or has the capability to, then I can support it.
|
|
|
|
|
|
#31 | |
|
Sep 2009
977 Posts |
Quote:
|
|
|
|
|
|
|
#32 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
1076310 Posts |
Quote:
I'd also make the server multi-threaded or multi-processing. At the moment a single rogue client (ambiguity intentional!) can hang the server, thereby mounting a denial of service to other clients. Paul |
|
|
|
|
|
|
#33 | |
|
"Mark"
Apr 2003
Between here and the
24×397 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Featured request | bsquared | YAFU | 260 | 2019-12-10 10:30 |
| Requests? | Xyzzy | Forum Feedback | 104 | 2017-04-02 22:20 |
| Collaboration Requests | robert44444uk | Prime Gap Searches | 2 | 2017-01-17 07:57 |
| a few simple requests for v5 | ixfd64 | PrimeNet | 44 | 2010-01-11 20:21 |
| New Year requests | masser | Sierpinski/Riesel Base 5 | 22 | 2007-09-24 21:05 |