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 : How to only download one WU at a time?

Author Message
GregCinAZProject donor
Send message
Joined: 12 Nov 18
Posts: 26
ID: 1077873
Credit: 87,063,262
RAC: 0
321 LLR Gold: Earned 500,000 credits (591,508)Cullen LLR Gold: Earned 500,000 credits (536,622)ESP LLR Gold: Earned 500,000 credits (621,103)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (567,153)PPS LLR Amethyst: Earned 1,000,000 credits (1,347,710)PSP LLR Gold: Earned 500,000 credits (571,730)SoB LLR Gold: Earned 500,000 credits (666,036)SR5 LLR Gold: Earned 500,000 credits (579,441)SGS LLR Gold: Earned 500,000 credits (752,650)TRP LLR Amethyst: Earned 1,000,000 credits (1,160,160)Woodall LLR Gold: Earned 500,000 credits (632,728)321 Sieve Turquoise: Earned 5,000,000 credits (5,022,403)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,038,005)PPS Sieve Sapphire: Earned 20,000,000 credits (47,719,876)AP 26/27 Turquoise: Earned 5,000,000 credits (5,838,092)GFN Jade: Earned 10,000,000 credits (13,333,867)PSA Turquoise: Earned 5,000,000 credits (5,084,177)
Message 131482 - Posted: 26 Jul 2019 | 13:32:01 UTC
Last modified: 26 Jul 2019 | 13:37:10 UTC

My computer has all 6 cores in use, but of them, only one WU is getting crunched by all 6 cores simultaneously (by design), while the other two are in waiting to run state. How can I keep these extraneous WUs from being downloaded?

GregCinAZProject donor
Send message
Joined: 12 Nov 18
Posts: 26
ID: 1077873
Credit: 87,063,262
RAC: 0
321 LLR Gold: Earned 500,000 credits (591,508)Cullen LLR Gold: Earned 500,000 credits (536,622)ESP LLR Gold: Earned 500,000 credits (621,103)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (567,153)PPS LLR Amethyst: Earned 1,000,000 credits (1,347,710)PSP LLR Gold: Earned 500,000 credits (571,730)SoB LLR Gold: Earned 500,000 credits (666,036)SR5 LLR Gold: Earned 500,000 credits (579,441)SGS LLR Gold: Earned 500,000 credits (752,650)TRP LLR Amethyst: Earned 1,000,000 credits (1,160,160)Woodall LLR Gold: Earned 500,000 credits (632,728)321 Sieve Turquoise: Earned 5,000,000 credits (5,022,403)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,038,005)PPS Sieve Sapphire: Earned 20,000,000 credits (47,719,876)AP 26/27 Turquoise: Earned 5,000,000 credits (5,838,092)GFN Jade: Earned 10,000,000 credits (13,333,867)PSA Turquoise: Earned 5,000,000 credits (5,084,177)
Message 131485 - Posted: 26 Jul 2019 | 14:09:37 UTC - in response to Message 131482.

Got it, nvm.

GregCinAZProject donor
Send message
Joined: 12 Nov 18
Posts: 26
ID: 1077873
Credit: 87,063,262
RAC: 0
321 LLR Gold: Earned 500,000 credits (591,508)Cullen LLR Gold: Earned 500,000 credits (536,622)ESP LLR Gold: Earned 500,000 credits (621,103)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (567,153)PPS LLR Amethyst: Earned 1,000,000 credits (1,347,710)PSP LLR Gold: Earned 500,000 credits (571,730)SoB LLR Gold: Earned 500,000 credits (666,036)SR5 LLR Gold: Earned 500,000 credits (579,441)SGS LLR Gold: Earned 500,000 credits (752,650)TRP LLR Amethyst: Earned 1,000,000 credits (1,160,160)Woodall LLR Gold: Earned 500,000 credits (632,728)321 Sieve Turquoise: Earned 5,000,000 credits (5,022,403)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,038,005)PPS Sieve Sapphire: Earned 20,000,000 credits (47,719,876)AP 26/27 Turquoise: Earned 5,000,000 credits (5,838,092)GFN Jade: Earned 10,000,000 credits (13,333,867)PSA Turquoise: Earned 5,000,000 credits (5,084,177)
Message 131492 - Posted: 26 Jul 2019 | 21:50:00 UTC - in response to Message 131485.

Actually, I don't got it. Original question still stands.

Profile VatoProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Feb 08
Posts: 708
ID: 18447
Credit: 79,381,761
RAC: 0
321 LLR Amethyst: Earned 1,000,000 credits (1,496,881)Cullen LLR Ruby: Earned 2,000,000 credits (2,049,559)ESP LLR Ruby: Earned 2,000,000 credits (2,545,709)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,001,883)PPS LLR Ruby: Earned 2,000,000 credits (3,710,937)PSP LLR Amethyst: Earned 1,000,000 credits (1,482,539)SoB LLR Ruby: Earned 2,000,000 credits (2,023,559)SR5 LLR Ruby: Earned 2,000,000 credits (2,298,384)SGS LLR Ruby: Earned 2,000,000 credits (2,145,631)TPS LLR (retired) Silver: Earned 100,000 credits (103,523)TRP LLR Ruby: Earned 2,000,000 credits (2,457,903)Woodall LLR Ruby: Earned 2,000,000 credits (2,048,906)321 Sieve Turquoise: Earned 5,000,000 credits (7,764,261)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,119,699)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,278,995)PPS Sieve Turquoise: Earned 5,000,000 credits (7,407,705)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (4,080,177)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,221,054)AP 26/27 Turquoise: Earned 5,000,000 credits (5,025,257)GFN Turquoise: Earned 5,000,000 credits (5,020,967)PSA Turquoise: Earned 5,000,000 credits (6,097,059)
Message 131493 - Posted: 26 Jul 2019 | 21:52:06 UTC - in response to Message 131492.

set your cache to zero and just let it run - it will sort itself out in the end
____________

GregCinAZProject donor
Send message
Joined: 12 Nov 18
Posts: 26
ID: 1077873
Credit: 87,063,262
RAC: 0
321 LLR Gold: Earned 500,000 credits (591,508)Cullen LLR Gold: Earned 500,000 credits (536,622)ESP LLR Gold: Earned 500,000 credits (621,103)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (567,153)PPS LLR Amethyst: Earned 1,000,000 credits (1,347,710)PSP LLR Gold: Earned 500,000 credits (571,730)SoB LLR Gold: Earned 500,000 credits (666,036)SR5 LLR Gold: Earned 500,000 credits (579,441)SGS LLR Gold: Earned 500,000 credits (752,650)TRP LLR Amethyst: Earned 1,000,000 credits (1,160,160)Woodall LLR Gold: Earned 500,000 credits (632,728)321 Sieve Turquoise: Earned 5,000,000 credits (5,022,403)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,038,005)PPS Sieve Sapphire: Earned 20,000,000 credits (47,719,876)AP 26/27 Turquoise: Earned 5,000,000 credits (5,838,092)GFN Jade: Earned 10,000,000 credits (13,333,867)PSA Turquoise: Earned 5,000,000 credits (5,084,177)
Message 131494 - Posted: 26 Jul 2019 | 21:53:20 UTC - in response to Message 131493.
Last modified: 26 Jul 2019 | 22:22:24 UTC

