![]() |
|
|
#78 | |
|
Jul 2009
Tokyo
2·5·61 Posts |
Hi ,mdettweiler
Quote:
![]() 1000065*2^390927-1 is prime! Time : 11376.660 sec. 3*2^303093+1 is prime! Time : 514.715 sec. 3*2^164987-1 is prime! Time : 42.509 sec. 1000065*2^220897-1 is prime! Time : 3059.852 sec. 39*2^113549+1 is prime! Time : 84.064 sec. 3*2^414840-1 is prime! Time : 210.427 sec. 9999*2^458051+1 is prime! Time : 1842.025 sec. 1000065*2^390927-1 is prime! Time : 11376.660 sec. |
|
|
|
|
|
|
#79 | |
|
A Sunny Moo
Aug 2007
USA
2·47·67 Posts |
Quote:
BTW, how does it do on composites? As an example you may want to try it with this known residue (found and doublechecked with CPU LLR 3.8.4): Code:
2303*2^251634-1 is not prime. Res64: 99B680F2A92ECC27 Time : 991.0 sec. 2303*2^251634-1 is not prime. LLR Res64: 99B680F2A92ECC27 Time : 96.922 sec. Last fiddled with by mdettweiler on 2011-02-01 at 03:31 |
|
|
|
|
|
|
#80 |
|
May 2004
FRANCE
11608 Posts |
Hi,
Here are some precision about how llrpi works, related to the size of k : - For k's up to 22 bits large (defined by MAXKBITS constant), IBDWT is used, so, the FFT length is optimal, and the modular reduction is free. - For larger k's, up to 36 bits on WIN 32, 45 bits on Linux, Zero padded FFT is used, and the modular reduction is done by the "modred()" function. - For still larger k's, or if the base is not two, generic modular reduction is used, which requires three multiplications in place of one... I suggest you set -oDebug=1 to see the details about the time consumed in multiplications, normalization and modular reduction. Congrat for your nice work and Best Regards, Jean |
|
|
|
|
|
#81 |
|
Jul 2009
Tokyo
2·5·61 Posts |
Hi ,mdettweiler
We need something. Hi ,Jean Penné Thank you information, 3*2^414840-1 is prime! Time : 209.799 sec. 3*2^303093+1 is prime! Time : 107.206 sec. 3*2^164987-1 is prime! Time : 42.285 sec. 39*2^113549+1 is prime! Time : 30.923 sec. 3*2^414840-1 is prime! Time : 209.799 sec. |
|
|
|
|
|
#82 |
|
Jul 2003
So Cal
266310 Posts |
Code:
Starting Lucas Lehmer Riesel prime test of 2303*2^251634-1 Using real irrational base DWT, FFT length = 65536 V1 = 4 ; Computing U0...done. 2303*2^251634-1 is not prime. LLR Res64: 99B680F2A92ECC27 Time : 112.600 sec. Edit: A second run: Code:
./llrCUDA -d -q1000065*2^390927-1 Starting Lucas Lehmer Riesel prime test of 1000065*2^390927-1 Using real irrational base DWT, FFT length = 131072 V1 = 5 ; Computing U0...done. 1000065*2^390927-1, iteration : 40000 / 390927 [10.23%]. Time per iteration : 0.627 ms 1000065*2^390927-1 is prime! Time : 246.393 sec. ![]() Edit 2: And a Proth test: Code:
./llrCUDA -d -q9999*2^458051+1 Starting Proth prime test of 9999*2^458051+1 9999*2^458051+1 is prime! Time : 313.916 sec. Last fiddled with by frmky on 2011-02-02 at 02:05 |
|
|
|
|
|
#83 |
|
Jan 2005
Caught in a sieve
1100010112 Posts |
I also notice that v0.34 is only about half as fast as v0.16 when testing 5*2^1282755+1. Any chance of reintroducing that code for certain values of K or something?
|
|
|
|
|
|
#84 | |
|
Jul 2009
Tokyo
11428 Posts |
Quote:
Now I try Riesel Prime test tuning. Deng Xiaoping say "Let some people get rich first." |
|
|
|
|
|
|
#85 |
|
Jul 2003
So Cal
2,663 Posts |
And a larger number where the GPU shines...
Code:
./llrCUDA -d -q938237*2^3752950-1 Starting Lucas Lehmer Riesel prime test of 938237*2^3752950-1 Using real irrational base DWT, FFT length = 1048576 V1 = 4 ; Computing U0...done. 938237*2^3752950-1 is prime! Time : 10740.747 sec. |
|
|
|
|
|
#86 |
|
Jul 2009
Tokyo
10011000102 Posts |
|
|
|
|
|
|
#87 | |
|
Just call me Henry
"David"
Sep 2007
Liverpool (GMT/BST)
3×23×89 Posts |
Quote:
|
|
|
|
|
|
|
#88 |
|
Jul 2009
Tokyo
2×5×61 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LLRcuda | shanecruise | Riesel Prime Search | 8 | 2014-09-16 02:09 |
| LLRCUDA - getting it to work | diep | GPU Computing | 1 | 2013-10-02 12:12 |