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 : Generalized Fermat Prime Search : Scheduler

Author Message
Profile BurProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Feb 20
Posts: 465
ID: 1241833
Credit: 284,621,651
RAC: 683,331
321 LLR Ruby: Earned 2,000,000 credits (2,092,823)Cullen LLR Ruby: Earned 2,000,000 credits (2,289,208)ESP LLR Amethyst: Earned 1,000,000 credits (1,445,099)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,180,764)PPS LLR Amethyst: Earned 1,000,000 credits (1,225,852)PSP LLR Ruby: Earned 2,000,000 credits (2,064,832)SoB LLR Amethyst: Earned 1,000,000 credits (1,669,219)SR5 LLR Ruby: Earned 2,000,000 credits (2,065,004)SGS LLR Amethyst: Earned 1,000,000 credits (1,415,335)TRP LLR Ruby: Earned 2,000,000 credits (2,089,856)Woodall LLR Ruby: Earned 2,000,000 credits (2,112,258)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,107,153)PPS Sieve Turquoise: Earned 5,000,000 credits (5,096,952)AP 26/27 Turquoise: Earned 5,000,000 credits (5,150,782)GFN Turquoise: Earned 5,000,000 credits (7,510,843)WW Double Silver: Earned 200,000,000 credits (243,096,000)PSA Amethyst: Earned 1,000,000 credits (1,022,470)
Message 144827 - Posted: 29 Oct 2020 | 19:44:00 UTC

I recently managed to keep BOINC from prefetching GFN tasks which caused each task to have a 2 minutes longer send/receive duration. I didn't see any change in the "first ratio", though.

The reason being, nearly all tasks where I'm second the other host got the task 10-15 minutes earlier than me. With these short tasks that means, they are first. Of course, the same is true other way around, I often get 1st against 2080s just because I got the task 10 minutes before them.

Accordingly, 1st ratio is around 50%, since it's randomly decided who gets the task first. This might even be a good thing, but I'm not so sure. :) Is there a way to prevent this from happening or are the GFN tasks so rarely fetched that it cannot be helped? It's GFN17-mega.
____________
1281979 * 2^485014 + 1 is prime ... no further hits up to: n = 4,800,000

Profile MeFigaYoma
Volunteer tester
Send message
Joined: 8 Feb 15
Posts: 74
ID: 381234
Credit: 34,606,667
RAC: 46,834
321 LLR Ruby: Earned 2,000,000 credits (2,311,667)Cullen LLR Ruby: Earned 2,000,000 credits (2,508,034)ESP LLR Ruby: Earned 2,000,000 credits (2,025,600)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,227,818)PPS LLR Gold: Earned 500,000 credits (866,512)PSP LLR Ruby: Earned 2,000,000 credits (2,918,921)SoB LLR Ruby: Earned 2,000,000 credits (2,033,928)SR5 LLR Gold: Earned 500,000 credits (537,853)SGS LLR Ruby: Earned 2,000,000 credits (2,020,983)TRP LLR Ruby: Earned 2,000,000 credits (2,024,298)Woodall LLR Ruby: Earned 2,000,000 credits (2,064,990)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,027,868)PPS Sieve Ruby: Earned 2,000,000 credits (4,904,805)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,011,010)AP 26/27 Ruby: Earned 2,000,000 credits (2,175,134)GFN Gold: Earned 500,000 credits (758,352)WW Ruby: Earned 2,000,000 credits (2,156,000)PSA Bronze: Earned 10,000 credits (32,893)
Message 144867 - Posted: 30 Oct 2020 | 17:41:36 UTC
Last modified: 30 Oct 2020 | 17:49:40 UTC

I was curious about how often not prefetching tasks helps to get a 1st, so I looked at the range including my most recent 100 validated workunits for which I got 1st (without prefetching) for GFN-16. They take me about 5:11 each.

216 total WUs
118 (54.6%) 1st (or still pending), and would have been 1st even if I had prefetched (that is, I returned task at least 2:30 before wingman)
89 (41.2%) 2nd
9 (4.2%) 1st, but would have been 2nd had I prefetched (that is, I returned task less than 2:30 before wingman)

Conclusion: for roughly 95% of workunits, the server decides who gets 1st.

I'm not certain how this scales to longer tasks.

Edit: I looked at BOINC manager as a task was completing, and it seemed to take roughly 8 seconds between completing one task and starting the next. This is about 2.6% of the time it takes me to complete one task, so if I had prefetched, I would have been able to do an extra 5 WUs in the time it took to do the 216 above. Maybe better to turn it back on...less selfish too...

stream
Volunteer moderator
Project administrator
Volunteer developer
Volunteer tester
Send message
Joined: 1 Mar 14
Posts: 923
ID: 301928
Credit: 513,315,336
RAC: 4,131
Discovered 1 mega primeFound 1 prime 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 Jade: Earned 10,000,000 credits (10,011,570)Cullen LLR Jade: Earned 10,000,000 credits (10,009,374)ESP LLR Jade: Earned 10,000,000 credits (10,009,221)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (10,012,217)PPS LLR Jade: Earned 10,000,000 credits (16,281,812)PSP LLR Jade: Earned 10,000,000 credits (10,044,081)SoB LLR Jade: Earned 10,000,000 credits (10,064,750)SR5 LLR Jade: Earned 10,000,000 credits (10,002,051)SGS LLR Jade: Earned 10,000,000 credits (10,001,295)TRP LLR Jade: Earned 10,000,000 credits (10,002,411)Woodall LLR Jade: Earned 10,000,000 credits (10,013,921)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,004,228)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,047,667)PPS Sieve Sapphire: Earned 20,000,000 credits (20,866,490)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,043,271)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,015,177)AP 26/27 Sapphire: Earned 20,000,000 credits (20,045,194)GFN Emerald: Earned 50,000,000 credits (55,355,287)WW Sapphire: Earned 20,000,000 credits (20,184,000)PSA Double Silver: Earned 200,000,000 credits (200,301,443)
Message 144873 - Posted: 30 Oct 2020 | 22:06:48 UTC - in response to Message 144827.

