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: 337
ID: 1241833
Credit: 41,186,971
RAC: 847,832
321 LLR Gold: Earned 500,000 credits (538,216)Cullen LLR Amethyst: Earned 1,000,000 credits (1,169,946)ESP LLR Gold: Earned 500,000 credits (636,842)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (212,232)PPS LLR Amethyst: Earned 1,000,000 credits (1,222,650)PSP LLR Gold: Earned 500,000 credits (663,928)SoB LLR Silver: Earned 100,000 credits (217,346)SR5 LLR Gold: Earned 500,000 credits (531,229)SGS LLR Amethyst: Earned 1,000,000 credits (1,042,382)TRP LLR Gold: Earned 500,000 credits (561,429)Woodall LLR Gold: Earned 500,000 credits (781,741)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,107,153)PPS Sieve Amethyst: Earned 1,000,000 credits (1,045,010)AP 26/27 Ruby: Earned 2,000,000 credits (2,470,273)WW Sapphire: Earned 20,000,000 credits (20,604,000)GFN Turquoise: Earned 5,000,000 credits (7,149,778)PSA Silver: Earned 100,000 credits (244,815)
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.
____________
Primes: 1281979 & 12+8+1979 & 1+2+8+1+9+7+9 & 1^2+2^2+8^2+1^2+9^2+7^2+9^2 & 12*8+19*79 & 12^8-1979 & 1281979 + 4 (cousin prime)

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1893
ID: 352
Credit: 3,248,495,157
RAC: 4,983,451
Discovered 7 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 Primes321 LLR Double Bronze: Earned 100,000,000 credits (100,425,701)Cullen LLR Emerald: Earned 50,000,000 credits (70,572,211)ESP LLR Emerald: Earned 50,000,000 credits (50,853,190)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,309,119)PPS LLR Double Bronze: Earned 100,000,000 credits (127,085,204)PSP LLR Emerald: Earned 50,000,000 credits (50,563,867)SoB LLR Double Bronze: Earned 100,000,000 credits (101,573,710)SR5 LLR Double Bronze: Earned 100,000,000 credits (101,883,529)SGS LLR Emerald: Earned 50,000,000 credits (55,573,609)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Double Bronze: Earned 100,000,000 credits (100,338,924)Woodall LLR Emerald: Earned 50,000,000 credits (50,956,094)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 (232,724,773)WW Double Bronze: Earned 100,000,000 credits (130,404,000)GFN Double Gold: Earned 500,000,000 credits (765,851,929)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: 337
ID: 1241833
Credit: 41,186,971
RAC: 847,832
321 LLR Gold: Earned 500,000 credits (538,216)Cullen LLR Amethyst: Earned 1,000,000 credits (1,169,946)ESP LLR Gold: Earned 500,000 credits (636,842)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (212,232)PPS LLR Amethyst: Earned 1,000,000 credits (1,222,650)PSP LLR Gold: Earned 500,000 credits (663,928)SoB LLR Silver: Earned 100,000 credits (217,346)SR5 LLR Gold: Earned 500,000 credits (531,229)SGS LLR Amethyst: Earned 1,000,000 credits (1,042,382)TRP LLR Gold: Earned 500,000 credits (561,429)Woodall LLR Gold: Earned 500,000 credits (781,741)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,107,153)PPS Sieve Amethyst: Earned 1,000,000 credits (1,045,010)AP 26/27 Ruby: Earned 2,000,000 credits (2,470,273)WW Sapphire: Earned 20,000,000 credits (20,604,000)GFN Turquoise: Earned 5,000,000 credits (7,149,778)PSA Silver: Earned 100,000 credits (244,815)
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.
____________
Primes: 1281979 & 12+8+1979 & 1+2+8+1+9+7+9 & 1^2+2^2+8^2+1^2+9^2+7^2+9^2 & 12*8+19*79 & 12^8-1979 & 1281979 + 4 (cousin prime)

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1893
ID: 352
Credit: 3,248,495,157
RAC: 4,983,451
Discovered 7 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 Primes321 LLR Double Bronze: Earned 100,000,000 credits (100,425,701)Cullen LLR Emerald: Earned 50,000,000 credits (70,572,211)ESP LLR Emerald: Earned 50,000,000 credits (50,853,190)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,309,119)PPS LLR Double Bronze: Earned 100,000,000 credits (127,085,204)PSP LLR Emerald: Earned 50,000,000 credits (50,563,867)SoB LLR Double Bronze: Earned 100,000,000 credits (101,573,710)SR5 LLR Double Bronze: Earned 100,000,000 credits (101,883,529)SGS LLR Emerald: Earned 50,000,000 credits (55,573,609)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Double Bronze: Earned 100,000,000 credits (100,338,924)Woodall LLR Emerald: Earned 50,000,000 credits (50,956,094)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 (232,724,773)WW Double Bronze: Earned 100,000,000 credits (130,404,000)GFN Double Gold: Earned 500,000,000 credits (765,851,929)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: 39
ID: 1293061
Credit: 416,056,844
RAC: 8,797,339
Discovered 1 mega prime321 LLR Turquoise: Earned 5,000,000 credits (6,825,345)ESP LLR Bronze: Earned 10,000 credits (64,858)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (17,232)PPS LLR Sapphire: Earned 20,000,000 credits (28,350,154)SR5 LLR Gold: Earned 500,000 credits (974,934)SGS LLR Amethyst: Earned 1,000,000 credits (1,397,613)TRP LLR Ruby: Earned 2,000,000 credits (3,332,822)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,090,474)PPS Sieve Emerald: Earned 50,000,000 credits (72,527,065)AP 26/27 Ruby: Earned 2,000,000 credits (3,598,270)WW Double Silver: Earned 200,000,000 credits (227,360,000)GFN Emerald: Earned 50,000,000 credits (70,796,903)
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: 748
ID: 91622
Credit: 1,378,463,931
RAC: 5,335,225
321 LLR Turquoise: Earned 5,000,000 credits (9,500,638)Cullen LLR Turquoise: Earned 5,000,000 credits (7,406,370)ESP LLR Turquoise: Earned 5,000,000 credits (5,055,512)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (7,614,895)PPS LLR Jade: Earned 10,000,000 credits (11,508,250)PSP LLR Turquoise: Earned 5,000,000 credits (6,104,395)SoB LLR Jade: Earned 10,000,000 credits (10,245,712)SR5 LLR Turquoise: Earned 5,000,000 credits (7,258,689)SGS LLR Turquoise: Earned 5,000,000 credits (5,799,415)TRP LLR Jade: Earned 10,000,000 credits (10,009,531)Woodall LLR Turquoise: Earned 5,000,000 credits (6,840,984)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 Emerald: Earned 50,000,000 credits (61,332,310)WW Double Bronze: Earned 100,000,000 credits (123,516,000)GFN Double Silver: Earned 200,000,000 credits (267,502,401)
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.

Post to thread

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

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2021 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 3.79, 4.29, 4.73
Generated 21 Jan 2021 | 15:48:29 UTC