mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2008-11-28, 03:02   #1
Jud McCranie
 
Jud McCranie's Avatar
 
Oct 2007

2·32·5 Posts
Default new options - factor to low limits, etc

The new version of Prime95 has some new options: trial factor to low limits, P-1 factoring, etc. I can't find any documentation on which of these to choose, especially guidelines according to what would be best for a particular computer. Is that information anywhere?
Jud McCranie is offline   Reply With Quote
Old 2008-11-28, 03:51   #2
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by Jud McCranie View Post
The new version of Prime95 has some new options: trial factor to low limits, P-1 factoring, etc. I can't find any documentation on which of these to choose, especially guidelines according to what would be best for a particular computer. Is that information anywhere?
Also what would be helpful is some documentation regarding exactly how the options on the web site correspond to those in the programming. For example, the web page doesn't have any "Trial factoring to low limits" option; instead it just has "Trial factoring" and "Trial factoring LMH".
mdettweiler is offline   Reply With Quote
Old 2008-11-28, 23:23   #3
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3·5·227 Posts
Default

TF to low limits (or TF-LMH on the webpages) -- will assign trialfactoring assignments for low bit depths (currently this is around 2^61, the definition of "low" will change as more of the available workspace gets factored). Use this for old, slow machines (e.g. 5 years old, <1GHz).

P-1 will assign P-1 work just ahead of the range that is being assigned for LL testing. For this worktype to be useful you should have a generous amount of RAM allocated to Prime95 (i.e. at least 1GB assigned).
James Heinrich is offline   Reply With Quote
Old 2008-11-29, 01:14   #4
Jud McCranie
 
Jud McCranie's Avatar
 
Oct 2007

2·32·5 Posts
Default

OK. I have one machine dedicated to TF. Since I upgraded to version 25, all of the factorizations seem to be a range of a factor of 2, which varies from exponent to exponent.
Jud McCranie is offline   Reply With Quote
Old 2008-11-29, 01:33   #5
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3·5·227 Posts
Default

TF to low limits will typically be up to anywhere from 0 - 2^59, maybe as high as 2^62 (for now). Standard TF work will typically fall in the range of 2^64 to 2^68. Remember, each higher bit depth takes twice as long to process (2^68 takes twice as long as 2^67; 2^68 takes 32 times as long as 2^63; etc)
James Heinrich is offline   Reply With Quote
Old 2008-11-29, 05:34   #6
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

111048 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
TF to low limits will typically be up to anywhere from 0 - 2^59, maybe as high as 2^62 (for now). Standard TF work will typically fall in the range of 2^64 to 2^68. Remember, each higher bit depth takes twice as long to process (2^68 takes twice as long as 2^67; 2^68 takes 32 times as long as 2^63; etc)
My TF-LMH (Low limits) goes to 2^64
petrw1 is offline   Reply With Quote
Old 2008-11-29, 05:51   #7
Jud McCranie
 
Jud McCranie's Avatar
 
Oct 2007

2·32·5 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
TF to low limits will typically be up to anywhere from 0 - 2^59, maybe as high as 2^62 (for now). Standard TF work will typically fall in the range of 2^64 to 2^68. Remember, each higher bit depth takes twice as long to process (2^68 takes twice as long as 2^67; 2^68 takes 32 times as long as 2^63; etc)
If you like finding factors (as I do), then which is the most likely to find a factor? I have relatively new computers, and I could dedicate a GB of RAM.
Jud McCranie is offline   Reply With Quote
Old 2008-11-29, 08:02   #8
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

170148 Posts
Default

Quote:
Originally Posted by Jud McCranie View Post
If you like finding factors (as I do), then which is the most likely to find a factor?
Short answer:

TF to low limits will find more factors per minute than any other type of factoring.

Quote:
I have relatively new computers, and I could dedicate a GB of RAM.
TF won't require your GB of RAM !!

- - -

