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 : How many threads to run to get best performance?

Author Message
Profile NickProject donor
Avatar
Send message
Joined: 11 Jul 11
Posts: 2075
ID: 105020
Credit: 7,860,989,232
RAC: 3,746,155
Discovered 9 mega primesFound 5 primes in the 2020 Tour de PrimesFound 2 mega primes in the 2020 Tour de PrimesFound 4 primes in the 2021 Tour de PrimesFound 2 mega primes in the 2021 Tour de PrimesFound 3 primes in the 2022 Tour de Primes321 LLR Emerald: Earned 50,000,000 credits (50,515,691)Cullen LLR Emerald: Earned 50,000,000 credits (50,743,293)ESP LLR Emerald: Earned 50,000,000 credits (50,849,415)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,473,530)PPS LLR Emerald: Earned 50,000,000 credits (78,166,592)PSP LLR Emerald: Earned 50,000,000 credits (51,069,305)SoB LLR Emerald: Earned 50,000,000 credits (51,885,310)SR5 LLR Emerald: Earned 50,000,000 credits (50,409,361)SGS LLR Emerald: Earned 50,000,000 credits (50,445,782)TRP LLR Double Bronze: Earned 100,000,000 credits (100,402,493)Woodall LLR Emerald: Earned 50,000,000 credits (74,008,553)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,380,527)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (744,531)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,007,004)PPS Sieve Double Gold: Earned 500,000,000 credits (636,648,331)TRP Sieve (suspended) Bronze: Earned 10,000 credits (21,181)AP 26/27 Double Silver: Earned 200,000,000 credits (202,222,774)GFN Double Gold: Earned 500,000,000 credits (637,023,067)WW Double Turquoise: Earned 5,000,000,000 credits (5,700,000,000)
Message 152252 - Posted: 14 Nov 2021 | 16:01:18 UTC

I will attempt to cover Intel:
For all intel (except for extreme beasts which you won't have) - run only 1 x SOB

For 16 and 18 core intel - run 2 x PSP
For all other intel run 1 x PSP

CUL & WOO?
Same as above.
For all 16 and 18 core CPUs run two tasks.
Otherwise just one.

GCW
Same as above, but 16 core may struggle (I am wondering why I mention the 16 core as I am the only person who has this CPU)

I am losing focus. The mind-chickens clucking at me!
Yes, yes, yes - I keep my imaginary chickens in my non-existent backyard.
Where else sensible should they be?

This thread started with good intention - can someone else save it?

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 930
ID: 3110
Credit: 244,481,377
RAC: 123,691
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de PrimesFound 3 primes in the 2022 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,148,133)Cullen LLR Ruby: Earned 2,000,000 credits (2,591,847)ESP LLR Amethyst: Earned 1,000,000 credits (1,657,625)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,251,083)PPS LLR Sapphire: Earned 20,000,000 credits (29,331,765)PSP LLR Turquoise: Earned 5,000,000 credits (5,182,638)SoB LLR Turquoise: Earned 5,000,000 credits (5,923,035)SR5 LLR Ruby: Earned 2,000,000 credits (2,603,308)SGS LLR Ruby: Earned 2,000,000 credits (2,139,194)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Ruby: Earned 2,000,000 credits (3,398,689)Woodall LLR Ruby: Earned 2,000,000 credits (2,732,873)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,915,071)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (97,322,801)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (6,368,553)GFN Sapphire: Earned 20,000,000 credits (42,522,624)WW Sapphire: Earned 20,000,000 credits (20,044,000)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 152307 - Posted: 19 Nov 2021 | 5:52:40 UTC

The general rule is cash. Spend as much cash as you can to get the best performance.

Wait, I think I misspelled something. Let's try again. ;)

The general rule is cache. Run as many tasks as you can without their total memory use overflowing your CPU's cache. (Much. A little might be OK, but that's debatable.)

How much memory does each task use? Eight times the FFT size.

How do you know how much cash you have? Check with your bank.

Dangit, miss-speeled again! :P

How do you know how much cache you have? For Intel, look at https://ark.intel.com/.

