"BOINC portable" for Windows hosts

Message boards : Number crunching : "BOINC portable" for Windows hosts
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5

AuthorMessage
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1894317 - Posted: 9 Oct 2017, 16:15:37 UTC - in response to Message 1894165.  

err - cc_config has an option for <report_results_immediately>. Why would that not do?

How they will behave on offline host?
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1894317 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1894318 - Posted: 9 Oct 2017, 16:22:16 UTC - in response to Message 1894165.  

err - cc_config has an option for <report_results_immediately>. Why would that not do?

I use7.6.33. And that option marked as "new in 7.7".
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1894318 · Report as offensive
Profile Jord
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 15184
Credit: 4,362,181
RAC: 3
Netherlands
Message 1894327 - Posted: 9 Oct 2017, 16:39:42 UTC - in response to Message 1894318.  

For the app_config.xml yes, but for cc_config.xml its been available for years. Easily available in 7.6.33
ID: 1894327 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1894330 - Posted: 9 Oct 2017, 16:44:11 UTC - in response to Message 1894317.  

err - cc_config has an option for <report_results_immediately>. Why would that not do?
How they will behave on offline host?
It will sign you up to the most expensive cellular data connection available locally, and report tasks that way.

No, of course it won't. If the host is offline, then BOINC is offline. No amount of pushing and prodding, manually or scripted, will make tasks report.
ID: 1894330 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1894333 - Posted: 9 Oct 2017, 16:48:32 UTC - in response to Message 1894318.  

err - cc_config has an option for <report_results_immediately>. Why would that not do?
I use7.6.33. And that option marked as "new in 7.7".
No, it's the two starred options in the <proxy_info> block above which are "new in 7.7".

As Jord said.
ID: 1894333 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1894337 - Posted: 9 Oct 2017, 17:01:30 UTC - in response to Message 1894333.  

Thanks, Jord and Richard.
What I meant about behavior of offline host is if it will incur additional overhead for boinc process to constantly attempt to connect and fail. Or not?
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1894337 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1894344 - Posted: 9 Oct 2017, 17:17:28 UTC - in response to Message 1894337.  

Thanks, Jord and Richard.
What I meant about behavior of offline host is if it will incur additional overhead for boinc process to constantly attempt to connect and fail. Or not?
Looking at the machine in front of me, boinc.exe has currently used 00:42:37 of CPU time since it was last restarted on 15 September - well under 2 minutes per day. That's on a fast i5 with three GPUs, probably reporting a minimum of 250 tasks per day. Considering it has 5,760 CPU minutes available per day (4 cores), using <0.035% for boinc is hardly going to break the bank.

And if it's offline? The reporting requests will go into extended backoff, and take no time at all.
ID: 1894344 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1894396 - Posted: 9 Oct 2017, 21:16:02 UTC - in response to Message 1894344.  


And if it's offline? The reporting requests will go into extended backoff, and take no time at all.

So,when data directory will be taken to internet host - would that backoff remain? Or re-launching boinc.exe on internet host will trigger immediate connection attempt again?
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1894396 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1894427 - Posted: 9 Oct 2017, 23:11:21 UTC - in response to Message 1894396.  


And if it's offline? The reporting requests will go into extended backoff, and take no time at all.

So,when data directory will be taken to internet host - would that backoff remain? Or re-launching boinc.exe on internet host will trigger immediate connection attempt again?

Project communication deferrals are kept when restarting BOINC. I would guess that file transfers and other backoff times are retained as well.
If you don't want to use boinccmd -project url update
It looks like you could update <rsc_backoff_time> and <rsc_backoff_interval> in the client_state.xml for each project.
File transfer backoff timers would likely be similar. I imagine some kind of script could be run to reset all of the xml values.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1894427 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1894675 - Posted: 11 Oct 2017, 18:43:48 UTC - in response to Message 1894427.  


And if it's offline? The reporting requests will go into extended backoff, and take no time at all.

So,when data directory will be taken to internet host - would that backoff remain? Or re-launching boinc.exe on internet host will trigger immediate connection attempt again?

Project communication deferrals are kept when restarting BOINC. I would guess that file transfers and other backoff times are retained as well.

