[H] is tracking other DC projects with Covid-19 related research

[H]Coleslaw

Member
Apr 15, 2014
157
133
116
Also, please note in my thread we have info for a cc_config.xml that allows for BOINC to pause work when you have FAH work running. We are encouraging our dedicated folders to set this up to keep their rigs busy due to the FAH servers not being able to keep up with demand. One just stops the GPU work in BOINC and the other stops all BOINC work.
 

Assimilator1

Elite Member
Nov 4, 1999
24,120
507
126
Cool! I didn't know that could be done, I guess it's a repurposing of 'suspend GPU when computer is in use' :).

I might use the pause GPU one as I have Einstein tasks waiting to be finished, I was thinking they all had exp dates of 20/4, but actually 2/3 of them are 13/4.....
 

Assimilator1

Elite Member
Nov 4, 1999
24,120
507
126
Is this all I need to put in the cc config file to pause the GPU? Or is their supposed to be other things in there too?

<cc_config>
<options>
<use_all_gpus>1</use_all_gpus>
<report_results_immediately>1</report_results_immediately>
<dont_suspend_nci>1</dont_suspend_nci>
<exclusive_gpu_app>FahCore_21.exe</exclusive_gpu_app>
<exclusive_gpu_app>FahCore_22.exe</exclusive_gpu_app>
</options>
</cc_config>


[edit] Curious, I already have a config file there with a bunch of debug entries, I vaguely remember having a problem with the 'Notices' tab a year or 2 ago.....
Hmm, not sure what to do now. Add it to old config file or delete old file??

