Posts by JefPatat

1) Message boards : BOINC client : RPC WU credit (Message 81301)
Posted 16 Sep 2017 by JefPatat
Post:
Thanks for the info. That should get me going.
2) Message boards : BOINC client : RPC WU credit (Message 81287)
Posted 15 Sep 2017 by JefPatat
Post:
Hi all,

are the (results of) WU stored locally after they have been reported and validated?

I'm specifically looking for previously granted credit per WU. I noticed that the project site only stores the last 100 or so. Is there a way to get to the older ones?

I found the
 get_statistics(PROJECTS&)
function. How long is that data stored?

Thanks in advance,
Jef
3) Message boards : BOINC client : Can max RAC be simulated from previous results (Message 80977)
Posted 9 Sep 2017 by JefPatat
Post:
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.
4) Message boards : Questions and problems : When does the client communicate with the project server (Message 80969)
Posted 9 Sep 2017 by JefPatat
Post:
Hi,

I'm doing some experiments and I noticed two strange entries in the tasks overview:

1. Some entries have exactly the same reporting time even though they didn't finish at exactly the same time


2. Some entries are not sequential. Entry 2 should be at place 3


I image this is related to tasks being finished get reported at certain intervals and in the order they are in the task list. That way the second observation can be explained.

My question is which logic is behind this. What is the interval of reporting. Can this be modified somewhere?

Thanks in advance,
Jef
5) Message boards : Web interfaces : Get all tasks through WebRPC (Message 80761)
Posted 5 Sep 2017 by JefPatat
Post:
Hi all,

I would like to do some analysis on all results of some known hosts without actually having direct access to the client.

There is a "Get status of result(s)" in the WebRPC. It requires a list of IDs. Is it somehow possible to get the IDs for a specific host from the server? Similar to

.../results.php?hostid=12345

Thanks in advance,
Jef
6) Message boards : BOINC client : Can max RAC be simulated from previous results (Message 80747)
Posted 4 Sep 2017 by JefPatat
Post:
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?
7) Message boards : BOINC client : Can max RAC be simulated from previous results (Message 80741)
Posted 4 Sep 2017 by JefPatat
Post:
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
8) Message boards : Questions and problems : Can't get remote control to work (Message 80094)
Posted 9 Aug 2017 by JefPatat
Post:
Hmmm, not sure what you say is correct or if we are understanding each other correctly. I want to monitor the Pi from the desktop. Why does the Pi's need to be in the desktop cfg file?

Anyway, I'm off hiding in the corner of shame. Turns out that I have been messing around with remote_host.cfg instead of remote_hosts.cfg. It all works as it should now. Thanks for having a look at my stupidity!
9) Message boards : Questions and problems : Can't get remote control to work (Message 80090)
Posted 9 Aug 2017 by JefPatat
Post:
Hi all,

I just started a new project. I have a Windows 8.1 machine running 7.6.33 (x64) and a raspberry pi running 7.4.23. Both should be the latest versions.

On the Pi I edited gui_rpc_auth.cfg to have one line with a password. I also edited remote_host.cfg to have one line with the IP of my Windows machine. I restarted the client. And later the Pi.

On the Windows machine I try to attach the BOINC Manager to the Pi. I enter the Pi's IP and the password from the gui_rpc_auth.cfg. Whatever I try the client always gives "connecting to..." -> "connection closed" -> "connecting to..." -> "connection closed". I disabled the windows firewall to be sure.

I then modified cc_config.xml on both ends to have <gui_rpc_debug>1</gui_rpc_debug>. The results are a bit long. I don't know how I can add a file here so I just show what I think is relevant.

Can anyone help me out? The socket is closed for some reason but I really have no clue.

PI:
09-Aug-2017 11:50:56 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:50:56 [---] [gui_rpc] Remote control allowed
09-Aug-2017 11:50:56 [---] [gui_rpc] Listening on port 31416
09-Aug-2017 11:50:56 [---] Not using a proxy
09-Aug-2017 11:50:56 Initialization completed
09-Aug-2017 11:51:18 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:18 [---] GUI RPC request from non-allowed address 2.0.199.74
09-Aug-2017 11:51:19 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:20 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:21 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:21 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:22 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:23 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:24 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:24 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:25 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:26 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:26 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:27 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:28 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:29 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:29 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:30 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:31 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:32 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:32 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:33 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:34 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:34 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:35 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:36 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:37 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:51:37 [---] [gui_rpc] found allowed hosts list
09-Aug-2017 11:59:41 [---] [gui_rpc] got new GUI RPC connection
09-Aug-2017 11:59:41 [---] [gui_rpc] GUI RPC Command = '<boinc_gui_rpc_request>
<exchange_versions>
   <major>7</major>
   <minor>4</minor>
   <release>23</release>
</exchange_versions>
</boinc_gui_rpc_request>
'
09-Aug-2017 11:59:41 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<server_version>
   <major>7</major>
   <minor>4</minor>
   <release>23</release>
</server_version>
</boin'
09-Aug-2017 11:59:41 [---] [gui_rpc] handler returned -102, closing socket


Desktop:
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_status>2</network_status>
   <ams_password_error>0</ams_password_error>
   <task_s'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC Command = '<boinc_gui_rpc_request>
<get_messages>
  <seqno>12226</seqno>
  <translatable/>
</get_messages>
</boinc_gui_rpc_request>
'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<msgs>
<msg>
 <project></project>
 <pri>1</pri>
 <seqno>12227</seqno>
 <body><![CDATA[
[gui_rpc] GUI RPC r'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC Command = '<boinc_gui_rpc_request>
<get_results>
<active_only>0</active_only>
</get_results>
</boinc_gui_rpc_request>
'
09-Aug-2017 14:35:07 [---] [gui_rpc] GUI RPC reply: '<boinc_gui_rpc_reply>
<results>
<result>
    <name>04fe08aa.13866.12751.10.37.74_1</name>
    <wu_name>04fe08aa.13866.12751.10.3'
09-Aug-2017 14:35:07 [---] [gui_rpc] handler returned -102, closing socket




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.