mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Cunningham Tables

Reply
 
Thread Tools
Old 2019-07-20, 15:59   #331
thome
 
May 2009

101102 Posts
Angry

Quote:
Originally Posted by SethTro View Post
I'm going to start saving daily copies of the database for cloudygo. At ~100mb I can store 180 days for 18 gigs and reduce this concern.

Thome, would you be interested in a new server flag that saves a last N days of the database? I'm imagining copying it every night and deleting any copies older than N days, or maybe saving a new copy every X WUs (so that during periods of no work it doesn't delete the older copies)
That would rather be a functionality of the database management system that probably exists and could be leveraged.

Now there are multiple ways a cado-nfs database can have problems. It's very rare that the database becomes corrupt from the DBMS point of view, and I'm not really talking of database corruption in that sense (for which DBMS-level backups seem to be the way to go). But for example, when the number of failed WUs increases a lot, cado-nfs refuses to resume. Likewise if some of the counts diverge (I think it's in the 'sieving' table -- these counts shouldn't exist in the first place, IMO). There's no doc, not even a cookbook, as to what can be done in such cases. Lacking that, from the user point of view, a database that cado-nfs.py refuses to work with for this kind of reason is just as useful in the end of the day as a corrupt database...


Quote:
Originally Posted by SethTro View Post
The whole site is around 1000 lines of code (https://github.com/sethtroisi/factoring-ui), if you think that it or something similar would be interesting to add to the project I'm happy to write up a proposal for that and work with you to get it commit.
We can discuss that, yes.
thome is offline   Reply With Quote
Old 2019-07-20, 16:04   #332
Mumps
 
Jul 2019

32 Posts
Default Server down?

Quote:
Originally Posted by VBCurtis View Post
We're back up and running; our host box did power up on its own.
And here we are now with "Last Work Unit Returned" from over an hour ago. *sigh* :)
Mumps is offline   Reply With Quote
Old 2019-07-20, 18:05   #333
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

Quote:
Originally Posted by Mumps View Post
And here we are now with "Last Work Unit Returned" from over an hour ago. *sigh* :)
Pretty sure that was a website downtime- note the "last updated" time matched the "last workunit returned" time. The server continued to issue and receive WUs all morning.
VBCurtis is online now   Reply With Quote
Old 2019-07-21, 16:54   #334
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

4,861 Posts
Default

We had another hiccup this morning; one of the team caught it and kicked the server again.

I've just changed to I=15, as of Q=180.07M. Workunits are now 10k in length.

I=16 produced 1304M raw relations from Q=8-180M, for an average yield of 7.58.

I=15 is expected to average yield of 2.0 from 180 to ~880M for the other 1400M relations.
VBCurtis is online now   Reply With Quote
Old 2019-07-21, 18:45   #335
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

EE916 Posts
Default

With the change to I=15, I'm looking at possibly adding a couple clients that would not be 24 hour machines. Since the server disregards and reassigns overdue WUs, suspension seems of no value. This means interruption by CTRL-C or letting an las session complete after suspension, when it will just get discarded.

I may insert a break in the client script between sieving runs, triggered by a stop file (as I have done elsewhere), but is there a clean way to tell the client to stop at the end of a WU? Possibly a switch I haven't discovered?

Last fiddled with by EdH on 2019-07-21 at 19:25 Reason: missspelllin fixx
EdH is offline   Reply With Quote
Old 2019-07-22, 06:21   #336
SethTro
 
SethTro's Avatar
 
"Seth"
Apr 2019

4438 Posts
Default

Quote:
Originally Posted by EdH View Post
With the change to I=15, I'm looking at possibly adding a couple clients that would not be 24 hour machines. Since the server disregards and reassigns overdue WUs, suspension seems of no value. This means interruption by CTRL-C or letting an las session complete after suspension, when it will just get discarded.

I may insert a break in the client script between sieving runs, triggered by a stop file (as I have done elsewhere), but is there a clean way to tell the client to stop at the end of a WU? Possibly a switch I haven't discovered?
I'm actually working on a patch for cado to do exactly that (github) sadly it's not quite as easy as I expected (signals get passed to children so I'm going to have to open a raw tty which I really didn't want to do)
SethTro is offline   Reply With Quote
Old 2019-07-22, 07:38   #337
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

10,753 Posts
Default

Quote:
Originally Posted by SethTro View Post
I'm actually working on a patch for cado to do exactly that (github) sadly it's not quite as easy as I expected (signals get passed to children so I'm going to have to open a raw tty which I really didn't want to do)
Can't you pass an otherwise unused signal to the child and have its signal handler do The Right Thing?
xilman is online now   Reply With Quote
Old 2019-07-22, 08:44   #338
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

32×5×107 Posts
Default Binary file las not found

never mind...

Last fiddled with by ET_ on 2019-07-22 at 08:45
ET_ is offline   Reply With Quote
Old 2019-07-22, 11:42   #339
thome
 
May 2009

2×11 Posts
Default

Quote:
is there a clean way to tell the client to stop at the end of a WU? Possibly a switch I haven't discovered?
-single maybe ?

Last fiddled with by thome on 2019-07-22 at 11:42
thome is offline   Reply With Quote
Old 2019-07-22, 15:41   #340
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

EE916 Posts
Default

Quote:
Originally Posted by thome View Post
-single maybe ?
I am trying this "--single" right now. Thanks! If this works, I can build a short script around it.

My description was actually a bit poor. What I really wanted was a way to have the client run in its normal loop for many iterations, but break it at the end of a WU when it became close to suspend time. I should be able to do just that.

Unfortunately, each run of single will create a separate instance for the cloudygo site to track, since each instance will be seen as a different client.


I will also have to look at the github version posted by SethTro.
EdH is offline   Reply With Quote
Old 2019-07-22, 16:17   #341
Mumps
 
Jul 2019

910 Posts
Default Getting there!

Yay! We crossed 50% completion! Keep it up folks!
Mumps is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Coordination thread for redoing P-1 factoring ixfd64 Lone Mersenne Hunters 81 2021-04-17 20:47
big job planning henryzz Cunningham Tables 16 2010-08-07 05:08
Sieving reservations and coordination gd_barnes No Prime Left Behind 2 2008-02-16 03:28
Sieved files/sieving coordination gd_barnes Conjectures 'R Us 32 2008-01-22 03:09
Special Project Planning wblipp ElevenSmooth 2 2004-02-19 05:25

All times are UTC. The time now is 20:28.


Fri Jul 16 20:28:52 UTC 2021 up 49 days, 18:16, 1 user, load averages: 1.96, 2.02, 2.10

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.