![]() |
|
|
#34 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
I'm working again on the changes to ECMNet. I have a question for those of you who set up servers.
Does anyone use master/slave configurations? In the PRPNet world, I don't support it because clients can d/l as much work as the server allows. While the client has work it is reserved. This means that no other client will get a PRP test that is reserved by another client. In the ECMNet world, things are different. It is common to have multiple clients doing ECM curves on the same number at the same time. This is controlled via the "hour breakpoints" in the ecmserver.cfg. The server also does not track reservations as the client will continue doing curves on the number until it reaches the max. This means that a client could have outstanding work for days, weeks, or longer. I have considered some changes so that the client could get workunits and then report back to the server when the workunits have completed or when a certain amount of work has been done. If I do this, then I could set up a reservation system which could also be used to vary the work a little more with the clients. For example, I could have it send this: Type=P+1 Curves=3 B1=100000 Number=Number1 Type=P-1 Curves=1 B1=100000 Number=Number1 Type=ECM Curves=100 B1=100000 Number=Number1 Type=P+1 Curves=3 B1=100000 Number=Number2 Type=P-1 Curves=1 B1=100000 Number=Number2 Type=ECM Curves=100 B1=100000 Number=Number2 Type=P+1 Curves=3 B1=300000 Number=Number2 Type=P-1 Curves=1 B1=300000 Number=Number2 Type=ECM Curves=100 B1=300000 Number=Number2 etc. until max work per client is exceeded. The number of curves is evaluated as MIN(curves left for that B1, max per client for that B1). The client would return completed work when either: a) all work completed b) max time for server exceeded (for example, client does curves for 10 hours, then returns what was completed, the max time is configurable) c) max work exceeded (work is a computed value based upon decimal length of the number and B1, when a curve is completed, work is incremented, max work is a configurable threshold). I'm not proposing to get rid of the "hour breakpoints", but I want to allow the end user to have more control over the work they do and the allow the server admin more control over reservations. Thoughts? |
|
|
|
|
|
#35 | |
|
Aug 2005
Seattle, WA
25×5×11 Posts |
What is the "it" in that sentence? The server? I.e. are you just proposing that rather than sending a single number with a certain number of curves you send a somewhat longer list of work units to perform?
Quote:
And how does this relate to reservations? Is the idea that once the server sends work to one client, it is reserved (and therefore not sent to anyone else) until either the work is sent back as either released or completed, or the client times out? It's not clear that that would be a desirable change to make (I could probably be convinced), but either way it seems orthogonal to the proposal you've made (unless, again, I'm just not correctly interpreting your proposal). |
|
|
|
|
|
|
#36 |
|
"William"
May 2003
New Haven
236610 Posts |
I use them.
I use them to segregate work units in various ways. Odd Perfect Number has a server that hands out only roadblocks and another that hands out only small tasks. Users can prioritize based on interest and computer power. While I was living in London, I used a slave server for administration of the OPN servers that stayed in the USA. I could easily get an updated ecmserver.ini, and I also reported factors to the master by hand creating factor lines in the slave's ecmserver.ini. William |
|
|
|
|
|
#37 | ||
|
"Mark"
Apr 2003
Between here and the
11000110100002 Posts |
Quote:
Quote:
On the client side, I want to make it easier for a client to bounce between numbers to factor. Instead of having to do all remaining ECM curves at a given B1 for a given number (until timer expires or a factor is found), the client could do a smaller number of curves for each number. Last fiddled with by rogue on 2010-12-08 at 22:41 |
||
|
|
|
|
|
#38 | ||||
|
Aug 2005
Seattle, WA
25×5×11 Posts |
Quote:
Quote:
Quote:
Quote:
|
||||
|
|
|
|
|
#39 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
1076310 Posts |
Quote:
Paul |
|
|
|
|
|
|
#40 |
|
"Frank <^>"
Dec 2004
CDP Janesville
2·1,061 Posts |
[AOL]Me too![/AOL]
I set my ECM group up with one master and then a slave on each client machine. That way the clients will never run out of work should the network or the master server go down (usually due to the power getting interuppted, although I did have a WAP go down which cut my netowrk in half). |
|
|
|
|
|
#41 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Does anyone modify the localcontrol or recurse settings? I'm wondering if I need to continue supporting these?
|
|
|
|
|
|
#42 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
I'm looking for source code (in C or C++) for a relatively simple expression parser. Does anyone know where I could find one? I would consider PFGW's, but it's expression parser is complex and rather nasty. I haven't looked at GMP-ECM's, so I don't know if that one would be feasible to use.
Last fiddled with by rogue on 2010-12-14 at 16:31 |
|
|
|
|
|
#43 |
|
"Mark"
Apr 2003
Between here and the
24·397 Posts |
Here is a brief update.
Things are going slowly. I have a table creation script, which I think it complete, but I won't know until I get further into development. Right now I'm focusing on master/slave synchronization. The rewrite for this is much more complex due to the databases as both master and slave will have to manage transactions. I'm expecting to take three days of coding just for this piece. I think finishing this release will take a lot longer than I anticipated. |
|
|
|
|
|
#44 |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
47×229 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Featured request | bsquared | YAFU | 260 | 2019-12-10 10:30 |
| Requests? | Xyzzy | Forum Feedback | 104 | 2017-04-02 22:20 |
| Collaboration Requests | robert44444uk | Prime Gap Searches | 2 | 2017-01-17 07:57 |
| a few simple requests for v5 | ixfd64 | PrimeNet | 44 | 2010-01-11 20:21 |
| New Year requests | masser | Sierpinski/Riesel Base 5 | 22 | 2007-09-24 21:05 |