![]() |
|
|
#34 | |
|
Jun 2003
Ottawa, Canada
3·17·23 Posts |
Quote:
Great to see the split option as an extra safety measure, especially for these 6+ week jobs. Jeff. |
|
|
|
|
|
|
#35 |
|
Aug 2006
3·1,993 Posts |
Is there a way to see whether the polynomial selection is done on the CPU or GPU? I have an older (but still CUDA) graphics card and I'm curious to see if it's actually in use.
|
|
|
|
|
|
#36 |
|
Aug 2006
3·1,993 Posts |
(inadvertently left out from above post)
Does the extent of the polynomial selection depend on where it runs ([CG]PU) and on the relative speed of the GPU to the CPU? If I had a gazillion-Hz GPU (but a normal CPU), it would seem sensible to spend relatively more effort, if less time, on the polynomial selection compared to the rest. Or are improvements to the polynomial just negligible beyond a certain point? Last fiddled with by CRGreathouse on 2010-03-03 at 21:42 |
|
|
|
|
|
#37 |
|
Jan 2004
103 Posts |
I'm using msieve 1.44. I've tried the CUDA enabled version for the first time, on a C124. I'm using Brian Gladman's factmsieve.py python wrapper.
The msieve program is not performing as I would expect, it seems to be stuck in the polynomial selection, ignoring the imposed time limit for that step. Going off the log's I see Code:
Msieve v. 1.44 Thu Mar 04 04:38:29 2010 random seeds: d72f8468 d350f57a factoring 1029209400397104276975667257077734617786511861853948894747621655086416232629238887842405035196128848790659536566713324838677 (124 digits) searching for 15-digit factors commencing number field sieve (124-digit input) commencing number field sieve polynomial selection time limit set to 6.35 hours searching leading coefficients from 1 to 47152 using GPU 0 (GeForce 9800 GX2) deadline: 100 seconds per coefficient Stop Press: Ok I jumped the gun. After elapsed time 7:48.10 msieve completed the polynomial selection. I guess the time limit is an estimate of how long the task will take and not a hard limit of how long it will spend on the task. Perhaps "Time limit estimated at" would be more better than "Time limit set to". Last fiddled with by tmorrow on 2010-03-04 at 01:33 Reason: Polynomial selection finished ... |
|
|
|
|
|
#38 |
|
Bemusing Prompter
"Danny"
Dec 2002
California
2·5·239 Posts |
Since msieve labels factors as "prp##" (where ## is the number of digits in the factor), I assume that it uses a probabilistic primality test. If that is the case, it would be nice if msieve used a deterministic test instead.
Deterministic primality tests generally take longer than probabilistic ones, but I don't think it would make a big difference, since the time requires to check the divisors for primality is miniscule compared to what it takes to factor the number. |
|
|
|
|
|
#39 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
Does msieve.dat.p contain any polynomials? Adhering to a self-imposed time limit can be difficult sometimes, because stage 1 can be interrupted early but stage 2 will not get interrupted, and could take a long time with a very good hit in stage 1. Ah, I see it finished. If you have a hard limit you can run msieve with '-d <num>', which will cause an interrupt and graceful shutdown after <num> minutes. This interrupt typically happens very quickly.
Edit: pseudoprimality uses 20 iteration of Rabin-Miller with random bases. Adding primality proving is a matter of doing a bunch of development I don't much care for (or have the time for). Last fiddled with by jasonp on 2010-03-04 at 01:41 |
|
|
|
|
|
#40 | |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
Quote:
|
|
|
|
|
|
|
#41 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
36·13 Posts |
...or throw them in http://www.alpertron.com.ar/ECM.HTM
and APRT-CL will be under your control, and under a minute. (factorDB sometimes doesn't tend to PrP proofs for days) |
|
|
|
|
|
#42 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
102538 Posts |
...or use PARI/gp's isprime() command. (isprime() is deterministic, ispseudoprime() is probabilistic)
|
|
|
|
|
|
#43 | |
|
Jan 2004
103 Posts |
Quote:
I was just worried that msieve might be in an infinite loop, it's the first time I've tried using my GPU for numerical computation purposes and was a little nervous about what was going on. |
|
|
|
|
|
|
#44 |
|
A Sunny Moo
Aug 2007
USA (GMT-5)
141518 Posts |
In fact, PARI's isprime() is actually what the FactorDB uses to do its APRT-CL proofs. (I think isprime() can also be used to perform other sorts of deterministic tests, though APRT-CL is the default.)
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Msieve 1.53 feedback | xilman | Msieve | 149 | 2018-11-12 06:37 |
| Msieve 1.50 feedback | firejuggler | Msieve | 99 | 2013-02-17 11:53 |
| Msieve 1.43 feedback | Jeff Gilchrist | Msieve | 47 | 2009-11-24 15:53 |
| Msieve 1.42 feedback | Andi47 | Msieve | 167 | 2009-10-18 19:37 |
| Msieve 1.41 Feedback | Batalov | Msieve | 130 | 2009-06-09 16:01 |