Profile Eudy SilvaProject donor
Avatar
Send message
Joined: 26 Aug 17
Posts: 1957
ID: 918937
Credit: 558,666,984
RAC: 159,247
Discovered 2 mega primesFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,187,213)Cullen LLR Amethyst: Earned 1,000,000 credits (1,349,947)ESP LLR Amethyst: Earned 1,000,000 credits (1,151,976)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,199,207)PPS LLR Sapphire: Earned 20,000,000 credits (29,335,276)PSP LLR Amethyst: Earned 1,000,000 credits (1,476,639)SoB LLR Ruby: Earned 2,000,000 credits (2,432,091)SR5 LLR Ruby: Earned 2,000,000 credits (3,137,603)SGS LLR Amethyst: Earned 1,000,000 credits (1,462,951)TRP LLR Ruby: Earned 2,000,000 credits (2,010,675)Woodall LLR Amethyst: Earned 1,000,000 credits (1,231,973)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,119,749)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,005,331)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,101,845)AP 26/27 Double Bronze: Earned 100,000,000 credits (100,120,852)GFN Double Bronze: Earned 100,000,000 credits (108,101,282)WW Double Silver: Earned 200,000,000 credits (200,192,000)PSA Ruby: Earned 2,000,000 credits (2,059,222)
Message 152311 - Posted: 19 Nov 2021 | 10:23:29 UTC - in response to Message 152307.

For more cache, can I write a check ? :)
____________

"Accidit in puncto, quod non contingit in anno."
Something that does not occur in a year may, perchance, happen in a moment.

Profile GrebulonerProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Nov 09
Posts: 468
ID: 49572
Credit: 2,734,779,060
RAC: 3,592,084
Discovered 3 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 Primes321 LLR Sapphire: Earned 20,000,000 credits (46,760,418)Cullen LLR Sapphire: Earned 20,000,000 credits (22,038,566)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 (63,340,486)PSP LLR Sapphire: Earned 20,000,000 credits (20,571,669)SoB LLR Emerald: Earned 50,000,000 credits (50,873,282)SR5 LLR Sapphire: Earned 20,000,000 credits (23,807,284)SGS LLR Sapphire: Earned 20,000,000 credits (22,230,633)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 (suspended) Ruby: Earned 2,000,000 credits (4,178,073)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 (515,101,493)GFN Double Silver: Earned 200,000,000 credits (278,220,852)WW Double Gold: Earned 500,000,000 credits (790,044,000)PSA Double Bronze: Earned 100,000,000 credits (126,200,096)
Message 152314 - Posted: 19 Nov 2021 | 13:15:11 UTC - in response to Message 152307.

How do you know how much cache you have? For Intel, look at https://ark.intel.com/.


L3 cache, specifically, is the number to go by.

Except for Intel Skylake-X and newer HEDT cpus, where it's L2+L3.
____________
Eating more cheese on Thursdays.

Profile dannyridel
Volunteer tester
Avatar
Send message
Joined: 3 Feb 19
Posts: 981
ID: 1097922
Credit: 52,224,342
RAC: 155,081
Discovered 1 mega prime321 LLR Amethyst: Earned 1,000,000 credits (1,141,452)Cullen LLR Gold: Earned 500,000 credits (719,717)ESP LLR Gold: Earned 500,000 credits (517,207)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,116,617)PPS LLR Ruby: Earned 2,000,000 credits (3,567,975)PSP LLR Gold: Earned 500,000 credits (616,940)SoB LLR Gold: Earned 500,000 credits (533,625)SR5 LLR Gold: Earned 500,000 credits (664,541)SGS LLR Amethyst: Earned 1,000,000 credits (1,004,784)TRP LLR Gold: Earned 500,000 credits (975,469)Woodall LLR Gold: Earned 500,000 credits (628,730)321 Sieve (suspended) Gold: Earned 500,000 credits (506,814)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (30,033)PPS Sieve Turquoise: Earned 5,000,000 credits (5,227,961)AP 26/27 Ruby: Earned 2,000,000 credits (4,580,719)GFN Turquoise: Earned 5,000,000 credits (8,886,795)WW Sapphire: Earned 20,000,000 credits (21,136,000)PSA Silver: Earned 100,000 credits (373,034)
Message 152315 - Posted: 19 Nov 2021 | 22:31:20 UTC

Search amd.com for the CPU model to check cache too. L2+L3 also applies for AMD CPUs.
____________
My lucky number is 6219*2^3374198+1


