PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Problems and Help : Assign tasks to specific cores automatically

Author Message
Profile BurProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Feb 20
Posts: 511
ID: 1241833
Credit: 408,383,424
RAC: 24,168
321 LLR Ruby: Earned 2,000,000 credits (2,092,823)Cullen LLR Ruby: Earned 2,000,000 credits (2,315,295)ESP LLR Ruby: Earned 2,000,000 credits (2,151,088)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,620,968)PPS LLR Jade: Earned 10,000,000 credits (11,511,284)PSP LLR Ruby: Earned 2,000,000 credits (2,064,832)SoB LLR Ruby: Earned 2,000,000 credits (2,434,466)SR5 LLR Ruby: Earned 2,000,000 credits (2,065,004)SGS LLR Ruby: Earned 2,000,000 credits (2,027,649)TRP LLR Ruby: Earned 2,000,000 credits (2,089,856)Woodall LLR Ruby: Earned 2,000,000 credits (2,112,258)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,107,153)PPS Sieve Turquoise: Earned 5,000,000 credits (5,096,952)AP 26/27 Turquoise: Earned 5,000,000 credits (5,797,662)GFN Jade: Earned 10,000,000 credits (10,874,159)WW Double Silver: Earned 200,000,000 credits (349,980,000)PSA Amethyst: Earned 1,000,000 credits (1,042,601)
Message 144600 - Posted: 22 Oct 2020 | 16:02:16 UTC

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

HonzaProject donor
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
Discovered 10 mega primesEliminated 4 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain StageFound 1 prime in the 2020 Tour de PrimesFound 4 primes in the 2021 Tour de PrimesFound 1 mega prime in the 2021 Tour de PrimesFound 1 prime in the 2021 Tour de Primes Mountain StageFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de Primes321 LLR Double Bronze: Earned 100,000,000 credits (105,242,843)Cullen LLR Double Bronze: Earned 100,000,000 credits (101,538,484)ESP LLR Double Bronze: Earned 100,000,000 credits (100,642,296)Generalized Cullen/Woodall LLR Double Bronze: Earned 100,000,000 credits (106,956,296)PPS LLR Double Silver: Earned 200,000,000 credits (243,661,386)PSP LLR Double Bronze: Earned 100,000,000 credits (101,484,952)SoB LLR Double Bronze: Earned 100,000,000 credits (113,220,736)SR5 LLR Double Bronze: Earned 100,000,000 credits (161,843,742)SGS LLR Double Bronze: Earned 100,000,000 credits (100,409,432)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Double Bronze: Earned 100,000,000 credits (100,338,924)Woodall LLR Double Bronze: Earned 100,000,000 credits (101,172,892)321 Sieve (suspended) Double Bronze: Earned 100,000,000 credits (115,948,450)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (513,057,580)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Silver: Earned 200,000,000 credits (240,277,097)GFN Double Gold: Earned 500,000,000 credits (866,294,638)WW Double Ruby: Earned 2,000,000,000 credits (2,000,124,000)PSA Double Gold: Earned 500,000,000 credits (535,232,795)
Message 144607 - Posted: 22 Oct 2020 | 16:45:48 UTC

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

Profile BurProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Feb 20
Posts: 511
ID: 1241833
Credit: 408,383,424
RAC: 24,168
321 LLR Ruby: Earned 2,000,000 credits (2,092,823)Cullen LLR Ruby: Earned 2,000,000 credits (2,315,295)ESP LLR Ruby: Earned 2,000,000 credits (2,151,088)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,620,968)PPS LLR Jade: Earned 10,000,000 credits (11,511,284)PSP LLR Ruby: Earned 2,000,000 credits (2,064,832)SoB LLR Ruby: Earned 2,000,000 credits (2,434,466)SR5 LLR Ruby: Earned 2,000,000 credits (2,065,004)SGS LLR Ruby: Earned 2,000,000 credits (2,027,649)TRP LLR Ruby: Earned 2,000,000 credits (2,089,856)Woodall LLR Ruby: Earned 2,000,000 credits (2,112,258)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,107,153)PPS Sieve Turquoise: Earned 5,000,000 credits (5,096,952)AP 26/27 Turquoise: Earned 5,000,000 credits (5,797,662)GFN Jade: Earned 10,000,000 credits (10,874,159)WW Double Silver: Earned 200,000,000 credits (349,980,000)PSA Amethyst: Earned 1,000,000 credits (1,042,601)
Message 144649 - Posted: 23 Oct 2020 | 16:05:16 UTC - in response to Message 144607.

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

