mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-08-24, 19:38   #1
markdjonson
 
May 2012
Wisconsin

11 Posts
Default Too many sections in worktodo.txt?

Hello -
I just upgraded Prime95 from v. 28.5 to 28.9, but something strange has happened. I have a quad-core CPU which was working fine with 28.5, but when I upgraded to 28.9, the program apparently only sees one core. The communcations thread shows "Too many sections in worktodo.txt. Moving work from section #2 to #1" and similar messages for section #3 and #4. The status window shows all four current assignments under core #1 and "No work queued up" for the other cores. Any ideas what may be causing this and how to fix it?

The CPU is a Core i7-3770S, running Windows 10 Home version 1607 (64-bit).

Thanks for your help -

Mark Johnson
markdjonson is offline   Reply With Quote
Old 2016-08-24, 21:11   #2
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

1101000010102 Posts
Default

In "local.txt" file make sure you have:
WorkerThreads=4
ThreadsPerTest=1

then you should be able to revert to your previous worktodo.txt
ATH is offline   Reply With Quote
Old 2016-08-24, 22:50   #3
GP2
 
GP2's Avatar
 
Sep 2003

A1B16 Posts
Default

With version 28.9, you have choices.

To enable each choice, you need to edit some files that are in the same directory as prime95.exe

Make sure you stop the program first before editing these files.

