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 : Seventeen or Bust : Spliting SoB WUs in smaller pieces?

Author Message
Profile Rincewind
Avatar
Send message
Joined: 2 Dec 06
Posts: 10
ID: 4079
Credit: 3,557,638
RAC: 0
ESP LLR Bronze: Earned 10,000 credits (11,421)PPS LLR Silver: Earned 100,000 credits (148,130)PSP LLR Silver: Earned 100,000 credits (451,908)SoB LLR Ruby: Earned 2,000,000 credits (2,683,550)SR5 LLR Bronze: Earned 10,000 credits (78,871)TRP LLR Bronze: Earned 10,000 credits (65,997)PPS Sieve Silver: Earned 100,000 credits (103,441)
Message 80628 - Posted: 31 Oct 2014 | 7:52:41 UTC

Hi,

Is there a posibility to split the SoB WUs in smaller pieces/WUs?

Imho this would have some advantages:
- people which crunch only some hours per day/per week can contribute to SoB
- if a small WU is lost (error/hardware crash ...) the 'wasted' time is lower compared to a full WU

Maybe it is possible to use some checkboxes in the projectselection like:
Send full WU = Yes/No
Send small WU =Yes/No

____________

Profile Pooh Bear 27Project donor
Avatar
Send message
Joined: 10 May 09
Posts: 805
ID: 39821
Credit: 1,941,528,407
RAC: 1,380,102
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 Turquoise: Earned 5,000,000 credits (7,042,306)Cullen LLR Jade: Earned 10,000,000 credits (12,030,513)ESP LLR Turquoise: Earned 5,000,000 credits (7,601,620)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 Jade: Earned 10,000,000 credits (16,870,747)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 Sapphire: Earned 20,000,000 credits (43,301,745)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 80629 - Posted: 31 Oct 2014 | 9:31:06 UTC

It would be hard to do, this means a whole rewrite of the software. You are doing a complete check of a single number and to split that means it would have to send a lot of data back to the server, the server would have to then create a new unit out of that data and then send that out. It would take a lot longer to get a completed unit. Plus the people that get the first part(s) would never find a prime as you are just doing part of the work.

Just not conceivable.

____________
My lucky numbers are 121*2^4553899-1 and 3756801695685*2^666669±1
My movie https://vimeo.com/manage/videos/502242

Profile Rincewind
Avatar
Send message
Joined: 2 Dec 06
Posts: 10
ID: 4079
Credit: 3,557,638
RAC: 0
ESP LLR Bronze: Earned 10,000 credits (11,421)PPS LLR Silver: Earned 100,000 credits (148,130)PSP LLR Silver: Earned 100,000 credits (451,908)SoB LLR Ruby: Earned 2,000,000 credits (2,683,550)SR5 LLR Bronze: Earned 10,000 credits (78,871)TRP LLR Bronze: Earned 10,000 credits (65,997)PPS Sieve Silver: Earned 100,000 credits (103,441)
Message 80630 - Posted: 31 Oct 2014 | 9:53:39 UTC

I get your points,

my idea came from the fact that the SoB-Client (and mprime) are able to pause and resume the work on a candidate so I thought it would be 'easy' to stop the job after a certain amount of iterations and send the needed informations back to the server which can resend these informations as a new WU (I have absolutely no idea about the amount of work this would cause).
For those who want the chance to find a prime there could be the WU-switch I mentioned.
____________

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1957
ID: 352
Credit: 6,149,297,698
RAC: 2,302,314
Discovered 14 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 (105,242,843)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,370,910)PSP LLR Double Bronze: Earned 100,000,000 credits (111,661,400)SoB LLR Double Bronze: Earned 100,000,000 credits (113,220,736)SR5 LLR Double Silver: Earned 200,000,000 credits (201,117,461)SGS LLR Double Bronze: Earned 100,000,000 credits (103,552,347)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 Sapphire: Earned 20,000,000 credits (39,242,737)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 (240,277,097)GFN Double Amethyst: Earned 1,000,000,000 credits (1,153,782,876)WW (retired) Double Ruby: Earned 2,000,000,000 credits (2,018,796,000)PSA Double Gold: Earned 500,000,000 credits (535,232,795)
Message 80631 - Posted: 31 Oct 2014 | 12:23:38 UTC