Where can I find the cache area? If you mean the computing preferences, I have it set to store 0.0 additional work; also in global. Still don't understand why it will only download one Genefer at a time, but for LLR it brings down 3, two of which sit idle until the first LLR has completed.

KeithProject donor
Avatar
Send message
Joined: 8 Dec 13
Posts: 350
ID: 284516
Credit: 292,817,635
RAC: 0
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 3 primes in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,438,872)Cullen LLR Turquoise: Earned 5,000,000 credits (5,009,911)ESP LLR Ruby: Earned 2,000,000 credits (4,311,383)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,002,124)PPS LLR Turquoise: Earned 5,000,000 credits (5,015,407)PSP LLR Ruby: Earned 2,000,000 credits (2,436,657)SoB LLR Turquoise: Earned 5,000,000 credits (6,751,021)SR5 LLR Turquoise: Earned 5,000,000 credits (5,014,727)SGS LLR Turquoise: Earned 5,000,000 credits (5,009,588)TRP LLR Turquoise: Earned 5,000,000 credits (5,759,074)Woodall LLR Turquoise: Earned 5,000,000 credits (5,053,050)321 Sieve Turquoise: Earned 5,000,000 credits (5,002,887)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,004,494)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,111,958)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,002,980)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,755)AP 26/27 Emerald: Earned 50,000,000 credits (58,215,157)GFN Emerald: Earned 50,000,000 credits (70,667,590)
Message 131496 - Posted: 27 Jul 2019 | 2:33:31 UTC

When you run out of work BOINC will download one task for each core regardless of what you have for an app_config
After that it will download one task at a time as long as it downloads the new task before the in progress one reports. The new task will usually download within 3 minutes of the in progress task finishing.
____________
My Primes
Badge Score: 4*2 + 5*3 + 6*10 + 9*2 + 10*1 = 111

Profile Crun-chiProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Nov 09
Posts: 2751
ID: 50683
Credit: 52,335,082
RAC: 0
Eliminated 1 conjecture "k"Found 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Silver: Earned 100,000 credits (229,492)Cullen LLR Silver: Earned 100,000 credits (110,733)PPS LLR Ruby: Earned 2,000,000 credits (2,982,482)PSP LLR Silver: Earned 100,000 credits (104,385)SoB LLR Silver: Earned 100,000 credits (106,117)SR5 LLR Silver: Earned 100,000 credits (139,802)SGS LLR Amethyst: Earned 1,000,000 credits (1,073,792)TRP LLR Silver: Earned 100,000 credits (122,712)Woodall LLR Silver: Earned 100,000 credits (122,944)321 Sieve Silver: Earned 100,000 credits (104,900)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,000,599)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (515,556)PPS Sieve Jade: Earned 10,000,000 credits (11,215,485)TRP Sieve (suspended) Silver: Earned 100,000 credits (255,612)AP 26/27 Ruby: Earned 2,000,000 credits (2,575,874)GFN Sapphire: Earned 20,000,000 credits (23,152,487)PSA Turquoise: Earned 5,000,000 credits (7,522,050)
Message 131497 - Posted: 27 Jul 2019 | 8:23:37 UTC - in response to Message 131496.

When you run out of work BOINC will download one task for each core regardless of what you have for an app_config
After that it will download one task at a time as long as it downloads the new task before the in progress one reports. The new task will usually download within 3 minutes of the in progress task finishing.


Bold one is not truth :)
Every year in second month where is challenge for badge this question appear: and we all ask for solution. So there is way that BOINC report result and then download new one. 3 minutes is too much time on short projects as PPSE.
Of course reason is different from this case, but is can be beaten :)

____________
271643232^131072+1 GENERALIZED FERMAT :)
93*10^1029523-1 REPDIGIT PRIME
31*332^367560+1 CRUS PRIME
Proud member of team Aggie The Pew. Go Aggie!

dthononProject donor
Volunteer tester
Send message
Joined: 6 Dec 17
Posts: 294
ID: 957147
Credit: 1,036,179,830
RAC: 0
Discovered 2 mega primes2018 Tour de Primes highest prime count2018 Tour de Primes highest prime scoreFound 50 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 mega prime in the 2018 Tour de Primes Mountain StageFound 5 primes in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain Stage321 LLR Sapphire: Earned 20,000,000 credits (36,188,653)Cullen LLR Sapphire: Earned 20,000,000 credits (20,241,050)ESP LLR Sapphire: Earned 20,000,000 credits (22,700,372)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (24,820,589)PPS LLR Double Bronze: Earned 100,000,000 credits (149,848,591)PSP LLR Sapphire: Earned 20,000,000 credits (20,833,687)SoB LLR Double Silver: Earned 200,000,000 credits (202,245,650)SR5 LLR Sapphire: Earned 20,000,000 credits (23,756,866)SGS LLR Sapphire: Earned 20,000,000 credits (20,224,191)TRP LLR Sapphire: Earned 20,000,000 credits (30,128,392)Woodall LLR Sapphire: Earned 20,000,000 credits (20,121,734)321 Sieve Sapphire: Earned 20,000,000 credits (20,190,853)Generalized Cullen/Woodall Sieve (suspended) Double Bronze: Earned 100,000,000 credits (126,821,599)PPS Sieve Double Bronze: Earned 100,000,000 credits (107,686,595)AP 26/27 Sapphire: Earned 20,000,000 credits (41,877,394)GFN Double Bronze: Earned 100,000,000 credits (104,352,108)PSA Emerald: Earned 50,000,000 credits (64,141,506)
Message 131498 - Posted: 27 Jul 2019 | 8:53:14 UTC - in response to Message 131497.

Indeed. If you set resource sharing to 0 in your PrimeGrid preferences, BOINC will not download a new tasks before the previous one is finished. That increases your chances of being first, but reduces throughput for small tasks due to time lost waiting for the new task to download.

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 989
ID: 37043
Credit: 457,460,656
RAC: 0
321 LLR Gold: Earned 500,000 credits (511,386)Cullen LLR Gold: Earned 500,000 credits (510,818)ESP LLR Gold: Earned 500,000 credits (825,968)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (564,210)PPS LLR Turquoise: Earned 5,000,000 credits (5,086,073)PSP LLR Gold: Earned 500,000 credits (686,232)SoB LLR Gold: Earned 500,000 credits (785,805)SR5 LLR Gold: Earned 500,000 credits (822,104)SGS LLR Turquoise: Earned 5,000,000 credits (5,095,282)TRP LLR Gold: Earned 500,000 credits (512,571)Woodall LLR Gold: Earned 500,000 credits (673,276)321 Sieve Ruby: Earned 2,000,000 credits (2,006,315)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (336,786,578)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Sapphire: Earned 20,000,000 credits (33,132,385)GFN Sapphire: Earned 20,000,000 credits (24,806,170)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 131502 - Posted: 27 Jul 2019 | 15:37:01 UTC - in response to Message 131494.