This is the current config file
<cc_config>
<log_flags>
<file_xfer>1</file_xfer>
<sched_ops>1</sched_ops>
<task>1</task>
<app_msg_receive>0</app_msg_receive>
<app_msg_send>0</app_msg_send>
<async_file_debug>0</async_file_debug>
<benchmark_debug>0</benchmark_debug>
<checkpoint_debug>0</checkpoint_debug>
<coproc_debug>0</coproc_debug>
<cpu_sched>0</cpu_sched>
<cpu_sched_debug>0</cpu_sched_debug>
<cpu_sched_status>0</cpu_sched_status>
<dcf_debug>0</dcf_debug>
<disk_usage_debug>0</disk_usage_debug>
<file_xfer_debug>0</file_xfer_debug>
<gui_rpc_debug>0</gui_rpc_debug>
<heartbeat_debug>0</heartbeat_debug>
<http_debug>0</http_debug>
<http_xfer_debug>0</http_xfer_debug>
<idle_detection_debug>0</idle_detection_debug>
<mem_usage_debug>0</mem_usage_debug>
<network_status_debug>0</network_status_debug>
<notice_debug>0</notice_debug>
<poll_debug>0</poll_debug>
<priority_debug>0</priority_debug>
<proxy_debug>0</proxy_debug>
<rr_simulation>0</rr_simulation>
<rrsim_detail>0</rrsim_detail>
<sched_op_debug>0</sched_op_debug>
<scrsave_debug>0</scrsave_debug>
<slot_debug>0</slot_debug>
<state_debug>0</state_debug>
<statefile_debug>0</statefile_debug>
<suspend_debug>0</suspend_debug>
<task_debug>0</task_debug>
<time_debug>0</time_debug>
<trickle_debug>0</trickle_debug>
<unparsed_xml>0</unparsed_xml>
<work_fetch_debug>0</work_fetch_debug>
</log_flags>
<options>
<abort_jobs_on_exit>0</abort_jobs_on_exit>
<allow_multiple_clients>0</allow_multiple_clients>
<allow_remote_gui_rpc>0</allow_remote_gui_rpc>
<client_version_check_url>http://boinc.berkeley.edu/download.php?xml=1</client_version_check_url>
<client_new_version_text></client_new_version_text>
<client_download_url>http://boinc.berkeley.edu/download.php</client_download_url>
<disallow_attach>0</disallow_attach>
<dont_check_file_sizes>0</dont_check_file_sizes>
<dont_contact_ref_site>0</dont_contact_ref_site>
<lower_client_priority>0</lower_client_priority>
<dont_suspend_nci>0</dont_suspend_nci>
<dont_use_vbox>0</dont_use_vbox>
<dont_use_wsl>0</dont_use_wsl>
<exclusive_gpu_app>EDLaunch.exe</exclusive_gpu_app>
<exit_after_finish>0</exit_after_finish>
<exit_before_start>0</exit_before_start>
<exit_when_idle>0</exit_when_idle>
<fetch_minimal_work>0</fetch_minimal_work>
<fetch_on_update>0</fetch_on_update>
<force_auth>default</force_auth>
<http_1_0>0</http_1_0>
<http_transfer_timeout>300</http_transfer_timeout>
<http_transfer_timeout_bps>10</http_transfer_timeout_bps>
<max_event_log_lines>2000</max_event_log_lines>
<max_file_xfers>8</max_file_xfers>
<max_file_xfers_per_project>2</max_file_xfers_per_project>
<max_stderr_file_size>0</max_stderr_file_size>
<max_stdout_file_size>0</max_stdout_file_size>
<max_tasks_reported>0</max_tasks_reported>
<ncpus>-1</ncpus>
<network_test_url>http://www.google.com/</network_test_url>
<no_alt_platform>0</no_alt_platform>
<no_gpus>0</no_gpus>
<no_info_fetch>0</no_info_fetch>
<no_opencl>0</no_opencl>
<no_priority_change>0</no_priority_change>
<os_random_only>0</os_random_only>
<process_priority>-1</process_priority>
<process_priority_special>-1</process_priority_special>
<proxy_info>
<socks_server_name></socks_server_name>
<socks_server_port>80</socks_server_port>
<http_server_name></http_server_name>
<http_server_port>80</http_server_port>
<socks5_user_name></socks5_user_name>
<socks5_user_passwd></socks5_user_passwd>
<socks5_remote_dns>0</socks5_remote_dns>
<http_user_name></http_user_name>
<http_user_passwd></http_user_passwd>
<no_proxy></no_proxy>
<no_autodetect>0</no_autodetect>
</proxy_info>
<rec_half_life_days>10.000000</rec_half_life_days>
<report_results_immediately>0</report_results_immediately>
<run_apps_manually>0</run_apps_manually>
<save_stats_days>30</save_stats_days>
<skip_cpu_benchmarks>0</skip_cpu_benchmarks>
<simple_gui_only>0</simple_gui_only>
<start_delay>0.000000</start_delay>
<stderr_head>0</stderr_head>
<suppress_net_info>0</suppress_net_info>
<unsigned_apps_ok>0</unsigned_apps_ok>
<use_all_gpus>0</use_all_gpus>
<use_certs>0</use_certs>
<use_certs_only>0</use_certs_only>
<vbox_window>0</vbox_window>
</options>
</cc_config>
 
Last edited:

StefanR5R

Elite Member
Dec 10, 2016
5,459
7,718
136
I suggest to rename the old file, e.g. add an .old suffix, to make it inactive but leave it as documentation.

In the new file, omit the
<use_all_gpus>1</use_all_gpus>
<report_results_immediately>1</report_results_immediately>
<dont_suspend_nci>1</dont_suspend_nci>
lines which you don't need.

Documentation of cc_config_xml: wiki
 
  • Like
Reactions: Assimilator1

StefanR5R

Elite Member
Dec 10, 2016
5,459
7,718
136
PS:
  • Most changes in cc_config.xml can be activated by means of boincmgr's advanced view, Options -> Read config files. Though some parameters in cc_config.xml (but no the exclusive_* ones) require the client to be shut down and restarted again, in order to be taken in.
  • Exclusive applications and/or exclusive GPU applications can also be entered with boincmgr's advanced view, Options -> Exclusive applications.
 
  • Like
Reactions: Assimilator1

Endgame124

Senior member
Feb 11, 2008
954
669
136
PS:
  • Most changes in cc_config.xml can be activated by means of boincmgr's advanced view, Options -> Read config files. Though some parameters in cc_config.xml (but no the exclusive_* ones) require the client to be shut down and restarted again, in order to be taken in.
  • Exclusive applications and/or exclusive GPU applications can also be entered with boincmgr's advanced view, Options -> Exclusive applications.