HonzaProject donor
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
Discovered 10 mega primesEliminated 4 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain StageFound 1 prime in the 2020 Tour de PrimesFound 4 primes in the 2021 Tour de PrimesFound 1 mega prime in the 2021 Tour de PrimesFound 1 prime in the 2021 Tour de Primes Mountain StageFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de Primes321 LLR Double Bronze: Earned 100,000,000 credits (105,242,843)Cullen LLR Double Bronze: Earned 100,000,000 credits (101,538,484)ESP LLR Double Bronze: Earned 100,000,000 credits (100,642,296)Generalized Cullen/Woodall LLR Double Bronze: Earned 100,000,000 credits (106,956,296)PPS LLR Double Silver: Earned 200,000,000 credits (243,661,386)PSP LLR Double Bronze: Earned 100,000,000 credits (101,484,952)SoB LLR Double Bronze: Earned 100,000,000 credits (113,220,736)SR5 LLR Double Bronze: Earned 100,000,000 credits (161,843,742)SGS LLR Double Bronze: Earned 100,000,000 credits (100,409,432)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Double Bronze: Earned 100,000,000 credits (100,338,924)Woodall LLR Double Bronze: Earned 100,000,000 credits (101,172,892)321 Sieve (suspended) Double Bronze: Earned 100,000,000 credits (115,948,450)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (513,057,580)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Silver: Earned 200,000,000 credits (240,277,097)GFN Double Gold: Earned 500,000,000 credits (866,294,638)WW Double Ruby: Earned 2,000,000,000 credits (2,000,124,000)PSA Double Gold: Earned 500,000,000 credits (535,232,795)
Message 144655 - Posted: 23 Oct 2020 | 17:06:28 UTC

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

ruditapper
Send message
Joined: 12 Aug 20
Posts: 43
ID: 1293061
Credit: 2,252,692,587
RAC: 1
Discovered 2 mega primesFound 1 prime in the 2022 Tour de Primes321 LLR Emerald: Earned 50,000,000 credits (60,659,673)Cullen LLR Jade: Earned 10,000,000 credits (12,797,767)ESP LLR Bronze: Earned 10,000 credits (68,707)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (17,232)PPS LLR Emerald: Earned 50,000,000 credits (58,400,065)SoB LLR Sapphire: Earned 20,000,000 credits (34,960,487)SR5 LLR Ruby: Earned 2,000,000 credits (4,942,272)SGS LLR Amethyst: Earned 1,000,000 credits (1,447,146)TRP LLR Sapphire: Earned 20,000,000 credits (28,037,632)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,090,474)PPS Sieve Emerald: Earned 50,000,000 credits (77,249,836)AP 26/27 Ruby: Earned 2,000,000 credits (4,265,365)GFN Double Amethyst: Earned 1,000,000,000 credits (1,102,523,872)WW Double Gold: Earned 500,000,000 credits (866,228,000)
Message 144732 - Posted: 26 Oct 2020 | 0:26:04 UTC
Last modified: 26 Oct 2020 | 0:44:36 UTC

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 :)

Profile j.sheridanProject donor
Volunteer tester
Send message
Joined: 21 Mar 11
Posts: 816
ID: 91622
Credit: 2,686,055,085
RAC: 0
Discovered 2 mega primesFound 4 primes in the 2021 Tour de PrimesFound 2 mega primes in the 2021 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,011,712)Cullen LLR Jade: Earned 10,000,000 credits (10,025,728)ESP LLR Jade: Earned 10,000,000 credits (10,176,490)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,020,580)PPS LLR Sapphire: Earned 20,000,000 credits (36,093,877)PSP LLR Jade: Earned 10,000,000 credits (10,055,994)SoB LLR Emerald: Earned 50,000,000 credits (67,758,583)SR5 LLR Jade: Earned 10,000,000 credits (10,885,368)SGS LLR Jade: Earned 10,000,000 credits (10,007,143)TRP LLR Jade: Earned 10,000,000 credits (10,009,531)Woodall LLR Jade: Earned 10,000,000 credits (10,039,527)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,019,388)Cullen/Woodall Sieve (suspended) Double Silver: Earned 200,000,000 credits (265,102,350)PPS Sieve Double Gold: Earned 500,000,000 credits (547,992,812)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,801,812)AP 26/27 Double Bronze: Earned 100,000,000 credits (101,256,935)GFN Double Gold: Earned 500,000,000 credits (547,439,679)WW Double Amethyst: Earned 1,000,000,000 credits (1,003,356,000)
Message 144747 - Posted: 26 Oct 2020 | 14:51:37 UTC - in response to Message 144732.

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

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2022 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.81, 0.58, 0.78
Generated 11 Aug 2022 | 7:55:25 UTC