Where can I find the cache area? If you mean the computing preferences, I have it set to store 0.0 additional work; also in global. Still don't understand why it will only download one Genefer at a time, but for LLR it brings down 3, two of which sit idle until the first LLR has completed.


Nope he's talking about the 'resource share' for the venue...default, work, home. Sun, Venus etc that you are using. It's at the very top of the venue settings. Most people use zero as a backup thing so if their regular boinc project is out of work then the zero resource share project will send them work so the pc keeps crunching thru minor outages. A zero resource share means to only get enough work to fill the usable cpu or gpu's that you have allowed to crunch depending on the workunits you have set with NO extra workunits in a cache. When you finish a workunit it will check your main project for work and if it still doesn't have any it will then check your zero resource share project again and get a task. MOST projects do very well with this setting but a few don't respect the setting at all, PrimeGrid is one of those that DOES respect the setting.

zombie67 [MM]Project donor
Avatar
Send message
Joined: 30 Nov 06
Posts: 153
ID: 4065
Credit: 701,874,988
RAC: 0
321 LLR Turquoise: Earned 5,000,000 credits (5,761,926)Cullen LLR Turquoise: Earned 5,000,000 credits (5,106,758)ESP LLR Turquoise: Earned 5,000,000 credits (5,176,695)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,106,000)PPS LLR Turquoise: Earned 5,000,000 credits (5,372,353)PSP LLR Turquoise: Earned 5,000,000 credits (5,649,343)SoB LLR Turquoise: Earned 5,000,000 credits (5,415,692)SR5 LLR Turquoise: Earned 5,000,000 credits (5,026,750)SGS LLR Turquoise: Earned 5,000,000 credits (5,005,424)TRP LLR Turquoise: Earned 5,000,000 credits (5,129,840)Woodall LLR Turquoise: Earned 5,000,000 credits (5,473,519)321 Sieve Turquoise: Earned 5,000,000 credits (5,691,112)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,856)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,711,622)PPS Sieve Double Silver: Earned 200,000,000 credits (360,132,182)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (11,707,274)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,316,578)AP 26/27 Sapphire: Earned 20,000,000 credits (20,289,379)GFN Double Bronze: Earned 100,000,000 credits (198,903,347)PSA Jade: Earned 10,000,000 credits (15,567,600)
Message 131535 - Posted: 29 Jul 2019 | 14:28:34 UTC - in response to Message 131496.
Last modified: 29 Jul 2019 | 14:29:20 UTC

When you run out of work BOINC will download one task for each core regardless of what you have for an app_config


Right. Using the OP setup with 6 threads, and running tasks MT using all 6 threads, and zero resource share, it will download 6 tasks. Then run each, one at a time until all gone. Then will download 6 more.

So the first task will be returned much faster than running it on a single thread. But the 6th task will be returned later, about the same time as if it had been run as a single thread. The end result is that MT helps return tasks faster, with diminishing advantage as the batch of downloaded tasks complete.

|---| |---| |---| |---| |---| |---|

vs.

|----------------------| |----------------------| |----------------------| |----------------------| |----------------------| |----------------------|


I too would like to find a way for the client to download only one task when in MT mode with zero resource share, so that each task us returned as fast as possible, and the best possibility of being first. As far as I can tell, this is not possible.

|---| |---| |---| |---| |---| |---|

____________
Reno, NV

dukebg
Volunteer tester
Avatar
Send message
Joined: 21 Nov 17
Posts: 232
ID: 950482
Credit: 22,083,013
RAC: 0
Found 1 prime in the 2018 Tour de Primes321 LLR Gold: Earned 500,000 credits (506,942)Cullen LLR Gold: Earned 500,000 credits (500,523)ESP LLR Gold: Earned 500,000 credits (655,642)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (539,100)PPS LLR Gold: Earned 500,000 credits (688,232)PSP LLR Gold: Earned 500,000 credits (561,629)SoB LLR Ruby: Earned 2,000,000 credits (3,659,676)SR5 LLR Gold: Earned 500,000 credits (505,810)SGS LLR Gold: Earned 500,000 credits (506,024)TRP LLR Gold: Earned 500,000 credits (963,625)Woodall LLR Gold: Earned 500,000 credits (506,044)321 Sieve Gold: Earned 500,000 credits (511,694)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (549,916)PPS Sieve Gold: Earned 500,000 credits (701,168)AP 26/27 Gold: Earned 500,000 credits (525,590)GFN Turquoise: Earned 5,000,000 credits (9,675,760)PSA Gold: Earned 500,000 credits (525,639)
Message 131539 - Posted: 29 Jul 2019 | 14:39:10 UTC - in response to Message 131535.
Last modified: 29 Jul 2019 | 14:40:57 UTC


|---| |---| |---| |---| |---| |---|

vs.

|----------------------| |----------------------| |----------------------| |----------------------| |----------------------| |----------------------|


I too would like to find a way for the client to download only one task when in MT mode with zero resource share, so that each task us returned as fast as possible, and the best possibility of being first. As far as I can tell, this is not possible.

|---| |---| |---| |---| |---| |---|

Calculations on the same cores cannot physically run at the same time, they are just going to be waiting for their time on the CPU core (AVX unit or elsewhere) in a queue (CPU time scheduling + fighting for CPU cache space). So yes, this is impossible and kinda weird why would you imagine it being possible. Multithreading is using 6x calculations speed.

Here's a revision of your diagram

|666| |666| |666| |666| |666| |666|

vs.

|1111111111111111111111| |1111111111111111111111| |1111111111111111111111| |1111111111111111111111| |1111111111111111111111| |1111111111111111111111|


You cannot go more than 6 at the same time verically.

