mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2011-07-23, 16:50   #89
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by axn View Post
But, half-sized exponent also takes twice the effort to get to the same sieve depth. So it should be 4 bit levels?
Good point!
Prime95 is offline   Reply With Quote
Old 2011-07-23, 17:00   #90
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

11001010010102 Posts
Default

Quote:
Originally Posted by axn View Post
But, half-sized exponent also takes twice the effort to get to the same sieve depth. So it should be 4 bit levels?
Beat me to it, although I said just that in an earlier post.

But then again "all math discussions are irrelevant..."


Back in 2005 I wrote my own TF and LL programs, and verified
everything up to and including M29 (discovered 1988).
Since I was using "grammar school" squaring, the time for a
LL test went as exponent^3.
With time for TF going as 1/exponent, doubling the exponent
upped the optimum TF level by 4. (I didn't DC, but then again,
I wrote bug-free integer arithmetic code).

To put this one to bed, time for an FFT iteration goes as
exponent*log(exponent) so going from exponent 2^25 to 2^26
also involves a factor of 26/25. This manifests itself in the
time for a 4096K FFT being more than double that of a 2048K one.

David

Last fiddled with by davieddy on 2011-07-23 at 17:50
davieddy is offline   Reply With Quote
Old 2011-07-23, 19:05   #91
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2·3·13·83 Posts
Default

Quote:
Originally Posted by axn View Post
sieve depth
I'm open to correction, but my interpretation of "sieve depth",
at least in the context of TF, refers to "how big a prime do you
want to check doesn't divide your potential TF candidate?".
c.f. Eratosthenes.

I think "TF bit-level" is the appropriate term you wanted.
When I say "appropriate", I mean "as has evolved into common usage
in Mersenneforum.org"

David

Edit: I see that you meant "sieve" in the sense that
TF "sieves" potential Mersenne prime candidates.

Last fiddled with by davieddy on 2011-07-23 at 19:43
davieddy is offline   Reply With Quote
Old 2011-07-23, 20:33   #92
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2·3·13·83 Posts
Default

Quote:
Originally Posted by davieddy View Post
doubling the exponent
upped the optimum TF level by 4
This was slightly messed up because at 32,48,64 bits, the division
involved in TF got harder.

But in our case (how does 70 bits of TF compare with 74 bits?)
this hiccup doesn't really arise.

David

Last fiddled with by davieddy on 2011-07-23 at 20:37
davieddy is offline   Reply With Quote
Old 2011-07-23, 21:01   #93
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

145128 Posts
Default Number Theory

