![]() |
![]() |
#1 |
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]()
Hi all,
A few days ago, a new version of PRPnet, 2.0.4, was released. Edit: latest is now 2.1.2. This version fixes many of the earlier versions' shortcomings and bugs, including: -Support for user ID's -Added a built-in stats/status web page system -CPU affinity can now be specified when LLR is used as a worker application -Supports using PFGW as an additional worker application, and thus can automatically prove PRP's found with Phrot or LLR -Fixed a number of bugs/clunky behaviors related to how the client handles in-queue workunits when it shuts down Edit: 2.1.2 fixed numerous bugs found in 2.0.4 (most notably a bug in handling Ctrl-C shutdowns on Windows), and added some features to the server. The differences for end-users of the client will be slight. ...as well as a number of other things which I won't go into here since they aren't directly relevant to end-users' use of the client at NPLB or CRUS. For those who aren't already familiar with what PRPnet is, it was designed a number of months ago to be the long-overdue replacement for LLRnet, which due to its hard-coded LLR version 3.5 is becoming rapidly outdated. LLR 3.7.1c, the latest version, can be up to 10% faster, and another, relatively new program, called Phrot, can handle PRP tests up to 50% faster than LLR for many k*b^n+-1 bases. (Note that Phrot is really only applicable for the Conjectures 'R Us project, not here at NPLB.) PRPnet attempts to accomodate these improvements by providing a brand new client/server application that, rather than using hard-coded computational code, runs an external binary of the respective application, which can be easily swapped out as updates are released. With this new release, PRPnet appears to be, for the most part, ready for prime time (no pun intended ![]() Clients for Windows and Linux can be downloaded at the following locations: http://www.noprimeleftbehind.net/dow....1.2-win32.zip http://www.noprimeleftbehind.net/dow....2-linux32.zip To run either client, follow these steps: -Download the respective version of the client for your operating system, and extract it to a new directory. The latest LLR, Phrot, and PFGW binaries needed by PRPnet are included in the above-linked zip files. -Open prpclient.ini and edit userid=, email=, and clientid= to their respective values. userid should be the same as what you would use for LLRnet; email is somewhat self-explanatory and will be used for automatic prime notifications in the near future; and clientid is used to differentiate different computers within a given userid in the server logs. This could be quite useful if, say, one of your machines' residuals are found to be bad in future doublechecking, so that you can locate the faulty machine more easily. -prpclient.ini is already configured to communicate with the G2000 beta test server. However, you can add other servers, too, as described in the prpclient.ini file's comments. This is actually a really cool feature of PRPnet: you can have it automatically split its time (based on a user-provided ratio) between multiple servers, or even configure a fallback server in case one is unreachable. A list of currently avalable public PRPnet servers is published along with the client in the file servers.txt. (Please note that this file is by no means necessarily exhaustive. ![]() -Run the program prpclient.exe (or ./prpclient on Linux) and you're all set! The client should automatically connect to the server, grab 10 k/n pairs (this is configurable in the prpclient.ini file), process them, return them to the server, and repeat. (Note that PRPnet handles work in batches, unlike LLRnet which returns results individually. In earlier tests of PRPnet at CRUS this has confused some users, so thus I figured I'd better clarify this here at the get-go. ![]() -If the PRPnet client is interrupted, it will automatically pick up right where it left off when it restarts. Note that on Windows, simply closing the terminal window in which the client is running will perform a "force shutdown" and possibly lose any work since LLR or Phrot's last checkpoint; the best way to shut it down is with a Ctrl-C. (Usually this is also what happens behind-the-scenes when the computer is shut down normally.) When shut down with Ctrl-C, it theoretically should ask you what to do with the remaining workunits in queue; this usually works as advertised on Linux, but on Windows sometimes the what-to-do prompt is just ignored. Your mileage may vary, but admittedly this is only a minor quibble even if it doesn't work. Edit: as of version 2.1.2, this works fine on Windows as well as Linux. If you have any questions, feel free to post them in this thread or ask me via PM/email. Enjoy! ![]() Max ![]() Last fiddled with by mdettweiler on 2009-05-12 at 18:47 |
![]() |
![]() |
![]() |
#2 |
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
![]()
Oh, I almost forgot--here are the links to the server's various built-in status pages (updated every 5 minutes):
Server status: http://nplb-gb1.no-ip.org:2000/server_stats.html Server status (simplified form, for embedding into other pages): http://nplb-gb1.no-ip.org:2000/server_status.html Users stats (a simple stats- and score-tracking system): http://nplb-gb1.no-ip.org:2000/user_stats.html Please note that the user stats page uses a completely different formula for calculating its scores, so they aren't comparable with the ones at http://stats.ironbits.net. My plan is to code up some scripts sometime soon to convert the PRPnet server's results into our standard CSV format for importing into the stats databse just like with LLRnet results. Last fiddled with by mdettweiler on 2009-04-27 at 22:17 |
![]() |
![]() |
![]() |
#3 |
Mar 2009
2·3·31 Posts |
![]()
Sounds good. I'll try it in a couple hours since I'm almost done one of my parts of the mini-drive.
|
![]() |
![]() |
![]() |
#4 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
102538 Posts |
![]()
Is it possible to set the priority or other options that normally would be set in llr.ini? (I use Windows and downloaded your package) I tried the "idle" option in prpclient.ini and it didn't change it, so I edited the llr.ini file and restarted prpclient, but found that PRPnet regenerates the llr.ini from scratch and so deleted my edits. I also wanted to edit the iterations between screen outputs (OutputIterations).
Also (not sure what you could do about it) on http://nplb-gb1.no-ip.org:2000/user_stats.html it says "PRPs Found" even though all the stuff is prime, not PRP. Quote:
Code:
C:\Files\Prime\PRPnet>prpclient Client will run in idle class. [2009-04-27 22:11:00 GMT] PRPNet Client application v2.0.4 started [2009-04-27 22:11:00 GMT] User name Mini-Geek at email address is [removed] Resuming test of 3021*2^428009-1 at iteration 110610 [25.84%] Caught signal. TermiWhat should the client do with untested workunits? natin 1 = Abort all (including current tests) g. 2 = Report completed tests to server 3 = Nothing Choose option: [2009-04-27 22:11:18 GMT] G2000: Could not open file [lresults.txt] for reading. Ass uming user stopped with ^C ![]() Also, is there any way, besides launching it normally and then using an app like HideIt, to launch PRPnet in some sort of silent or in-the-task-tray mode? BTW I just submitted my first PRPnet result to NPLB. ![]() Any idea if the idle time between submission of batches can be eliminated? In LLRnet you could just make it queue more than one so it has something to start on while it contacts the server, but with PRPnet's batching that doesn't apply. You could (probably) reduce the average idle time by having a large batch, but that still means there's some idle time. Last fiddled with by Mini-Geek on 2009-04-27 at 22:45 Reason: added last paragraph |
|
![]() |
![]() |
![]() |
#5 |
I quite division it
"Chris"
Feb 2005
England
31×67 Posts |
![]()
Is 'clientid' an integer or a string?
How do I get it to finish its 10 candidates and then stop? [edit: Looks like Mini-Geek beat me to it.] Last fiddled with by Flatlander on 2009-04-27 at 22:46 |
![]() |
![]() |
![]() |
#6 | |
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
10000101010112 Posts |
![]()
clientid is a string that you use to identify machines/cores under your account name/email. It is required, but it doesn't really matter what it is.
Quote:
![]() |
|
![]() |
![]() |
![]() |
#7 | |||||
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
![]() Quote:
Quote:
Quote:
On Linux, a simple way to do this is to append the command with an "&". Like this: ./prpclient & Or, if you want to keep the screen output logged in a file: ./prpclient >> stdout.txt & Unfortunately Windows doesn't have this option available, though if you have Cygwin installed you can use it just like on Linux. Quote:
Quote:
Of course, you're probably wondering just what I meant by "reasonably sized batches". ![]() Now, for smaller numbers such as the 9th Drive candidates, you'd definitely want to use a somewhat larger batch for them. Probably 10 would be the minimum reasonable size, though closer to 20 would be optimal. Max ![]() |
|||||
![]() |
![]() |
![]() |
#8 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
![]() Quote:
As stated in my last message, I'll report the Ctrl-C problem in the main PRPnet thread over at CRUS. Edit: Actually, I just took a second look at the options presented and realized that this is indeed *not* one of the options presented. The closest thing to it is "Abort all (including current tests)", which reports all of the tests to the server as cancellations and ditches the save files of partially completed work. ![]() Last fiddled with by mdettweiler on 2009-04-28 at 00:00 |
|
![]() |
![]() |
![]() |
#9 |
Jan 2005
Sydney, Australia
5·67 Posts |
![]()
Seems to be working OK so far.
How do we check how the individual client cores or clientIDs are crunching or is that something the Admins can see to warn the users of any rogue machines? |
![]() |
![]() |
![]() |
#10 | |
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
![]() Quote:
Though, that would be a rather interesting feature for the next version... ![]() |
|
![]() |
![]() |
![]() |
#11 |
Jun 2006
Chertsey Surrey UK
2·179 Posts |
![]()
Anyone tested the proxy function.
It' would be good if 'pharmers' could use proxy's again. Last fiddled with by PCZ on 2009-04-28 at 05:27 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRPNet server for personal use | johnadam74 | Software | 2 | 2016-01-01 15:58 |
New SR5 PRPnet server online | ltd | Sierpinski/Riesel Base 5 | 15 | 2013-03-19 18:03 |
First PSP PRPnet 4.0.6 server online | ltd | Prime Sierpinski Project | 9 | 2011-03-15 04:58 |
SR5 PRPnet 4.0.4 Beta Server - Special Challenge! | Joe O | Sierpinski/Riesel Base 5 | 6 | 2010-12-25 20:45 |
PRPnet 3.1.3 stress-test server | mdettweiler | No Prime Left Behind | 40 | 2010-01-30 18:05 |