mersenneforum.org  

Go Back   mersenneforum.org > Fun Stuff > Lounge

Reply
 
Thread Tools
Old 2010-09-29, 12:48   #1
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3·5·41 Posts
Default 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.
Question: Would it make any sense running two workers, one for each logical CPU - 2*[1worker:1thread:1logical CPU] on my one physical core?


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


Question: Do YOU have any recommendations for a person who wants to find any previously unknown factor to any Mersenne number? Essentially finding a 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?
Question: 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 LL-T, should at some point become interesting.
Question: 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.
lorgix is offline   Reply With Quote
Old 2010-09-29, 15:18   #2
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by lorgix View Post
I run a 3.0GHz P4 w. HT. I currently run one worker using both logical CPUs for Prime95 - Prime95 is running two threads.
Question: Would it make any sense running two workers, one for each logical CPU - 2*[1worker:1thread:1logical CPU] on my one physical core?
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:
Originally Posted by lorgix View Post
I like finding factors, somewhat beyond the point that gives the highest frequency of prime identification -
Question:
Is there, on this forum, a place for people interested in factoring beyond "optimal" P-1 and/or "optimal" TF?
Certainly. This group of subforums 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:
Originally Posted by lorgix View Post
Question: Do YOU have any recommendations for a person who wants to find any previously unknown factor to any Mersenne number? Essentially finding a factor with as little effort as possible.
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 http://www.mersenne.org/report_factoring_effort/ and http://www.mersenne.org/primenet/ 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 http://www.mersenne.org/manual_result/. You can also check out LMH's instructions. 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.

Quote:
Originally Posted by lorgix View Post
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?
Question: Could anyone please more or less define this function?
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:
Originally Posted by lorgix View Post
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 LL-T, should at some point become interesting.
Question: Are there any comments or ideas concerning the concept of LL-T?
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.

Last fiddled with by Mini-Geek on 2010-09-29 at 15:24
Mini-Geek is offline   Reply With Quote
Old 2010-10-02, 19:39   #3
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

22×3×641 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
There is no reason to triple-check.
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.

Last fiddled with by cheesehead on 2010-10-02 at 19:51
cheesehead is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Config file changes to consolidate workers - moving to a 22-core config NookieN Hardware 7 2017-08-10 17:57
Core i5 2500K vs Core i7 2600K (Linear algebra phase) em99010pepe Hardware 0 2011-11-11 15:18
Went from 8 workers to 4 workers on v26.6 upgrade dmoran Software 13 2011-05-23 12:36
exclude single core from quad core cpu for gimps jippie Information & Answers 7 2009-12-14 22:04
Quad Core Questions... TomYosho Information & Answers 2 2009-09-14 13:01

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


Fri Aug 6 22:46:40 UTC 2021 up 14 days, 17:15, 1 user, load averages: 4.70, 4.31, 3.89

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.