![]() |
|
|
#34 |
|
Oct 2011
7×97 Posts |
You seem to be going a little complicated here, what about a program that was like the submission spider, set to run every X hours and just checked the size of the worktodo.txt file? I always refill my worktodo on mfakt* when it drops below 1K (cause I try to check it daily but sometimes every other day), but if I had an automatic thing like this I could have it check to see if it was below say 200 bytes (approx 7 assignments) and if so, then grab 1-10 more (depending on the time between program runs) and append worktodo.
|
|
|
|
|
|
#35 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
2×5×7×139 Posts |
Quote:
![]() I want to run through a few more error-recovery tests on my own systems, but I'll soon need a couple of beta testers for each OS type. If anyone is interested in giving this a try, please PM me with a machine name (or machine names) to associate with the fetching spider -- this is needed for the "shared secret" technique. Any number of instances can be associated with each machine, so if you (for example) run four instances of mfaktc on one machine, only one machine association is needed -- each instance will appear separately on GPU72, much like the threads/CPUs for Prime95/mprime. |
|
|
|
|
|
|
#36 |
|
Romulan Interpreter
Jun 2011
Thailand
226128 Posts |
Any news?
|
|
|
|
|
|
#37 | |
|
Nov 2010
Germany
3×199 Posts |
Quote:
How about two additional hooks in mfakt*: one after it read a worktodo entry (or at least tried to ...), and one after it wrote a results entry. This could be something like two ini-variables that define something being started by mfakt* in those two cases, for example: FETCH_COMMAND=perl spider.pl fetch w1.txt SUBMIT_COMMAND=perl spider.pl submit res.txt Of course, mfakt* could automatically append the names of the worktodo and results files for the current instance. I guess this could have simplified your spider, but now that you've finished it already ... Anyway, to add hooks like that is not difficult, and might turn out useful once the "temporary duct tape" is removed (i.e. you tell me how to fetch stuff programmatically ;-). Anyway, I also use your submit spider (after adding proxy support), and have not (yet) tried to move it into my C(++) code. It's so much easier in perl ... Hmm, maybe I could check out how prime95 is doing the communication and "learn" from that .. Last fiddled with by Bdot on 2012-10-02 at 12:13 Reason: learn ... |
|
|
|
|
|
|
#38 |
|
Aug 2012
New Hampshire
23·101 Posts |
I'm willing to transpose it to a .NET console app as I was already planning this integration for my mfaktXapp.
I'll use his Perl code as the blueprint for its conversion to c# Since this domain is Chalsall's I have no objection to turning over the source code to him when I'm done. I'll maintain it until I'm fired, die or you find a better solution. Let me know. |
|
|
|
|
|
#39 |
|
Romulan Interpreter
Jun 2011
Thailand
2·5·312 Posts |
Finish? Where? I may be missed the announcement, and am still waiting for it. And I don't understand why is so difficult, just provide a mechanism (http link? like factorDB?) to get an assignment from the gpu72 server, and let us worry about putting that in a fork or in a graphic interface... We just need to be able to tell to the server form time to time "give me something to do" and "this is my result". When WE desire, and in a SAFE way (like my assignments should me MINE not YOURS). Excluding crawling to the assignment page by hand, with mouse clicks and typing.
Last fiddled with by LaurV on 2012-10-03 at 02:04 |
|
|
|
|
|
#40 | |
|
Romulan Interpreter
Jun 2011
Thailand
2·5·312 Posts |
Quote:
![]() LaurV, everyday frustrated by Windows and women. We can't live with them. We can't live without them... |
|
|
|
|
|
|
#41 |
|
Aug 2012
New Hampshire
23·101 Posts |
Yes. For windows you must call the Kernel32.dll GenerateConsoleCtrlEvent
First you have to AttachConsole Second GenerateConsoleCtrlEvent Windows 8 seriously mucked up this interaction. (see my code comments on what broke with Windows 8.) Exact code from MISFITs' SendCtrlCode project. For windows you could launch SendCtrlCode.exe from Perl and pass in the PID. It may not be how you wanted to solve the problem, but it works. I hope it helps with any future projects. |
|
|
|
|
|
#42 | |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Quote:
http://www.macmall.com/p/Apple-Mac-P...59~pdp.hgcjafi |
|
|
|
|
|
|
#43 | |
|
"Mr. Meeseeks"
Jan 2012
California, USA
41708 Posts |
Quote:
Also, it is technically *not* 12 core, it is 6 core with HT.
|
|
|
|
|
|
|
#44 | ||||
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Quote:
Quote:
Quote:
Quote:
And yes. It is a Mac and costs accordingly. |
||||
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automatic submit results + fetch assignments for mfaktc? | DuskFalls | GPU Computing | 5 | 2017-12-02 00:34 |
| Simple Script to get Trial Factoring Work | jfamestad | PrimeNet | 3 | 2016-11-06 20:32 |
| Why trial factoring work chopped into chunks? | lidocorc | PrimeNet | 4 | 2008-11-06 18:48 |
| How does the trial factoring work with 15K*2^n-1 | jocelynl | 15k Search | 0 | 2003-07-11 14:23 |
| How does trial-factoring work? | ThomRuley | Software | 5 | 2003-05-30 20:34 |