Message boards : Number crunching : CPU Quota when no work.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile adrianxw

Send message
Joined: 29 Sep 04
Posts: 187
Credit: 705,487
RAC: 0
Message 13215 - Posted: 31 Mar 2006, 11:23:26 UTC
Last modified: 31 Mar 2006, 11:26:35 UTC

If I have 3 projects on a machine...

a) 40%
b) 40%
c) 20%

... and a) runs out of work, the CPU cycles it would have had obviously go to the other projects. My question is, do they split evenly, thus...

a) No work
b) 60%
c) 40%

... or does the split follow the existing proportion, thus...

a) No work
b) 66.6%
c) 33.3%

...?

Wave upon wave of demented avengers march cheerfully out of obscurity into the dream.
ID: 13215 · Report as offensive     Reply Quote
Osku87

Send message
Joined: 2 Nov 05
Posts: 21
Credit: 105,075
RAC: 0
Message 13218 - Posted: 31 Mar 2006, 13:32:49 UTC

I'm not sure, but it should split like 66% and 33%.
ID: 13218 · Report as offensive     Reply Quote
River~~

Send message
Joined: 13 Jul 05
Posts: 456
Credit: 75,142
RAC: 0
Message 13219 - Posted: 31 Mar 2006, 13:34:26 UTC - in response to Message 13215.  
Last modified: 31 Mar 2006, 13:42:00 UTC

If I have 3 projects on a machine...

a) 40%
b) 40%
c) 20%
...


When (a) has no work the short term split of cpu time follows the existing proportion, thus...

a) No work
b) 66.6%
c) 33.3%

However, there can be an affect on project (a)'s Long Term Debt (LTD).

If (a) has a negative LTD so that it is not asking for work, then in this case the LTD will get less negative to reflect the fact that the project is being barred from downloading. As there are no downloads, the project does not know there is no work. In effect project (a) is still paying back its previous overshare of work. This means that in the long term the project shares are kept as 40 - 40 - 20.

If (a) has a positive LTD, then the client will notice that there is no work, and there will be no effect on LTD. This means that if the no work situation lasts long term, the project shares will be 0 - 67 - 33.

Hope that helps, sorry the answer is more complicated than you expected - this system tries to combine several conflicting goals!

River~~
ID: 13219 · Report as offensive     Reply Quote
PaperDragon
Avatar

Send message
Joined: 1 Aug 05
Posts: 11
Credit: 544,090
RAC: 0
Message 13224 - Posted: 31 Mar 2006, 18:44:34 UTC
Last modified: 31 Mar 2006, 18:50:37 UTC

Just done some calculations. I have 6 projects on this machine. Add all the shares togather they come to 182; broken down as follows:

84 + 21 + 21 + 21 + 21 + 14 = 182. (LHC@home is one of the 21's)

Precentages are:
46.153 + (11.538 * 4) + 07.692 = 99.999

--------------------------------------------------

Now if we remove on of the 21 (for when LHC has no work) we get 161 total share:

84 + 21 + 21 + 21 + 14 = 161

Percentages are:

52.173 + (13.043 * 3) + 08.695 = 99.997

-----------------------------------------------

As can be seen, on my machine, the project share, with no work, was just removed for the total combined shares and recalculated. This information came from BOINCview.

So it is as the last poster said, it is spread according to the shares you have set up.


You like Myst? Uru Live returns! www.urulive.com
ID: 13224 · Report as offensive     Reply Quote
Profile adrianxw

Send message
Joined: 29 Sep 04
Posts: 187
Credit: 705,487
RAC: 0
Message 13229 - Posted: 2 Apr 2006, 8:33:42 UTC

Thank you, it is as I hoped.

Wave upon wave of demented avengers march cheerfully out of obscurity into the dream.
ID: 13229 · Report as offensive     Reply Quote

Message boards : Number crunching : CPU Quota when no work.


©2024 CERN