This it not the first time such a suggestion was experessed.

See this post in "Send WUs to 3 users instead of 2?" for example.

As PB pointed, it would need rewritting a lot of aplication and BOINC server code, quite complex.
And potentional gain is questionable.

Another approach is to make LLR running on GPU. This has been tested but benefit was not there - it wasn't consdiderable fast and still used CPU code to feed GPU.

Yet another approach is to make LLR application (that does SoB test) multi-threaded.
A single test would run shorted time - 1/2, 1/4 or even less time depending on number of cores and overall effeciency of application.
But this would also need a considerable rewrite of LLR app, extensive testing and some adjustemnt to the BOINC server side.

Above all, PrimeGrid project is not author of LLR but rather a contributor and intensive user.
____________
My stats

Profile Rincewind
Avatar
Send message
Joined: 2 Dec 06
Posts: 10
ID: 4079
Credit: 3,557,638
RAC: 0
ESP LLR Bronze: Earned 10,000 credits (11,421)PPS LLR Silver: Earned 100,000 credits (148,130)PSP LLR Silver: Earned 100,000 credits (451,908)SoB LLR Ruby: Earned 2,000,000 credits (2,683,550)SR5 LLR Bronze: Earned 10,000 credits (78,871)TRP LLR Bronze: Earned 10,000 credits (65,997)PPS Sieve Silver: Earned 100,000 credits (103,441)
Message 80632 - Posted: 31 Oct 2014 | 12:28:50 UTC

OK, thank you both for the answers.

I thought that it is 'only' necesarry to change the behavior from the application.
But it looks like there is a lot more to do. thx.
____________

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 14011
ID: 53948
Credit: 435,948,523
RAC: 876,383
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,638,389)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,067,618)SR5 LLR Sapphire: Earned 20,000,000 credits (22,069,718)SGS LLR Turquoise: Earned 5,000,000 credits (6,361,962)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 Sapphire: Earned 20,000,000 credits (31,015,963)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 Jade: Earned 10,000,000 credits (17,832,347)GFN Double Bronze: Earned 100,000,000 credits (108,153,926)WW (retired) Emerald: Earned 50,000,000 credits (88,580,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 80633 - Posted: 31 Oct 2014 | 12:45:10 UTC - in response to Message 80632.

OK, thank you both for the answers.

I thought that it is 'only' necesarry to change the behavior from the application.
But it looks like there is a lot more to do. thx.


Unlike some other projects, you can't just make these tasks longer or shorter. We can with sieves, but not with primality tests. It's already as short as possible: it's doing just one test.

It's theoretically possible to split the single test into multiple parts, but at tremendous cost in terms of disk storage and bandwidth, since we'd have to move very large checkpoint files back and forth and store them on the server. Additionally, the LLR program (which is written by an outside party) would need to be modified to stop after a specific number of iterations.

So while it could in theory be done, it's extremely unlikely to happen.
____________
My lucky number is 75898524288+1

Profile Pooh Bear 27Project donor
Avatar
Send message
Joined: 10 May 09
Posts: 805
ID: 39821
Credit: 1,941,528,407
RAC: 1,380,102
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 Turquoise: Earned 5,000,000 credits (7,042,306)Cullen LLR Jade: Earned 10,000,000 credits (12,030,513)ESP LLR Turquoise: Earned 5,000,000 credits (7,601,620)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 Jade: Earned 10,000,000 credits (16,870,747)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 Sapphire: Earned 20,000,000 credits (43,301,745)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 80638 - Posted: 31 Oct 2014 | 22:26:41 UTC

CUDA 6.5 is supposed to have some enhancements that a GPU LLR may benefit from. I know it's not a top priority, but something the developers could look at when time permits.

Message boards : Seventeen or Bust : Spliting SoB WUs in smaller pieces?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.79, 0.92, 1.12
Generated 7 Jun 2023 | 9:33:47 UTC