Profile RobishProject donor
Avatar
Send message
Joined: 7 Jan 12
Posts: 1050
ID: 126266
Credit: 2,659,503,119
RAC: 0
Discovered 7 mega primes2018 Tour de Primes largest primeFound 4 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,232,081)Cullen LLR Turquoise: Earned 5,000,000 credits (8,142,092)ESP LLR Turquoise: Earned 5,000,000 credits (6,237,477)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,466,498)PPS LLR Sapphire: Earned 20,000,000 credits (28,030,473)PSP LLR Turquoise: Earned 5,000,000 credits (5,053,061)SoB LLR Sapphire: Earned 20,000,000 credits (34,801,947)SR5 LLR Turquoise: Earned 5,000,000 credits (5,093,583)SGS LLR Turquoise: Earned 5,000,000 credits (5,000,646)TRP LLR Jade: Earned 10,000,000 credits (11,925,271)Woodall LLR Turquoise: Earned 5,000,000 credits (5,062,771)321 Sieve Turquoise: Earned 5,000,000 credits (5,025,452)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (7,892,369)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,515,338)PPS Sieve Double Gold: Earned 500,000,000 credits (774,689,510)TRP Sieve (suspended) Silver: Earned 100,000 credits (121,416)AP 26/27 Sapphire: Earned 20,000,000 credits (24,278,215)GFN Double Amethyst: Earned 1,000,000,000 credits (1,720,934,918)
Message 131541 - Posted: 29 Jul 2019 | 14:43:35 UTC - in response to Message 131535.

When you run out of work BOINC will download one task for each core regardless of what you have for an app_config


Right. Using the OP setup with 6 threads, and running tasks MT using all 6 threads, and zero resource share, it will download 6 tasks. Then run each, one at a time until all gone. Then will download 6 more.

So the first task will be returned much faster than running it on a single thread. But the 6th task will be returned later, about the same time as if it had been run as a single thread. The end result is that MT helps return tasks faster, with diminishing advantage as the batch of downloaded tasks complete.

|---| |---| |---| |---| |---| |---|

vs.

|----------------------| |----------------------| |----------------------| |----------------------| |----------------------| |----------------------|


I too would like to find a way for the client to download only one task when in MT mode with zero resource share, so that each task us returned as fast as possible, and the best possibility of being first. As far as I can tell, this is not possible.

|---| |---| |---| |---| |---| |---|


As far as I know, it doesn't download 6 the second time, just the first time. After the first 6 are gone its just one at a time.

____________
My lucky number's 10590941048576+1 and 5641491616384+1 (GFN-14 Consecutive Prime)

Profile Eudy SilvaProject donor
Send message
Joined: 26 Aug 17
Posts: 802
ID: 918937
Credit: 130,871,172
RAC: 0
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Gold: Earned 500,000 credits (834,329)Cullen LLR Amethyst: Earned 1,000,000 credits (1,011,118)ESP LLR Gold: Earned 500,000 credits (988,114)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,004,746)PPS LLR Turquoise: Earned 5,000,000 credits (5,977,139)PSP LLR Gold: Earned 500,000 credits (742,121)SoB LLR Ruby: Earned 2,000,000 credits (2,113,239)SR5 LLR Ruby: Earned 2,000,000 credits (2,391,286)SGS LLR Amethyst: Earned 1,000,000 credits (1,162,202)TRP LLR Amethyst: Earned 1,000,000 credits (1,309,179)Woodall LLR Amethyst: Earned 1,000,000 credits (1,001,901)321 Sieve Amethyst: Earned 1,000,000 credits (1,036,805)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,005,331)PPS Sieve Emerald: Earned 50,000,000 credits (63,539,979)AP 26/27 Sapphire: Earned 20,000,000 credits (21,282,352)GFN Sapphire: Earned 20,000,000 credits (25,471,331)
Message 131544 - Posted: 29 Jul 2019 | 14:58:14 UTC

What I do is:


  • zero all WU cache settings
  • <avg_ncpus>1</avg_ncpus> in app_config.xml
  • Use % of CPUs in BOINC Manager to result in 1 (got 8 cores? use 12.5%, got 4 cores? use 25%, got 6 cores? use 16.66%)


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

zombie67 [MM]Project donor
Avatar
Send message
Joined: 30 Nov 06
Posts: 153
ID: 4065
Credit: 701,874,988
RAC: 0
321 LLR Turquoise: Earned 5,000,000 credits (5,761,926)Cullen LLR Turquoise: Earned 5,000,000 credits (5,106,758)ESP LLR Turquoise: Earned 5,000,000 credits (5,176,695)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,106,000)PPS LLR Turquoise: Earned 5,000,000 credits (5,372,353)PSP LLR Turquoise: Earned 5,000,000 credits (5,649,343)SoB LLR Turquoise: Earned 5,000,000 credits (5,415,692)SR5 LLR Turquoise: Earned 5,000,000 credits (5,026,750)SGS LLR Turquoise: Earned 5,000,000 credits (5,005,424)TRP LLR Turquoise: Earned 5,000,000 credits (5,129,840)Woodall LLR Turquoise: Earned 5,000,000 credits (5,473,519)321 Sieve Turquoise: Earned 5,000,000 credits (5,691,112)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,856)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,711,622)PPS Sieve Double Silver: Earned 200,000,000 credits (360,132,182)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (11,707,274)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,316,578)AP 26/27 Sapphire: Earned 20,000,000 credits (20,289,379)GFN Double Bronze: Earned 100,000,000 credits (198,903,347)PSA Jade: Earned 10,000,000 credits (15,567,600)
Message 131547 - Posted: 29 Jul 2019 | 17:54:18 UTC - in response to Message 131539.


|---| |---| |---| |---| |---| |---|

vs.

|----------------------| |----------------------| |----------------------| |----------------------| |----------------------| |----------------------|


I too would like to find a way for the client to download only one task when in MT mode with zero resource share, so that each task us returned as fast as possible, and the best possibility of being first. As far as I can tell, this is not possible.

|---| |---| |---| |---| |---| |---|

Calculations on the same cores cannot physically run at the same time, they are just going to be waiting for their time on the CPU core (AVX unit or elsewhere) in a queue (CPU time scheduling + fighting for CPU cache space). So yes, this is impossible and kinda weird why would you imagine it being possible. Multithreading is using 6x calculations speed.

Here's a revision of your diagram

|666| |666| |666| |666| |666| |666|

vs.

|1111111111111111111111| |1111111111111111111111| |1111111111111111111111| |1111111111111111111111| |1111111111111111111111| |1111111111111111111111|


You cannot go more than 6 at the same time verically.


I don't understand what you are saying. Your chart looks just like mine. I am comparing running a single MT task using all 6 threads, sequentially until all 6 complete, vs six single-thread tasks concurrently. They take roughly the same amount of time for all 6 to complete, either method. However, the MT version allows some to be returned earlier than others.


____________
Reno, NV

