mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2020-09-26, 02:10   #342
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·32·13·17 Posts
Default

Quote:
Originally Posted by ixfd64 View Post
I noticed that the latest version still uses the older "Wh4" identifier in the results.txt file. Is this intentional?
The Wh4 code is not really used anymore. Over time it loosely relates to gwnum FFT library version number. The middle letter gets bumped when there are major changes to the FFT code.
Prime95 is offline   Reply With Quote
Old 2020-09-28, 13:59   #343
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

B716 Posts
Default

What's the best way of upgrading from 29.8 to 30.3 of mprime on Linux, so as not to lose existing work? Just unpack everything into mprime, and overwrite any existing files?
ZFR is offline   Reply With Quote
Old 2020-09-28, 14:52   #344
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·32·13·17 Posts
Default

Quote:
Originally Posted by ZFR View Post
What's the best way of upgrading from 29.8 to 30.3 of mprime on Linux, so as not to lose existing work? Just unpack everything into mprime, and overwrite any existing files?
That should work. Make a backup if you're leery (or prudent).
Prime95 is offline   Reply With Quote
Old 2020-09-28, 23:22   #345
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

3·61 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That should work. Make a backup if you're leery (or prudent).
Thank you, Sir. Looks like everything went well.
ZFR is offline   Reply With Quote
Old 2020-09-28, 23:30   #346
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

3×61 Posts
Default

Actually, I'm getting this when I select 2. Test / Worker Threads

Code:
Number of workers to run (4): 

Options for worker #1

Type of work to get (0): 
CPU cores to use (multithreading): 2

Options for worker #2

Type of work to get (0): 
CPU cores to use (multithreading): 2

Options for worker #3

Type of work to get (0): 
CPU cores to use (multithreading): 2

Options for worker #4

Type of work to get (0): 
CPU cores to use (multithreading): 2
Get occasional proof certification work (Y): 

Accept the answers above? (Y): 
You have allocated more cores than are available.  This is likely to
GREATLY REDUCE performance.  Do you want to correct this? (Y):

My CPU should have 2 threads per 4 cores

Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
CPU speed: 4000.04 MHz, 4 hyperthreaded cores
CPU features: Prefetch, SSE, SSE2, SSE4, AVX, AVX2, FMA
L1 cache size: 4x32 KB, L2 cache size: 4x256 KB, L3 cache size: 8 MB

Last fiddled with by ZFR on 2020-09-28 at 23:33
ZFR is offline   Reply With Quote
Old 2020-09-29, 00:14   #347
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

3×61 Posts
Default

I'm getting the "You have allocated more cores than are available." message even when I run 29.8 that I've backed up. So it looks like it's not a v30.3 issue. Still, I wonder why I get this. I'm pretty sure I haven't come across this message when I first set up mprime.

Last fiddled with by ZFR on 2020-09-29 at 00:14
ZFR is offline   Reply With Quote
Old 2020-09-29, 00:21   #348
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

22·13·73 Posts
Default

Prime95 has explicit GUI settings that show that hyperthreading is specifically not-recommended (except in the case of TF which itself is not-recommended). Just allocate 4 workers with 1 core per worker. 2 hyperthreads per worker may actually produce less throughput than a single worker per real core.
James Heinrich is offline   Reply With Quote
Old 2020-09-29, 00:28   #349
jwnutter
 
"Joe"
Oct 2019
United States

22×19 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
Prime95 has explicit GUI settings that show that hyperthreading is specifically not-recommended (except in the case of TF which itself is not-recommended). Just allocate 4 workers with 1 core per worker. 2 hyperthreads per worker may actually produce less throughput than a single worker per real core.
@ZFR - Here's an example from a recent ~24 hour benchmark I completed on a i9-9900KF. That said, there are many other benchmarks in this same thread and you might consider benchmarking your system assuming you haven't already.

https://www.mersenneforum.org/showpo...&postcount=821
jwnutter is offline   Reply With Quote
Old 2020-09-29, 00:53   #350
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

3·61 Posts
Default

I'm using mprime, so no GUI... But I've moved this from Prime95 when I switched from Windows to Linux. I must have missed the warning because as far as I remember I've been using 4 worker threads ever since I got this PC 5 years ago...

So what's the best way to change this to 1 worker without losing any progress. Can I just change to 1 worker in Settings in the menu and then manually change the worktodo file?
ZFR is offline   Reply With Quote
Old 2020-09-29, 00:55   #351
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

ED416 Posts
Default

You can still keep 4 workers, that's not a problem. Just use one thread per worker, not 2.
Quote:
Number of workers to run (4):
CPU cores to use (multithreading): 2
CPU cores to use (multithreading): 1

Last fiddled with by James Heinrich on 2020-09-29 at 00:57
James Heinrich is offline   Reply With Quote
Old 2020-09-29, 01:00   #352
ZFR
 
ZFR's Avatar
 
Feb 2008
Meath, Ireland

3×61 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
You can still keep 4 workers, that's not a problem. Just use one thread per worker, not 2.
OK, I see.

When I run the the mprime menu "2. Test/Worker threads" it doesn't give me the option to use 1 thread per worker. I only get to choose "Number of Workers to run" and if I choose 4, then for "CPU cores to use (multithreading)": 2 gets selected automatically.
ZFR is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 00:48.


Tue Aug 16 00:48:51 UTC 2022 up 39 days, 19:36, 1 user, load averages: 1.40, 1.29, 1.24

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.

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