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

 2012-08-07, 22:29 #1 chalsall If I May     "Chris Halsall" Sep 2002 Barbados 3·5·739 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-07, 22:48 #2 chalsall If I May     "Chris Halsall" Sep 2002 Barbados 3×5×739 Posts Quick FAQ... 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.
 2012-08-08, 14:18 #3 kracker     "Mr. Meeseeks" Jan 2012 California, USA 27×17 Posts Thanks chalsall! Now what we need is GP.... oops, you've done enough already!
2012-08-08, 15:48   #4
LaurV
Romulan Interpreter

"name field"
Jun 2011
Thailand

3×23×149 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 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 . 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
Barbados

3·5·739 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
Basketry That Evening!

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

11100001101012 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
Barbados

3×5×739 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     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?
2012-08-09, 15:46   #11
Dubslow
Basketry That Evening!

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

3·29·83 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.
I'm not sure about that.

 Thread Tools

 Similar Threads Thread Thread Starter Forum Replies Last Post LaurV GPU to 72 81 2020-12-02 05:17 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 21:08.

Sat Feb 4 21:08:03 UTC 2023 up 170 days, 18:36, 1 user, load averages: 0.90, 0.89, 0.81

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

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