![]() |
|
|
#1 |
|
Jul 2014
216 Posts |
I recently installed Prime95 on my pc,and found out that it always assign four different numbers for the four cores.Is it possible to work on a single number using all four cores, if so how?
|
|
|
|
|
|
#2 |
|
Romulan Interpreter
Jun 2011
Thailand
226138 Posts |
Go to test/workers, chose "1" single worker (the topmost box) and chose "x" for the number of CPUs (cores) (bottom most box) (where x is your number of physical cores, not the hyperthreaded cores, for example x=4 if you have 4 physical cores, like a i7-2600, no matter that you can use 8 HT cores, the HT does not bring any benefit for LL testing, except generating more heat and making your computer less responsive in some cases).
Restart P95 from Test/exit, then run again. One more thing to do (optional) before restarting, would be to edit the worktodo file and move all the work into "worker 1" section, then delete the "worker x" lines for the other (now empty) sections. If you don't do this, you will get a warning telling you that "worktodo" contains more workers than expected, and there will be no work done for those sections. Caution: do not delete work! Just delete the [worker x] lines. This step is optional. If you are unclear, then do nothing. No harm done if you forget it, just some work which may be recycled in the future. Last fiddled with by LaurV on 2014-07-03 at 04:06 |
|
|
|
|
|
#3 |
|
May 2013
East. Always East.
11·157 Posts |
Just be aware that using multiple cores for a single number is slower in the end. You're most efficient when using one core per worker.
|
|
|
|
|
|
#4 |
|
Romulan Interpreter
Jun 2011
Thailand
100101100010112 Posts |
True. Using multiple cores for the same assignment (multithread) is only justified when you want to finish some special assignment very fast (like impatience, or double-checking a mersenne which was found prime by the first LL test
) or if you have problems with the heat, memory bandwidth, etc. (like your computer can not sustain the memory transfer required by 4 workers, new cpus/mobos/chipsets should *not* have this issue!). To give an example, if testing an exponent in some particular range, using a single core, takes 40 days, then testing it in 4 cores will take 11 days (and not 10 days!). In long run you will need 44 days to test 4 exponents one-by-one. It may temper your patience having an output every 11 days, but at the end is a gambler fallacy, you lost 4 days. You can achieve the "one output every 10 days" by using 4 workers, each one in one core, and starting with different sizes of exponents, such as when first worker is starting, the second one is 25%, the third is 50%, the last is 75%. You also can use "multithread" to achieve this "shifting", or start with exponents of different sizes, and after a while you achieve your "one LL output every 10 days" and calm your pride ![]() Disclaimer: the numbers are only examples. You mileage may vary with the system you have and range you are testing. |
|
|
|
|
|
#5 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
9,787 Posts |
|
|
|
|
|
|
#6 |
|
Jul 2014
2 Posts |
Thanks,it worked. And yeah its more like 3 times faster than 4 times on my pc.
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| does half-precision have any use for GIMPS? | ixfd64 | GPU Computing | 9 | 2017-08-05 22:12 |
| Single exponent testing on MultiCore | graizada | Software | 3 | 2013-02-05 14:36 |
| Single LL Question | Unregistered | Information & Answers | 18 | 2012-04-12 19:18 |
| Large number of exponents assigned to single computer | dave_0273 | Lounge | 6 | 2004-03-28 07:19 |
| 4 checkins in a single calendar month from a single computer | Gary Edstrom | Lounge | 7 | 2003-01-13 22:35 |