Join PrimeGrid
Returning Participants
Community
Leader Boards
Results
Other
drummers-lowrise
|
Message boards :
Problems and Help :
Assign tasks to specific cores automatically
Author |
Message |
Bur Volunteer tester
 Send message
Joined: 25 Feb 20 Posts: 511 ID: 1241833 Credit: 408,383,424 RAC: 24,168
                
|
I would like to assign single-thread tasks to a specific core on a HT-system. Of course this can be done manually, but that's not a practical solution. So currently I have set boinc.exe 's affinity and it's inherited to the LLR tasks, but using that I cannot assign a specific core to each task only all tasks to all e.g. even cores. That's faster than assigning nothing, but not perfect.
Is there a tool that can do that? I.e. make sure that each of four tasks is run on a specific dedicated core.
____________
1281979 * 2^485014 + 1 is prime ... no further hits up to: n = 5,700,000 | |
|
Honza Volunteer moderator Volunteer tester Project scientist Send message
Joined: 15 Aug 05 Posts: 1931 ID: 352 Credit: 5,702,574,998 RAC: 1,035,349
                                   
|
See there for more information about this topic/issue
____________
My stats
Badge score: 1*1 + 5*1 + 8*3 + 9*11 + 10*1 + 11*1 + 12*3 = 186 | |
|
Bur Volunteer tester
 Send message
Joined: 25 Feb 20 Posts: 511 ID: 1241833 Credit: 408,383,424 RAC: 24,168
                
|
Thanks! Since I can't test it now (no access to BOINC computers), but am curious, it can be used to automatically assign like this:
llr-task-randomnumber1.exe --> core 0
llr-task-randomnumber2.exe --> core 2
llr-task-randomnumber3.exe --> core 4
And if llr-task-randomnumber2.exe terminates and is replaced by llr-task-randomnumber4.exe this task should be assigned core 2.
Will that work? Basically I want all PPS-DIV tasks to run on their own seperate core, even though, as you know, they have a slightly different filename all the time.
____________
1281979 * 2^485014 + 1 is prime ... no further hits up to: n = 5,700,000 | |
|
Honza Volunteer moderator Volunteer tester Project scientist Send message
Joined: 15 Aug 05 Posts: 1931 ID: 352 Credit: 5,702,574,998 RAC: 1,035,349
                                   
|
Note that all LLR task will be run under same app, ie. llr2_1.0.0_win64_200814.exe
ProcessLasso can assign equal number of cores / affinity for each instance.
If you run 4 tasks on 16-core 3950X like I do, it will assign 4 cores to each task.
____________
My stats
Badge score: 1*1 + 5*1 + 8*3 + 9*11 + 10*1 + 11*1 + 12*3 = 186 | |
|
|
I've been fiddling with that process lasso thing for a while now and finally figured out how to use it, I right clicked on one of those tasks and used the instance balancer. Don't know if official way to do things but seems to work, got hyperthreads on, BOINC using 100% CPUs and 4 threads per task seems great. Bit late for the challenge but my new PC will be good now :) | |
|
|
If you have HT on then you need to be using 50% cpu. If your new cpu is a ryzen then 1 thread per pps-div task is faster than 4 for total throughput. | |
|
Message boards :
Problems and Help :
Assign tasks to specific cores automatically |