![]() |
|
|
#166 |
|
"Mark"
Apr 2003
Between here and the
18D216 Posts |
Here is a list of changes:
You can d/l it from here. |
|
|
|
|
|
#167 |
|
"Mark"
Apr 2003
Between here and the
18D216 Posts |
There is only one change, which is in the client:
You can d/l it from here. I recommend that users upgrade to this release as soon as they can. I intend to multi-thread the server in the next release. I have never coded pthreads before, so I have a bit of learning to do. If anyone would like to volunteer some of their skill to that effort, it would be appreciated. |
|
|
|
|
|
#168 |
|
May 2007
Kansas; USA
22×19×137 Posts |
I believe we have some serious problems with the general design of PRPnet and would like to see some of these issues addressed and discussed amongst many of the technical folks here at mersenneforum. Here is what I am seeing:
1. The main file is completely in memory to facilitate updating. What happens if you lose power or the machines hang or your program goes into a loop? It would be even worse if you change the save frequency to hours instead of minutes. Your window of vulnerability is much greater. 2. There is a bottlenecking problem that is a result of self imposed deadlines on processing results. It would be much better to let the server program do all of its updating before allowing requests from clients to dictate things. The time savings from being able to use the new and improved LLR and PFGW greatly exceeds the need to save nano-seconds for the clients. 3. All of the stats stuff needs to be taken out of the main program and put into its own seperate program(s). It's probably not a good idea to have stats in an online program. The first two are serious issues that should be looked into fairly soon. The third would make future modifications far easier. Every situation must be thought of ahead of time. Just because certain problems have not been encountered does not mean that there are not bugs. Think of it like this: If the worst happens, what will happen with PRPnet? The worst things that I can think of in order of severity would be: (1) A hard drive failure. (2) A power outage. (3) Too many clients overloading the system. (4) Data coming up completely missing from the system. I'm sure there are many others and all of them need to be coded and tested. Thank you, Gary Last fiddled with by gd_barnes on 2009-08-12 at 09:12 |
|
|
|
|
|
#169 | |||
|
"Mark"
Apr 2003
Between here and the
143228 Posts |
Quote:
Quote:
Quote:
The other major enhancement in all of this would be to have the client send a single message and have the server respond with a single message. That would require the client to send data in an XML format or something relatively easy for the server to parse. Finally, although I could do all of this myself, this would happen much faster if I had assistance. Please e-mail me if you want to help with development. If I do get helpers, I will need to put PRPNet into SourceForge. |
|||
|
|
|
|
|
#170 |
|
May 2007
Kansas; USA
22×19×137 Posts |
Your question was related to the bottlenecking issue.
Please see this post: http://www.mersenneforum.org/showpos...1&postcount=86 as well as the posts directly above and below it for what we are referring to. It doesn't appear that the issue was fully fixed. |
|
|
|
|
|
#171 | |
|
"Mark"
Apr 2003
Between here and the
635410 Posts |
Quote:
Putting the data into a single block won't address bottlenecks, but it should address some of the oddities in communications between the client and server. Last fiddled with by rogue on 2009-08-13 at 22:32 |
|
|
|
|
|
|
#172 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
|
|
|
|
|
|
|
#173 | |
|
"Mark"
Apr 2003
Between here and the
2×32×353 Posts |
Quote:
|
|
|
|
|
|
|
#174 | |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
Quote:
My recommendation is that the server allow clients to grab more tests so that they don't communicate very often, maybe only once per hour or so. This requires changes in both the client config and the server config, but would reduce the thrashing done by the server which will happen when lots of clients connect in succession. On the positive side, I did find out what is causing the client to hang when the server no longer has the test. I will provide a patch tomorrow. Last fiddled with by rogue on 2009-08-14 at 01:36 |
|
|
|
|
|
|
#175 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
As you suggested over in the "server bugs and barfing" thread, what would be really helpful is to implement a checksum in the communications protocol--sort of like what Prime95 does to make sure that PrimeNet receives the result correctly. The server would then reject any result that doesn't have the proper checksum. One other thing that would be useful is to make the server more robust in how it handles an unexpected termination of a connection. Right now, it just spews out "error sending x to localhost:port" errors after timing out on each message, which not only seems to confuse the server, but also ties it up for the timeout value times however many lines it needs to send. Both the client and the server should be set so that if they get a "nothing received", they won't keep trying to talk to the other end of the line, but will just continue going on with their business. |
|
|
|
|
|
|
#176 |
|
"Mark"
Apr 2003
Between here and the
143228 Posts |
There is only one change, which is in the client:
You can d/l it from here. I recommend that users upgrade to this release as soon as they can. |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRPNet 5.4.3 Released | rogue | Software | 178 | 2021-06-24 11:56 |
| PSP goes prpnet | ltd | Prime Sierpinski Project | 86 | 2012-06-06 02:30 |
| PRPNet 4.0.0 Released | rogue | Software | 84 | 2011-11-16 21:20 |
| PRPNet 4.0.1 Released | Joe O | Sierpinski/Riesel Base 5 | 1 | 2010-10-22 20:11 |
| PRPNet 3.0.0 Released | rogue | Conjectures 'R Us | 220 | 2010-10-12 20:48 |