Also, because you will be changing the number of worker windows, it is better to completely exit from Prime95. Find the green or red Prime95 icon in the bottom bar (in Windows10 it might be found by clicking on the "^" icon in the bottom right, then right-click on the red or green Prime95 icon and select "Exit". After editing the files, you can restart the program in the usual way (for instance, double-clicking on the Prime95 line in the File Explorer window).

--------------
First option (restore the way it was in earlier versions, running four LL tests simultaneously):
--------------

Edit your local.txt file to have the lines:

Code:
ThreadsPerTest=1
WorkerThreads=4
Edit your worktodo.txt file to have four sections:

Code:
[Worker #1]
... one or more lines with Test= or DoubleCheck= ...

[Worker #2]
... one or more lines with Test= or DoubleCheck= ...

[Worker #3]
... one or more lines with Test= or DoubleCheck= ...

[Worker #4]
... one or more lines with Test= or DoubleCheck= ...
--------------
Second option (run only one test at a time, but it runs about four times faster than before):
--------------
Edit your local.txt file to have the lines:

Code:
ThreadsPerTest=4
WorkerThreads=1
Edit your worktodo.txt file to have only one section:

Code:
[Worker #1]
... one or more lines with Test= or DoubleCheck= ...
Get rid of any other "[Worker #2]", "[Worker #3]", "[Worker #4]" lines and the blank lines preceding them.

--------------
Third option (run only two tests at a time, but they run about two times faster than before):
--------------

Code:
ThreadsPerTest=2
WorkerThreads=2
Edit your worktodo.txt file to have two sections:

Code:
[Worker #1]
... one or more lines with Test= or DoubleCheck= ...

[Worker #2]
... one or more lines with Test= or DoubleCheck= ...
Get rid of any other "[Worker #3]", "[Worker #4]" lines and the blank lines preceding them.

Last fiddled with by GP2 on 2016-08-24 at 22:58
GP2 is offline   Reply With Quote
Old 2016-08-25, 02:34   #4
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

41·193 Posts
Default

Quote:
Originally Posted by ATH View Post
In "local.txt" file make sure you have:
WorkerThreads=4
ThreadsPerTest=1

then you should be able to revert to your previous worktodo.txt
This is true. However, upgrading to version 28.9 should not have changed these values. Very strange -- no one else has reported this behavior.
Prime95 is offline   Reply With Quote
Old 2016-08-25, 02:38   #5
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

64128 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This is true. However, upgrading to version 28.9 should not have changed these values. Very strange -- no one else has reported this behavior.
I was thinking he might just have moved just the worktodo.txt to a new folder with the 28.9 version instead of upgrade the exe-file in the old folder. What is the default number of WorkerThreads in a fresh 28.9 download?
ATH is offline   Reply With Quote
Old 2016-08-25, 02:53   #6
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

41·193 Posts
Default

Quote:
Originally Posted by ATH View Post
What is the default number of WorkerThreads in a fresh 28.9 download?
The default in a fresh install of 28.9 is 1 worker with 3 helper threads.
Prime95 is offline   Reply With Quote
Old 2016-08-25, 05:03   #7
markdjonson
 
May 2012
Wisconsin

11 Posts
Default

Thank you all for the responses. However, it appears that the problem has resolved itself -
I haven't made any changes, but I now have received new assignments which are running on cores 2-4, and the exponents I was testing before upgrading the program are all queued up on core 1. This is the current worktodo.txt:

[Worker #1]
Test=8CE782B0F5AC2ECD3049DC76F66D6160,FFT2=3840K,73170787,75,1

;;MOVED;;[Worker #2]
Test=0A050A9078DAB7DC7C4A44857229AF47,FFT2=3840K,73151593,75,1

;;MOVED;;[Worker #3]
DoubleCheck=C9041F6650F0DAA570FE365E33CF0A50,43691959,72,1

;;MOVED;;[Worker #4]
Test=F38039779D1756622EAB66E67A5304A5,FFT2=3840K,73161071,75,1

[Worker #2]
Test=E447E853617EFEE7E19D4CAB79056322,77164693,75,1

[Worker #3]
DoubleCheck=BFC97E2BC8FE9F4E052F2C96FE9E4FEC,43712099,72,1

[Worker #4]
DoubleCheck=BC7AD1154E1F72AE47CC2F25A76F350A,43712171,72,1

It looks like I can just let things run from here. I'll post again to this thread if further problems crop up.
markdjonson is offline   Reply With Quote
Old 2016-08-25, 05:07   #8
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

245768 Posts
Default

Quote:
Originally Posted by Prime95 View Post
This is true. However, upgrading to version 28.9 should not have changed these values. Very strange -- no one else has reported this behavior.
I had a similar issue when I upgraded. It did not get the helpers all sorted out properly.
See this post:
Quote:
Originally Posted by Uncwilly View Post
I upgraded one of my machines (an i5 with 4 cores, AVX, but not AVX2) to the Win 64-bit version of 28.9 (from an older 64-bit version)
.......
On firing up 28.9 it moved all of the worktodo.txt entries into [Worker 1]. All well and good....
But, it was only using 2 of the 4 cores, until I monkeyed with the settings to give it helper threads. Shouldn't it have applied all cores to the new task if it moved all of the worktodo to that thread?
Uncwilly is online now   Reply With Quote
Old 2016-08-25, 05:08   #9
markdjonson
 
May 2012
Wisconsin

11 Posts
Default

I forgot to add - I had just done the upgrade the way I usually do, by extracting the new files into my Prime95 directory, choosing to replace the old files with the same names.
markdjonson is offline   Reply With Quote
Old 2016-11-25, 13:34   #10
jovada
 
Aug 2016

616 Posts
Default

After a system crash (unrelated to prime95), prime95 also "moved" one thread upon the next start. Found a fix in this thread, so thanks a lot!
jovada is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing (and duplicated) sections of factordb/endings EdH FactorDB 3 2014-01-05 05:46
Too many sections in worktodo.txt. Line #4 TheOutcaste Information & Answers 2 2009-01-02 18:29
Help sections OmbooHankvald mersennewiki 12 2005-09-23 22:50
worktodo.ini clowns789 Software 7 2003-10-21 03:57
worktodo.ini ? kwstone Software 9 2003-07-27 06:30

All times are UTC. The time now is 14:51.


Thu Jul 7 14:51:28 UTC 2022 up 9:38, 0 users, load averages: 0.88, 1.28, 1.27

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