zombie67 [MM]Project donor
Avatar
Send message
Joined: 30 Nov 06
Posts: 153
ID: 4065
Credit: 701,874,988
RAC: 0
321 LLR Turquoise: Earned 5,000,000 credits (5,761,926)Cullen LLR Turquoise: Earned 5,000,000 credits (5,106,758)ESP LLR Turquoise: Earned 5,000,000 credits (5,176,695)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,106,000)PPS LLR Turquoise: Earned 5,000,000 credits (5,372,353)PSP LLR Turquoise: Earned 5,000,000 credits (5,649,343)SoB LLR Turquoise: Earned 5,000,000 credits (5,415,692)SR5 LLR Turquoise: Earned 5,000,000 credits (5,026,750)SGS LLR Turquoise: Earned 5,000,000 credits (5,005,424)TRP LLR Turquoise: Earned 5,000,000 credits (5,129,840)Woodall LLR Turquoise: Earned 5,000,000 credits (5,473,519)321 Sieve Turquoise: Earned 5,000,000 credits (5,691,112)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,856)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,711,622)PPS Sieve Double Silver: Earned 200,000,000 credits (360,132,182)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (11,707,274)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,316,578)AP 26/27 Sapphire: Earned 20,000,000 credits (20,289,379)GFN Double Bronze: Earned 100,000,000 credits (198,903,347)PSA Jade: Earned 10,000,000 credits (15,567,600)
Message 131548 - Posted: 29 Jul 2019 | 17:56:24 UTC - in response to Message 131541.

As far as I know, it doesn't download 6 the second time, just the first time. After the first 6 are gone its just one at a time.


I don't think so. The BOINC scheduling code will tell the client ask for at least one task per idle thread. And since all 6 threads are idle at this point, it will ask for 6.
____________
Reno, NV

KeithProject donor
Avatar
Send message
Joined: 8 Dec 13
Posts: 350
ID: 284516
Credit: 292,817,635
RAC: 0
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 3 primes in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,438,872)Cullen LLR Turquoise: Earned 5,000,000 credits (5,009,911)ESP LLR Ruby: Earned 2,000,000 credits (4,311,383)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,002,124)PPS LLR Turquoise: Earned 5,000,000 credits (5,015,407)PSP LLR Ruby: Earned 2,000,000 credits (2,436,657)SoB LLR Turquoise: Earned 5,000,000 credits (6,751,021)SR5 LLR Turquoise: Earned 5,000,000 credits (5,014,727)SGS LLR Turquoise: Earned 5,000,000 credits (5,009,588)TRP LLR Turquoise: Earned 5,000,000 credits (5,759,074)Woodall LLR Turquoise: Earned 5,000,000 credits (5,053,050)321 Sieve Turquoise: Earned 5,000,000 credits (5,002,887)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,004,494)PPS Sieve Double Bronze: Earned 100,000,000 credits (100,111,958)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,002,980)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,755)AP 26/27 Emerald: Earned 50,000,000 credits (58,215,157)GFN Emerald: Earned 50,000,000 credits (70,667,590)
Message 131552 - Posted: 29 Jul 2019 | 20:05:13 UTC - in response to Message 131548.

As far as I know, it doesn't download 6 the second time, just the first time. After the first 6 are gone its just one at a time.


I don't think so. The BOINC scheduling code will tell the client ask for at least one task per idle thread. And since all 6 threads are idle at this point, it will ask for 6.


I think if you tell the BOINC client to use only one core (Use at most 25% of the CPUs on a quad core) then BOINC will only download one task at a time when resource share of set to 0. It will still run on all cores as configured in app_config.
Try that and see what happens.

Also, when you have resource share set to 100 and Use at most 100% of the CPUs set in the settings then a new task will download about 3 minutes before the current one finishes. So that's the other way to avoid a new set of 4, 6, or however many cores you have from downloading.
____________
My Primes
Badge Score: 4*2 + 5*3 + 6*10 + 9*2 + 10*1 = 111

Profile Eudy SilvaProject donor
Send message
Joined: 26 Aug 17
Posts: 802
ID: 918937
Credit: 130,871,172
RAC: 0
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Gold: Earned 500,000 credits (834,329)Cullen LLR Amethyst: Earned 1,000,000 credits (1,011,118)ESP LLR Gold: Earned 500,000 credits (988,114)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,004,746)PPS LLR Turquoise: Earned 5,000,000 credits (5,977,139)PSP LLR Gold: Earned 500,000 credits (742,121)SoB LLR Ruby: Earned 2,000,000 credits (2,113,239)SR5 LLR Ruby: Earned 2,000,000 credits (2,391,286)SGS LLR Amethyst: Earned 1,000,000 credits (1,162,202)TRP LLR Amethyst: Earned 1,000,000 credits (1,309,179)Woodall LLR Amethyst: Earned 1,000,000 credits (1,001,901)321 Sieve Amethyst: Earned 1,000,000 credits (1,036,805)Generalized Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,005,331)PPS Sieve Emerald: Earned 50,000,000 credits (63,539,979)AP 26/27 Sapphire: Earned 20,000,000 credits (21,282,352)GFN Sapphire: Earned 20,000,000 credits (25,471,331)
Message 131553 - Posted: 29 Jul 2019 | 20:46:14 UTC - in response to Message 131552.

Keith wrote:
...
I think if you tell the BOINC client to use only one core (Use at most 25% of the CPUs on a quad core) then BOINC will only download one task at a time when resource share of set to 0. It will still run on all cores as configured in app_config.

That is correct. At least it works for me.
I'm not sure if it is really neded, but I also set avg_ncpus to 1 in the app_config.xml

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

zombie67 [MM]Project donor
Avatar
Send message
Joined: 30 Nov 06
Posts: 153
ID: 4065
Credit: 701,874,988
RAC: 0
321 LLR Turquoise: Earned 5,000,000 credits (5,761,926)Cullen LLR Turquoise: Earned 5,000,000 credits (5,106,758)ESP LLR Turquoise: Earned 5,000,000 credits (5,176,695)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,106,000)PPS LLR Turquoise: Earned 5,000,000 credits (5,372,353)PSP LLR Turquoise: Earned 5,000,000 credits (5,649,343)SoB LLR Turquoise: Earned 5,000,000 credits (5,415,692)SR5 LLR Turquoise: Earned 5,000,000 credits (5,026,750)SGS LLR Turquoise: Earned 5,000,000 credits (5,005,424)TRP LLR Turquoise: Earned 5,000,000 credits (5,129,840)Woodall LLR Turquoise: Earned 5,000,000 credits (5,473,519)321 Sieve Turquoise: Earned 5,000,000 credits (5,691,112)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,856)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,711,622)PPS Sieve Double Silver: Earned 200,000,000 credits (360,132,182)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (11,707,274)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,316,578)AP 26/27 Sapphire: Earned 20,000,000 credits (20,289,379)GFN Double Bronze: Earned 100,000,000 credits (198,903,347)PSA Jade: Earned 10,000,000 credits (15,567,600)
Message 131561 - Posted: 29 Jul 2019 | 22:52:50 UTC

I ran a test and have confirmed the scheduler asks for a task per thread, even for subsequent requests after the first batch. Here is the log (28 thread machine):

