![]() |
|
|
#89 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
624910 Posts |
Quote:
Last fiddled with by mdettweiler on 2010-05-04 at 06:38 |
|
|
|
|
|
|
#90 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
Quote:
This is essentially just like how do.bat/pl behave; in fact with stopoption=3 they behave exactly the same. stopoption=2 only differs in that anything that's already done when you Ctrl-C will be returned to the server before shutdown; nothing else is touched. Agreed that the "abandon" wording is a bit confusing. Mark, if you're reading this, can you change this to say "cancel" instead in the next version? That will hopefully be a little less confusing since "abandon" implies that they're just being dropped without any word to the server. |
|
|
|
|
|
|
#91 |
|
May 2007
Kansas; USA
101000100110112 Posts |
Very good. Thanks for the clarification. I'm glad to know that it's no more steps to return everything than with LLRnet.
|
|
|
|
|
|
#92 | ||
|
Mar 2006
Germany
23×3×112 Posts |
Quote:
|
||
|
|
|
|
|
#93 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
With how port 3000 ran out of pairs and went idle for a couple of hours just now, it got me thinking about a possible feature we may want to consider adding to a future version of do.bat/pl: backup servers. One very handy feature of PRPnet is that if a server goes down and looks like it's going to stay down (i.e., two or three successive connection attempts have failed), it can automatically fall back to an alternate server until the main one is back up--ensuring that the client never is without work. I wonder how hard it would be to implement this in do.bat/pl? That way, for instance, somebody could configure port 3000 as a primary server, but if it runs out of work, it could get work from port 6000 until 3000 is refilled.
|
|
|
|
|
|
#94 |
|
Mar 2006
Germany
23·3·112 Posts |
This is sure possible and could be a good way to avoid idle clients then.
In the batch-version I could set a second server as a new parameter, writing this to llr-clientconfig.txt after timeout of connecting to current server and call llrnet again with altered config-file. Another option: make a second llr-clientconfig.txt with settings for another server and rename this to the current config-file and calling llrnet. But if the second server don't respond as well, there must be a termination of that, too. PS: I can implement this in the next update, but have to test some other things, too, so could take some days until ready. Last fiddled with by kar_bon on 2010-05-10 at 06:14 |
|
|
|
|
|
#95 | |
|
May 2007
Kansas; USA
33·5·7·11 Posts |
Quote:
It's almost as if, with each attempt to get new pairs, you have to check the original server, and after whatever number of tries, you then go to the backup server. This sounds like what PRPnet does and if so, would be the way to go. As for what to do if the second server is unavailable...if you are going to do this, I would make it keep going back and forth between the 2 servers. It could get kind of hairy trying more than 2 servers. That would be like an "initial" release of such a thing. Later, you could do an updated release for more than 2 servers. BTW, before doing these, please make sure the previous fixes are in place, tested, and complete so that I can incorporate them in the Linux client. In other words...fixes before enhancements. Last fiddled with by gd_barnes on 2010-05-10 at 06:16 |
|
|
|
|
|
|
#96 | |
|
Mar 2006
Germany
23·3·112 Posts |
Quote:
|
|
|
|
|
|
|
#97 | |||
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3·2,083 Posts |
Quote:
Quote:
I can think of one thing, though, that might make it a little trickier for LLRnet: whereas PRPnet keeps its save files separate by server (for instance, work_G9000.save), LLRnet just uses one file (workfile.txt). That could lead to some potential confusion and mixed-up work unless the implementation is airtight on the backend; one possibility would be to change LLRnet to append the port # to the workfile.txt name a la PRPnet, though I imagine that would be tough to implement. Quote:
|
|||
|
|
|
|
|
#98 |
|
May 2007
Kansas; USA
33·5·7·11 Posts |
Max brought up some additional points that will make such a thing tough to both test and implement.
Karsten, I would suggest putting this option as low priority for now. I think you have some other enhancements that you were working on that I believe would be better to work on first before attempting this. Of course those few fixes mentioned previously would need to come first before anything.
|
|
|
|
|
|
#99 |
|
Mar 2006
Germany
290410 Posts |
I have to do some additional tests for those special cases again and it takes me more time I thought, so the next update is out perhaps on weekend.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LLRNET | ValerieVonck | Software | 12 | 2010-03-15 18:09 |
| llrnet 64 bit | balachmar | Prime Sierpinski Project | 4 | 2008-07-19 08:21 |
| LLRNet | em99010pepe | Riesel Prime Search | 20 | 2007-09-11 21:03 |
| Bush Supports $120 Billion Iraq War Compromise | ewmayer | Soap Box | 23 | 2007-05-27 12:37 |
| LLRnet over proxy? | Bananeweizen | Sierpinski/Riesel Base 5 | 4 | 2006-10-14 07:51 |