![]() |
|
|
#12 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
The folks wanting to do stage 2 P-1 on those exponents which have had only stage 1 P-1 need first to do a cost/benefit analysis (not just WAG comments).
Suppose an exponent has B1=B2=500000 done, and you want to extend this to B1=500000,B2=15000000 (B2 = 30*B1). Figure out how much chance you have of finding a factor (A) with B1=B2=500000 and B) with B1=500000,B2=15000000. Realize that the benefit of extending the P-1 will NOT be (B), the chance of factor-finding with B1=500000,B2=15000000, but (B)-(A) the marginal change in probability between A) and B). So, when extending the P-1 to B1=500000,B2=15000000, you'll be incurring the total cost of both the stage 1 and stage 2, but getting only the marginal benefit of the stage 2 alone because you know in advance that your stage 1 will not find a factor (else it would already have been found by the user who did the stage 1-only P-1 and you wouldn't be doing this extension !!). Do the math. Is that P-1 extension really as efficient in L-L reduction as doing some other type of work would be? - - - Maximizing GIMPS progress efficiency is one, but not the only, choice of goal for your own satisfaction. I just want everyone to be sure that if they are not doing work that maximizes GIMPS progress efficiency, they are not kidding themselves and have made an informed choice. If you don't care about efficiency, and want to do P-1 extension just for the fun of it, fine! Last fiddled with by cheesehead on 2012-01-06 at 06:59 |
|
|
|
|
|
#13 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
769210 Posts |
Now that I found my bookmark for the Mersenne-aries calculator, here's an example:
exponent = 50M, TF to 68 bits B1=B2=700000 chance of factor = 2.925%, cost = 1.859 GHz-day (chance of factor = 2.925%)/(cost = 1.859 GHz-day) = 1.573% per GHz-day efficiency of factor-finding B1=700000,B2=21000000 (B2=30*B1) chance of factor = 6.396%, cost = 4.797 GHz-day marginal increase in factor chance = 3.471% at cost of 4.797 GHz-day (marginal increase in factor chance = 3.471%)/(cost of 4.797 GHz-day) = 0.724% per GHz-day efficiency of factor-finding So, the extension is less than half as efficient in factor-finding as the original stage 1 run had been. BTW, efficiency if the stage 2 had been done originally = (chance of factor = 6.396%)/(cost = 4.797 GHz-day) = 1.333% per GHz-day efficiency of factor-finding The B2 extension after a stage 1-only run is only slightly more than half as efficient in factor-finding as it would have been to do the stage 2 originally. Last fiddled with by cheesehead on 2012-01-06 at 07:38 |
|
|
|
|
|
#14 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
1C3516 Posts |
My posts were not WAGs. I also used data from James' site, just like you. I came to the conclusion that if we get >3% success rate, then it is unquestionably beneficial to GIMPS. I used bcp19's data to guess that 3% is entirely doable, and then I agreed with chalsall that we need to figure out what the success rate would be. (My only caveat is that while >3% is unquestionably beneficial, it's still not as beneficial as 'fresh' P-1.)
|
|
|
|
|
|
#15 | |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
Quote:
Without those parameters, your percentages look exactly like WAGs. >> Now, perhaps the parameters (which are not entirely clear -- If the first P-1 is B1=B2=750K, then what is the second, extended B2?) in your post #9 are what is associated with your 3% figure, but you need to tell us that rather than just slinging the 3% figure around, and you need to be a lot more careful in explaining what your post #9 figures mean. What, exactly, is "proper" P-1? I see you mention a 1.9 GHz-day cost and a 3.1 GHz-day cost, but I don't see what you use the 3.1 figure for -- is that what the "3.2" is supposed to be? Last fiddled with by cheesehead on 2012-01-07 at 05:47 |
|
|
|
|
|
|
#16 | |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
Quote:
|
|
|
|
|
|
|
#17 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
Quote:
Getting back to you cheesehead. |
|
|
|
|
|
|
#18 | |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3×29×83 Posts |
Quote:
You are right in that it does not compare how useful this would be instead of just 'regular' P-1; I do believe that that is even more beneficial, and that unless we run out of those (which ain't gonna happen anytime soon) then we could do these instead. I brought this up because there are people like James and bcp19 who like to be thorough, if not necessarily the best for GIMPS. I would consider mixing some of these in with some regular P-1 work, and it never hurts to have the option available for those who want to. |
|
|
|
|
|
|
#19 | ||||
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
Quote:
In prime95, the default B1/B2 bounds are calculated by an algorithm that computes the optimum balance between factor chance, GHz-day cost of P-1 and GHz-day cost for L-L. What it looks for, while varying B1 and B2, is the balance (L-L cost) * (factor chance at a particular B1/B2) = (P-1 cost at that same B1/B2) The output of this algorithm is a set of B1/B2 bounds. GHz-day cost is used within the algorithm, but is not the output "default amount". James's site does offer an option for you to specify GHz-days, and then it back-calculates what B1/B2 limits will use that much time, but those are not default values. Quote:
Quote:
Quote:
. Last fiddled with by cheesehead on 2012-01-07 at 06:24 |
||||
|
|
|
|
|
#20 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
The reason I talk about 'default work' in GD as opposed to bounds is because James' site specifies a default set of bounds, independent of memory. I therefore assume that given sufficient memory (and the right TF bit depth), Prime95 will choose those bounds. If that's not true, then posting default bounds seems at least a little bit misleading.
And of course I meant that it chooses bounds that amount to 2.4 GD. I figured that everyone here knows this. (And if not, nothing is really lost in this context.) 'Half-assed' means no Stage 2, or B1=B2. That's what this whole thread is about. Proper means what Prime95 would determine as proper, given at least 500-1000MB, or equivalently, the bounds on James' site (ignoring the TF bound). This implies a decent Stage 2. The best way to end this is to just do it and see what happens. |
|
|
|
|
|
#21 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
|
|
|
|
|
|
#22 | ||||||
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
Quote:
Calculating the chances of finding a factor with a given set of bounds does not require knowing the allocated memory. But calculating the GHz-day cost of computing with a given set of bounds does require knowing the allocated memory (for stage 2). James's page makes some assumption there. Quote:
Quote:
If you make unwarranted assumptions about the meaning of posted default bounds, that's not the fault of whoever posted the figures. Quote:
(L-L cost) * (factor chance at a particular B1/B2) = (P-1 cost at that same B1/B2) and the P-1 GHz-day cost is just whatever cost happens to apply to that set of bounds, not the other way around. Quote:
Prime95 always chooses the optimum bounds for the particular situation of the particular user who is doing the P-1. Stage 1-only is a proper and optimum way to do P-1 on some systems with small allocated memory. It is not "half-assed". It is what was optimum for the conditions in which it was run. You need to understand that. Quote:
If you want to extend P-1 stage 1-only to high B2 bounds (or higher B1!), that's fine, but you don't need to belittle the contributions of those who did the stage 1-only P-1 on systems that didn't have the generous amount of memory that yours does. Last fiddled with by cheesehead on 2012-01-07 at 06:53 |
||||||
|
|
|