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 : Problems and Help : PG server sends too much tasks when running as a backup project

Author Message
Profile [B@P] DanielProject donor
Send message
Joined: 18 Dec 11
Posts: 70
ID: 123596
Credit: 648,090,401
RAC: 0
Discovered 3 mega primesFound 3 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (8,694,284)Cullen LLR Ruby: Earned 2,000,000 credits (2,769,124)ESP LLR Ruby: Earned 2,000,000 credits (4,575,671)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,036,594)PPS LLR Jade: Earned 10,000,000 credits (14,928,128)PSP LLR Turquoise: Earned 5,000,000 credits (8,934,045)SoB LLR Sapphire: Earned 20,000,000 credits (21,369,769)SR5 LLR Turquoise: Earned 5,000,000 credits (5,899,697)SGS LLR Turquoise: Earned 5,000,000 credits (5,884,857)TRP LLR Turquoise: Earned 5,000,000 credits (6,736,215)Woodall LLR Ruby: Earned 2,000,000 credits (4,718,281)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (22,742,002)Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,356,541)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,424,826)PPS Sieve Double Silver: Earned 200,000,000 credits (373,847,271)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,181,774)AP 26/27 Sapphire: Earned 20,000,000 credits (47,020,090)GFN Emerald: Earned 50,000,000 credits (60,959,876)WW Jade: Earned 10,000,000 credits (10,008,000)PSA Amethyst: Earned 1,000,000 credits (1,002,500)
Message 114240 - Posted: 3 Feb 2018 | 16:19:21 UTC

Hi,
In order to increase my odds at current TdP, I have configured PG as a backup project. By doing do BOINC client would not build any work buffer at all. However it turned out that PG server does not take into account number of threads per task configured at client, and always sends as much tasks as number of free CPU cores. I have checked sched_request_www.primegrid.com.xml and looks that client sends information about thread count for app to server. Below is part of this file for PPS Mega app. Please take a look on this.

<app_version> <app_name>llrMEGA</app_name> <version_num>800</version_num> <platform>x86_64-pc-linux-gnu</platform> <avg_ncpus>4.000000</avg_ncpus> <max_ncpus>1.000000</max_ncpus> <flops>4323964981.302576</flops> <api_version>7.7.0</api_version> <cmdline>-t 4</cmdline> </app_version>

____________

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13780
ID: 53948
Credit: 343,945,598
RAC: 11,355
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 Stage321 LLR Turquoise: Earned 5,000,000 credits (6,638,389)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 Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (23,416,635)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 (12,245,906)SGS LLR Turquoise: Earned 5,000,000 credits (5,036,951)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,902,645)GFN Emerald: Earned 50,000,000 credits (91,658,024)WW Emerald: Earned 50,000,000 credits (65,888,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 114241 - Posted: 3 Feb 2018 | 16:25:04 UTC
Last modified: 3 Feb 2018 | 16:28:14 UTC

At this time, I don't believe there's anything that can be done to correct that on the server side. The server doesn't support nor understand multithreading. That's why it's necessary to enable LLR multi-threading via app_config on the host side.
____________
My lucky number is 75898524288+1

Profile Rafael
Volunteer tester
Avatar
Send message
Joined: 22 Oct 14
Posts: 905
ID: 370496
Credit: 459,403,918
RAC: 159,669
321 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,020,730)PSP LLR Jade: Earned 10,000,000 credits (10,049,767)SoB LLR Jade: Earned 10,000,000 credits (13,698,824)SR5 LLR Jade: Earned 10,000,000 credits (10,003,746)SGS LLR Jade: Earned 10,000,000 credits (10,002,215)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)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,037,204)PPS Sieve Jade: Earned 10,000,000 credits (10,305,147)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 (50,015,953)GFN Sapphire: Earned 20,000,000 credits (39,587,351)WW Emerald: Earned 50,000,000 credits (50,712,000)PSA Double Bronze: Earned 100,000,000 credits (170,761,999)
Message 114242 - Posted: 3 Feb 2018 | 16:42:42 UTC

Hmm.. you could try janking it and have your BOINC report less CPU core, while using multi threading in app config to keep everything busy.

I don't know if this will work, but it's worth a shot.