Long answer:

In trial factoring, there is a remarkable property --

The probability of finding a factor of 2p-1 that is between 2m and 2m+1 is approximately 1/(m+1) (or maybe it's 1/m, I forget which).

That is, each power-of-2 interval has only a very slightly less chance (1/(m+1) vs. 1/m, or 1/(m+2) vs. 1/(m+1)) than the preceding power-of-2 interval of containing a factor.

Of course, each succeeding power-of-2 interval has twice as many potential factors as the preceding one, and so takes twice as long to test as that one does, so factors-found-per-minute is halved at each successively higher power-of-2. Thus, to maintain a high factors-found-per-minute, do TF to only low power-of-2 limits.

Notice that the exponent of the Mersenne itself doesn't matter in the approximated probability (but see below) - the chance that M1234577 has a factor between 263 and 264 is about the same -- 1/64 -- as the chance that M123456791 has a factor in that same 263-264 range. How can that be? Well, the larger Mersenne number is also likely to have _more_ factors in the power-of-2 ranges up to its square root than the smaller is likely to have in the (smaller number of) power-of-2 ranges up to its square root.

Now, this 1/(m+1) approximation only holds for sufficiently large m, such as in the ranges (59 and up) we commonly test. Since any factor of 2p-1 must be of the form 2kp+1, the smallest possible factor of 2p-1 is 2*1*p+1. If p = 1234577, the smallest possible factor is 2*1*1234577+1 = 2469155. That's not a prime, so it can't actually be a factor of 21234577-1, but it does show that no factor of 21234577-1 can be lower than 222 = 2097152. 21234577-1 has no chance of having a factor in the ranges 210-211 or 220-221, in this example.

- - -

After all that, a caveat:

TF to low limits is one assignment type where old, slow systems can still make useful contributions. How would you feel about "taking candy from a baby" with your new, fast system? OTOH, the counter-argument is that there's an infinitude of exponents out there that need TF, enough for everybody!

Anytime you feel like doing something more challenging, you can just do your TF to higher limits!

... and when you feel guilty about not using that GB of RAM, switch to P-1.

Last fiddled with by cheesehead on 2008-11-29 at 08:23
cheesehead is offline   Reply With Quote
Old 2008-12-01, 07:20   #9
Jud McCranie
 
Jud McCranie's Avatar
 
Oct 2007

2·32·5 Posts
Default

It would be nice if some of this information about what is best for various computers were in the documentation.
Jud McCranie is offline   Reply With Quote
Old 2008-12-01, 11:37   #10
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

23×3×5×72 Posts
Default

Quote:
Originally Posted by Jud McCranie View Post
It would be nice if some of this information about what is best for various computers were in the documentation.
that would certainly be nice

i also think that just the simple plain text format is getting a bit old hat
it should be available for people using old pcs though
something like a word document, pdf, html document or something else would be easier to read as more info keeps getting crammed in
a document with the potential for a good index would be great
henryzz is online now   Reply With Quote
Old 2008-12-01, 16:03   #11
Jud McCranie
 
Jud McCranie's Avatar
 
Oct 2007

2×32×5 Posts
Default

I've been with the program since a few months after it went public. The program still does not have a help system. If you go to "help" on the menu and "help topics", it says that it can't launch help.
Jud McCranie is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trial Factor Assignment Time Limits Judge Hale Information & Answers 12 2015-07-11 23:48
P-1 limits? nucleon Hardware 8 2015-04-25 23:01
Advanced Options Ver 24.14 Unregistered Information & Answers 2 2008-02-23 20:23
P4 RAM options Complex33 Hardware 28 2003-12-09 02:00
Timing Options Kevin Software 3 2002-09-12 14:03

All times are UTC. The time now is 20:11.


Fri Jul 16 20:11:42 UTC 2021 up 49 days, 17:58, 1 user, load averages: 2.20, 2.28, 2.26

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.