mersenneforum.org Automatic kvetching about P-1, LL and DC work from GPU72
 Register FAQ Search Today's Posts Mark Forums Read

 2012-08-07, 22:29 #1 chalsall If I May     "Chris Halsall" Sep 2002 Barbados 23·1,103 Posts Automatic kvetching about P-1, LL and DC work from GPU72 A new feature from GPU72.com ("Not just for GPUs anymore!")... It is now possible to have your Prime95/mprime clients automatically fetch P-1, LL and DC work from GPU72.com. No longer is it necessary to manually download the work from the web interface. How this works is I've built a Proxy which "speaks" the Primenet API protocol. All that's needed is to set the following in each client's prime.txt file, under the "[Primenet]" section: Code: ProxyHost=gimps.gpu72.com:80 However, before you will be assigned work from GPU72, you need to PM me your Primenet Username -- the name you use to log into Primenet. I don't need, nor want, your associated Password. This knowledge is required by the Primenet API protocol. And, to be explicit, there's nothing I can do with your account knowing your Username. If you configure the proxy before you send me your Username, communications between your client(s) and Primenet will still work fine, you just won't be assigned work from GPU72 until the system knows your Username. You will instead be assigned work from Primenet through the proxy. This system is being used by 18 people so far, and it's working fine. If you are not yet a GPU72 user, but want to give this feature a try, please Sign Up for an account, PM me, and away you go. For those who are already using GPU72, you'll have noticed some additional columns in the View Assignments and View Completed reports, plus a new "Computers and Notes" page -- this is what that is all about. Within the next day or so I'll be adding a new page to the system where you can set your Username yourself without needing to PM me. Also, some other new features are planned soon which leverages on this new ability. Enjoy.
 2012-08-08, 14:18 #3 kracker ἀβουλία     "Mr. Meeseeks" Jan 2012 California, USA 3·5·11·13 Posts Thanks chalsall! Now what we need is GP.... oops, you've done enough already!
2012-08-08, 15:48   #4
LaurV
Romulan Interpreter

Jun 2011
Thailand

22×5×419 Posts

Quote:
 Originally Posted by chalsall This system is being used by 18 people so far, and it's working fine.
Just for confirmation, I am one of the 18 and I am very happy. I still manually fetch the work for some of my computeres, but I had few other which fetched work from PrimeNet automatically, because I wasn't able to run around (inconvenient location of the computers) to give them manual work in time. Now I "proxyed" some of the computers with the inconvenient access through gpu72. They are doing exactly the same type of work (mainly DC) as before, but now i get credit "two times", hehe, on Gimps and on Gpu272 too.

 2012-08-09, 04:08 #5 flashjh     "Jerry" Nov 2011 Vancouver, WA 1,123 Posts Agree, everything is working really well and it saves soooo much time! (And it fills the assignemts/results page with a lot more useful information). @chalsall: A question. Since I use your spider to report results to PrimeNet, what is required to get it to 'talk' to your proxy and what information is required on each line so you know what Computer/GPU and instance reported the results? I know progress won't update, per se, but the completed assignments page will show the details vice just having 'manual'. Seems like it should be quite easy to make all these changes . I know mfakto already supports adding information to the results (though I haven't messed with that function yet).
2012-08-09, 04:37   #6
chalsall
If I May

"Chris Halsall"
Sep 2002

882410 Posts

Quote:
 Originally Posted by flashjh Seems like it should be quite easy to make all these changes . I know mfakto already supports adding information to the results (though I haven't messed with that function yet).
The optimal solution is to add the Primenet API communications protocol to mfakt*. That, obviously, is something which is going to take some thought, and co-ordination with George, Scott, Oliver and Bdot (possibly et al).

In the shorter term, I think (don't know, but am pretty sure) that Primenet will not accept results via its API protocol unless they have the "secret hash" included with each message. The only possible exception to this would be Factor Found results, but even then the user account wouldn't be associated.

A temporary "hack" is to add a parallel channel to my submission spider, such that it talks to both Primenet's manual submission interface (as it does now -- different than the API) and GPU72's new API for each result.

Not difficult, but it's not going to happen this week....

 2012-08-09, 05:00 #7 flashjh     "Jerry" Nov 2011 Vancouver, WA 1,123 Posts I see... I forgot about the hash.
2012-08-09, 05:05   #8
Dubslow

"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts

Quote:
 Originally Posted by chalsall The optimal solution is to add the Primenet API communications protocol to mfakt*. That, obviously, is something which is going to take some thought, and co-ordination with George, Scott, Oliver and Bdot (possibly et al). In the shorter term, I think (don't know, but am pretty sure) that Primenet will not accept results via its API protocol unless they have the "secret hash" included with each message. The only possible exception to this would be Factor Found results, but even then the user account wouldn't be associated. A temporary "hack" is to add a parallel channel to my submission spider, such that it talks to both Primenet's manual submission interface (as it does now -- different than the API) and GPU72's new API for each result. Not difficult, but it's not going to happen this week....
As I recall, it also required the computer's name and GUID. That part is when I decided that Christenson could take as much time as he needed to automate mfaktc.

2012-08-09, 14:16   #9
chalsall
If I May

"Chris Halsall"
Sep 2002

23×1,103 Posts

Quote:
 Originally Posted by Dubslow As I recall, it also required the computer's name and GUID. That part is when I decided that Christenson could take as much time as he needed to automate mfaktc.
Actually, that part isn't really all that difficult at all. The Computer's name is only used in Update Computer messages. The GUID (what I call CID) is simply a self-generated 32 character MD5 hash.

 2012-08-09, 15:36 #10 Xyzzy     "Mike" Aug 2002 11101001001002 Posts We are signed up for P-1 work, but we have picked up a few DC assignments. Even weirder, those DC assignments show up on out GIMPS assignments page. The P-1 work does not. How do we fix this?
2012-08-09, 15:46   #11
Dubslow

"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts

Quote:
 Originally Posted by Xyzzy Even weirder, those DC assignments show up on out GIMPS assignments page. The P-1 work does not.
That's due to this:
Quote:
 Originally Posted by chalsall Q5: Can I switch back to not using the proxy in the future if I choose to? A5: For LL and DC assignments, the GPU72 proxy gives you the real Primenet AID, and the assignments will show up in your Primenet Assignment report. So you can switch back to using Primenet directly with no issues. A5.1: For P-1 assignments it's a little more complicated in that the AID is generated by GPU72, so if you switched back to Primenet directly it wouldn't know about the AIDs and it will complain about an invalid assignment key at the next update. In such cases it's best to either unreserve the P-1 assignments before switching back, or else remove the AIDs from the worktodo.txt file.
As for this...
Quote:
 Originally Posted by Xyzzy We are signed up for P-1 work, but we have picked up a few DC assignments.

 Similar Threads Thread Thread Starter Forum Replies Last Post LaurV GPU to 72 58 2014-10-07 07:12 Mark Rose GPU to 72 2 2014-01-24 00:33 Bdot GPU to 72 7 2013-12-18 22:21 chalsall GPU to 72 72 2013-10-03 20:21 Chuck GPU to 72 2 2013-02-02 03:25

All times are UTC. The time now is 01:50.

Tue Mar 31 01:50:17 UTC 2020 up 5 days, 23:23, 0 users, load averages: 1.72, 1.59, 1.52