mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2011-06-15, 10:58   #1002
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2·3·13·83 Posts
Default

Quote:
Originally Posted by TheJudger View Post
What is the expected factor rate once P-1 has been done with reasonable B1/B2 bounds?

Oliver
That question has been excersizing several of us.

In particular, it was decided a few years ago that
it was more efficient to do P-1 before the last worthwhile
bit of TF. I wonder whether the P-1 would then
render the "last bit" not worthwhile.

Of course, you and GPUs have thrown a large spanner in the works

David

Last fiddled with by davieddy on 2011-06-15 at 11:09
davieddy is offline   Reply With Quote
Old 2011-06-15, 12:25   #1003
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2×3×13×83 Posts
Default Two Netiquette crimes at once

Quote:
Originally Posted by davieddy View Post
That question has been excersizing several of us.

In particular, it was decided a few years ago that
it was more efficient to do P-1 before the last worthwhile
bit of TF. I wonder whether the P-1 would then
render the "last bit" not worthwhile.

Of course, you and GPUs have thrown a large spanner in the works

David
(Responding to your own post and partially answering the question therein)

There is obviously little to be gained by refining "bit level" for TF
further. (Working near a Max/Min optimum).

But if the "worthwhileness"of the "last bit" was marginal, P-1
would obviously tip it over the edge.

David

Last fiddled with by davieddy on 2011-06-15 at 12:26
davieddy is offline   Reply With Quote
Old 2011-06-15, 14:16   #1004
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by TheJudger View Post
...checked the exponent status of the first 4 no factor M53.xxx.xxx: all of tham had P-1 done before your TF attempt to 2^70.

What is the expected factor rate once P-1 has been done with reasonable B1/B2 bounds?
Ah, mystery solved! I should have thought of that myself. IIRC, P-1 will find somewhere in the neighborhood of 30-40% of the factors.
Prime95 is offline   Reply With Quote
Old 2011-06-15, 14:41   #1005
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

22×52 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Ah, mystery solved! I should have thought of that myself. IIRC, P-1 will find somewhere in the neighborhood of 30-40% of the factors.
Out of the hundreds of exponents that I've tested, I only ran a TF on exactly 1 that had a P-1 done on it beforehand, and that only consisted of 2 tests, so I'm not sure this solves the mystery. I'm now at 15 factors on 1495 tests, 1493 before a P-1.

This is all in the 76M range, and there has only been 23 P-1's done in that range, IIRC.
drh is offline   Reply With Quote
Old 2011-06-15, 16:27   #1006
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by drh View Post
I'm now at 15 factors on 1495 tests, 1493 before a P-1.
I think that's unlucky but not suspicious. Xyzzy's was worrisome because it involved 9000 tests.
Prime95 is offline   Reply With Quote
Old 2011-06-15, 16:33   #1007
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

1448 Posts
Default

Quote:
Originally Posted by Prime95 View Post
I think that's unlucky but not suspicious. Xyzzy's was worrisome because it involved 9000 tests.
I agree, and just to clarify, a "test" is a single bit level on an exponent, not only counting individual exponents, right? I've got 1495 "tests" on 322 exponents.
drh is offline   Reply With Quote
Old 2011-06-15, 20:05   #1008
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

145128 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Ah, mystery solved! I should have thought of that myself. IIRC, P-1 will find somewhere in the neighborhood of 30-40% of the factors.
From a "throughput" POV, has TF on GPUs (at least temporarily) made P-1 redundant?

Last fiddled with by davieddy on 2011-06-15 at 20:15
davieddy is offline   Reply With Quote
Old 2011-06-15, 20:35   #1009
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165618 Posts
Default

Quote:
Originally Posted by davieddy View Post
From a "throughput" POV, has TF on GPUs (at least temporarily) made P-1 redundant?
No. Prime95 will refuse to do P-1 if a number has had so much TF done that P-1 will not be profitable.

I think we'll see a slight reduction in the B1/B2 bounds selected now that more TF is being done.
Prime95 is offline   Reply With Quote
Old 2011-06-15, 20:48   #1010
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2×3×13×83 Posts
Default

Quote:
Originally Posted by Prime95 View Post
No. Prime95 will refuse to do P-1 if a number has had so much TF done that P-1 will not be profitable.

I think we'll see a slight reduction in the B1/B2 bounds selected now that more TF is being done.
Hmm.

1) I think "No" meant "Yes".

2) Without fully understanding P-1, I would have thought
"reduction" meant "increase"!

David
davieddy is offline   Reply With Quote
Old 2011-06-15, 22:00   #1011
Christenson
 
Christenson's Avatar
 
Dec 2010
Monticello

5×359 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Ah, mystery solved! I should have thought of that myself. IIRC, P-1 will find somewhere in the neighborhood of 30-40% of the factors.
Or read it here!:
http://mersenneforum.org/showpost.ph...&postcount=971



Sorry I didn't have any numbers....hoping that the extra TF will allow P-1 to look for larger factors...

Anyway, calculation about my narrow view of GIMPS rolled through my head last night...it went like this: Decrease TF cost by factor of ~128, get ~7 extra bit levels....7*~1/70 = 1/10....so 10% more exponents will have factors found, or 10% fewer will need LL and LL-D tests...looks like the big performance increase will need to be in LL, possibly by getting the CPU out of the sieving path for TF and possibly P-1. Got to work on mfaktc this week!
Christenson is offline   Reply With Quote
Old 2011-06-15, 22:14   #1012
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2×3×13×83 Posts
Default

Quote:
Originally Posted by Christenson View Post
looks like the big performance increase will need to be in LL
Just look at the "Top Ten" primes

How do you think the top nine were discovered?

David

PS I was wondering for a bit why the latest
discovery was attributed to "G12" when GIMPS has found 13.
I think the explanation is that Cooper and Boone found 2.

Lightning strikes...

Last fiddled with by davieddy on 2011-06-15 at 22:44
davieddy is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfakto: an OpenCL program for Mersenne prefactoring Bdot GPU Computing 1676 2021-06-30 21:23
The P-1 factoring CUDA program firejuggler GPU Computing 753 2020-12-12 18:07
gr-mfaktc: a CUDA program for generalized repunits prefactoring MrRepunit GPU Computing 32 2020-11-11 19:56
mfaktc 0.21 - CUDA runtime wrong keisentraut Software 2 2020-08-18 07:03
World's second-dumbest CUDA program fivemack Programming 112 2015-02-12 22:51

All times are UTC. The time now is 13:18.


Mon Aug 2 13:18:32 UTC 2021 up 10 days, 7:47, 0 users, load averages: 1.94, 2.02, 1.97

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.