26971 PrimeGrid 7/29/2019 1:17:12 PM work fetch resumed by user 26972 PrimeGrid 7/29/2019 1:17:13 PM [sched_op] Starting scheduler request 26973 PrimeGrid 7/29/2019 1:17:13 PM Sending scheduler request: To fetch work. 26974 PrimeGrid 7/29/2019 1:17:13 PM Requesting new tasks for CPU 26975 PrimeGrid 7/29/2019 1:17:13 PM [sched_op] CPU work request: 1.00 seconds; 28.00 devices 26976 PrimeGrid 7/29/2019 1:17:13 PM [sched_op] NVIDIA GPU work request: 0.00 seconds; 0.00 devices 26977 PrimeGrid 7/29/2019 1:17:16 PM Scheduler request completed: got 28 new tasks 26978 PrimeGrid 7/29/2019 1:17:16 PM [sched_op] Server version 713 26979 PrimeGrid 7/29/2019 1:17:16 PM Project requested delay of 7 seconds 26980 PrimeGrid 7/29/2019 1:17:16 PM [sched_op] estimated total CPU task duration: 262296 seconds 26981 PrimeGrid 7/29/2019 1:17:16 PM [sched_op] estimated total NVIDIA GPU task duration: 0 seconds 26982 PrimeGrid 7/29/2019 1:17:16 PM [sched_op] Deferring communication for 00:00:07 26983 PrimeGrid 7/29/2019 1:17:16 PM [sched_op] Reason: requested by project […] 28329 PrimeGrid 7/29/2019 2:17:53 PM Computation for task llrPPS_322531144_0 finished 28330 PrimeGrid 7/29/2019 2:17:55 PM Started upload of llrPPS_322531144_0_r1537324993_0 28331 PrimeGrid 7/29/2019 2:17:55 PM [sched_op] Starting scheduler request 28332 PrimeGrid 7/29/2019 2:17:55 PM Sending scheduler request: To fetch work. 28333 PrimeGrid 7/29/2019 2:17:55 PM Requesting new tasks for CPU 28334 PrimeGrid 7/29/2019 2:17:55 PM [sched_op] CPU work request: 1.00 seconds; 28.00 devices 28335 PrimeGrid 7/29/2019 2:17:55 PM [sched_op] NVIDIA GPU work request: 0.00 seconds; 0.00 devices 28336 PrimeGrid 7/29/2019 2:17:56 PM Finished upload of llrPPS_322531144_0_r1537324993_0 28337 PrimeGrid 7/29/2019 2:17:57 PM Scheduler request completed: got 28 new tasks 28338 PrimeGrid 7/29/2019 2:17:57 PM [sched_op] Server version 713 28339 PrimeGrid 7/29/2019 2:17:57 PM Project requested delay of 7 seconds


Next, I will try the method suggested of setting the client preferences to use only of the total threads (expressed as a percentage).
____________
Reno, NV

zombie67 [MM]Project donor
Avatar
Send message
Joined: 30 Nov 06
Posts: 153
ID: 4065
Credit: 701,874,988
RAC: 0
321 LLR Turquoise: Earned 5,000,000 credits (5,761,926)Cullen LLR Turquoise: Earned 5,000,000 credits (5,106,758)ESP LLR Turquoise: Earned 5,000,000 credits (5,176,695)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,106,000)PPS LLR Turquoise: Earned 5,000,000 credits (5,372,353)PSP LLR Turquoise: Earned 5,000,000 credits (5,649,343)SoB LLR Turquoise: Earned 5,000,000 credits (5,415,692)SR5 LLR Turquoise: Earned 5,000,000 credits (5,026,750)SGS LLR Turquoise: Earned 5,000,000 credits (5,005,424)TRP LLR Turquoise: Earned 5,000,000 credits (5,129,840)Woodall LLR Turquoise: Earned 5,000,000 credits (5,473,519)321 Sieve Turquoise: Earned 5,000,000 credits (5,691,112)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,856)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,711,622)PPS Sieve Double Silver: Earned 200,000,000 credits (360,132,182)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (11,707,274)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,316,578)AP 26/27 Sapphire: Earned 20,000,000 credits (20,289,379)GFN Double Bronze: Earned 100,000,000 credits (198,903,347)PSA Jade: Earned 10,000,000 credits (15,567,600)
Message 131562 - Posted: 29 Jul 2019 | 23:55:59 UTC - in response to Message 131561.

Next, I will try the method suggested of setting the client preferences to use only of the total threads (expressed as a percentage).


It works! It shouldn't, because the client is ignoring the CPU limitation set. But whatever, I'll take it. Thanks!

30383 PrimeGrid 7/29/2019 3:54:02 PM work fetch resumed by user 30384 PrimeGrid 7/29/2019 3:54:02 PM [sched_op] Starting scheduler request 30385 PrimeGrid 7/29/2019 3:54:03 PM Sending scheduler request: To fetch work. 30386 PrimeGrid 7/29/2019 3:54:03 PM Requesting new tasks for CPU 30387 PrimeGrid 7/29/2019 3:54:03 PM [sched_op] CPU work request: 1.00 seconds; 1.00 devices 30388 PrimeGrid 7/29/2019 3:54:03 PM [sched_op] NVIDIA GPU work request: 0.00 seconds; 0.00 devices 30389 PrimeGrid 7/29/2019 3:54:05 PM Scheduler request completed: got 1 new tasks 30390 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] Server version 713 30391 PrimeGrid 7/29/2019 3:54:05 PM Project requested delay of 7 seconds 30392 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] estimated total CPU task duration: 8303 seconds 30393 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] estimated total NVIDIA GPU task duration: 0 seconds 30394 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] Deferring communication for 00:00:07 30395 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] Reason: requested by project 30396 PrimeGrid 7/29/2019 3:54:07 PM Started download of llrPPS_322531826 30397 PrimeGrid 7/29/2019 3:54:08 PM Finished download of llrPPS_322531826 30398 PrimeGrid 7/29/2019 3:54:08 PM Starting task llrPPS_322531826_1 31466 PrimeGrid 7/29/2019 4:50:13 PM Computation for task llrPPS_322531826_1 finished 31467 PrimeGrid 7/29/2019 4:50:15 PM Started upload of llrPPS_322531826_1_r1958345385_0 31468 PrimeGrid 7/29/2019 4:50:17 PM Finished upload of llrPPS_322531826_1_r1958345385_0 31469 PrimeGrid 7/29/2019 4:50:17 PM [sched_op] Starting scheduler request 31470 PrimeGrid 7/29/2019 4:50:17 PM Sending scheduler request: To report completed tasks. 31471 PrimeGrid 7/29/2019 4:50:17 PM Reporting 1 completed tasks 31472 PrimeGrid 7/29/2019 4:50:17 PM Requesting new tasks for CPU 31473 PrimeGrid 7/29/2019 4:50:17 PM [sched_op] CPU work request: 1.00 seconds; 1.00 devices 31474 PrimeGrid 7/29/2019 4:50:17 PM [sched_op] NVIDIA GPU work request: 0.00 seconds; 0.00 devices 31475 PrimeGrid 7/29/2019 4:50:19 PM Scheduler request completed: got 1 new tasks 31476 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] Server version 713 31477 PrimeGrid 7/29/2019 4:50:19 PM Project requested delay of 7 seconds 31478 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] estimated total CPU task duration: 7828 seconds 31479 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] estimated total NVIDIA GPU task duration: 0 seconds 31480 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] handle_scheduler_reply(): got ack for task llrPPS_322531826_1 31481 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] Deferring communication for 00:00:07 31482 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] Reason: requested by project 31483 PrimeGrid 7/29/2019 4:50:21 PM Started download of llrPPS_322532027 31484 PrimeGrid 7/29/2019 4:50:22 PM Finished download of llrPPS_322532027 31485 PrimeGrid 7/29/2019 4:50:22 PM Starting task llrPPS_322532027_1


