![]() |
|
|
#1 |
|
Jan 2005
Caught in a sieve
5×79 Posts |
First there was Proth.
Then there was PRP. Then LLR/LLRNET. And now you can use the Seventeen or Bust software to do PRP tests! Introducing SBprp, part of the SBServer Package. SBprp is a Java program that takes over a PRP job by reading its ini and input files, serving work to Seventeen or Bust clients, and recording the results like PRP would. Currently, the SB client is faster than PRP on non-SSE2 chips, because it uses optimizations George Woltman hasn't yet added to PRP. You can also use several computers to work on the same PRP range in parallel! And because SBprp is partially open source (only the API is closed), you can modify it to suit the needs of your project! Now for the bad news. Because the SB client is limited to Proth numbers (K*2^N+1), so is SBprp (which is why I posted in this forum.) And while the closed-source API code is pretty stable, the open-source SBprp code doesn't do a lot of checks on your input. It just ignores the first line of the input file, and assumes the .ini file is correct. Also of note, work units are currently set to time out after 24 hours (meaning they go to another client if you have one), and intermediate blocks are ignored. But, of course, the code in question is open-source, so you can fix these problems.When used carefully, SBprp works very well! I found my most recent large prime, 383037*2^365350+1, on between one and three computers (none of them P4s) with SBprp. So why don't you give it a try?
|
|
|
|
|
|
#2 |
|
Jun 2003
2×7×113 Posts |
Thanks for the info. I think we will wait for George Woltman to put the improvements in the next PRP release, as most of the computers involved in the PRP section of this project are P4's. If you or someone else wants to modify SBPRP for PSP, we will for sure give it a try.
Thanks, Citrix
|
|
|
|
|
|
#3 | |
|
Jul 2004
Potsdam, Germany
3·277 Posts |
Quote:
That way, the project would have a new automatic client , as llrnet still uses the old algorithms (--> slower) - and the new version won't be residue-compatible with PRP.
Last fiddled with by Mystwalker on 2005-01-03 at 00:19 |
|
|
|
|
|
|
#4 | |
|
Jan 2005
Caught in a sieve
5·79 Posts |
Quote:
![]() You could try using it for the entire project , but I wouldn't recommend usage that heavy without certain improvements, most notably multithreading.I may get around to some of these things. This is the most interesting personal project I'm working on right now. But don't bet the farm on it. |
|
|
|
|
|
|
#5 |
|
Jun 2003
158210 Posts |
Could some one write some directions, I or some one else will test it out to see if it is any better.
Thanks, Citrix
|
|
|
|
|
|
#6 |
|
Jan 2005
Caught in a sieve
5·79 Posts |
Instructions:
1. Start a PRP job, then stop it and delete the "zXXXXXXXX" file. 2. Extract the contents of my zipfile to the same directory. 3. Run "java SBprp" from a command prompt in that directory. 4. Connect all SB clients to that server, port 5911. (Why 5911? Because 5911 = 0x1717 )But don't go overboard. I'm almost done with that multithreaded implementation. It will probably handle up to about 100 clients (which means maybe 25-50 users). More than that will probably need a database. I keep meaning to learn JDBC (Java DataBase Connectivity)...
|
|
|
|
|
|
#7 |
|
Jul 2004
Potsdam, Germany
3·277 Posts |
When it comes to JDBC, maybe I can help...
|
|
|
|
|
|
#8 |
|
Jan 2005
Caught in a sieve
5·79 Posts |
New Version 0.11! It's got threading, plus a few other fixes and tweaks. Edit: Oh, and it respects intermediate blocks, too!
Myst, I think I can do it when and if it comes to that. But the first question would be whether a database is needed, and the second whether Citrix can set one up. I tried this new version with three machines searching for low (k*2^10240) primes. They didn't skip any, and found two primes I found years ago, plus four more, in just minutes! The next question is, is the new LLR35 faster than SB
Last fiddled with by Ken_g6 on 2005-01-03 at 23:25 |
|
|
|
|
|
#9 | ||
|
Jul 2004
Potsdam, Germany
3·277 Posts |
Quote:
Quote:
Bad thing is that residues of PRP/SB and LLR are not comparable.
Last fiddled with by Mystwalker on 2005-01-03 at 23:52 |
||
|
|
|
|
|
#10 | ||
|
Jan 2005
Caught in a sieve
5·79 Posts |
Quote:
It's been so long since my databases class, I don't even know where to begin anymore. So if you want to write something up, be my guest; that's why I made it open source.![]() Quote:
; OTOH this server is Alpha quality.
|
||
|
|
|
|
|
#11 | ||
|
Jul 2004
Potsdam, Germany
83110 Posts |
Quote:
![]() Quote:
![]() Maybe I'll look into it within this time span, though. Could be a good distraction to get my head clear.
|
||
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Algorithm - Tester(s) required | bearnol | Factoring | 29 | 2006-08-16 04:57 |
| Sound Card Tester?? | dave_0273 | Hardware | 2 | 2004-06-19 15:34 |