Thread 'What is "debt" and how do I clear it up in Boinc?'

Message boards : BOINC client : What is "debt" and how do I clear it up in Boinc?
Message board moderation

To post messages, you must log in.

AuthorMessage
Zoomer30

Send message
Joined: 14 Jun 07
Posts: 5
Message 10896 - Posted: 14 Jun 2007, 19:14:43 UTC

For some reason in just the past few days my BOINC manager has stopped taking WUs from 2 of my projects and will only run Climate Prediction. I found a program that shows the debt that each program has here is the readout:

PRJ: ROSETTA@HO STD: 0.000000 LTD: -199197.715224 RSRC: 100 -------------------------------
PRJ: CLIMATEPRE STD: 0.000000 LTD: 227738.087620 RSRC: 100 -------------------------------
PRJ: SPINHENGE@ STD: 0.000000 LTD: -28540.372396 RSRC: 100

The first thing you will say is WOW HE ONLY RUNS 3 PROJECTS. Well my PC pretty much stinks, takes a good 1700-2000 hrs just to get one CP model done. It can get a Rosetta WU done in 2.5 hours and the Spin WUs get done in 45 mins.

Anyway, should I just clear the debt, at this point I will be running CP for weeks before it will do the others again (I could force it by stopping CP, but I would rather the app figure this out)
ID: 10896 · Report as offensive
ProfileKSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 10898 - Posted: 14 Jun 2007, 22:30:37 UTC

Debt is just a measure of how much CPU time a project has gotten relative to other projects.

A negative LTD means a project is owed CPU time. A positive one means it's gotten more than its fair share.

I doubt what you have is a debt issue (although yours are somewhat out of whack).

My guess is the BOINC scheduler thinks the CPDN model is in deadline trouble. How far along is the model and when is it "due" (as CPDN actually ignores deadlines as long as you continue to trickle)? Also, what version of BOINC are you running?

Once the scheduler thinks that the deadline crisis is over, it'll start running Rosetta and Spinhenge again. And once that CPDN model finishes, the other two will get a bunch of time before you get another model.
Kathryn :o)
ID: 10898 · Report as offensive
Zoomer30

Send message
Joined: 14 Jun 07
Posts: 5
Message 10901 - Posted: 15 Jun 2007, 2:56:12 UTC

I am running version 5.8.15 of Boinc. Here are my current debt stats:

PRJ: ROSETTA@HO STD: 0.000000 LTD: -189792.277724 RSRC: 100 -------------------------------
PRJ: CLIMATEPRE STD: 0.000000 LTD: 208927.212620 RSRC: 100 -------------------------------
PRJ: SPINHENGE@ STD: 0.000000 LTD: -19134.934896 RSRC: 100

The CP debt is coming down quick. In about 8 hours its going down by about 18800 pts.

The CP model is about 11% done and I cant seem to find the deadline.
ID: 10901 · Report as offensive
ProfileKSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 10904 - Posted: 15 Jun 2007, 3:11:35 UTC - in response to Message 10901.  

I am running version 5.8.15 of Boinc. Here are my current debt stats:

PRJ: ROSETTA@HO STD: 0.000000 LTD: -189792.277724 RSRC: 100 -------------------------------
PRJ: CLIMATEPRE STD: 0.000000 LTD: 208927.212620 RSRC: 100 -------------------------------
PRJ: SPINHENGE@ STD: 0.000000 LTD: -19134.934896 RSRC: 100

The CP debt is coming down quick. In about 8 hours its going down by about 18800 pts.

The CP model is about 11% done and I cant seem to find the deadline.


I think the deadline is only shown in the advanced view. So if you're looking at the simple GUI (the one with the picture in the middle) you'll need to click the "Advanced view" button to switch over. Once you're there look at the tasks tab. I'm totally blanking out on what the column header should say, but it's the one with the date in the future :)
Kathryn :o)
ID: 10904 · Report as offensive
Metod, S56RKO

Send message
Joined: 9 Sep 05
Posts: 128
Slovenia
Message 10907 - Posted: 15 Jun 2007, 7:02:10 UTC - in response to Message 10898.  
Last modified: 15 Jun 2007, 7:02:29 UTC

