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 : Are Work Units Run on Cores or Threads

Author Message
MartinBell
Send message
Joined: 8 Jul 19
Posts: 13
ID: 1153972
Credit: 5,068,728
RAC: 0
PPS LLR Silver: Earned 100,000 credits (298,899)PPS Sieve Ruby: Earned 2,000,000 credits (3,364,258)AP 26/27 Amethyst: Earned 1,000,000 credits (1,390,792)GFN Bronze: Earned 10,000 credits (12,949)
Message 131025 - Posted: 10 Jul 2019 | 21:30:08 UTC

Hi everyone hope everyone is keeping well

I have a question are the work units run on cores or threads CPU? I would ideally would like to run on threads if it is at all possible. or is that not possible?

Thank you.
____________

Profile VatoProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Feb 08
Posts: 863
ID: 18447
Credit: 884,420,576
RAC: 1,180,355
Discovered 2 mega primesFound 1 prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 2 primes in the 2023 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (12,991,799)Cullen LLR Jade: Earned 10,000,000 credits (13,104,740)ESP LLR Jade: Earned 10,000,000 credits (10,037,413)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,050,904)PPS LLR Sapphire: Earned 20,000,000 credits (35,721,815)PSP LLR Sapphire: Earned 20,000,000 credits (20,023,658)SoB LLR Jade: Earned 10,000,000 credits (15,490,543)SR5 LLR Jade: Earned 10,000,000 credits (12,376,531)SGS LLR Jade: Earned 10,000,000 credits (12,695,665)TPS LLR (retired) Silver: Earned 100,000 credits (103,523)TRP LLR Jade: Earned 10,000,000 credits (12,211,379)Woodall LLR Jade: Earned 10,000,000 credits (10,097,895)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (26,923,188)Cullen/Woodall Sieve Double Bronze: Earned 100,000,000 credits (103,285,858)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,278,995)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,592,258)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (4,080,177)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,221,054)AP 26/27 Emerald: Earned 50,000,000 credits (76,489,325)GFN Double Silver: Earned 200,000,000 credits (252,783,287)WW (retired) Double Bronze: Earned 100,000,000 credits (105,088,000)PSA Sapphire: Earned 20,000,000 credits (34,771,396)
Message 131028 - Posted: 10 Jul 2019 | 22:05:20 UTC - in response to Message 131025.

Assuming I understand your question...

LLR subprojects need cores for certain - HT threads don't have access to enough floating point units to make any sense - and most of the LLR tasks need lots of L3 cache anyway. LLR does multithread with good effect, but each thread needs to utilise an entire core.

CPU sieve e.g. 321 Sieve, can run well with HT threads though.
____________

MartinBell
Send message
Joined: 8 Jul 19
Posts: 13
ID: 1153972
Credit: 5,068,728
RAC: 0
PPS LLR Silver: Earned 100,000 credits (298,899)PPS Sieve Ruby: Earned 2,000,000 credits (3,364,258)AP 26/27 Amethyst: Earned 1,000,000 credits (1,390,792)GFN Bronze: Earned 10,000 credits (12,949)
Message 131029 - Posted: 10 Jul 2019 | 22:14:19 UTC - in response to Message 131028.

Thank you Vato,

you got what I was saying so each work unit needs a Core to run, so 321 sieve also need a core a work unit as well? :-)


____________

Profile VatoProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Feb 08
Posts: 863
ID: 18447
Credit: 884,420,576
RAC: 1,180,355
Discovered 2 mega primesFound 1 prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 2 primes in the 2023 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (12,991,799)Cullen LLR Jade: Earned 10,000,000 credits (13,104,740)ESP LLR Jade: Earned 10,000,000 credits (10,037,413)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,050,904)PPS LLR Sapphire: Earned 20,000,000 credits (35,721,815)PSP LLR Sapphire: Earned 20,000,000 credits (20,023,658)SoB LLR Jade: Earned 10,000,000 credits (15,490,543)SR5 LLR Jade: Earned 10,000,000 credits (12,376,531)SGS LLR Jade: Earned 10,000,000 credits (12,695,665)TPS LLR (retired) Silver: Earned 100,000 credits (103,523)TRP LLR Jade: Earned 10,000,000 credits (12,211,379)Woodall LLR Jade: Earned 10,000,000 credits (10,097,895)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (26,923,188)Cullen/Woodall Sieve Double Bronze: Earned 100,000,000 credits (103,285,858)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,278,995)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,592,258)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (4,080,177)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,221,054)AP 26/27 Emerald: Earned 50,000,000 credits (76,489,325)GFN Double Silver: Earned 200,000,000 credits (252,783,287)WW (retired) Double Bronze: Earned 100,000,000 credits (105,088,000)PSA Sapphire: Earned 20,000,000 credits (34,771,396)
Message 131031 - Posted: 10 Jul 2019 | 22:17:52 UTC - in response to Message 131029.

