Can max RAC be simulated from previous results

Message boards : BOINC client : Can max RAC be simulated from previous results
Message board moderation

To post messages, you must log in.

AuthorMessage
JefPatat

Send message
Joined: 9 Aug 17
Posts: 9
Belgium
Message 80741 - Posted: 4 Sep 2017, 11:59:46 UTC

Hi all,

First of all I don't know if this is the correct section to post, feel free to move.

I'm currently investigating if it would be possible to simulate RAC based on previous results. I know this won't work for all projects and is dependent on a lot of factors. I don't need it to be an exact estimate. My goal is to give an indication of max RAC based on previous results of a host running 24/7.

I made a little program to calculate the rac based on the results for this host: https://boinc.vgtu.lt/vtuathome//results.php?hostid=23189
I used the code from update_average in lib/util.cpp as a guide but no matter what I try I never end up to the RAC displayed.
I would have thought I at least would be able to calculate the RAC correctly from the results.

When is this function called? I sometimes see that report times are not chronological. What happens in these instances?

Who can help me with this little project?

Thanks in advance,
Jef
ID: 80741 · Report as offensive
robsmith
Volunteer tester
Help desk expert

Send message
Joined: 25 May 09
Posts: 1283
United Kingdom
Message 80742 - Posted: 4 Sep 2017, 12:16:22 UTC

As RAC is Recent Average Credit, provided you have records that go back over a a few months, and have done changes to either the computer in question, the applications or the "work habit" then it should be fairly simple to predict future RAC.
Further, if you move from, say, 8 hours per day to 24 hours per day a simple multiply by three will be a very good approximation. However if at the same time you move from running screen savers or other work then it becomes a more difficult problem to solve.
ID: 80742 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 80745 - Posted: 4 Sep 2017, 16:51:44 UTC

The best description of RAC I know was in the late lamented Unofficial BOINC Wiki. Here's a stab at the Wayback Machine rendering of it:

https://web.archive.org/web/20080311233928/http://www.boinc-wiki.info:80/Recent_Average_Credit
ID: 80745 · Report as offensive
JefPatat

Send message
Joined: 9 Aug 17
Posts: 9
Belgium
Message 80747 - Posted: 4 Sep 2017, 17:11:52 UTC - in response to Message 80745.  

Yes, I found that one via another thread. Too bad the Excel file link doesn't work. Anyone has that file or knows where I can find it?
ID: 80747 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 80876 - Posted: 7 Sep 2017, 5:46:56 UTC - in response to Message 80747.  

Yes, I found that one via another thread. Too bad the Excel file link doesn't work. Anyone has that file or knows where I can find it?
I used to have it and got it tweaked so that it worked. I don't think it's on an active machine, though. I'll look through my box of cast-off hard disks when I get back from Paris at the weekend.
ID: 80876 · Report as offensive
JefPatat

Send message
Joined: 9 Aug 17
Posts: 9
Belgium
Message 80977 - Posted: 9 Sep 2017, 9:52:25 UTC - in response to Message 80876.  

In the meantime I succeeded in getting it working. If you find it easily it would be welcome but you don't have to search for it too hard.
ID: 80977 · Report as offensive

Message boards : BOINC client : Can max RAC be simulated from previous results

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.