BOINC 7.6.22 not honoring flag in cc_config.xml ?

Message boards : Questions and problems : BOINC 7.6.22 not honoring flag in cc_config.xml ?
Message board moderation

To post messages, you must log in.

AuthorMessage
Jimbocous
Avatar

Send message
Joined: 1 Oct 15
Posts: 391
United States
Message 69855 - Posted: 31 May 2016, 20:51:08 UTC

I'm probably doing something stupid and, if so, please correct me. I have defined several exclusive apps for both CPU and GPU. When invoking these apps, GPU processing does indeed suspend, but CPU work continues. Do we have a bug, or am I missing something, like understanding of the feature or another flag needed to enable this? Thanks!

Version 7.6.22
cc_config.xml:

<set_cc_config>
<cc_config>
    <log_flags>
        <file_xfer>1</file_xfer>
        <sched_ops>1</sched_ops>
        <task>1</task>
        <android_debug>0</android_debug>
        <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>
        <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_new_version_text></client_new_version_text>
        <client_version_check_url>http://boinc.berkeley.edu/download.php?xml=1</client_version_check_url>
        <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>
        
<exclusive_app>vlc.exe</exclusive_app>
<exclusive_app>cdbxpp.exe</exclusive_app>
<exclusive_app>ImgBurn.exe</exclusive_app>
<exclusive_gpu_app>vlc.exe</exclusive_gpu_app>
<exclusive_gpu_app>cdbxpp.exe</exclusive_gpu_app>
<exclusive_gpu_app>ImgBurn.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>1</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>2</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_priority_change>1</no_priority_change>
        <os_random_only>0</os_random_only>
<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>
    <http_user_name></http_user_name>
    <http_user_passwd></http_user_passwd>
    <no_proxy></no_proxy>
</proxy_info>
        <rec_half_life_days>10.000000</rec_half_life_days>
        <report_results_immediately>1</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</start_delay>
        <stderr_head>0</stderr_head>
        <suppress_net_info>0</suppress_net_info>
        <unsigned_apps_ok>0</unsigned_apps_ok>
        <use_all_gpus>1</use_all_gpus>
        <use_certs>0</use_certs>
        <use_certs_only>0</use_certs_only>
        <vbox_window>0</vbox_window>
    </options>
</cc_config>
</set_cc_config>

ID: 69855 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 69856 - Posted: 31 May 2016, 21:12:42 UTC - in response to Message 69855.  

Make sure that the Activity menu for the CPU is set to "run based on preferences", if it's not all preferences are ignored. Apparently GPU Activity is set to "based on preferences".

Also, you only have to use the exclusion in one place. Rule of thumb:
- Exclusive App suspends both CPU and GPU, this because the GPU cannot do work without the CPU.
- Exclusive GPU App suspends only GPU.
ID: 69856 · Report as offensive
Jimbocous
Avatar

Send message
Joined: 1 Oct 15
Posts: 391
United States
Message 69860 - Posted: 31 May 2016, 21:22:44 UTC - in response to Message 69856.  

Exactly right, figured I had to be doing something stupid, just couldn't see it. I did indeed have the Always flag set on CPU Activity. Good tip on the GPU flags as well. Thanks for the help, and the quick response!
ID: 69860 · Report as offensive

Message boards : Questions and problems : BOINC 7.6.22 not honoring flag in cc_config.xml ?

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.