321 Sieve will run single-threaded, but multiple tasks.
e.g. if you have a 4 core machine, you can run 4 tasks concurrently, or if you have HT enabled and "use at most 100% of the CPUs" set, you can run 8 tasks concurrently.
With LLR tasks, and HT enabled, you would want "uset at most 50% of the CPUs".
____________

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 14045
ID: 53948
Credit: 485,681,262
RAC: 665,695
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 1 prime in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,949,793)Cullen LLR Turquoise: Earned 5,000,000 credits (5,513,946)ESP LLR Turquoise: Earned 5,000,000 credits (7,150,009)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (24,049,916)PSP LLR Jade: Earned 10,000,000 credits (11,203,327)SoB LLR Sapphire: Earned 20,000,000 credits (36,821,441)SR5 LLR Sapphire: Earned 20,000,000 credits (22,821,256)SGS LLR Turquoise: Earned 5,000,000 credits (6,801,131)TRP LLR Turquoise: Earned 5,000,000 credits (6,308,522)Woodall LLR Turquoise: Earned 5,000,000 credits (6,390,624)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve Emerald: Earned 50,000,000 credits (51,764,198)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,888,492)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Sapphire: Earned 20,000,000 credits (31,327,881)GFN Double Bronze: Earned 100,000,000 credits (120,616,519)WW (retired) Emerald: Earned 50,000,000 credits (88,580,000)PSA Jade: Earned 10,000,000 credits (13,196,884)
Message 131033 - Posted: 11 Jul 2019 | 0:28:17 UTC

I can make this one simple...

LLR: cores

Sieves: threads
____________
My lucky number is 75898524288+1

Profile Elftron
Send message
Joined: 13 May 07
Posts: 8
ID: 8304
Credit: 378,889,802
RAC: 203,222
321 LLR Amethyst: Earned 1,000,000 credits (1,360,382)Cullen LLR Silver: Earned 100,000 credits (375,688)ESP LLR Turquoise: Earned 5,000,000 credits (8,513,040)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (11,051,375)PPS LLR Turquoise: Earned 5,000,000 credits (6,259,683)PSP LLR Turquoise: Earned 5,000,000 credits (9,681,203)SoB LLR Sapphire: Earned 20,000,000 credits (46,658,635)SR5 LLR Ruby: Earned 2,000,000 credits (2,481,876)SGS LLR Amethyst: Earned 1,000,000 credits (1,880,430)TPS LLR (retired) Silver: Earned 100,000 credits (342,632)TRP LLR Turquoise: Earned 5,000,000 credits (5,959,631)Woodall LLR Turquoise: Earned 5,000,000 credits (6,144,857)321 Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,427,297)Cullen/Woodall Sieve Silver: Earned 100,000 credits (302,457)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (578,832)PPS Sieve Double Silver: Earned 200,000,000 credits (205,871,252)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (11,390)TRP Sieve (suspended) Bronze: Earned 10,000 credits (42,893)AP 26/27 Sapphire: Earned 20,000,000 credits (26,008,724)GFN Jade: Earned 10,000,000 credits (10,806,142)WW (retired) Sapphire: Earned 20,000,000 credits (29,132,000)
Message 131035 - Posted: 11 Jul 2019 | 7:01:44 UTC - in response to Message 131033.

To get the most out of one machine with 4 cores, 8 threads and 1 video card what would be the best setup. I have set video card to sieve which I believe needs 1 part of a core to feed it, how should I set my cores and thread to work for LLR work?

I have Xeon E3-1240 v3 4C/8T with Quadro K600 card

____________