____________
Reno, NV

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 989
ID: 37043
Credit: 457,460,656
RAC: 0
321 LLR Gold: Earned 500,000 credits (511,386)Cullen LLR Gold: Earned 500,000 credits (510,818)ESP LLR Gold: Earned 500,000 credits (825,968)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (564,210)PPS LLR Turquoise: Earned 5,000,000 credits (5,086,073)PSP LLR Gold: Earned 500,000 credits (686,232)SoB LLR Gold: Earned 500,000 credits (785,805)SR5 LLR Gold: Earned 500,000 credits (822,104)SGS LLR Turquoise: Earned 5,000,000 credits (5,095,282)TRP LLR Gold: Earned 500,000 credits (512,571)Woodall LLR Gold: Earned 500,000 credits (673,276)321 Sieve Ruby: Earned 2,000,000 credits (2,006,315)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (336,786,578)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Sapphire: Earned 20,000,000 credits (33,132,385)GFN Sapphire: Earned 20,000,000 credits (24,806,170)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 131566 - Posted: 30 Jul 2019 | 11:34:27 UTC - in response to Message 131562.

Next, I will try the method suggested of setting the client preferences to use only of the total threads (expressed as a percentage).


It works! It shouldn't, because the client is ignoring the CPU limitation set. But whatever, I'll take it. Thanks!

30383 PrimeGrid 7/29/2019 3:54:02 PM work fetch resumed by user 30384 PrimeGrid 7/29/2019 3:54:02 PM [sched_op] Starting scheduler request 30385 PrimeGrid 7/29/2019 3:54:03 PM Sending scheduler request: To fetch work. 30386 PrimeGrid 7/29/2019 3:54:03 PM Requesting new tasks for CPU 30387 PrimeGrid 7/29/2019 3:54:03 PM [sched_op] CPU work request: 1.00 seconds; 1.00 devices 30388 PrimeGrid 7/29/2019 3:54:03 PM [sched_op] NVIDIA GPU work request: 0.00 seconds; 0.00 devices 30389 PrimeGrid 7/29/2019 3:54:05 PM Scheduler request completed: got 1 new tasks 30390 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] Server version 713 30391 PrimeGrid 7/29/2019 3:54:05 PM Project requested delay of 7 seconds 30392 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] estimated total CPU task duration: 8303 seconds 30393 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] estimated total NVIDIA GPU task duration: 0 seconds 30394 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] Deferring communication for 00:00:07 30395 PrimeGrid 7/29/2019 3:54:05 PM [sched_op] Reason: requested by project 30396 PrimeGrid 7/29/2019 3:54:07 PM Started download of llrPPS_322531826 30397 PrimeGrid 7/29/2019 3:54:08 PM Finished download of llrPPS_322531826 30398 PrimeGrid 7/29/2019 3:54:08 PM Starting task llrPPS_322531826_1 31466 PrimeGrid 7/29/2019 4:50:13 PM Computation for task llrPPS_322531826_1 finished 31467 PrimeGrid 7/29/2019 4:50:15 PM Started upload of llrPPS_322531826_1_r1958345385_0 31468 PrimeGrid 7/29/2019 4:50:17 PM Finished upload of llrPPS_322531826_1_r1958345385_0 31469 PrimeGrid 7/29/2019 4:50:17 PM [sched_op] Starting scheduler request 31470 PrimeGrid 7/29/2019 4:50:17 PM Sending scheduler request: To report completed tasks. 31471 PrimeGrid 7/29/2019 4:50:17 PM Reporting 1 completed tasks 31472 PrimeGrid 7/29/2019 4:50:17 PM Requesting new tasks for CPU 31473 PrimeGrid 7/29/2019 4:50:17 PM [sched_op] CPU work request: 1.00 seconds; 1.00 devices 31474 PrimeGrid 7/29/2019 4:50:17 PM [sched_op] NVIDIA GPU work request: 0.00 seconds; 0.00 devices 31475 PrimeGrid 7/29/2019 4:50:19 PM Scheduler request completed: got 1 new tasks 31476 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] Server version 713 31477 PrimeGrid 7/29/2019 4:50:19 PM Project requested delay of 7 seconds 31478 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] estimated total CPU task duration: 7828 seconds 31479 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] estimated total NVIDIA GPU task duration: 0 seconds 31480 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] handle_scheduler_reply(): got ack for task llrPPS_322531826_1 31481 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] Deferring communication for 00:00:07 31482 PrimeGrid 7/29/2019 4:50:19 PM [sched_op] Reason: requested by project 31483 PrimeGrid 7/29/2019 4:50:21 PM Started download of llrPPS_322532027 31484 PrimeGrid 7/29/2019 4:50:22 PM Finished download of llrPPS_322532027 31485 PrimeGrid 7/29/2019 4:50:22 PM Starting task llrPPS_322532027_1



AND it ran the wu's using all 28 threads too?

zombie67 [MM]Project donor
Avatar
Send message
Joined: 30 Nov 06
Posts: 153
ID: 4065
Credit: 701,874,988
RAC: 0
321 LLR Turquoise: Earned 5,000,000 credits (5,761,926)Cullen LLR Turquoise: Earned 5,000,000 credits (5,106,758)ESP LLR Turquoise: Earned 5,000,000 credits (5,176,695)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,106,000)PPS LLR Turquoise: Earned 5,000,000 credits (5,372,353)PSP LLR Turquoise: Earned 5,000,000 credits (5,649,343)SoB LLR Turquoise: Earned 5,000,000 credits (5,415,692)SR5 LLR Turquoise: Earned 5,000,000 credits (5,026,750)SGS LLR Turquoise: Earned 5,000,000 credits (5,005,424)TRP LLR Turquoise: Earned 5,000,000 credits (5,129,840)Woodall LLR Turquoise: Earned 5,000,000 credits (5,473,519)321 Sieve Turquoise: Earned 5,000,000 credits (5,691,112)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,856)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,711,622)PPS Sieve Double Silver: Earned 200,000,000 credits (360,132,182)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (11,707,274)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,316,578)AP 26/27 Sapphire: Earned 20,000,000 credits (20,289,379)GFN Double Bronze: Earned 100,000,000 credits (198,903,347)PSA Jade: Earned 10,000,000 credits (15,567,600)
Message 131569 - Posted: 30 Jul 2019 | 14:47:31 UTC - in response to Message 131566.
Last modified: 30 Jul 2019 | 14:48:27 UTC