Then cc_config will not help :/


If you don't want to use boinccmd -project url update
It looks like you could update <rsc_backoff_time> and <rsc_backoff_interval> in the client_state.xml for each project.
File transfer backoff timers would likely be similar. I imagine some kind of script could be run to reset all of the xml values.

Sounds not much easy then handling boinccmd. In both cases additional scripting required and at least I have your examples for boinccmd.
Well, keeping internet host online through night almost solves issue.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1894675 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1894681 - Posted: 11 Oct 2017, 18:59:39 UTC - in response to Message 1894675.  

Depends if you have a fixed schedule for letting the offline hosts go online - although you mention the situation in your opening post, you don't explain the circumstances or give any idea of timing.

If you, perhaps, take them all home so they can be online 'through night', then set up a networking schedule to allow network use say half an hour after your normal connection setup, and to disallow network use half an hour before you dismantle, that should cover it.
ID: 1894681 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1894683 - Posted: 11 Oct 2017, 19:04:02 UTC - in response to Message 1894681.  

Depends if you have a fixed schedule for letting the offline hosts go online - although you mention the situation in your opening post, you don't explain the circumstances or give any idea of timing.

If you, perhaps, take them all home so they can be online 'through night', then set up a networking schedule to allow network use say half an hour after your normal connection setup, and to disallow network use half an hour before you dismantle, that should cover it.

Interesting idea, thanks.
Offline hosts are offline forever. Data directory physically transfered onto another device for network communications.
Such network schedule can be implemented into global options override XML file, correct?
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1894683 · Report as offensive
Juha
Volunteer tester

Send message
Joined: 7 Mar 04
Posts: 388
Credit: 1,857,738
RAC: 0
Finland
Message 1894688 - Posted: 11 Oct 2017, 19:28:39 UTC - in response to Message 1894675.  

There's Tools -> Retry pending transfers in Manager and "--network_available" in boinccmd.
ID: 1894688 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1894729 - Posted: 11 Oct 2017, 22:03:37 UTC - in response to Message 1894688.  

There's Tools -> Retry pending transfers in Manager and "--network_available" in boinccmd.

Thanks, but I don't use GUI part at all for this endeavor and editing XML once would be preferable than to introduce boinccmd.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1894729 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1894748 - Posted: 12 Oct 2017, 0:37:15 UTC - in response to Message 1894729.  
Last modified: 12 Oct 2017, 0:42:56 UTC

There's Tools -> Retry pending transfers in Manager and "--network_available" in boinccmd.

Thanks, but I don't use GUI part at all for this endeavor and editing XML once would be preferable than to introduce boinccmd.

One way could be to use PowerShell.
Something along the lines of:
[xml]$cli_state = Get-Content D:\Temp\state.xml
$project = $cli_state.client_state.project | where {$_.master_url -eq 'http://setiathome.berkeley.edu/'}
$set1 = $project.rsc_backoff_time | where {$_.name -eq 'CPU'}
$set1.value = "0.0"
$set2 = $project.rsc_backoff_interval | where {$_.name -eq 'CPU'}
$set2.value = "0.0"
$set3 = $project.rsc_backoff_time | where {$_.name -eq 'ATI'}
$set3.value = "0.0"
$set4 = $project.rsc_backoff_interval | where {$_.name -eq 'ATI'}
$set4.value = "0.0"
$cli_state.Save("D:\Temp\state.xml")


That is just for the project backoffs. Tasks could have backoff times too, but I don't have any in my client_state.xml to look at for examples right now.
Probably using some for loops to run through all of the projects and the CPU GPUs would be a more efficient way to go than my specific example, but I'm not that good at PowerShell yet.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1894748 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1894788 - Posted: 12 Oct 2017, 6:44:08 UTC - in response to Message 1894683.  

Data directory physically transfered onto another device for network communications.
Then you could use a different startup command on the internet computer and allow boinccmd to function there?
ID: 1894788 · Report as offensive
Previous · 1 · 2 · 3 · 4 · 5

Message boards : Number crunching : "BOINC portable" for Windows hosts


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.