Quote:
Originally Posted by davieddy View Post
It ain't Number Theory, but...
<snip>
In post #1 I emphatically agreed with Tom that GPUs = TF and
CPUs = everything but TF. I don't think there are many dissenters
from this view.
Roughly quoting GH Hardy (in "A Mathematician's Apology" or it maybe
CP Snow's preface):

"What made you do mathematics?"

Hardy: There are a few people in this world who can do one thing well.
The number of those who can do two things well is negligible.

David

Last fiddled with by davieddy on 2011-07-23 at 21:18
davieddy is offline   Reply With Quote
Old 2011-07-24, 22:53   #94
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

145128 Posts
Default TF Limits

TF from 2^(69+x) to 2^(70+x) takes
119.566*2^x/(exponent/10^6) GHz-days.
LL takes ~ .036*(exponent/10^6)^2 Ghz-days.

I'll take the probability of a finding a factor to be 1/100 to take
account of past or future P-1 work.

The "break-even point" for TF on a CPU is given by:

119.566*2^x/(exponent/10^6) = .00072*(exponent/10^6)^2
(assuming finding a factor saves 2 LL tests)

exponent/10^6 = 55 * 1.26^x

So TF (by CPU) to:
68 bits for exponent < 43M
69 bits for exponent < 55M
70 bits for exponent < 69M
71 bits for exponent < 87M

For the DC range,
simply halve the exponent and subtract 4 from the bit level.

David

Last fiddled with by davieddy on 2011-07-24 at 23:30
davieddy is offline   Reply With Quote
Old 2011-07-25, 07:13   #95
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2·3·13·83 Posts
Default LL assignments <53M

I guess that the unchanging hard core of exponents left in the
"available for P-1" column, after the daily assignments have reached 53M,
are exponents which have been LL tested once, but have not been P-1ed.
IMO they should be disceetly moved to the "available for DC" column.

That would make a much more important consideration easier to recognize:
exponents <53M constitute about 80% of daily LL assignments. Yesterday
they didn't even get to 53M.
I have a hunch that George is on the case already, but returned/expired
exponents should be TFed to 72 bits (by GPU of course) before being
deemed "available for LL".

David

Last fiddled with by davieddy on 2011-07-25 at 07:24
davieddy is offline   Reply With Quote
Old 2011-07-25, 14:44   #96
KingKurly
 
KingKurly's Avatar
 
Sep 2010
Annapolis, MD, USA

33·7 Posts
Default

Quote:
Originally Posted by davieddy View Post
I guess that the unchanging hard core of exponents left in the
"available for P-1" column, after the daily assignments have reached 53M,
are exponents which have been LL tested once, but have not been P-1ed.
IMO they should be disceetly moved to the "available for DC" column.
I occasionally do P-1 work on exponents that were LL'd once but never P-1'd. (Almost all of them are by curtisc.) You would propose that I cease such activities?
KingKurly is offline   Reply With Quote
Old 2011-07-25, 17:00   #97
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

2·3·13·83 Posts
Default

Quote:
Originally Posted by KingKurly View Post
I occasionally do P-1 work on exponents that were LL'd once but never P-1'd. (Almost all of them are by curtisc.) You would propose that I cease such activities?
No. But since a factor saves only one LL instead of two, its value
is diminished. We are short on P-1 before 1st time tests.
But if that activity really floats your boat, you can still seek out such
exponents. But they won't get DCed for ages, so there is absolutely
no urgency.

I would guess that there are similar candidates in the 30-40M range which
are in the "available for DC" column, and they will get DCed before
the 40-50M range.

David

Last fiddled with by davieddy on 2011-07-25 at 17:02
davieddy is offline   Reply With Quote
Old 2011-07-25, 17:09   #98
S485122
 
S485122's Avatar
 
Sep 2006
Brussels, Belgium

6A516 Posts
Default

Quote:
Originally Posted by davieddy View Post
We are short on P-1 before 1st tine tests.
I should not say it aloud, but the throughput figures that I posted a few days ago say differently : the PrimeNet P-1 work is, at the moment, a little bit more than enough to keep up with the LL tests. That being said perhaps a lot of P-1 is done on "other" exponents and more important, and in agreement with your post, PrimeNet is lacking a cushion of P-1'ed exponents before the LL wave-front.

Jacob
S485122 is online now   Reply With Quote
Old 2011-07-25, 18:33   #99
davieddy
 
davieddy's Avatar
 
"Lucan"
Dec 2006
England

194A16 Posts
Default

Quote:
Originally Posted by S485122 View Post
perhaps a lot of P-1 is done on "other" exponents
Comparing the number of P-1 assignments for exponents < 10M with
the number of others, I think "perhaps" may be understating it

David
davieddy is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Impact of AI xilman Lounge 19 2017-01-26 16:03
First pre-impact discovery for NEO search! cheesehead Astronomy 42 2013-11-22 04:54
GPUs impact on TF petrw1 GPU Computing 0 2013-01-06 03:23
Another Impact on Jupiter Spherical Cow Astronomy 24 2009-08-12 19:32
NASA's Deep Impact... ixfd64 Lounge 5 2005-07-06 13:46

All times are UTC. The time now is 06:46.


Mon Aug 2 06:46:04 UTC 2021 up 10 days, 1:15, 0 users, load averages: 0.64, 0.97, 1.11

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.