![]() |
![]() |
#1 |
Jun 2010
Pennsylvania
32×103 Posts |
![]()
Hello,
I signed up one of my PCs to contribute to GIMPS, and before the machine gets much deeper into things I'd like to ask a few questions about the Prime95 settings. Please forgive me if these questions have already been asked a thousand times, but my quick-and-dirty search for answers didn't turn up a lot. I'm hoping that this is the right section to post these questions. If it helps, the CPU is a Pentium Dual-Core T4200 @2.00 GHz running LL first tests. 1) What are "worker windows," and how do I decide how many to set that value to? Is this setting related in any way to the number of "CPUs to use" (see the next question)? 2) How do I decide what value to enter in "CPUs to use (multithreading")? 3) How can I tell if my machine is using both cores for Prime95? 4) I'm getting an estimated finish time of 108 days. Is that normal/expected? 5) How do I decide how much RAM to allocate for each possible type of work? The default for LL seems to be 8MB. What difference does it make to set that value smaller or bigger (and how much bigger)? Is there a point of diminishing returns, and if so, what is it? Unfortunately, although there's a menu option for it, there doesn't seem to be an actual "Help" file that might elaborate on these setting choices. If possible, I would welcome guidance of a more general sort (not just specific to that CPU) that would help me to avoid having to come back and pester you all with questions for the next several computers that I add to GIMPS. Thanks very much for your help. Rodrigo |
![]() |
![]() |
![]() |
#2 |
P90 years forever!
Aug 2002
Yeehaw, FL
11100011111102 Posts |
![]()
1) For maximum throughput, set it to the number of "cores" on your machine. In your case, two. Each worker window processes its own exponent.
2) Set this to "number of cores on your machine" / "number of worker windows". Your machine could be set up to run 2 worker windows each using 1 core, OR 1 worker window using 2 cores (but this will be less than twice as fast) 3) Task manager. Prime95 should be getting close to 100% of the CPU time. 4) Yes. You could do double-checking which will take about a quarter of the time. 5) See readme.txt. The 8MB setting is fine -- the extra memory can only be used during stage 2 of P-1 factoring. If you have memory available 500MB should be pretty good. Yes, there are definitely diminishing returns, but it is complicated to provide an exact formula. 6) My fault, I'm lazy. On second thought it's also Microsoft's fault. They've changed help file formats and tools several times and I lack the motivation to relearn this stuff every few years. Last fiddled with by Prime95 on 2010-08-01 at 23:02 |
![]() |
![]() |
![]() |
#3 |
Jun 2010
Pennsylvania
11100111112 Posts |
![]()
Wow, I'm getting the information from the best possible source!
![]() I changed the workers setting to 2, and using your formula in #2 (i.e., 2/2) I left the CPUs at 1, then clicked on OK. The worker that was already running stopped briefly and then resumed, but right after the "new" one got started, I received the following two lines: "Setting affinity to run worker on logical CPU#1. "Stopping worker at user request." I'm not sure what I did to request it to stop, all I did was to click on "OK" to change the settings in the hope of activating a second worker. Now I have two windows showing (in addition to the Communications thread), but still only one worker active. FWIW, Task Manager shows 50% usage on both cores. Gratefully, Rodrigo |
![]() |
![]() |
![]() |
#4 |
P90 years forever!
Aug 2002
Yeehaw, FL
2·7·521 Posts |
![]()
That sounds weird (a bug?). Choose Test/Continue to get the second worker running again.
|
![]() |
![]() |
![]() |
#5 | |
Jun 2010
Pennsylvania
32×103 Posts |
![]() Quote:
Now I have two cores working on separate exponents. Curiously, the one that just got added is estimated to be finished in 101 days, as opposed to the original one which was 108 days. Worker #2 is shown as working at "P-1 stage 1" of its assigned exponent. But I had set the preference for LL. Is that all right? (I understand that I should set the RAM much higher for P-1 work.) Trying to develop an understanding of the process. Task Manager does now show both cores running at 100%. Does this happen only if the computer isn't working on anything else? This is all very interesting. Pretty neat to watch the numbers grow. Rodrigo |
|
![]() |
![]() |
![]() |
#6 | |||
A Sunny Moo
Aug 2007
USA (GMT-5)
3×2,083 Posts |
![]() Quote:
Quote:
Quote:
Last fiddled with by mdettweiler on 2010-08-02 at 00:43 |
|||
![]() |
![]() |
![]() |
#7 |
Jun 2010
Pennsylvania
32×103 Posts |
![]()
mdettweiler,
Fascinating -- thank you! This is growing on me fast. You're right, the second exponent IS a little lower than the first one. And after a little less than one hour doing P-1 work on it, almost 4% of stage 1 is complete. So I guess that it's not necessary to increase the RAM setting. (Right?) The "Per iteration time" on the first worker increased from 0.068 seconds to 0.079 seconds after I got the second worker going. Is that a coincidence, or a result of starting the second worker? And finally (for now!), if only Prime95 is running on the PC (such that it's almost always at 100%), does that help the computer to finish the exponent faster? Rodrigo Last fiddled with by Rodrigo on 2010-08-02 at 01:13 |
![]() |
![]() |
![]() |
#8 | |||
A Sunny Moo
Aug 2007
USA (GMT-5)
624910 Posts |
![]() Quote:
As George suggested earlier, if you can spare it, 500MB is a good minimum amount to allot for P-1. Beyond that point adding more still helps, though it's around there that the returns begin to diminish rather quickly. Note that the full RAM allotment is only used during P-1 stage 2--everything else (including the LL test itself and any TF) uses a minimal amount of RAM (a few MB) because it doesn't need any more than that. So if having 500MB less RAM for a few days at the beginning of some LL tests is not going to severely impact performance on your computer, I'd definitely go for it. Quote:
Disclaimer: this is just a hypothesis. I could be completely off-base. ![]() Quote:
|
|||
![]() |
![]() |
![]() |
#9 | ||
Jun 2010
Pennsylvania
32×103 Posts |
![]() Quote:
Thank you! I increased the RAM to 500MB, and immediately the "Chance of finding a factor" estimate jumped from the original 3.22% to 5.97%. Quote:
Anyway, as you pointed out it's not a big hit. Mostly I'm curious as to how this all works. Thanks for filling me in. Rodrigo |
||
![]() |
![]() |
![]() |
#10 | |
Banned
"Luigi"
Aug 2002
Team Italia
479010 Posts |
![]() Quote:
A big FFT requires a big amount of memory. While Prime95 makes use of cache memory when available, big exponents need a huge quantity of free memory, causing data exchanging from cache to RAM and vice versa. Maybe the data transfer somewhat hit the performances of the two cores, slowing down the execution of a few percent points. Luigi Last fiddled with by ET_ on 2010-08-02 at 14:17 |
|
![]() |
![]() |
![]() |
#11 |
Jun 2010
Pennsylvania
32·103 Posts |
![]()
Thanks, ET!
BTW, do I need to notify you in order to register a computer for OBD, or as with Prime95 do I simply download the factor_X program and start? (I hope this isn't considered hijacking the topic. Self-hijacking?) Rodrigo |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
prime95 settings | evanh | Software | 3 | 2017-12-04 15:18 |
Some Prime95 settings lost | rharmz | Software | 1 | 2014-05-20 07:36 |
Prime95 always uses nighttime settings | fox_mccloud_123 | Information & Answers | 6 | 2013-05-07 21:12 |
The 'CPU Settings & Info' box in Prime95 | Roy_Sirl | Software | 3 | 2013-01-27 15:24 |
[26.5] some Prime95 settings reset on their own | ixfd64 | Software | 2 | 2012-07-18 14:41 |