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 : Number crunching : 2 tasks of 10 cores running simulantiously

Author Message
Greg_BE
Send message
Joined: 20 Sep 19
Posts: 17
ID: 1193005
Credit: 77,630,000
RAC: 19,215
TRP LLR Bronze: Earned 10,000 credits (14,549)321 Sieve (suspended) Silver: Earned 100,000 credits (107,340)PPS Sieve Jade: Earned 10,000,000 credits (18,735,409)AP 26/27 Turquoise: Earned 5,000,000 credits (6,351,553)GFN Sapphire: Earned 20,000,000 credits (48,998,291)WW (retired) Ruby: Earned 2,000,000 credits (3,412,000)
Message 150383 - Posted: 11 May 2021 | 19:41:41 UTC

How can Woodall(LLR)(mt) and 9.01 PPS (LLR) (mt) run at the same time? (10 cores each)
I have 16 cores. 10 are used by PG and the others are spread over 4 tasks from another project and 2 controlling my GPU (combined .36 of a core)

This is physically impossible unless both projects are sharing the same 10 cores?

Profile GrebulonerProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Nov 09
Posts: 495
ID: 49572
Credit: 3,166,203,939
RAC: 3,772,976
Discovered 5 mega primesFound 2 primes in the 2018 Tour de PrimesFound 4 primes in the 2019 Tour de PrimesFound 3 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de PrimesFound 4 primes in the 2021 Tour de PrimesFound 7 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 10 primes in the 2023 Tour de PrimesFound 2 mega primes in the 2023 Tour de Primes321 LLR Emerald: Earned 50,000,000 credits (50,304,710)Cullen LLR Sapphire: Earned 20,000,000 credits (22,096,858)ESP LLR Sapphire: Earned 20,000,000 credits (20,453,074)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,327,156)PPS LLR Emerald: Earned 50,000,000 credits (75,487,921)PSP LLR Sapphire: Earned 20,000,000 credits (23,670,769)SoB LLR Emerald: Earned 50,000,000 credits (50,873,282)SR5 LLR Sapphire: Earned 20,000,000 credits (28,681,842)SGS LLR Sapphire: Earned 20,000,000 credits (31,592,082)TRP LLR Sapphire: Earned 20,000,000 credits (24,211,899)Woodall LLR Sapphire: Earned 20,000,000 credits (24,238,438)321 Sieve (suspended) Emerald: Earned 50,000,000 credits (55,630,889)Cullen/Woodall Sieve Double Bronze: Earned 100,000,000 credits (100,934,315)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (56,046,594)PPS Sieve Double Gold: Earned 500,000,000 credits (521,014,891)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (9,468,384)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (10,076,645)AP 26/27 Double Gold: Earned 500,000,000 credits (584,220,621)GFN Double Silver: Earned 200,000,000 credits (470,765,709)WW (retired) Double Gold: Earned 500,000,000 credits (830,928,000)PSA Double Bronze: Earned 100,000,000 credits (126,200,096)
Message 150386 - Posted: 12 May 2021 | 4:24:15 UTC - in response to Message 150383.

Actually, to be the bearer of bad news, if you're talking about the Ryzen 2700 on your account, you only have 8 physical cores. The other 8 threads are logical. There are many threads on this forum about this discrepancy and how to get the most out of such a system. Search for "hyperthreading".

Regardless of that, to address the matter at hand, I don't think it is actually doing both at the same time, but rather switching between the two units. This happens a lot when you have mixed long (e.g. Woodall) and short (e.g. PPS) tasks. When you get near the end of a task, Boinc downloads a new one, but when they are vastly different sizes, it starts to switch back and forth because of a) different deadline setups and b) weird logic, until the first finally finishes.