Accordingly, 1st ratio is around 50%, since it's randomly decided who gets the task first. This might even be a good thing, but I'm not so sure. :) Is there a way to prevent this from happening or are the GFN tasks so rarely fetched that it cannot be helped? It's GFN17-mega.

It's impossible without major rewrite of scheduler. It picks a random task from memory pool to start from. I think it was done to reduce contention and improve performance. Lot of clients are connecting at same time. If scheduler always started from, for example, first task in the pool, these multiple processes had to synchronize/wait/lock/whatever almost on each task to avoid simultaneous access (and change of) task record.

Profile BurProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Feb 20
Posts: 465
ID: 1241833
Credit: 284,621,651
RAC: 683,331
321 LLR Ruby: Earned 2,000,000 credits (2,092,823)Cullen LLR Ruby: Earned 2,000,000 credits (2,289,208)ESP LLR Amethyst: Earned 1,000,000 credits (1,445,099)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,180,764)PPS LLR Amethyst: Earned 1,000,000 credits (1,225,852)PSP LLR Ruby: Earned 2,000,000 credits (2,064,832)SoB LLR Amethyst: Earned 1,000,000 credits (1,669,219)SR5 LLR Ruby: Earned 2,000,000 credits (2,065,004)SGS LLR Amethyst: Earned 1,000,000 credits (1,415,335)TRP LLR Ruby: Earned 2,000,000 credits (2,089,856)Woodall LLR Ruby: Earned 2,000,000 credits (2,112,258)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,107,153)PPS Sieve Turquoise: Earned 5,000,000 credits (5,096,952)AP 26/27 Turquoise: Earned 5,000,000 credits (5,150,782)GFN Turquoise: Earned 5,000,000 credits (7,510,843)WW Double Silver: Earned 200,000,000 credits (243,096,000)PSA Amethyst: Earned 1,000,000 credits (1,022,470)
Message 144931 - Posted: 1 Nov 2020 | 7:54:08 UTC - in response to Message 144873.

Ok, good to know. I'm not sure if it's even a bad thing, it has a similar result as LLR2 had.

Even with a slow GPU you get a lot of 1st. But having a fast GPU still gives the advantage of more numbers tested.
____________
1281979 * 2^485014 + 1 is prime ... no further hits up to: n = 4,800,000

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13650
ID: 53948
Credit: 285,528,436
RAC: 39,566
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 1 mega primeFound 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 Primes321 LLR Turquoise: Earned 5,000,000 credits (5,132,712)Cullen LLR Turquoise: Earned 5,000,000 credits (5,038,114)ESP LLR Turquoise: Earned 5,000,000 credits (6,177,890)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,500,221)PPS LLR Sapphire: Earned 20,000,000 credits (20,751,038)PSP LLR Turquoise: Earned 5,000,000 credits (7,956,186)SoB LLR Sapphire: Earned 20,000,000 credits (36,067,618)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (3,718,606)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Turquoise: Earned 5,000,000 credits (5,032,821)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)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 (10,118,303)GFN Emerald: Earned 50,000,000 credits (78,031,938)WW Sapphire: Earned 20,000,000 credits (32,204,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 144941 - Posted: 1 Nov 2020 | 19:03:19 UTC

Please keep in mind that for most of our projects, the concept of "being first" in order to discover a prime either has already come to an end, or is likely to end sometime in the not too distant future. At some point, I expect all LLR and all Genefer projects to use fast double checking. Only the sieve-like projects AP27 and the upcoming WW project will still have the competition to be first.
____________
My lucky number is 75898524288+1

Michael Millerick
Volunteer tester
Send message
Joined: 4 Feb 09
Posts: 799
ID: 35074
Credit: 322,917,922
RAC: 313,355
Discovered 1 mega primeFound 3 primes in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,023,600)Cullen LLR Ruby: Earned 2,000,000 credits (2,016,794)ESP LLR Sapphire: Earned 20,000,000 credits (20,186,009)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (3,172,603)PPS LLR Jade: Earned 10,000,000 credits (19,460,823)PSP LLR Ruby: Earned 2,000,000 credits (3,043,852)SoB LLR Ruby: Earned 2,000,000 credits (2,031,453)SR5 LLR Ruby: Earned 2,000,000 credits (2,085,475)SGS LLR Ruby: Earned 2,000,000 credits (2,035,177)TRP LLR Ruby: Earned 2,000,000 credits (2,740,707)Woodall LLR Ruby: Earned 2,000,000 credits (2,046,592)321 Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,440,175)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,911,344)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,077,092)PPS Sieve Emerald: Earned 50,000,000 credits (50,200,870)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,034,014)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,774)AP 26/27 Sapphire: Earned 20,000,000 credits (20,227,947)GFN Emerald: Earned 50,000,000 credits (73,141,813)WW Emerald: Earned 50,000,000 credits (50,104,000)PSA Emerald: Earned 50,000,000 credits (52,866,806)
Message 144942 - Posted: 1 Nov 2020 | 19:10:10 UTC - in response to Message 144941.

At some point, I expect all LLR and all Genefer projects to use fast double checking.

I'm glad to hear that the fast double check will also be brought to the projects that yield smaller primes in the future.
____________

Post to thread

Message boards : Generalized Fermat Prime Search : Scheduler

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2021 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 4.84, 4.80, 4.46
Generated 27 Sep 2021 | 14:57:19 UTC