Profile Jordan Romaidis
Avatar
Send message
Joined: 11 May 17
Posts: 262
ID: 880615
Credit: 808,970,451
RAC: 11
Discovered 5 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2018 Tour de PrimesFound 2 primes in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de PrimesFound 1 prime in the 2020 Tour de Primes Mountain StageFound 1 mega prime in the 2020 Tour de Primes Mountain StageFound 1 prime in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,014,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,080,460)ESP LLR Gold: Earned 500,000 credits (502,799)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,000,054)PPS LLR Emerald: Earned 50,000,000 credits (99,826,319)PSP LLR Amethyst: Earned 1,000,000 credits (1,092,773)SoB LLR Sapphire: Earned 20,000,000 credits (41,382,619)SR5 LLR Sapphire: Earned 20,000,000 credits (20,474,667)SGS LLR Sapphire: Earned 20,000,000 credits (20,284,625)TRP LLR Gold: Earned 500,000 credits (821,174)Woodall LLR Jade: Earned 10,000,000 credits (15,028,246)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,084,376)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,606,749)PPS Sieve Sapphire: Earned 20,000,000 credits (30,065,949)AP 26/27 Double Silver: Earned 200,000,000 credits (257,603,788)GFN Double Bronze: Earned 100,000,000 credits (175,049,460)WW Emerald: Earned 50,000,000 credits (59,040,000)PSA Emerald: Earned 50,000,000 credits (53,011,665)
Message 152786 - Posted: 25 Dec 2021 | 6:11:09 UTC - in response to Message 152252.


For all intel (except for extreme beasts which you won't have) - run only 1 x SOB


What is your reasoning behind this?

Profile NickProject donor
Avatar
Send message
Joined: 11 Jul 11
Posts: 2075
ID: 105020
Credit: 7,860,989,232
RAC: 3,746,155
Discovered 9 mega primesFound 5 primes in the 2020 Tour de PrimesFound 2 mega primes in the 2020 Tour de PrimesFound 4 primes in the 2021 Tour de PrimesFound 2 mega primes in the 2021 Tour de PrimesFound 3 primes in the 2022 Tour de Primes321 LLR Emerald: Earned 50,000,000 credits (50,515,691)Cullen LLR Emerald: Earned 50,000,000 credits (50,743,293)ESP LLR Emerald: Earned 50,000,000 credits (50,849,415)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,473,530)PPS LLR Emerald: Earned 50,000,000 credits (78,166,592)PSP LLR Emerald: Earned 50,000,000 credits (51,069,305)SoB LLR Emerald: Earned 50,000,000 credits (51,885,310)SR5 LLR Emerald: Earned 50,000,000 credits (50,409,361)SGS LLR Emerald: Earned 50,000,000 credits (50,445,782)TRP LLR Double Bronze: Earned 100,000,000 credits (100,402,493)Woodall LLR Emerald: Earned 50,000,000 credits (74,008,553)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,380,527)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (744,531)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,007,004)PPS Sieve Double Gold: Earned 500,000,000 credits (636,648,331)TRP Sieve (suspended) Bronze: Earned 10,000 credits (21,181)AP 26/27 Double Silver: Earned 200,000,000 credits (202,222,774)GFN Double Gold: Earned 500,000,000 credits (637,023,067)WW Double Turquoise: Earned 5,000,000,000 credits (5,700,000,000)
Message 152787 - Posted: 25 Dec 2021 | 12:11:01 UTC - in response to Message 152786.
Last modified: 25 Dec 2021 | 12:17:51 UTC

I have Intel CPUs that can actually run 1 x SOB task fully within cache.
My reasoning wasn't very much, looking a far to the colour of blue in the sky.
(I was tripping - not literally, but what is the difference if measured?)
Edit: I am not trying to be un-kind. I never wish that. I just trip on.
Christmas has found me thinking and observing further - whatever that means.
Clarity, honesty (to a level to one's self) and the desire for things to be real.
It may be easier to define real by what it is not.
I'm writing this in the wrong thread aren't I?
"Yep"
"You have this tripped out weird non-sensical thread a couple of mouse clicks away"

Post to thread

Message boards : Number crunching : How many threads to run to get best performance?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2022 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.34, 1.97, 2.29
Generated 5 Dec 2022 | 7:44:03 UTC