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 : Number crunching : Multiple Subprojects - Odds of getting a task?

Author Message
Mathmusic
Send message
Joined: 18 Apr 15
Posts: 6
ID: 395688
Credit: 341,702,920
RAC: 0
321 LLR Gold: Earned 500,000 credits (643,407)Cullen LLR Gold: Earned 500,000 credits (621,275)ESP LLR Amethyst: Earned 1,000,000 credits (1,082,872)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,149,800)PPS LLR Gold: Earned 500,000 credits (609,211)PSP LLR Amethyst: Earned 1,000,000 credits (1,278,433)SoB LLR Gold: Earned 500,000 credits (604,650)SR5 LLR Gold: Earned 500,000 credits (536,194)SGS LLR Gold: Earned 500,000 credits (595,071)TRP LLR Gold: Earned 500,000 credits (529,793)Woodall LLR Gold: Earned 500,000 credits (691,805)321 Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,558,492)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (684,323)PPS Sieve Double Bronze: Earned 100,000,000 credits (178,332,642)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (105,341)TRP Sieve (suspended) Silver: Earned 100,000 credits (304,920)AP 26/27 Sapphire: Earned 20,000,000 credits (34,717,241)GFN Double Bronze: Earned 100,000,000 credits (111,971,022)PSA Amethyst: Earned 1,000,000 credits (1,686,430)
Message 86503 - Posted: 30 Jun 2015 | 13:32:35 UTC

I'm fairly new to primegrid, and I was wondering how the server decides to send tasks when you have multiple subprojects selected.

Is it a random chance based on # of projects you have selected and the hardware you are running?

Or does it try and balance the load based on (expected) computation time?

If I had to guess, I would say it is closer to the first option, as I seem to always eventually end up with all my cores running the longest CPU task I have enabled like SoB.
____________
My lucky numbers are:
5145*2^1349071+1
7188654^65536+1

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 14037
ID: 53948
Credit: 477,161,398
RAC: 289,514
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,949,793)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,601,737)SR5 LLR Sapphire: Earned 20,000,000 credits (22,821,256)SGS LLR Turquoise: Earned 5,000,000 credits (6,388,624)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 Emerald: Earned 50,000,000 credits (51,764,198)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 Sapphire: Earned 20,000,000 credits (23,448,074)GFN Double Bronze: Earned 100,000,000 credits (120,616,519)WW (retired) Emerald: Earned 50,000,000 credits (88,580,000)PSA Jade: Earned 10,000,000 credits (13,196,884)
Message 86505 - Posted: 30 Jun 2015 | 13:57:03 UTC - in response to Message 86503.

I'm fairly new to primegrid, and I was wondering how the server decides to send tasks when you have multiple subprojects selected.

Is it a random chance based on # of projects you have selected and the hardware you are running?

Or does it try and balance the load based on (expected) computation time?

If I had to guess, I would say it is closer to the first option, as I seem to always eventually end up with all my cores running the longest CPU task I have enabled like SoB.


It's complicated, but a simplification would be that it's random with a small bias towards sending shorter tasks.

The reason you seem to always seem to be running SoB has little to do with what the server's sending. No matter how many short tasks it sends you, it would seem like it's always running SoB. Assume a scenario where you have only PPSE (LLR) and SoB (LLR) selected. Even if the server sends you 10 times as many PPSE tasks, it will still seem like all you're running is SoB because the SoB tasks are over 500 times longer!

The server does not consider how many hours you've run each project in the past, so the fact that you may have spent 4 days crunching one SoB but only an hour crunching 6 PPSEs doesn't matter. All it considers is what you're requesting right now. So if you're requesting both PPSE (weighting 3) and SoB (weighting 1), you'll be three times more likely to get a PPSE task than an SoB task. Since the PPSE takes 10 minutes vs. the 4 days for the SoB, despite having a greater chance of getting a PPSE task you'll be running SoB almost all the time.

Given the huge difference in run times between the different projects, I don't really recommend letting the server choose for you. You end up not knowing whether your computer will have long or short tasks, which can be inconvenient in some circumstances.
____________
My lucky number is 75898524288+1

Mathmusic
Send message
Joined: 18 Apr 15
Posts: 6
ID: 395688
Credit: 341,702,920
RAC: 0
321 LLR Gold: Earned 500,000 credits (643,407)Cullen LLR Gold: Earned 500,000 credits (621,275)ESP LLR Amethyst: Earned 1,000,000 credits (1,082,872)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,149,800)PPS LLR Gold: Earned 500,000 credits (609,211)PSP LLR Amethyst: Earned 1,000,000 credits (1,278,433)SoB LLR Gold: Earned 500,000 credits (604,650)SR5 LLR Gold: Earned 500,000 credits (536,194)SGS LLR Gold: Earned 500,000 credits (595,071)TRP LLR Gold: Earned 500,000 credits (529,793)Woodall LLR Gold: Earned 500,000 credits (691,805)321 Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,558,492)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (684,323)PPS Sieve Double Bronze: Earned 100,000,000 credits (178,332,642)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (105,341)TRP Sieve (suspended) Silver: Earned 100,000 credits (304,920)AP 26/27 Sapphire: Earned 20,000,000 credits (34,717,241)GFN Double Bronze: Earned 100,000,000 credits (111,971,022)PSA Amethyst: Earned 1,000,000 credits (1,686,430)
Message 86506 - Posted: 30 Jun 2015 | 14:17:15 UTC - in response to Message 86505.

That is basically what I thought. I ended up being a little out of luck for the last challenge because I was a couple hundred hours into some SoB work and did not feel like losing all that computation time.

It's nice to know that there is some small bias toward the shorter tasks, but you are right that it is nearly impossible to tell. If it was 500x more likely to get a PPSE task than a SoB task then it would be more balanced (on average).

I'm working on filling out my set of badges now, so I will stick to similar sized tasks at least.
____________
My lucky numbers are:
5145*2^1349071+1
7188654^65536+1

Message boards : Number crunching : Multiple Subprojects - Odds of getting a task?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 2.50, 3.39, 3.03
Generated 23 Sep 2023 | 20:59:37 UTC