![]() |
|
|
#67 |
|
"Jacob"
Sep 2006
Brussels, Belgium
1,709 Posts |
As far as I understand it the OS "thinks" it is working with cores, not threads (that is another concept in the world of OS's.)
Then there is no such thing as a a real or physical core on one side and a virtual core on the other. A CPU has a number of cores, the OS "sees" that number of cores but in the case of a hyper-threading capable CPU the OS "sees" twice that number. You just have pairs of virtual cores sharing one physical core. The OS sees one hyper-threaded core as two identical cores apart from the core number assigned to each. This means that a Windows affinity scramble of 02468A13579B is equivalent to 13579B02468A and a Linux affinity scramble of 0123456789AB is equivalent to 6789AB012345 . There might be a difference in the order in which the OS tries to use threads though. Jacob |
|
|
|
|
|
#68 |
|
Dec 2011
After milion nines:)
1,451 Posts |
Can you in next release add option to stop processing next candidate of K if K found PRP ( like LLR do)?
from LLR StopOnPrimedK=1 : after successes with this k value,skip further pairs having the same k value |
|
|
|
|
|
#69 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
2·7·19·37 Posts |
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).
I had it running TFs on numbers in the 332M range. (Yes, I know, but I don't have any GPUs myself, but have idle CPUs). 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? With all cores running on a single exponent, it looks like I am getting the same throughput as an identical machine running an older version, +/- 1%. |
|
|
|
|
|
#70 | |
|
P90 years forever!
Aug 2002
Yeehaw, FL
1D7716 Posts |
Quote:
If there are more worker sections than number of workers, this version does move worktodo lines accordingly. The +/-1% is expected as improvements came from AVX2 instructions. |
|
|
|
|
|
|
#71 |
|
Feb 2016
28 Posts |
It seems that 28.9 added multithreading to lucas-lehmer prime testing compared to 28.7. Maybe this is undocumented? I didnt see this in whats new, and 28.7 didn't have this behavior last I checked. 1 single primality test is using 4 cores. I have a 5960x. Is it possible to increase the amount of threads used for 1 task up from 4? I want to try using 8 and 16 for the same task, if possible. I didn't see anything in undoc on manually setting helper threads, just some things about affinity scrambling.
|
|
|
|
|
|
#72 | |
|
Bemusing Prompter
"Danny"
Dec 2002
California
2·11·109 Posts |
Quote:
Code:
8) On initial install, the default settings for number of workers will be set to
the number of cores / 4 with multithreading turned on.
|
|
|
|
|
|
|
#73 |
|
Feb 2012
34×5 Posts |
ssateneth, the threading settings are under "Test - Worker Windows..." menu. Once you wrap your hand around how that works, you should be able to set what you desire, as long as there are enough cores available.
|
|
|
|
|
|
#74 | |
|
Serpentine Vermin Jar
Jul 2014
3,313 Posts |
Quote:
Set it to whatever, but don't have a worker use more threads than you have CPU cores (or more workers * threads than actual CPU cores, in general).
|
|
|
|
|
|
|
#75 |
|
May 2005
Brutal Police State, UK
11111002 Posts |
When using the Linux version of mprime 28.9, if I don't want new tasks sent, the terminal menu doesn't allow me to set 'days of work' to 0.
Instead I am forced to manually edit the file prime.txt to read DaysOfWork=0 Is this issue something that can be rectified in the next version? |
|
|
|
|
|
#76 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
3·29·83 Posts |
NoMoreWork=1
|
|
|
|
|
|
#77 | |
|
May 2005
Brutal Police State, UK
12410 Posts |
Quote:
What I was requesting was if it was possible that a modification could be made in a future version to allow the terminal menu 14 to accept 'Days of work to queue up' to be set to 0, which it currently doesn't. |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Prime95 version 27.3 | Prime95 | Software | 148 | 2012-03-18 19:24 |
| Prime95 version 26.3 | Prime95 | Software | 76 | 2010-12-11 00:11 |
| Prime95 version 25.5 | Prime95 | PrimeNet | 369 | 2008-02-26 05:21 |
| Prime95 version 25.4 | Prime95 | PrimeNet | 143 | 2007-09-24 21:01 |
| When the next prime95 version ? | pacionet | Software | 74 | 2006-12-07 20:30 |