![]() |
|
|
#1 |
|
"Jason Goatcher"
Mar 2005
3·7·167 Posts |
I sieve on a Linux box with an Athlon chip. I PRP on a dual-core Pentium-D. I sieve about 6 values for every one I PRP on one of my Pentium-Ds cores.
Most people would say,"Run the sub-project that removes the most values." So Athlons sieve, Pentium-4s PRP, P3s sieve, etc.. They're happy as long as their doing the thing that removes the most values. But there's a problem. Most of them haven't factored in the possibility of primes in their equation. Think about it. The numbers most likely to yield prime are the ones that have the most values left after sieving(More values, more chances to yield prime). The thing is, since there are a lot of values for these numbers, it's more likely that they'll yield a factor. So if you find 90% of your factors for numbers that yield prime below, say, n=750,000, you may have actually wasted time. You don't know for sure, it's a statistical crap shoot. Everybody can do whatever they want. But, statistically, a person should be PRPing long, LONG before they start running out of numbers to sieve. For me, if I'm sieving less than 5 values for every one I can PRP on the same machine, I'm going to be PRPing. |
|
|
|
|
|
#2 |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
Btw, the above post wasn't aimed at anyone in particular. I was simply feeling extra geeky at the time. :)
|
|
|
|
|
|
#3 |
|
"Mark"
Apr 2003
Between here and the
11000110010112 Posts |
My response here assumes fixed k sieves, not fixed n sieves.
IF you are working on a project where you test all candidates in a range, such as the Ray Ballinger's Proth search, then your statement is completely incorrect. You should sieve until sieving removes candidates at about the same rate as the median PRP test. IF you are working on SoB, RieselSieve, or SR5, then the rules are different, but not by much. The point in these projects is that you are sieving many values of k in tandem. The cost of sieving additional k is not significant (normally), maybe 1-2%. IF you are working on a stand-alone k on another project where you want to stop at the first k, I would argue that you break your range of n into smaller ranges where each range represents a different FFT size. I would then sieve (the whole range of n) until the rate of removal is at the same rate as s PRP test for that FFT size. When that rate is met, PRP test that range of n. When PRP testing is done, continue sieving and repeat the process until a prime is found or the range is complete. An example of this might be Joe McLean's Extended Sierpinski Search. For your statements, you might find low-hanging fruit faster, but it will take longer to complete the range. Last fiddled with by rogue on 2006-12-24 at 23:00 |
|
|
|
|
|
#4 |
|
Oct 2006
7×37 Posts |
and don't forget that finding a factor at n=600000 take almost the same time than finding a factor at n=50000 but prping is not the same (on my centrino 1400 it's 60 second for n=50000 and 100000 seconds for n=600000)
so sieving is very effective for removing large exponent. prp is very effective at removing small exponent. thats why people say try to sieve until rate is below prp then prp a little then sieve then ...you have to take the best choice. and you are true, prp remove a lot of candidate because we are only searching for one prime ... that's why people are doing prp in parralel. you can even consider stopping sieving when rate is half prp's rate (due to double prp check). in reality, you do what you want, every help is welcome. |
|
|
|
|
|
#5 | |
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
Quote:
On the other hand, I did a bit of mathematical study of the Riesel problem and decided that they sieved way, WAY too far, considering the n-value they're at. I had to drop out of high school at the very beginning of my 11th grade year, so the math I do is very seat-of-your-pantsish. I know it works, but I couldn't explain the rationale to save my life. If you're interested, I could give the link to the thread I started over at Riesel Sieve involving what we're discussing. I had a lot of false starts, it's probably best that you start at the end of the thread and work your way up, not that the thread's that long. |
|
|
|
|
|
|
#6 | |||
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#7 | |
|
"Jason Goatcher"
Mar 2005
350710 Posts |
Quote:
Here. There is an explanation of my method, although the main guy running the project(b2) didn't agree with my findings.
|
|
|
|
|
|
|
#8 |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
I have two issues (actually more than two, but I'll point out two here).
1) You are focused on scoring more than finding primes. Although some people care about scoring, I believe that most are focused on finding primes because they are interested in solving the problem not in a score. 2) You assume that pr_prob.exe correctly evaluates the probability of finding primes. That is a terrible assumption. pr_prob.exe assumes the numbers being tested are random. I'm not an expert, but I would have to believe that the Proth weight or Nash weight of a specific form must be included any any such equation before it would have merit for these projects. There are others in this forum (Phil Carmody for one) who are far more qualified to calculate the probability of a number (given a specific form) being prime than myself. |
|
|
|
|
|
#9 | ||
|
"Jason Goatcher"
Mar 2005
3×7×167 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#10 | |
|
"Mark"
Apr 2003
Between here and the
18CB16 Posts |
Quote:
|
|
|
|
|
|
|
#11 |
|
"Mark"
Apr 2003
Between here and the
11·577 Posts |
I hope that I have made these points clear:
Here is one last point WRT scoring that is missed by many. If you have an AMD 64, the ratio of finding factors to PRP testing will be much different than on an Intel CPU. As I don't have an AMD 64 at my disposal and as I don't care about my "score" on this project, I don't know what that ratio is. So if there is any misunderstanding, it is WRT scoring and not WRT a faster proof to the Sierpinski or Riesel problems in any base. |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do feel about Facebook's privacy settings? | jasong | jasong | 17 | 2012-10-17 09:19 |
| multiple (3+) Unverified LL -- how common? | S34960zz | PrimeNet | 26 | 2011-07-11 18:37 |
| my misunderstanding of the OEIS | science_man_88 | Miscellaneous Math | 11 | 2011-05-18 15:04 |
| Problem with LLR 3.8x for PRPing! | nuggetprime | Conjectures 'R Us | 6 | 2011-01-22 23:36 |
| Curiosity: Some errors more common than others | Unregistered | Software | 11 | 2006-05-09 16:00 |