Or, I could be off base. Can you take a screenshot of your Boinc window showing both tasks?
____________
Eating more cheese on Thursdays.

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1784
ID: 37043
Credit: 791,865,002
RAC: 1,251,156
Discovered 2 mega primesFound 12 primes in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,008,621)Cullen LLR Ruby: Earned 2,000,000 credits (2,074,615)ESP LLR Ruby: Earned 2,000,000 credits (2,243,517)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,142,353)PPS LLR Turquoise: Earned 5,000,000 credits (7,296,858)PSP LLR Ruby: Earned 2,000,000 credits (2,232,103)SoB LLR Ruby: Earned 2,000,000 credits (2,934,612)SR5 LLR Ruby: Earned 2,000,000 credits (2,071,823)SGS LLR Turquoise: Earned 5,000,000 credits (6,780,752)TRP LLR Turquoise: Earned 5,000,000 credits (5,023,333)Woodall LLR Turquoise: Earned 5,000,000 credits (5,047,133)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (23,770,672)Cullen/Woodall Sieve Jade: Earned 10,000,000 credits (14,179,846)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (379,578,052)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Emerald: Earned 50,000,000 credits (83,269,628)GFN Double Bronze: Earned 100,000,000 credits (140,467,331)WW (retired) Emerald: Earned 50,000,000 credits (64,048,000)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 150388 - Posted: 12 May 2021 | 9:35:23 UTC - in response to Message 150383.

How can Woodall(LLR)(mt) and 9.01 PPS (LLR) (mt) run at the same time? (10 cores each)
I have 16 cores. 10 are used by PG and the others are spread over 4 tasks from another project and 2 controlling my GPU (combined .36 of a core)

This is physically impossible unless both projects are sharing the same 10 cores?


I've seen that on my own pc's before and eventually one of the tasks should say 'waiting to run' as like you say there is not enough resources to run it.

Greg_BE
Send message
Joined: 20 Sep 19
Posts: 17
ID: 1193005
Credit: 77,630,000
RAC: 19,215
TRP LLR Bronze: Earned 10,000 credits (14,549)321 Sieve (suspended) Silver: Earned 100,000 credits (107,340)PPS Sieve Jade: Earned 10,000,000 credits (18,735,409)AP 26/27 Turquoise: Earned 5,000,000 credits (6,351,553)GFN Sapphire: Earned 20,000,000 credits (48,998,291)WW (retired) Ruby: Earned 2,000,000 credits (3,412,000)
Message 150389 - Posted: 12 May 2021 | 20:19:59 UTC - in response to Message 150386.

Actually, to be the bearer of bad news, if you're talking about the Ryzen 2700 on your account, you only have 8 physical cores. The other 8 threads are logical. There are many threads on this forum about this discrepancy and how to get the most out of such a system. Search for "hyperthreading".

Regardless of that, to address the matter at hand, I don't think it is actually doing both at the same time, but rather switching between the two units. This happens a lot when you have mixed long (e.g. Woodall) and short (e.g. PPS) tasks. When you get near the end of a task, Boinc downloads a new one, but when they are vastly different sizes, it starts to switch back and forth because of a) different deadline setups and b) weird logic, until the first finally finishes.

Or, I could be off base. Can you take a screenshot of your Boinc window showing both tasks?



They both completed the other day while I was at work, so can't show you anything. They finished ok.

And I am using the maximum capabilities of this system, hyperthreading and 2 gpu's.
So I can run 10 "cores" in whatever fashion BOINC needs.

Greg_BE
Send message
Joined: 20 Sep 19
Posts: 17
ID: 1193005
Credit: 77,630,000
RAC: 19,215
TRP LLR Bronze: Earned 10,000 credits (14,549)321 Sieve (suspended) Silver: Earned 100,000 credits (107,340)PPS Sieve Jade: Earned 10,000,000 credits (18,735,409)AP 26/27 Turquoise: Earned 5,000,000 credits (6,351,553)GFN Sapphire: Earned 20,000,000 credits (48,998,291)WW (retired) Ruby: Earned 2,000,000 credits (3,412,000)
Message 150390 - Posted: 12 May 2021 | 20:21:41 UTC - in response to Message 150388.

How can Woodall(LLR)(mt) and 9.01 PPS (LLR) (mt) run at the same time? (10 cores each)
I have 16 cores. 10 are used by PG and the others are spread over 4 tasks from another project and 2 controlling my GPU (combined .36 of a core)