Debt is just a measure of how much CPU time a project has gotten relative to other projects.

A negative LTD means a project is owed CPU time. A positive one means it's gotten more than its fair share.


Actually it's just the other way around: if LTD is negative, then project has gotten more than it's share. BOINC client will not fetch more work for that project until LTD gets close to 0. It'll start to fetch new work when LTD is still slightly negative (with it's absolute value proportional to number of CPUs, project resource share and setting of Computer is connected to the Internet about every).

Metod ...
ID: 10907 · Report as offensive
Metod, S56RKO

Send message
Joined: 9 Sep 05
Posts: 128
Slovenia
Message 10909 - Posted: 15 Jun 2007, 8:33:20 UTC - in response to Message 10908.  

It seems to me that BOINC in first line of order tries to keep the STD in balance.


Indeed.

STD is regarded when BOINC decides which project to run next. That's done either when any project app finishes or after period of time set as Switch between applications every. First STD for all projects get recalculated. Projects that have positive STD and have some work in buffer will be regarded to run next (and typically those with largest positive STD will be run rather than those with lower positive STD).

LTD is regarded when BOINC decides that it needs to top-up buffer. Only projects that have positive or small negative LTD will be allowed to fetch new work.

My observation is that LTD gets recalculated only once per day. I've noticed regularly that STD can get as low as -86400 (that's the number of seconds in a day) and it gets added to LTD once a day. STD is reset to 0 at that moment.

Metod ...
ID: 10909 · Report as offensive
ProfileKSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 10911 - Posted: 15 Jun 2007, 9:32:36 UTC

Ugh.

Sorry about the LTD confusion. I claim jet lag and 5 little kids running around me when I typed my answer.

I'll go hide in a corner now.
Kathryn :o)
ID: 10911 · Report as offensive
Zoomer30

Send message
Joined: 14 Jun 07
Posts: 5
Message 10927 - Posted: 15 Jun 2007, 20:16:05 UTC

Ok here are my current stats, the CP model is going down quick on the debt stat:

PRJ: ROSETTA@HO STD: 0.000000 LTD: -168954.762099 RSRC: 100 -------------------------------
PRJ: CLIMATEPRE STD: 0.000000 LTD: 173088.556370 RSRC: 100 -------------------------------
PRJ: SPINHENGE@ STD: 0.000000 LTD: -4133.794271 RSRC: 100

Looking at my MESSAGES it appears that the other projects did fetch new work today, but just a few times. Here is my take on what the screen tells me:

This screen is listing DEBTS, so if the amount is positive that would be a positive debt and would have to be taken care of. Since CP is pretty much the only project running right now, and the number is getting smaller, that seems to make sense. I would think once it got close to zero all the projects would run as normal (ie: Work an hour, switch, work and hour, switch....)

I think I messed it up since I paused CP last week and just let it run Rosetta.
ID: 10927 · Report as offensive
Zoomer30

Send message
Joined: 14 Jun 07
Posts: 5
Message 10934 - Posted: 16 Jun 2007, 2:59:27 UTC

AS you can see I now have a STD for Spin. Guess Boinc felt it could do a few WUs from that project (they only take 45mins)

PRJ: ROSETTA@HO STD: 0.000000 LTD: -160939.131890 RSRC: 100 -------------------------------
PRJ: CLIMATEPRE STD: 798.109375 LTD: 166056.389703 RSRC: 100 -------------------------------
PRJ: SPINHENGE@ STD: -798.109375 LTD: -5117.257813 RSRC: 100

I have a hunch Rosetta wont be running for quite some time, it ows all the time to CP. Probably be a good 3 or 4 days (espically since CP wont be running 100% fulltime since its getting Spinhenge Wus now again)
ID: 10934 · Report as offensive
ProfileKSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 10938 - Posted: 16 Jun 2007, 3:36:53 UTC

Yup.

Looks like things are sorted. It will all balance out in the end :)
Kathryn :o)
ID: 10938 · Report as offensive

Message boards : BOINC client : What is "debt" and how do I clear it up in Boinc?

Copyright © 2025 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.