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 : General discussion : Some questions from a newbie

Author Message
krices
Send message
Joined: 23 Mar 23
Posts: 1
ID: 1571619
Credit: 14,720,575
RAC: 102,092
321 LLR Silver: Earned 100,000 credits (119,528)Cullen LLR Silver: Earned 100,000 credits (144,781)ESP LLR Silver: Earned 100,000 credits (113,970)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (107,920)PPS LLR Amethyst: Earned 1,000,000 credits (1,882,321)PSP LLR Silver: Earned 100,000 credits (124,302)SoB LLR Silver: Earned 100,000 credits (107,552)SR5 LLR Silver: Earned 100,000 credits (104,658)SGS LLR Bronze: Earned 10,000 credits (10,218)TRP LLR Silver: Earned 100,000 credits (117,028)Woodall LLR Silver: Earned 100,000 credits (139,892)Cullen/Woodall Sieve Silver: Earned 100,000 credits (114,758)PPS Sieve Ruby: Earned 2,000,000 credits (2,002,374)AP 26/27 Silver: Earned 100,000 credits (177,892)GFN Turquoise: Earned 5,000,000 credits (9,453,876)
Message 161356 - Posted: 31 Mar 2023 | 7:14:50 UTC

Hey :) Just started crunching primes recently, and have collected some questions since then that I'm hoping some of you veterans can answer-

1. First of all, why are so many sub-projects "cpu only"? Are the computations involved not suitable for GPUs, or is it just that there isn't a program available to do those task with a GPU?

2. Is it possible to set "number of threads" independently for each sub-project? Some seem to recommend multiple threads, and some just one, but the only configuration I can find applies to all at once, which makes it awkward if you want to contribute to many of them.

3. Is it reasonable to estimate the "chance of finding a prime" from the stats here (https://www.primegrid.com/stats_genefer.php) by simply taking (completed workunits)/(primes found). (do the numbers include proof tasks?)

Thanks!

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1963
ID: 352
Credit: 6,420,056,055
RAC: 2,653,228
Discovered 15 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 StageFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 3 primes in the 2023 Tour de PrimesFound 1 mega prime in the 2023 Tour de PrimesFound 1 prime in the 2023 Tour de Primes Mountain Stage321 LLR Double Bronze: Earned 100,000,000 credits (111,840,588)Cullen LLR Double Bronze: Earned 100,000,000 credits (118,233,898)ESP LLR Double Bronze: Earned 100,000,000 credits (100,642,296)Generalized Cullen/Woodall LLR Double Bronze: Earned 100,000,000 credits (106,956,296)PPS LLR Double Silver: Earned 200,000,000 credits (248,728,523)PSP LLR Double Bronze: Earned 100,000,000 credits (111,661,400)SoB LLR Double Bronze: Earned 100,000,000 credits (133,324,006)SR5 LLR Double Silver: Earned 200,000,000 credits (288,272,862)SGS LLR Double Bronze: Earned 100,000,000 credits (103,555,340)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Double Bronze: Earned 100,000,000 credits (131,874,357)Woodall LLR Double Bronze: Earned 100,000,000 credits (101,172,892)321 Sieve (suspended) Double Bronze: Earned 100,000,000 credits (115,948,450)Cullen/Woodall Sieve Double Bronze: Earned 100,000,000 credits (100,408,718)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 (277,197,773)GFN Double Amethyst: Earned 1,000,000,000 credits (1,211,429,299)WW (retired) Double Ruby: Earned 2,000,000,000 credits (2,018,796,000)PSA Double Gold: Earned 500,000,000 credits (536,055,990)
Message 161360 - Posted: 31 Mar 2023 | 8:22:41 UTC

Hi :-)

All good question and basically general answer would be "yes" to all.

Ad 2 - for me, it makes (more) sense if one comupter is doing one sub-project and different one doing something else.

Why?
Some CPU are doing better on short task, some on longer.
See recent How to optimize the number of threads form example.

Why not?
Running multiple kind of task on single computer would be probably less efficient and frankly, single compuetr has minicrule change of finding primes on several subprojects.

With single/small number of computers, I would run one subproject to find a primes, then contunie to more demanding one.

Ad 3 - basically, larger the candidate, smaller the chance of finding a prime.
See also Is there a 'probability of finding a prime' listed anywhere? for examples and formula.
____________
My stats

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1907
ID: 37043
Credit: 831,688,438
RAC: 818,552
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 (8,476,403)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 (3,130,931)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 Sapphire: Earned 20,000,000 credits (44,529,495)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (382,827,696)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 (144,473,275)WW (retired) Emerald: Earned 50,000,000 credits (64,048,000)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 161361 - Posted: 31 Mar 2023 | 10:44:29 UTC - in response to Message 161356.

Hey :) Just started crunching primes recently, and have collected some questions since then that I'm hoping some of you veterans can answer-



2. Is it possible to set "number of threads" independently for each sub-project? Some seem to recommend multiple threads, and some just one, but the only configuration I can find applies to all at once, which makes it awkward if you want to contribute to many of them.

Thanks!


Yes just use the 'venues' ie default or blank, home, school, work, and then all the Planets if you have enough pc's and want to have each pc running a different sub-project. BUT as was said before focusing on one sub-project at a time is much easier and more likely for you to find a prime number. Especially since some of the cpu only sub-projects can take 150K seconds, or more, to run a single task.

It also depends on how much difference there is between your pc's, if they are close in how long they take to crunch a task then putting them in the same venue makes alot of sense, but if you have ie a dual core and an 16 core pc it might more sense to split them to get the most efficiency out of each of them. It's alot of trial and error but some of the long time crunchers here can help you with figuring out how to optimize your crunching.

