![]() |
![]() |
#23 |
"Oliver"
Sep 2017
Porta Westfalica, DE
144210 Posts |
![]()
On startup, it will set the affinities of all processes that are named as the process name that was specified. After that, it will subscribe to a system call that informs about newly spawned processes.
So you have omitted .exe in the command line as I have done? You could try to call AffinitySetter notepad and look if something happens if you open Notepad. It might be that Windows 11 blocks the behaviour of my program, I cannot test that. (I am assuming you might use Windows 11 because you were speaking about performance cores.)
Yes, already set PIDs are watched and the used cores are marked as "used" in the program. |
![]() |
![]() |
![]() |
#24 |
"Mark"
Apr 2003
Between here and the
23·307 Posts |
![]()
I see what I did wrong. I was adding the .exe to the process name as that is what Task Manager shows. I have it working now. Thanks.
|
![]() |
![]() |
![]() |
#25 |
Dec 2011
After milion nines:)
2·32·7·13 Posts |
![]()
Affinity problem under Windows is old one. I like using Prime95 for PRP test and always , regardless configuration one worker is faster then another. I know other program steal cycles , but that is reason why I on 6 core CPU ( 6 true core, no HT) use only 4. But even on that configuration first worker is always slower then another. Prime95 set affinity itself, so I dont know will your program work on not in this case.
|
![]() |
![]() |
![]() |
#26 |
May 2004
FRANCE
617 Posts |
![]()
The Affinity managing was not really implemented on LLR...
This issue is now fixed in new LLR 4.0.2, on Linux and WIN32 versions. It is also fixed on llrCUDA Version 3.8.6 (indeed for the CPU part of the work). The option -oAffinity=2 allows the progam to run on logical core 2. You may also choose a list of cores by setting -oAffinity="2,3,5" for example. Regards, Jean |
![]() |
![]() |
![]() |
#27 |
"Mark"
Apr 2003
Between here and the
1B9516 Posts |
![]()
FYI, PRPNet supports setting affinity "out of the box" for LLR. PRPNet has been updated to support affinity for pfgw. I'm working on pfgw support for setting CPU affinity, at least for Windows.
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prime95 and cpu affinity | pepi37 | Software | 4 | 2019-04-25 05:51 |
Unexplained slowdown (affinity problem?) | Siegmund | Software | 6 | 2017-06-03 05:31 |
[Patch] CPU affinity prompt problem in mprime Linux / OS X build | Explorer09 | Software | 1 | 2017-03-01 02:34 |
Set affinity does not work | g33py | Software | 3 | 2016-07-27 05:26 |
Processor Affinity | R.D. Silverman | Programming | 19 | 2015-04-24 22:46 |