![]() |
![]() |
#1 |
If I May
"Chris Halsall"
Sep 2002
Barbados
3·5·739 Posts |
![]()
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 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. ![]() |
![]() |
![]() |
![]() |
#2 |
If I May
"Chris Halsall"
Sep 2002
Barbados
3×5×739 Posts |
![]()
Q1: I already use the Primenet/mprime ProxyHost settings to get through a firewall. Can I still use the GPU72 proxy?
A1: Unfortunately, no. Or at least, not easily. A1.1: The longer answer... In order to do this your current proxy must have its DNS configured such that v5.mersenne.org resolves to 74.208.185.233 (gimps.gpu72.com) (or CNAMEs to gimps.gpu72.com) instead of what it normally does. Q2: I do other work types in addition to P-1, LL and DC. Can I still use the proxy? A2: Yes. The proxy honors the Work Type settings for each CPU. Any requests for Work Types the proxy can't offer are simply passed to Primenet for fulfillment. All updates and results messages simply pass through the proxy to Primenet. (Important: See Q7 and A7 below.) Q3: I still like to manually fetch work. Can I continue to do so? A3: Yes. Manual (or worktodo.add) additions to the worktodo.txt file will be handled just the same as if the proxy was not being used. The only real difference is when new work is requested. Q4: I do some work directly from Primenet, in addition to work from GPU72. Can I continue to do so? A4: Yes. All Update and Completed messages pass through the proxy to Primenet, so mixing GPU72 and non-GPU72 assignments works fine. Q5: Do I need to put my GPU72 username and password in the ProxyUser and ProxyPass fields of the Prime95/mprime client? A5: No. These fields are for proxies which require authentication. The GPU72 proxy doesn't. Q6: Can I switch back to not using the proxy in the future if I choose to? A6: 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. A6.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. Q7: I started using the proxy, but I'm being assigned Double Check work instead of what Prime95/mprime is configured to get. Why? A7: There appears to be a bug in the Prime95/mprime client such that it doesn't always indicate its work preference before requesting work. The solution is to change the work type (overall if all threads do the same work, or on a per-thread basis if different threads do different work) to something different (like Double Check), manually communicate with the server, then switch the work type back to your preference and manually communicate again. This need only be done once per client. Last fiddled with by chalsall on 2013-04-23 at 17:48 Reason: Added Q7. |
![]() |
![]() |
![]() |
#3 |
"Mr. Meeseeks"
Jan 2012
California, USA
27×17 Posts |
![]()
Thanks chalsall!
![]() Now what we need is GP.... oops, you've done enough already! ![]() |
![]() |
![]() |
![]() |
#4 | |
Romulan Interpreter
"name field"
Jun 2011
Thailand
3×23×149 Posts |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 |
"Jerry"
Nov 2011
Vancouver, WA
112310 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 ![]() |
![]() |
![]() |
![]() |
#6 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
3·5·739 Posts |
![]() Quote:
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.... |
|
![]() |
![]() |
![]() |
#7 |
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
![]()
I see... I forgot about the hash.
|
![]() |
![]() |
![]() |
#8 | |
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
11100001101012 Posts |
![]() Quote:
|
|
![]() |
![]() |
![]() |
#9 |
If I May
"Chris Halsall"
Sep 2002
Barbados
3×5×739 Posts |
![]()
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.
|
![]() |
![]() |
![]() |
#10 |
Aug 2002
22·3·23·31 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? ![]() |
![]() |
![]() |
![]() |
#11 | ||
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
![]() Quote:
Quote:
I'm not sure about that. |
||
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automatic fetch of Trial Factoring work for GPU mfakt* | LaurV | GPU to 72 | 81 | 2020-12-02 05:17 |
GPU72 doesn't show all available DC work | Mark Rose | GPU to 72 | 2 | 2014-01-24 00:33 |
GPU72 proxy ignores work type changes | Bdot | GPU to 72 | 7 | 2013-12-18 22:21 |
New work types for GPU72? | chalsall | GPU to 72 | 72 | 2013-10-03 20:21 |
Completed 29M work not showing as completed in GPU72 | Chuck | GPU to 72 | 2 | 2013-02-02 03:25 |