This is physically impossible unless both projects are sharing the same 10 cores?


I've seen that on my own pc's before and eventually one of the tasks should say 'waiting to run' as like you say there is not enough resources to run it.



I just let them run, they completed ok. It was weird.
I am busy with WCG right now, so PG has to wait its turn. Maybe tomorrow sometime I can see if this impossible repeats.

Profile j.sheridanProject donor
Volunteer tester
Send message
Joined: 21 Mar 11
Posts: 817
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 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 (retired) Double Amethyst: Earned 1,000,000,000 credits (1,003,356,000)
Message 150391 - Posted: 12 May 2021 | 20:27:33 UTC - in response to Message 150389.
Last modified: 12 May 2021 | 20:28:20 UTC


And I am using the maximum capabilities of this system, hyperthreading and 2 gpu's.
So I can run 10 "cores" in whatever fashion BOINC needs.

With LLR you're actually slowing things down substantially by doing that.
eg your SGS tasks you're running 2 every 10 minues. You should be able to run 8 in that time.

Werinbert
Send message
Joined: 9 Jun 13
Posts: 193
ID: 233452
Credit: 463,856,783
RAC: 379,347
Found 1 prime in the 2023 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (3,110,404)Cullen LLR Ruby: Earned 2,000,000 credits (2,699,001)ESP LLR Amethyst: Earned 1,000,000 credits (1,752,677)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,167,921)PPS LLR Jade: Earned 10,000,000 credits (10,000,222)PSP LLR Ruby: Earned 2,000,000 credits (2,289,732)SoB LLR Amethyst: Earned 1,000,000 credits (1,072,587)SR5 LLR Ruby: Earned 2,000,000 credits (2,837,866)SGS LLR Jade: Earned 10,000,000 credits (10,000,144)TRP LLR Ruby: Earned 2,000,000 credits (2,004,815)Woodall LLR Amethyst: Earned 1,000,000 credits (1,185,225)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,014,922)Cullen/Woodall Sieve Jade: Earned 10,000,000 credits (10,718,391)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,101,470)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,344,557)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (715,073)TRP Sieve (suspended) Gold: Earned 500,000 credits (630,833)AP 26/27 Double Bronze: Earned 100,000,000 credits (100,007,648)GFN Emerald: Earned 50,000,000 credits (92,071,295)WW (retired) Double Bronze: Earned 100,000,000 credits (100,100,000)PSA Jade: Earned 10,000,000 credits (10,047,861)
Message 150392 - Posted: 12 May 2021 | 20:50:56 UTC

Boinc is letting the tasks run through a time sharing scheme. Although you may have allocated 10 threads to a task Boinc is only allowing a few threads to process your work at a time. I believe this is an artifact of how Boinc implements multi-threading.

If you look at your non-GPU tasks and multiply the run time by 10 (number of threads allocated) you will see a vast difference between runtime and cpu time. These two numbers should be about the same, however when tasks are "running" but not "processing" it will result in what you see is happening to your tasks.

------

Now that LLR2 has been implemented there is far less incentive to run many threads for any given task...


____________
Werinbert is not prime... or PRPnet keeps telling me so.
Badge score: 2x3 + 5x4 + 5x5 + 5x7 + 1x9 + 3x10 = 125

Profile j.sheridanProject donor
Volunteer tester
Send message
Joined: 21 Mar 11
Posts: 817
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 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 (retired) Double Amethyst: Earned 1,000,000,000 credits (1,003,356,000)
Message 150402 - Posted: 13 May 2021 | 7:40:50 UTC - in response to Message 150392.
Last modified: 13 May 2021 | 7:43:58 UTC


These two numbers should be about the same, however when tasks are "running" but not "processing" it will result in what you see is happening to your tasks.

cpu time ~= runtime * cores used.



Now that LLR2 has been implemented there is far less incentive to run many threads for any given task...


This is so wrong it's not funny. Please go and read some of the multithreading topics.

Message boards : Number crunching : 2 tasks of 10 cores running simulantiously

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.57, 1.44, 1.37
Generated 5 Jun 2023 | 10:11:56 UTC