mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Operazione Doppi Mersennes

Reply
 
Thread Tools
Old 2012-12-13, 11:43   #298
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

~175
Batalov is offline   Reply With Quote
Old 2012-12-13, 12:31   #299
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

113178 Posts
Default

Quote:
Originally Posted by Batalov View Post
~175
ET_ is offline   Reply With Quote
Old 2012-12-13, 13:11   #300
firejuggler
 
firejuggler's Avatar
 
Apr 2010
Over the rainbow

23×52×13 Posts
Default

and still "limited" to 188 bits tf?

Last fiddled with by firejuggler on 2012-12-13 at 13:14
firejuggler is offline   Reply With Quote
Old 2012-12-13, 16:47   #301
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

752610 Posts
Default

Quote:
Originally Posted by flashjh View Post
Edit2: It's only the mfaktc_barrett152_F96_127gs kernel that fails
Thanks for the QA I was too lazy to do.

I've uploaded the fix.
Prime95 is offline   Reply With Quote
Old 2012-12-13, 18:22   #302
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

2×53×71 Posts
Default

Quote:
Originally Posted by firejuggler View Post
and still "limited" to 188 bits tf?
220 is the new limit on factor size
Prime95 is offline   Reply With Quote
Old 2012-12-13, 23:00   #303
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

In the new high range N~=170, the existing search limit was k=6e12 (>2^42), so mmff-0.27 cannot contribute to the range of N>=178 (because f would be > 2^220), but for the other values below 178, I currently have reached these limits (in e12 units):
Code:
k*2^170+1       6       70.368744177663
k*2^171+1       6       70.368744177663
k*2^172+1       6       70.368744177663
k*2^173+1       6       70.368744177663 will max out at next bit
k*2^174+1       6       70.368744177663e12 (maxed out)
k*2^175+1       6       35.184372088831e12 (maxed out)
k*2^176+1       6       17.592186044415e12 (maxed out)
k*2^177+1       6       8.796093022207e12 (maxed out)
(and I was able to finish the 140<=N<=149 ancient reservation comfortably)

I will however finish those 174<=N<=179 leftovers conventionally (srsieve|newpgen + pfgw|llr sort of thing).

When 180<=N<=199 k-limit was raised to 40e12, my motivation to continue the code extension significantly lessened (k~=6e12 was rather promising; sadly I didn't get lucky there). There is a lot of speed difference between N~=180 and N~=40. When I search for the new candidate ranges, I integrate probablilities (weighted by speed of computation); roughly speaking, k*N^2 is a reasonable estimate.

Last fiddled with by Batalov on 2012-12-13 at 23:11
Batalov is offline   Reply With Quote
Old 2012-12-15, 15:31   #304
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Thanks for the QA I was too lazy to do.

I've uploaded the fix.
Newest mmff27 for Windows 32 and 64 attached.

CUDA 4.2 dll files are here, if you need them. Just put them in the mmff directory.

See here for an example worktodo to use for testing.

Can a mod delete post 295?
Attached Files
File Type: zip mmff-v.27-windows-32-64-cuda42.zip (801.7 KB, 158 views)
flashjh is offline   Reply With Quote
Old 2012-12-24, 13:35   #305
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23×3×5×72 Posts
Default

Am I correct in thinking that currently mmff/mmf-gfn follows the following procedure?
  • Sieves a range of k upto the optimal level on the gpu
  • Tests whether this number is a factor of any of the possible numbers.
Everything is also limited to 220-bits right?

What is the approximate sieve depth reached? How many candidates can be checked a second(excluding the sieving)? What proportion of candidates are actually prime?
How long would it take the gpu to do a prp test on a candidate before using the candidate?

I realize these answers will change with the size k and n. I am basically thinking about near to worst case scenarios(guessing large n with k meaning factor candidates are near 220-bits). I am wondering whether adding a prp test before using a candidate or adding more factoring methods(rho, ecm, fermat) would be a sensible idea.
henryzz is offline   Reply With Quote
Old 2012-12-24, 20:44   #306
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

36×13 Posts
Default

Quote:
Originally Posted by henryzz View Post
I am wondering whether adding a prp test before using a candidate or adding more factoring methods(rho, ecm, fermat) would be a sensible idea.
Fermat divisibility test takes the same time as a prp test (a bit faster, really).
More factoring methods could possibly help if they are tiny (will fit in GPU code) and faster than the main test.

Adding a prp test after finding a divisor was discussed - but because it is all too easy to do with external tools it wasn't high priority. It is very easy to add to the validator routine (not GPU code).
Batalov is offline   Reply With Quote
Old 2012-12-24, 21:35   #307
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23·3·5·72 Posts
Default

Quote:
Originally Posted by Batalov View Post
Fermat divisibility test takes the same time as a prp test (a bit faster, really).
More factoring methods could possibly help if they are tiny (will fit in GPU code) and faster than the main test.

Adding a prp test after finding a divisor was discussed - but because it is all too easy to do with external tools it wasn't high priority. It is very easy to add to the validator routine (not GPU code).
Ok thanks
henryzz is offline   Reply With Quote
Old 2013-07-03, 23:00   #308
Bdot
 
Bdot's Avatar
 
Nov 2010
Germany

25516 Posts
Default

I discovered a bug in mfakto/mfaktc (http://mersenneforum.org/showpost.ph...&postcount=852) when GPUSieveProcessSize=24.

I have not used mmff so far--Is that a valid configuration for mmff? If so, then there's a chance of skipping some FCs during the test, if the code is the same as mfakto and mfaktc.
Bdot is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mersenne trial division implementation mathPuzzles Math 8 2017-04-21 07:21
trial division over a factor base Peter Hackman Factoring 7 2009-10-26 18:27
P95 trial division strategy SPWorley Math 8 2009-08-24 23:26
Trial division software for Mersenne SPWorley Factoring 7 2009-08-16 00:23
Need GMP trial-division timings ewmayer Factoring 7 2008-12-11 22:12

All times are UTC. The time now is 00:39.


Sat Jul 17 00:39:11 UTC 2021 up 49 days, 22:26, 1 user, load averages: 1.65, 1.21, 1.28

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.