mersenneforum.org  

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

Reply
 
Thread Tools
Old 2014-07-15, 11:30   #1
wildrabbitt
 
Jul 2014

45010 Posts
Default getting all cores to work on Win7

Hi,

I recently bought an 8-core machine so that I could do 8 LL tests at the same time.

I'm running prime95 on Win7 64-bit.

The trouble I'm having is that I can't seem to get 8 cores working at the same time.

There's an option on Test->Worker Windows to change the number of CPU's to use but I'm not sure this is the thing that needs changing and besides, the option is not active (it's fixed).

In the past, when I've ran prime 95 on a machine with x cores, prime95 automatically gets x assignments.

Can someone help me get all 8 cores working?
wildrabbitt is offline   Reply With Quote
Old 2014-07-15, 12:24   #2
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

What is your CPU? Is it 8 physical cores, or are you including hyper threads? These are just preliminary questions. I've never seen the "Number of worker windows" option locked down, so I'm not sure what that could signify.

You might try assigning specific affinities for each core. At the least, this might give other indications of what is going on.
kladner is offline   Reply With Quote
Old 2014-07-15, 13:11   #3
wildrabbitt
 
Jul 2014

2×32×52 Posts
Default

AMDFX9370 Black Edition 4.4GHz

How do I go about assigning different affinities to each core then please?
wildrabbitt is offline   Reply With Quote
Old 2014-07-15, 16:14   #4
MatWur-S530113
 
MatWur-S530113's Avatar
 
Apr 2007
Spessart/Germany

2×83 Posts
Default

stop prime95
test -> worker window
set option 'CPUs to use (multithreading)' to 1 and click 'ok' (needed!)
again test -> worker window
set option 'Number of worker windows to run' to 8 and click 'ok'
continue prime95

now it should work if you have 8 assignemts for 8 workers in your worktodo-file.

edit:
hm, ok, if the option 'CPUs to use (multithreading)' is fixed then its another problem.
Or try to change it manually in 'local.txt' in your p95-folder.
stop prime95
change option 'WorkerThreads=' to 8
change option 'ThreadsPerTest=' to 1 (I hope it is the correct order...)
save changes and restart prime95
I hope this helps. Maybe the relative new FX9370 BE is not detected correct by prime95, but not sure, sry

Last fiddled with by MatWur-S530113 on 2014-07-15 at 16:34
MatWur-S530113 is offline   Reply With Quote
Old 2014-07-15, 16:33   #5
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

5×17×89 Posts
Default

Quote:
Originally Posted by MatWur-S530113 View Post
stop prime95
test -> worker window
set option 'CPUs to use (multithreading)' to 1 and click 'ok' (needed!)
again test -> worker window
set option 'Number of worker windows to run' to 8 and click 'ok'
continue prime95

now it should work if you have 8 assignemts for 8 workers in your worktodo-file.
At 4.4GHz with 8 cores running this system will be hot.
R.D. Silverman is offline   Reply With Quote
Old 2014-07-15, 16:38   #6
TimSorbet
Account Deleted
 
TimSorbet's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

11×389 Posts
Default

You may run into some memory (or other) bottlenecks if you try to run 8 LLs at once. You might find better performance by having each test run on two or more cores.

If you haven't already, you should run a benchmark in Prime95 (Options > Benchmark); one of the parts of it shows what total throughput (in iterations per second) you get with different combinations of workers per core. This should help you choose the best setup.

Quote:
Originally Posted by wildrabbitt View Post
How do I go about assigning different affinities to each core then please?
From "undoc.txt":
Quote:
The program makes its best guess at how the OS maps hyperthreaded logical CPU
numbers to physical CPUs. It also assigns workers and helper threads
to CPUs for optimal speed. However, bugs, new architectures, or situations we
haven't considered may make different affinity settings desirable. In
local.txt set
Code:
	AffinityScramble2=string
Where the characters in "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz()"
represent 64 logical CPU numbers. For example, let's say you have a system
with 8 logical cores with 4 workers each using a helper thread. Also, assume
your system has logical CPUs 0 & 4 on the same physical CPU core, 1 & 5, etc.
If the program is properly determining which logical CPUs share the same physical
CPU, then the program internally generates an affinity scramble string of "04152637".
The program's default policy is to assign the worker and helper threads to the same
physical CPU. If the program is not properly determining which logical CPUs share the
same physical CPU, or you think a different affinity policy would result in better
performance, then set AffinityScramble2 accordingly. Let's say you think
running the helper threads on a different physical core would be better, then
you might set AffinityScramble2=02134657 to test out your theory.