Profile [B@P] DanielProject donor
Send message
Joined: 18 Dec 11
Posts: 70
ID: 123596
Credit: 648,090,401
RAC: 0
Discovered 3 mega primesFound 3 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (8,694,284)Cullen LLR Ruby: Earned 2,000,000 credits (2,769,124)ESP LLR Ruby: Earned 2,000,000 credits (4,575,671)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,036,594)PPS LLR Jade: Earned 10,000,000 credits (14,928,128)PSP LLR Turquoise: Earned 5,000,000 credits (8,934,045)SoB LLR Sapphire: Earned 20,000,000 credits (21,369,769)SR5 LLR Turquoise: Earned 5,000,000 credits (5,899,697)SGS LLR Turquoise: Earned 5,000,000 credits (5,884,857)TRP LLR Turquoise: Earned 5,000,000 credits (6,736,215)Woodall LLR Ruby: Earned 2,000,000 credits (4,718,281)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (22,742,002)Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,356,541)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,424,826)PPS Sieve Double Silver: Earned 200,000,000 credits (373,847,271)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,181,774)AP 26/27 Sapphire: Earned 20,000,000 credits (47,020,090)GFN Emerald: Earned 50,000,000 credits (60,959,876)WW Jade: Earned 10,000,000 credits (10,008,000)PSA Amethyst: Earned 1,000,000 credits (1,002,500)
Message 114245 - Posted: 3 Feb 2018 | 17:31:11 UTC - in response to Message 114241.

At this time, I don't believe there's anything that can be done to correct that on the server side. The server doesn't support nor understand multithreading. That's why it's necessary to enable LLR multi-threading via app_config on the host side.

I would expect that some generic support would be there, as client sends <avg_ncpus>4.000000</avg_ncpus> to server in scheduler request.
BTW, Client also sends <max_ncpus>1.000000</max_ncpus> - maybe this confuses server?
____________

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13780
ID: 53948
Credit: 343,945,598
RAC: 11,355
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 Stage321 LLR Turquoise: Earned 5,000,000 credits (6,638,389)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 Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (23,416,635)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 (12,245,906)SGS LLR Turquoise: Earned 5,000,000 credits (5,036,951)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,902,645)GFN Emerald: Earned 50,000,000 credits (91,658,024)WW Emerald: Earned 50,000,000 credits (65,888,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 114248 - Posted: 3 Feb 2018 | 17:53:34 UTC - in response to Message 114240.

Hi,
In order to increase my odds at current TdP, I have configured PG as a backup project.


I assume you're doing that to avoid the 2 to 3 minute lead time in the pre-fetch by the BOINC client? I have analyzed the primes currently showing on the TdP leaderboard. The results of this analysis are here: http://www.primegrid.com/forum_thread.php?id=7805&nowrap=true#114247.

You might want to read that before taking extraordinary measures to avoid the pre-fetch.
____________
My lucky number is 75898524288+1

Chaotic DisorderProject donor
Avatar
Send message
Joined: 24 Sep 10
Posts: 76
ID: 68547
Credit: 282,038,541
RAC: 0
Discovered 1 mega primeFound 1 prime in the 2018 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (12,772,341)Cullen LLR Gold: Earned 500,000 credits (588,204)ESP LLR Ruby: Earned 2,000,000 credits (3,650,366)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (765,031)PPS LLR Jade: Earned 10,000,000 credits (12,284,653)PSP LLR Amethyst: Earned 1,000,000 credits (1,881,456)SoB LLR Turquoise: Earned 5,000,000 credits (5,571,796)SR5 LLR Ruby: Earned 2,000,000 credits (3,017,622)SGS LLR Amethyst: Earned 1,000,000 credits (1,960,946)TRP LLR Amethyst: Earned 1,000,000 credits (1,182,488)Woodall LLR Gold: Earned 500,000 credits (719,170)321 Sieve (suspended) Silver: Earned 100,000 credits (499,544)Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (26,059)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (3,566,529)PPS Sieve Emerald: Earned 50,000,000 credits (69,156,537)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (25,179)TRP Sieve (suspended) Silver: Earned 100,000 credits (260,129)AP 26/27 Double Bronze: Earned 100,000,000 credits (101,083,086)GFN Emerald: Earned 50,000,000 credits (63,027,407)
Message 114284 - Posted: 4 Feb 2018 | 2:46:25 UTC - in response to Message 114248.

Hi,
In order to increase my odds at current TdP, I have configured PG as a backup project.


I assume you're doing that to avoid the 2 to 3 minute lead time in the pre-fetch by the BOINC client? I have analyzed the primes currently showing on the TdP leaderboard. The results of this analysis are here: http://www.primegrid.com/forum_thread.php?id=7805&nowrap=true#114247.

You might want to read that before taking extraordinary measures to avoid the pre-fetch.


If you change the resource share in project preferences to 0 it will finish a task and then download a new task after that one uploads. Downside is that it causes gaps between tasks.
____________

Message boards : Problems and Help : PG server sends too much tasks when running as a backup project

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2022 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.75, 0.79, 1.06
Generated 22 May 2022 | 19:40:42 UTC