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: 430
ID: 1241833
Credit: 235,448,062
RAC: 960,129
321 LLR Ruby: Earned 2,000,000 credits (2,092,823)Cullen LLR Amethyst: Earned 1,000,000 credits (1,169,946)ESP LLR Amethyst: Earned 1,000,000 credits (1,445,099)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,148,593)PPS LLR Amethyst: Earned 1,000,000 credits (1,225,852)PSP LLR Amethyst: Earned 1,000,000 credits (1,248,861)SoB LLR Amethyst: Earned 1,000,000 credits (1,669,219)SR5 LLR Ruby: Earned 2,000,000 credits (2,065,004)SGS LLR Amethyst: Earned 1,000,000 credits (1,152,703)TRP LLR Ruby: Earned 2,000,000 credits (2,089,856)Woodall LLR Amethyst: Earned 1,000,000 credits (1,249,865)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 Double Silver: Earned 200,000,000 credits (204,780,000)GFN Turquoise: Earned 5,000,000 credits (7,489,336)PSA Amethyst: Earned 1,000,000 credits (1,022,470)
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 = 4,400,000

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1906
ID: 352
Credit: 4,117,203,035
RAC: 4,404,153
Discovered 8 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 Stage321 LLR Double Bronze: Earned 100,000,000 credits (100,425,701)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 Emerald: Earned 50,000,000 credits (81,367,005)PPS LLR Double Bronze: Earned 100,000,000 credits (155,502,307)PSP LLR Emerald: Earned 50,000,000 credits (50,563,867)SoB LLR Double Bronze: Earned 100,000,000 credits (113,220,736)SR5 LLR Double Bronze: Earned 100,000,000 credits (101,883,529)SGS LLR Emerald: Earned 50,000,000 credits (55,593,166)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 Gold: Earned 500,000,000 credits (823,860,000)GFN Double Gold: Earned 500,000,000 credits (789,218,857)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: 430
ID: 1241833
Credit: 235,448,062
RAC: 960,129
321 LLR Ruby: Earned 2,000,000 credits (2,092,823)Cullen LLR Amethyst: Earned 1,000,000 credits (1,169,946)ESP LLR Amethyst: Earned 1,000,000 credits (1,445,099)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,148,593)PPS LLR Amethyst: Earned 1,000,000 credits (1,225,852)PSP LLR Amethyst: Earned 1,000,000 credits (1,248,861)SoB LLR Amethyst: Earned 1,000,000 credits (1,669,219)SR5 LLR Ruby: Earned 2,000,000 credits (2,065,004)SGS LLR Amethyst: Earned 1,000,000 credits (1,152,703)TRP LLR Ruby: Earned 2,000,000 credits (2,089,856)Woodall LLR Amethyst: Earned 1,000,000 credits (1,249,865)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 Double Silver: Earned 200,000,000 credits (204,780,000)GFN Turquoise: Earned 5,000,000 credits (7,489,336)PSA Amethyst: Earned 1,000,000 credits (1,022,470)
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 = 4,400,000

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1906
ID: 352
Credit: 4,117,203,035
RAC: 4,404,153
Discovered 8 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 Stage321 LLR Double Bronze: Earned 100,000,000 credits (100,425,701)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 Emerald: Earned 50,000,000 credits (81,367,005)PPS LLR Double Bronze: Earned 100,000,000 credits (155,502,307)PSP LLR Emerald: Earned 50,000,000 credits (50,563,867)SoB LLR Double Bronze: Earned 100,000,000 credits (113,220,736)SR5 LLR Double Bronze: Earned 100,000,000 credits (101,883,529)SGS LLR Emerald: Earned 50,000,000 credits (55,593,166)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 Gold: Earned 500,000,000 credits (823,860,000)GFN Double Gold: Earned 500,000,000 credits (789,218,857)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: 40
ID: 1293061
Credit: 1,358,697,795
RAC: 3,904,980
Discovered 2 mega primes321 LLR Sapphire: Earned 20,000,000 credits (39,564,900)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 (54,707,841)SoB LLR Silver: Earned 100,000 credits (231,457)SR5 LLR Ruby: Earned 2,000,000 credits (3,822,694)SGS LLR Amethyst: Earned 1,000,000 credits (1,398,451)TRP LLR Sapphire: Earned 20,000,000 credits (26,880,316)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,055,129)WW Double Gold: Earned 500,000,000 credits (696,440,000)GFN Double Silver: Earned 200,000,000 credits (453,554,701)
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,140,298,460
RAC: 2,355,561
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 (24,128,038)PSP LLR Jade: Earned 10,000,000 credits (10,055,994)SoB LLR Sapphire: Earned 20,000,000 credits (32,191,914)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 Emerald: Earned 50,000,000 credits (93,546,934)WW Double Gold: Earned 500,000,000 credits (669,216,000)GFN Double Silver: Earned 200,000,000 credits (391,140,295)
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 2.27, 1.38, 1.30
Generated 1 Aug 2021 | 13:05:13 UTC