active_frac Question (BUG?)

Message boards : BOINC client : active_frac Question (BUG?)
Message board moderation

To post messages, you must log in.

AuthorMessage
Uioped1
Avatar

Send message
Joined: 2 Mar 06
Posts: 12
United States
Message 12736 - Posted: 25 Sep 2007, 16:56:55 UTC
Last modified: 25 Sep 2007, 17:03:58 UTC

On one of my systems (running 5.10.20), it appears that the active_frac multiplier is not being modified. This was leading to symptoms that I attributed to a scheduler bug in a previous post. (client was not requesting enough work becaouse the active_frac was very low.)

What is the active_frac? I interpret it as the amount of time when boinc is running that work is enabled. If my assumption is correct, that would indicate that this was a bug.

If that is the case, not only is the active_frac not being modified it is also incorrect...

If I manually modify the active_frac, then my work fetch policy becomes more in line with what it should be, but the active_frac still never changes. If the original value was correct (a very low number, something like 2%) you would expect my artificially high number to trend back towards the old number. (I first watched the old number, and found that it was not trending higher as boinc ran uninterrupted for a day or so, including for testing at the end of the period stopping and restarting the boinc service, both with and without processing enabled.

Any help would be most appreciated!

Edit: I also have a connected_frac of -1; I'm assuming that this is because I am always connected, but maybe I'm wrong and this is a problem instead.
ID: 12736 · Report as offensive
Keck_Komputers
Avatar

Send message
Joined: 29 Aug 05
Posts: 304
United States
Message 12742 - Posted: 26 Sep 2007, 3:56:11 UTC

The -1 in the connected_frac is a known bug that has resisted extermination for a long time. The number is not used because of this.

The rest of my time stats seem to be working ok. This host has recently changed it's usage pattern so it seems a decent test.
BOINC WIKI

BOINCing since 2002/12/8
ID: 12742 · Report as offensive
Uioped1
Avatar

Send message
Joined: 2 Mar 06
Posts: 12
United States
Message 12743 - Posted: 26 Sep 2007, 4:03:41 UTC - in response to Message 12742.  

The -1 in the connected_frac is a known bug that has resisted extermination for a long time. The number is not used because of this.

The rest of my time stats seem to be working ok. This host has recently changed it's usage pattern so it seems a decent test.


Just since you didn't state it explicitly, you have noticed that your activ_frac has changed as your actual usage pattern changed?
ID: 12743 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 12745 - Posted: 26 Sep 2007, 5:44:38 UTC
Last modified: 26 Sep 2007, 5:46:23 UTC

active_frac corresponds to "While BOINC running, % of time work is allowed" on the host page.

I just checked my numbers on my dual booting host (running 5.10.8 for Linux) for a couple of cases.

1. A project where the host hasn't contacted the server for a few days:
While BOINC running, % of time work is allowed 99.9887 %

2. A project where the host contacted the scheduler a few hours ago:
While BOINC running, % of time work is allowed 99.9398 %

3. The current value from client_state:
[boinc@localhost ~]$ cat client_state.xml | grep active_frac
<active_frac>0.999404</active_frac>


I can also say the other values are updating as well, especially noticeable is <on_frac>

1. % of time BOINC client is running 66.2002 %

2. % of time BOINC client is running 73.9536 %

3. [boinc@localhost ~]$ cat client_state.xml | grep on_frac
<on_frac>0.742335</on_frac>


And for what it's worth, my connected_frac is also -1

[boinc@localhost ~]$ cat client_state.xml | grep connected_frac
<connected_frac>-1.000000</connected_frac>
Kathryn :o)
ID: 12745 · Report as offensive
Keck_Komputers
Avatar

Send message
Joined: 29 Aug 05
Posts: 304
United States
Message 12751 - Posted: 26 Sep 2007, 21:04:04 UTC - in response to Message 12743.  

The -1 in the connected_frac is a known bug that has resisted extermination for a long time. The number is not used because of this.

The rest of my time stats seem to be working ok. This host has recently changed it's usage pattern so it seems a decent test.


Just since you didn't state it explicitly, you have noticed that your activ_frac has changed as your actual usage pattern changed?

My active_frac has stayed at ~98%, the on_frac has dropped from ~90% to ~13%. Both are as expected based on the new usage patterns on this host.
BOINC WIKI

BOINCing since 2002/12/8
ID: 12751 · Report as offensive
Uioped1
Avatar

Send message
Joined: 2 Mar 06
Posts: 12
United States
Message 12765 - Posted: 27 Sep 2007, 19:00:42 UTC

Well, it seems to be working on your other computers and also on a test multicore system that I just installed boinc on.

That field is definitely not being updated on the system in question though. Who knows why. This is a system that has had several BOINC upgrades, though, so perhaps something got hosed once upon a time.

If anyone has any ideas what I should do, let me know. For now I manually modified the value to something that prevents the queue from running dry, so I guess I have a workaround.

Thanks for everyne's help on this weird issue.

ID: 12765 · Report as offensive
Arcturus

Send message
Joined: 25 Jan 07
Posts: 12
United States
Message 12857 - Posted: 5 Oct 2007, 22:26:15 UTC
Last modified: 5 Oct 2007, 22:26:49 UTC

Thank you. This exact same problem has been driving me nuts for about a week or two now.

I'm running a dual core that is on 24 hours a day, 7 days a week and I recently noticed that it was only running two projects at a time with no additional work being downloaded until the ones that were running completed. I tried increasing the minimum work and additional work buffers to no avail.

I ran across this thread today and set my active_frac to 0.900000 and instantly got new work units. Unfortunately, both my minimum work and additional work buffers were both set to 10 and I got just a wee bit more work than I wanted to so I reset them both, aborted the unwanted work units and now everything is operating the way I would expect it to.
ID: 12857 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 16475 - Posted: 5 Apr 2008, 15:17:21 UTC
Last modified: 5 Apr 2008, 15:41:31 UTC

I think I've now tracked down this bug to line 69 in time_stats.C: details and reasoning in Benchmarking bug - indefinite suspension of computing.

The problem is initiated if the computer user inadvertently sets the computer's clock to some time/date in the future, and then resets it to a more accurate time/date. All updating of time_stats metrics is then inhibited until ten (?)seconds(?) after the maximum time/date ever set on that computer's clock while BOINC is running.
ID: 16475 · Report as offensive

Message boards : BOINC client : active_frac Question (BUG?)

Copyright © 2024 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.