AND it ran the wu's using all 28 threads too?


Yep. Here is a task with bionic prefs set to 100%:

https://www.primegrid.com/result.php?resultid=1015618473

Here is a task set to 3.57%:

https://www.primegrid.com/result.php?resultid=1015629384

Both similar run times. Both show 28 threads in the Stderr output.

Also, both were reported first. ;)
____________
Reno, NV

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 702
ID: 55391
Credit: 544,880,366
RAC: 0
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,090,406)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (2,160,301)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (10,631,176)PSP LLR Ruby: Earned 2,000,000 credits (3,777,949)SoB LLR Sapphire: Earned 20,000,000 credits (20,233,229)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,932,085)TRP LLR Turquoise: Earned 5,000,000 credits (7,021,680)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Turquoise: Earned 5,000,000 credits (9,475,479)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (233,250,224)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 Ruby: Earned 2,000,000 credits (2,544,827)GFN Sapphire: Earned 20,000,000 credits (48,678,064)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 131607 - Posted: 1 Aug 2019 | 7:12:40 UTC - in response to Message 131569.

AND it ran the wu's using all 28 threads too?


Yep. Here is a task with bionic prefs set to 100%:

https://www.primegrid.com/result.php?resultid=1015618473

Here is a task set to 3.57%:

https://www.primegrid.com/result.php?resultid=1015629384

Both similar run times. Both show 28 threads in the Stderr output.

Also, both were reported first. ;)

28 threads is excessive: 79353.39 seconds of total CPU time for a runtime of 3374 seconds, so you have an effective CPU efficiency of 4.25%.
Using 28 threads on one task wastes over 95% of your CPU power.
You could use a lot less threads and have about the same runtime on the PPS task,
and use the other threads to run more PPS tasks simultaneously. Your throughput will be much higher.

With 4 threads per task for PPS they each should still run in around 3400 seconds.
Except that you can run 7 of them simultaneously with -t 4 if you set your %CPU to just over 1/7 => 15%
and then your CPU efficiency will be closer to 50%, and you will have many more tasks "first" each day, while you are racking up credit 7 times faster.

zombie67 [MM]Project donor
Avatar
Send message
Joined: 30 Nov 06
Posts: 153
ID: 4065
Credit: 701,874,988
RAC: 0
321 LLR Turquoise: Earned 5,000,000 credits (5,761,926)Cullen LLR Turquoise: Earned 5,000,000 credits (5,106,758)ESP LLR Turquoise: Earned 5,000,000 credits (5,176,695)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,106,000)PPS LLR Turquoise: Earned 5,000,000 credits (5,372,353)PSP LLR Turquoise: Earned 5,000,000 credits (5,649,343)SoB LLR Turquoise: Earned 5,000,000 credits (5,415,692)SR5 LLR Turquoise: Earned 5,000,000 credits (5,026,750)SGS LLR Turquoise: Earned 5,000,000 credits (5,005,424)TRP LLR Turquoise: Earned 5,000,000 credits (5,129,840)Woodall LLR Turquoise: Earned 5,000,000 credits (5,473,519)321 Sieve Turquoise: Earned 5,000,000 credits (5,691,112)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,856)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,711,622)PPS Sieve Double Silver: Earned 200,000,000 credits (360,132,182)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (11,707,274)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,316,578)AP 26/27 Sapphire: Earned 20,000,000 credits (20,289,379)GFN Double Bronze: Earned 100,000,000 credits (198,903,347)PSA Jade: Earned 10,000,000 credits (15,567,600)
Message 131608 - Posted: 1 Aug 2019 | 7:33:27 UTC - in response to Message 131607.

28 threads is excessive: 79353.39 seconds of total CPU time for a runtime of 3374 seconds, so you have an effective CPU efficiency of 4.25%.
Using 28 threads on one task wastes over 95% of your CPU power.
You could use a lot less threads and have about the same runtime on the PPS task,
and use the other threads to run more PPS tasks simultaneously. Your throughput will be much higher.

With 4 threads per task for PPS they each should still run in around 3400 seconds.
Except that you can run 7 of them simultaneously with -t 4 if you set your %CPU to just over 1/7 => 15%
and then your CPU efficiency will be closer to 50%, and you will have many more tasks "first" each day, while you are racking up credit 7 times faster.


Yes. Of course. I was using a single task to simplify the experiment, and to remove confusion, not to maximize crunching. ;)
____________
Reno, NV

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 989
ID: 37043
Credit: 457,460,656
RAC: 0
321 LLR Gold: Earned 500,000 credits (511,386)Cullen LLR Gold: Earned 500,000 credits (510,818)ESP LLR Gold: Earned 500,000 credits (825,968)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (564,210)PPS LLR Turquoise: Earned 5,000,000 credits (5,086,073)PSP LLR Gold: Earned 500,000 credits (686,232)SoB LLR Gold: Earned 500,000 credits (785,805)SR5 LLR Gold: Earned 500,000 credits (822,104)SGS LLR Turquoise: Earned 5,000,000 credits (5,095,282)TRP LLR Gold: Earned 500,000 credits (512,571)Woodall LLR Gold: Earned 500,000 credits (673,276)321 Sieve Ruby: Earned 2,000,000 credits (2,006,315)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (336,786,578)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Sapphire: Earned 20,000,000 credits (33,132,385)GFN Sapphire: Earned 20,000,000 credits (24,806,170)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 131614 - Posted: 1 Aug 2019 | 11:12:43 UTC - in response to Message 131569.

AND it ran the wu's using all 28 threads too?


Yep. Here is a task with bionic prefs set to 100%:

https://www.primegrid.com/result.php?resultid=1015618473

Here is a task set to 3.57%:

https://www.primegrid.com/result.php?resultid=1015629384

Both similar run times. Both show 28 threads in the Stderr output.

Also, both were reported first. ;)


Thank you very much, that's perfect!!

Post to thread

Message boards : Problems and Help : How to only download one WU at a time?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.28, 0.12, 0.06
Generated 26 Sep 2020 | 8:44:30 UTC