Profile JeppeSNProject donor
Avatar
Send message
Joined: 5 Apr 14
Posts: 1853
ID: 306875
Credit: 52,646,820
RAC: 27,014
Found 1 prime in the 2020 Tour de Primes321 LLR Gold: Earned 500,000 credits (684,183)Cullen LLR Gold: Earned 500,000 credits (611,298)ESP LLR Silver: Earned 100,000 credits (174,818)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (112,799)PPS LLR Sapphire: Earned 20,000,000 credits (21,961,923)PSP LLR Gold: Earned 500,000 credits (598,093)SoB LLR Gold: Earned 500,000 credits (774,243)SR5 LLR Silver: Earned 100,000 credits (210,142)SGS LLR Silver: Earned 100,000 credits (142,930)TRP LLR Silver: Earned 100,000 credits (476,246)Woodall LLR Silver: Earned 100,000 credits (281,400)321 Sieve (suspended) Silver: Earned 100,000 credits (175,037)Cullen/Woodall Sieve Bronze: Earned 10,000 credits (22,952)PPS Sieve Bronze: Earned 10,000 credits (10,113)AP 26/27 Bronze: Earned 10,000 credits (52,559)GFN Ruby: Earned 2,000,000 credits (4,988,252)WW (retired) Jade: Earned 10,000,000 credits (13,756,000)PSA Turquoise: Earned 5,000,000 credits (7,614,290)
Message 131037 - Posted: 11 Jul 2019 | 8:45:00 UTC - in response to Message 131033.

I can make this one simple...

LLR: cores

Sieves: threads


This means that for LLR projects, you have to make sure your system does not decide to run on [all] threads, because if it does, that is inefficient.

So Vato's posts tell how to do that. Either turn off hyper-threading in the BIOS. Or else set "use at most 50% of the CPUs" in your account at www.primegrid.com.

So your question "possible or not possible" is to be understood like this.

/JeppeSN

Profile Rafael
Volunteer tester
Avatar
Send message
Joined: 22 Oct 14
Posts: 918
ID: 370496
Credit: 612,351,442
RAC: 574,641
Discovered 2 mega primesFound 1 prime in the 2023 Tour de PrimesFound 1 mega prime in the 2023 Tour de PrimesFound 1 prime in the 2023 Tour de Primes Mountain StageFound 1 mega prime  in the 2023 Tour de Primes Mountain Stage321 LLR Jade: Earned 10,000,000 credits (10,008,611)Cullen LLR Jade: Earned 10,000,000 credits (10,005,009)ESP LLR Jade: Earned 10,000,000 credits (10,041,747)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,000,820)PPS LLR Jade: Earned 10,000,000 credits (10,170,045)PSP LLR Jade: Earned 10,000,000 credits (10,049,767)SoB LLR Emerald: Earned 50,000,000 credits (67,929,298)SR5 LLR Jade: Earned 10,000,000 credits (10,003,746)SGS LLR Jade: Earned 10,000,000 credits (10,005,089)TRP LLR Jade: Earned 10,000,000 credits (10,011,903)Woodall LLR Jade: Earned 10,000,000 credits (10,076,850)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,033,828)Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (46,147,992)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,037,204)PPS Sieve Jade: Earned 10,000,000 credits (14,761,609)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,000,053)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,030,160)AP 26/27 Emerald: Earned 50,000,000 credits (51,770,615)GFN Emerald: Earned 50,000,000 credits (85,796,469)WW (retired) Emerald: Earned 50,000,000 credits (50,712,000)PSA Double Bronze: Earned 100,000,000 credits (170,761,999)
Message 131045 - Posted: 11 Jul 2019 | 16:09:12 UTC - in response to Message 131035.

To get the most out of one machine with 4 cores, 8 threads and 1 video card what would be the best setup. I have set video card to sieve which I believe needs 1 part of a core to feed it, how should I set my cores and thread to work for LLR work?

I have Xeon E3-1240 v3 4C/8T with Quadro K600 card

PPS Sieve uses very little CPU time, so you can ignore that. Higher n GFN also fillow this pattern, if you want to try to hunt for primes instead.

For the rest, it depends on what you want to do. You can hunt small primes, big primes or work on sieving, and they all have different ways to optimize your machine.

Message boards : Number crunching : Are Work Units Run on Cores or Threads

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 3.43, 3.34, 3.02
Generated 3 Oct 2023 | 6:44:46 UTC