Is there a way to control preferences by platform? I'd love to have one config file that I can use on everything, but with, say different preferences for a Pi vs my Fedora folding box.
 

Assimilator1

Elite Member
Nov 4, 1999
24,120
507
126
I suggest to rename the old file, e.g. add an .old suffix, to make it inactive but leave it as documentation.

In the new file, omit the
<use_all_gpus>1</use_all_gpus>
<report_results_immediately>1</report_results_immediately>
<dont_suspend_nci>1</dont_suspend_nci>
lines which you don't need.

Documentation of cc_config_xml: wiki
Why omit the above?
(Thanks for the link, but it's nice & sunny outside atm & I don't want to spend 1-2 hrs reading all that to find out ;)).

And now you mention program exclusions in app, I remember them! Turns out I added a game their years ago, lol.
Fahcore 21 & 22 added :thumbsup:
 
Last edited:

StefanR5R

Elite Member
Dec 10, 2016
5,459
7,718
136
Why omit the above?
Because you don't need them; you had them set differently before; they have nothing or at most very little to do with exclusive apps; setting them to a different value than you had before may have undesired effects.

Long story — for when it's no longer sunny outside: :-)

use_all_gpus
Default: 0
Upstream docu says:​
"If 1, use all GPUs (otherwise only the most capable ones are used). Requires a client restart."
You had it set at 0 before, so leave it at that. This should only be changed to non-default if there is a host with different types of GPUs in it, and it turns out that it needs to be changed to use the desired GPUs in boinc.
If in doubt, omit it/ leave it at default.
This option has nothing to do with exclusive apps, at all.​

report_results_immediately
Default: 0
Upstream docu says:​
"If 1, each job will be reported to the project server as soon as it's finished, with an inbuilt 60 second delay from completion of result upload. (normally it's deferred for up to one hour, so that several jobs can be reported in one request). Using this option increases the load on project servers, and should generally be avoided. This is intended to be used only on computers whose disks are reformatted daily."
This may be used temporarily during competitions, or tests, or other special situations, when you really know that you require each uploaded result to be reported at once.
If in doubt, omit it/ leave it at default.
This option has nothing to do with exclusive apps either.​

dont_suspend_nci
Default: 0
Upstream docu says:​
"If set [to 1], exempt non-CPU-intensive tasks from suspension in most cases."
Change this option to non-default only if you know that you are running so-called non-CPU-intensive (NCI) projects, and if you know that you need to change this option in order to run these projects in the desired manner.
If in doubt, omit it/ leave it at default.
This is somewhat related to exclusive apps, but affects also many other situations.​
 
  • Like
Reactions: Assimilator1

StefanR5R

Elite Member
Dec 10, 2016
5,459
7,718
136
Is there a way to control preferences by platform? I'd love to have one config file that I can use on everything, but with, say different preferences for a Pi vs my Fedora folding box.
There is no direct way to do this.
You could do something "meta", like writing a config file with preprocessor macros, then put a respective preprocessor call into the startup file of the boinc-client service.
Sounds difficult and convoluted? I think so. :-)
 

Endgame124

Senior member
Feb 11, 2008
954
669
136
There is no direct way to do this.
You could do something "meta", like writing a config file with preprocessor macros, then put a respective preprocessor call into the startup file of the boinc-client service.
Sounds difficult and convoluted? I think so. :-)
I’m already working on a little script to check lspci for video cards and /proc/cpuinfo to select the correct config file during installation :)
 

Assimilator1

Elite Member
Nov 4, 1999
24,120
507
126
Stefan
Yea understood, so those 1st 2 options are (as you said) nothing to do with exclusive apps, & makes me wonder why [H]Coleslaw has changed them, I'd be interested to hear his input on that, especially the 2nd option which could give projects servers excessive load.
 

StefanR5R

Elite Member
Dec 10, 2016
5,459
7,718
136
Maybe these options are common between several members in their team due to some of their main projects.