mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Lounge (https://www.mersenneforum.org/forumdisplay.php?f=7)
-   -   Various questions, # of workers - one core HT e.g. (https://www.mersenneforum.org/showthread.php?t=13993)

lorgix 2010-09-29 12:48

Various questions, # of workers - one core HT e.g.
 
Hello,

I have a few questions/ideas. I'm hoping to get answers/comments, or get referred to the appropriate already existing thread. Please excuse me if this thread is in the wrong place.


I run a 3.0GHz P4 w. HT. I currently run one worker using both logical CPUs for Prime95 - Prime95 is running two threads.
[B]Question:[/B] Would it make any sense running [B]two workers[/B], one for each logical CPU - 2*[1worker:1thread:1logical CPU] on my [B]one physical core[/B]?


I like finding factors, somewhat beyond the point that gives the highest frequency of prime identification - [B]
Question:[/B] Is there, on this forum, a place for people interested in factoring beyond "optimal" P-1 and/or "optimal" TF?


[B]Question:[/B] Do [B]YOU[/B] have any recommendations for a person who wants to find [B][I]any[/I][/B] previously unknown factor to [I][B]any[/B][/I] Mersenne number? Essentially finding [B]a[/B] factor with as little effort as possible.


I'm looking for an easy way to maximize the chance of finding a factor to a certain number using P-1, by setting optimal B1&B2 given available memory and computational time. So; given available time&memory what bounds gives the highest chance of success?
[B]Question:[/B] Could anyone please more or less define this function?


Given that there is enough interest in finding factors (obv. serving the purpose of finding primes as well) and the tremendous effort required to find large factors; triple-checking, or [B]LL-T[/B], should at some point become interesting.
[B]Question:[/B] Are there any comments or ideas concerning the concept of LL-T?


Any answers, comments, ideas, references to existing threads or moving this thread to a better place would be appreciated.

Mini-Geek 2010-09-29 15:18

[QUOTE=lorgix;231903]I run a 3.0GHz P4 w. HT. I currently run one worker using both logical CPUs for Prime95 - Prime95 is running two threads.
[B]Question:[/B] Would it make any sense running [B]two workers[/B], one for each logical CPU - 2*[1worker:1thread:1logical CPU] on my [B]one physical core[/B]?[/QUOTE]
I don't think so. If so, it'd be a marginal throughput increase. You could always test it out and see if it gives better throughput.

[QUOTE=lorgix;231903]I like finding factors, somewhat beyond the point that gives the highest frequency of prime identification - [B]
Question:[/B] Is there, on this forum, a place for people interested in factoring beyond "optimal" P-1 and/or "optimal" TF?[/QUOTE]
Certainly. [URL="http://www.mersenneforum.org/forumdisplay.php?f=66"]This group of subforums[/URL] is dedicated to factoring, both the search for factors beyond what is optimal for determining primality (especially searching for all factors when the number's compositeness is easy to prove), and projects that search large Mersenne numbers (e.g. 100 million or 1 billion digits) for factors, even though we don't need to do LLs there for a while. Most of the factoring projects don't only focus on Mersenne numbers, but the Cunningham Tables includes Mersenne numbers as part of it (the 2-, i.e. 2^n-1, table). For an easy way to participate in deeper factoring, set Prime95 to request ECM work. ECM is much faster than TF for finding factors beyond the optimal-pre-primality-test level.

[QUOTE=lorgix;231903][B]Question:[/B] Do [B]YOU[/B] have any recommendations for a person who wants to find [B][I]any[/I][/B] previously unknown factor to [I][B]any[/B][/I] Mersenne number? Essentially finding [B]a[/B] factor with as little effort as possible.[/QUOTE]
Find a range of very large Mersenne numbers that have been TFd to a relatively low bit level (noting that bit levels get easier on larger numbers, as there are less candidates to search because factors must be 2kp+1). The easiest way to do this, though it won't quite be the fastest way to find an unknown factor, is to request "Trial factoring to low limits" (a.k.a. TF-LMH) from PrimeNet or check out the Lone Mersenne Hunters and LMH > 100M subforums (they're in that Factoring group I linked earlier). To get the easiest work, though, just look at [url]http://www.mersenne.org/report_factoring_effort/[/url] and [url]http://www.mersenne.org/primenet/[/url] and pick your own range (with p less than 1 billion so PrimeNet has it in its DB) and crunch them, then report the results to PrimeNet. Since you'll probably be doing a whole bunch of numbers very quickly, it's best to do this from an instance of Prime95 that is not set to use PrimeNet. It takes a while for it to communicate all of those numbers individually. Instead, grab then numbers from that Factoring Effort page I linked earlier, format them into worktodo.txt format yourself, (set the finishing bit one higher than the current) crunch it, and then give PrimeNet the results at [url]http://www.mersenne.org/manual_result/[/url]. You can also check out [URL="http://www.mersenneforum.org/showthread.php?t=11308"]LMH's instructions[/URL]. You might want to do it more like they do than what I said, (pretty similar...you might just find it easier to follow those directions) your choice. :smile:

[QUOTE=lorgix;231903]I'm looking for an easy way to maximize the chance of finding a factor to a certain number using P-1, by setting optimal B1&B2 given available memory and computational time. So; given available time&memory what bounds gives the highest chance of success?
[B]Question:[/B] Could anyone please more or less define this function?[/QUOTE]
The higher the B1 and B2, the higher the chance of finding a factor. The more memory you give it, the faster it can run stage 2 (at least I think that's how that works...). I don't know how you'd calculate what bounds to pick to make it take a specified time with a specified amount of memory. It might be easiest to just try telling it a few bounds (Advanced > P-1) and see how long it says it will take (Test > Status). For knowing what B2 to choose, relative to B1, they ought to take about the same time to be optimal (IIRC).

[QUOTE=lorgix;231903]Given that there is enough interest in finding factors (obv. serving the purpose of finding primes as well) and the tremendous effort required to find large factors; triple-checking, or [B]LL-T[/B], should at some point become interesting.
[B]Question:[/B] Are there any comments or ideas concerning the concept of LL-T?[/QUOTE]
When two LLs have matching residues, there is about a 1 in 2^64 chance that at least one of them is wrong. The chances that two LLs with matching residues will say a number is composite when it's really prime are even lower. There is no reason to triple-check. The LL test only tells you if a number is composite or prime, not anything about its factors.
Besides, by the time you're interested in finding the full factorization of a number, proving that it's composite should be relatively trivial. Factoring is far harder than proving that a number is composite, especially for Mersenne numbers.

cheesehead 2010-10-02 19:39

[QUOTE=Mini-Geek;231922]There is no reason to triple-check.[/QUOTE]Sure, there is. We've found errors in past results several times throughout the GIMPS project. Running triple-checks can also be a good way of determining whether a new system is reliable. I'd agree that it's not a mainstream concern of GIMPS, or a PrimeNet-assignable task, to triple-check, though.

Some folks (Brian Beesley is the best-known to me) actually did triple-check all the results for all low exponents (up to somewhat past 1M IIRC) that hadn't yet had two 64-bit residues recorded. (David Slowinski's residues were no longer than 14 bits.) There've even been quadruple-checks recorded -- perhaps from check-outs of new systems, as suggested above. Check the "LL Results" or "Exponent Status" report below and around 1M for examples.


All times are UTC. The time now is 22:53.

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