mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > And now for something completely different

Reply
 
Thread Tools
Old 2015-05-10, 08:49   #56
axn
 
axn's Avatar
 
Jun 2003

505110 Posts
Default

Quote:
Originally Posted by Batalov View Post
The last operation x^b may be a bit tricky; the usual exponentiation relies on x being small: lots of squarings with some mul by x.
When x is as large as the whole residue, the long mul will need to be implemented.
Squaring is done normally by:
* FFT
* point-wise squaring
* inv FFT
* carry adjustment.
During the carry adjustment, any mutliplication by the PRP-base can also be included.

For multiplication by a large X, we just need to repeat this operation once more (instead of doing it in carry propagation step) where we'll do point-wise multiplication by X (which would already be in FFT form). Since this would only be for a few 100 bits, the additional step doesn't matter in terms of speed. Should be very straightforward to implement.

[I don't know how this new-fangled Z transform works, but should be similar in principle).
axn is online now   Reply With Quote
Old 2016-06-02, 18:40   #57
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Post Re: CycloSv: New version 0.6 (02-28-2015)

Quote:
Originally Posted by axn View Post
New version 0.5:

Fixed ETA calculation. Was off by a factor of 50% (if it said 1hr, it would actually take 1.5hr).
Changed ETA update frequency from once every 3 seconds to 10 seconds


Attached are the source, win32 exe (CUDA 3.2), and compile scripts for windows and linux.
Quote:
Originally Posted by axn;primesearchteam.com View Post
New version 0.6

CPU usage has been reduced, so fewer instances should be able to keep the GPUs fed (especially slower CPU/faster GPU combinations). You may want to retest which combinations of instances & B values gives most thruput.

There should be minor increase in overall thruput as well, as a result.

Share your experiences here.
Reposting from the other forum where sieving has been briefly run ~15 months ago and then was simply shut down and the effort discontinued.

axn, perhaps you could comment; maybe you have a code repository (at assembla?)
Attached Files
File Type: zip cyclosv0.6.zip (81.0 KB, 127 views)
Batalov is offline   Reply With Quote
Old 2016-11-14, 03:56   #58
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Lightbulb

I updated the cyclosv0.6.zip code to sieve for cyclotomics of the second type (Phi(3,-b3*2^n)) and will run the Phi(3,-b49152) for a short time. There should be perhaps a dozen primes there for b<1,500,000.
___________________
Phi(3,-b3^m*2^n) with m>1 are less effective to run (at least on CPU) because only 3*2^n and 9*2^n FFT patterns are currently implemented in gwnum; the 9*2^n FFT is perfect for Phi(3,-b49152). A clever extension to CycloOCL code may change that.
Batalov is offline   Reply With Quote
Old 2017-01-03, 22:44   #59
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

With Ryan P., we've run the Phi(3,-b^98304) series, too.
And now continuing with Phi(3,-b^196608) -- which will produce a string of 2-million digit primes.

Oh, it is so nice to have resources!
Batalov is offline   Reply With Quote
Old 2017-01-04, 04:43   #60
axn
 
axn's Avatar
 
Jun 2003

13BB16 Posts
Default

Current tally is:
Code:
32768 27 (max = 1164012)
49152 18 (max = 1373894)
65536 18 (max = 1181782)
98304  8 (max = 1202113)
131072 3+1 (max = 1082083)
Plus assorted primes for 34992, 36864, 41472, 46656, 78732.
axn is online now   Reply With Quote
Old 2017-01-04, 04:58   #61
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

Even more small ones:
Code:
1       2592
849     4096
5       5184
1       5832
355     8192
1       13122
107     16384
...     24576
48      32768
1       34992
2       36864
2       41472
1       46656
27      49152
1       59049 (3^10, Zhou)
18      65536
1       78732
8       98304
4       131072
2       196608
2       262144
1       393216
1       524288

Last fiddled with by Batalov on 2017-10-28 at 00:03 Reason: 2 @ n=196608 found, and more (262144, 393216, 524288)
Batalov is offline   Reply With Quote
Old 2017-01-06, 22:31   #62
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

E9B16 Posts
Default

Quote:
Originally Posted by Batalov View Post
With Ryan P., we've run the Phi(3,-b^98304) series, too.
And now continuing with Phi(3,-b^196608) -- which will produce a string of 2-million digit primes.

Oh, it is so nice to have resources!
Congrats for this one!
paulunderwood is offline   Reply With Quote
Old 2017-01-07, 00:53   #63
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36·13 Posts
Default

Thanks!

Writing the modified sieve was fun. I had to implement a modular cubic root again (but I already had an innoculation with this small diversion; this time I didn't need Adleman-Manders-Miller's; with the cyclotomic restrictions all cubic roots were easy).
And then the PhiExtension for P95 proved itself useful -- ...we still don't have a supernumeral-3 version of Cyclo{OCL|CPU}.
Batalov is offline   Reply With Quote
Old 2017-01-11, 23:06   #64
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

1110100110112 Posts
Default

Congrats to Serge and Ryan for this 2,259,865 digit prime
paulunderwood is offline   Reply With Quote
Old 2017-01-11, 23:36   #65
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

5·172 Posts
Default

Quote:
Originally Posted by Batalov View Post
With Ryan P., we've run the Phi(3,-b^98304) series, too.
And now continuing with Phi(3,-b^196608) -- which will produce a string of 2-million digit primes.

Oh, it is so nice to have resources!
Who has greater resources , you or him? :)

Congratulation on this huge prime.
pepi37 is offline   Reply With Quote
Old 2017-01-15, 05:26   #66
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

1110100110112 Posts
Default

Wow! 3,068,389 decimal digits. Congrats to Ryan and Serge again.

paulunderwood is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime 95 and internet connection issue Jwb52z Software 10 2013-01-30 01:09
Twin prime search? MooooMoo Twin Prime Search 115 2010-08-29 17:38
Prime Search at School Unregistered Information & Answers 5 2009-10-15 22:44
Prime Search on PS-3? Kosmaj Riesel Prime Search 6 2006-11-21 15:19
Running prime on PC without internet-connection Ferdy Software 3 2006-04-25 08:53

All times are UTC. The time now is 17:19.


Fri Jul 16 17:19:56 UTC 2021 up 49 days, 15:07, 1 user, load averages: 1.50, 1.73, 1.67

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.