Yves GallotProject donor
Volunteer developer
Project scientist
Send message
Joined: 19 Aug 12
Posts: 843
ID: 164101
Credit: 306,554,426
RAC: 5,458
GFN Double Silver: Earned 200,000,000 credits (306,554,426)
Message 161362 - Posted: 31 Mar 2023 | 14:14:38 UTC - in response to Message 161356.

3. Is it reasonable to estimate the "chance of finding a prime" from the stats here (https://www.primegrid.com/stats_genefer.php) by simply taking (completed workunits)/(primes found). (do the numbers include proof tasks?)

Yes but a mathematical result can also be applied: the expected number of WUs is e log N / log pmax,
where γ is Euler's constant, N the tested number and pmax the sieve limit that can be found here for GFN.
For the GFN in progress, we have
15 8,100 16 15,400 17 29,600 18 52,000 19 97,000 20 181,000 21 335,000 22 609,000 DYFL 673,000
Note that the likelihood of success is 50% for log 2 ~ 0.693147 times the expected number of WUs.
The number of GFN-17 primes is about #WUs / 29,600 but less than 20,500 tasks are needed for half of the participants.
That's because few unlucky searchers need more than 50,000 or even 100,000 tasks.

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1907
ID: 37043
Credit: 831,688,438
RAC: 818,552
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 (8,476,403)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 (3,130,931)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 Sapphire: Earned 20,000,000 credits (44,529,495)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (382,827,696)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 (144,473,275)WW (retired) Emerald: Earned 50,000,000 credits (64,048,000)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 161388 - Posted: 1 Apr 2023 | 11:22:03 UTC - in response to Message 161362.


For the GFN in progress, we have

DYFL 673,000


That's ALOT of DYFL tasks in progress!!!

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 1172
ID: 55391
Credit: 1,221,586,795
RAC: 1,513,610
Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2022 Tour de PrimesFound 1 prime in the 2023 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (12,025,988)Cullen LLR Ruby: Earned 2,000,000 credits (3,619,286)ESP LLR Ruby: Earned 2,000,000 credits (3,433,680)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,443,837)PPS LLR Emerald: Earned 50,000,000 credits (51,578,448)PSP LLR Turquoise: Earned 5,000,000 credits (7,464,143)SoB LLR Emerald: Earned 50,000,000 credits (52,068,899)SR5 LLR Turquoise: Earned 5,000,000 credits (7,459,747)SGS LLR Turquoise: Earned 5,000,000 credits (6,499,161)TRP LLR Turquoise: Earned 5,000,000 credits (7,584,042)Woodall LLR Amethyst: Earned 1,000,000 credits (1,780,886)321 Sieve (suspended) Emerald: Earned 50,000,000 credits (50,256,050)Cullen/Woodall Sieve Double Bronze: Earned 100,000,000 credits (100,055,214)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Gold: Earned 500,000,000 credits (519,957,145)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Double Bronze: Earned 100,000,000 credits (103,478,322)GFN Emerald: Earned 50,000,000 credits (88,954,791)WW (retired) Sapphire: Earned 20,000,000 credits (20,000,000)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 161390 - Posted: 1 Apr 2023 | 11:28:25 UTC - in response to Message 161388.
Last modified: 1 Apr 2023 | 11:29:23 UTC


For the GFN in progress, we have

DYFL 673,000


That's ALOT of DYFL tasks in progress!!!

I think you misunderstood.
The "GFN in progress" means the kinds of subprojects available to work on.
The table shows the number of workunits expected to be processed before finding a prime in that subproject.

Profile Pooh Bear 27Project donor
Avatar
Send message
Joined: 10 May 09
Posts: 809
ID: 39821
Credit: 2,110,225,013
RAC: 1,588,562
Discovered 2 mega primesEliminated 1 conjecture "k"Discovered 1 twin prime2022 Tour de Primes largest primeFound 1 prime in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,092,656)Cullen LLR Jade: Earned 10,000,000 credits (12,030,513)ESP LLR Jade: Earned 10,000,000 credits (10,344,400)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,267,839)PPS LLR Sapphire: Earned 20,000,000 credits (26,114,586)PSP LLR Jade: Earned 10,000,000 credits (19,513,382)SoB LLR Sapphire: Earned 20,000,000 credits (34,016,340)SR5 LLR Jade: Earned 10,000,000 credits (16,096,531)SGS LLR Jade: Earned 10,000,000 credits (11,548,106)TRP LLR Jade: Earned 10,000,000 credits (11,153,506)Woodall LLR Jade: Earned 10,000,000 credits (12,728,327)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,000,576)Cullen/Woodall Sieve Double Bronze: Earned 100,000,000 credits (189,029,025)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (6,843,367)PPS Sieve Double Silver: Earned 200,000,000 credits (248,763,985)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (6,473,750)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,243,608)AP 26/27 Sapphire: Earned 20,000,000 credits (34,452,529)GFN Double Gold: Earned 500,000,000 credits (706,953,464)WW (retired) Double Gold: Earned 500,000,000 credits (729,524,000)PSA Turquoise: Earned 5,000,000 credits (5,042,125)
Message 161396 - Posted: 1 Apr 2023 | 11:33:53 UTC

I agree with most of what is said. That in mind, there are a couple of subprojects that do work OK together with the same number of threads, because the sizes of the work are similar. One examples of this is CUL and WOO.
____________
My lucky numbers are 121*2^4553899-1 and 3756801695685*2^666669±1
My movie https://vimeo.com/manage/videos/502242

Post to thread

Message boards : General discussion : Some questions from a newbie

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.98, 1.77, 1.91
Generated 29 Sep 2023 | 13:44:19 UTC