Last fiddled with by TimSorbet on 2014-07-15 at 16:39
TimSorbet is offline   Reply With Quote
Old 2014-07-15, 16:57   #7
MatWur-S530113
 
MatWur-S530113's Avatar
 
Apr 2007
Spessart/Germany

2×83 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
At 4.4GHz with 8 cores running this system will be hot.
That's for sure! 220W TDP has the processor. I hope it is a liquide-cooled one ;)
And Core Temp 1.0 RC6 (actual version, free available) is very helpful for all CPUs running prime95. GPU-user should use GPU-Z 0.7.8 (actual version, free available), too.
MatWur-S530113 is offline   Reply With Quote
Old 2014-07-15, 18:01   #8
wildrabbitt
 
Jul 2014

2×32×52 Posts
Default

Thanks a million guys. It's great to know there's lots of knowledgeable people on this site.

I managed to get all 8 cores working :) :)

I'm a bit worried about the CPU overheating.

I've got a Noctua HN-D14 cooler on it.

What's your reckoning - is it going to break?

/* EDIT */

What I did was add a variable called WorkerThreads to the list in local.txt because there wasn't one there.
I set it to 8, and lo and behold, all 8 cores have a job BUT, the expected completion dates are Nov 2016.

Since I can do 4 similarly sized Mersenne number tests on a slower machine in 3 months I'm wondering why these ones are set to take so long.

Last fiddled with by wildrabbitt on 2014-07-15 at 18:14 Reason: spelling mistake
wildrabbitt is offline   Reply With Quote
Old 2014-07-15, 18:24   #9
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

240358 Posts
Default

It will be hot (and possibly not 8-fold fast) for yet another reason:
Quote:
Originally Posted by many places, e.g. http://us.hardware.info/reviews/5135/2/

The Vishera chip the FX-9590 and FX-9370 are based on was launched back in October 2012 (review). That chip is built around four Piledriver modules, the second generation of AMD's Bulldozer architecture. Each Piledriver module contains two integer CPU cores and one floating point core. It's an 8-core CPU in a way, but for floating point computations there are four.
Hopefully, you already knew that.

Most of the LL (prime95) computation is floating point, so the scaling factor will be just around 4. (It is possible that 8 threads will be slower than 4: there are still just 4 FPUs but twice as much memory access. You have to test all comnfigurations, and pick the best.)
Batalov is offline   Reply With Quote
Old 2014-07-15, 18:44   #10
wildrabbitt
 
Jul 2014

2×32×52 Posts
Default

Thanks.

I changed WorkerThreads to 4 in local.txt

The program does run 4 seperate tests but when

I go to to the worker windows box and click OK, I get the message

You have allocated more threads than CPU's available.

...which explains why the expected completion dates for these 4 are Sep 2015.

I guess things aren't as simple as adding a variable to a config file.
wildrabbitt is offline   Reply With Quote
Old 2014-07-15, 18:55   #11
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
San Diego, Calif.

32·7·163 Posts
Default

AMD's naming these chips 8-core (and other similar non-Opteron-non-Phenom versions) was a subject of quite a bit of scorn. Some could even say that this was deceptive advertising. But then again, they are 8-integer-core chips, so some algorithms may benefit. Maybe even a special LL implementation. Maybe, George or Ernst could comment.
Batalov is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run Prime95 as service in Win7? Matt Information & Answers 12 2022-03-28 16:00
Need Win7 install CD ewmayer Mlucas 41 2020-11-11 20:14
How do I move work assignments to faster computer with fewer cores? jdmcs Software 9 2015-05-02 03:07
MFAKTC won't start under RDP (win7) swl551 Software 23 2014-10-17 16:25
XP 32-bit to Win7 64-bit slowdown willmore Software 6 2009-11-07 05:33

All times are UTC. The time now is 04:27.


Fri Jul 7 04:27:21 UTC 2023 up 323 days, 1:55, 0 users, load averages: 1.63, 1.78, 1.63

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

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