2005-11-05 07:08:42 +00:00
|
|
|
<?php
|
|
|
|
require_once("docutil.php");
|
2006-05-22 09:54:31 +00:00
|
|
|
page_head("Core client configuration");
|
|
|
|
echo "
|
2006-12-06 20:59:29 +00:00
|
|
|
The BOINC client can be <b>configured</b> to
|
|
|
|
<ul>
|
|
|
|
<li> Produce more detailed log messages.
|
|
|
|
These messages appear in the Messages tab of the BOINC Manager
|
|
|
|
(informational messages in black, error messages in red).
|
|
|
|
On Windows, they are written to a file (stdoutdae.txt).
|
|
|
|
On Unix, they are written to standard output.
|
|
|
|
<li> Control various behavioral parameters, such as how many
|
|
|
|
simultaneous file transfers to allow.
|
|
|
|
</ul>
|
|
|
|
These options are useful primarily for testing and debugging.
|
|
|
|
<p>
|
|
|
|
The configuration is read from a file <b>cc_config.xml</b>.
|
|
|
|
If this file is absent, the default configuration is used.
|
2006-05-22 09:54:31 +00:00
|
|
|
This file has the following format:
|
|
|
|
".html_text("
|
|
|
|
<cc_config>
|
2006-12-06 20:59:29 +00:00
|
|
|
<log_flags>
|
|
|
|
[ flags ]
|
|
|
|
</log_flags>
|
2006-07-11 23:23:27 +00:00
|
|
|
<options>
|
|
|
|
[ <save_stats_days>N</save_stats_days> ]
|
2006-08-29 20:39:44 +00:00
|
|
|
[ <dont_check_file_sizes>0|1</dont_check_file_sizes> ]
|
2006-12-19 20:49:12 +00:00
|
|
|
[ <http_1_0>0|1</http_1_0> ]
|
2006-07-11 23:23:27 +00:00
|
|
|
[ <ncpus>N</ncpus> ]
|
2006-10-25 16:54:47 +00:00
|
|
|
[ <max_file_xfers>N</max_file_xfers> ]
|
|
|
|
[ <max_file_xfers_per_project>N</max_file_xfers_per_project> ]
|
2007-03-13 19:33:27 +00:00
|
|
|
[ <suppress_net_info>0|1</suppress_net_info> ]
|
|
|
|
[ <disallow_attach>0|1</disallow_attach> ]
|
|
|
|
[ <os_random_only>0|1</os_random_only> ]
|
2006-07-11 23:23:27 +00:00
|
|
|
</options>
|
2006-12-06 20:59:29 +00:00
|
|
|
</cc_config>
|
|
|
|
")."
|
|
|
|
|
|
|
|
For example, if you want to see messages about CPU scheduling,
|
|
|
|
use a text editor (such as Notepad) to create the following file,
|
|
|
|
and save it as cc_config.xml in your BOINC directory.
|
|
|
|
".html_text("
|
|
|
|
<cc_config>
|
2006-05-22 09:54:31 +00:00
|
|
|
<log_flags>
|
2006-12-06 20:59:29 +00:00
|
|
|
<cpu_sched>1</cpu_sched>
|
2006-05-22 09:54:31 +00:00
|
|
|
</log_flags>
|
|
|
|
</cc_config>
|
|
|
|
")."
|
2006-11-21 18:41:27 +00:00
|
|
|
<h2>Logging flags</h2>
|
2006-12-06 20:59:29 +00:00
|
|
|
The flags within <log_flags> are used to
|
|
|
|
selectively turn different types of messages on and off
|
2006-05-22 09:54:31 +00:00
|
|
|
(<tag>0</tag> for off, <tag>1</tag> for on):
|
2006-06-23 03:28:35 +00:00
|
|
|
<p>
|
|
|
|
The following messages are enabled by default:
|
2005-11-05 07:08:42 +00:00
|
|
|
";
|
|
|
|
list_start();
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<task>",
|
2006-08-02 21:33:19 +00:00
|
|
|
"The start and completion of compute jobs
|
|
|
|
(should get two messages per job)."
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<file_xfer>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"The start and completion of file transfers."
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<sched_ops>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Connections with scheduling servers."
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-06-23 03:28:35 +00:00
|
|
|
list_end();
|
|
|
|
echo "
|
|
|
|
The following messages are disabled by default
|
|
|
|
(typically they generate lots of output,
|
|
|
|
and are used for specific debugging purposes):
|
|
|
|
";
|
|
|
|
list_start();
|
|
|
|
list_item_func("<cpu_sched>",
|
|
|
|
"CPU scheduler actions (preemption and resumption)"
|
|
|
|
);
|
|
|
|
list_item_func("<cpu_sched_debug>",
|
|
|
|
"Explain CPU scheduler decisions"
|
|
|
|
);
|
|
|
|
list_item_func("<rr_simulation>",
|
2006-06-26 17:09:23 +00:00
|
|
|
"Results of the round-robin simulation used by CPU scheduler and work-fetch"
|
2006-06-23 03:28:35 +00:00
|
|
|
);
|
|
|
|
list_item_func("<debt_debug>",
|
|
|
|
"Changes to project debt"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<task_debug>",
|
2006-09-07 17:59:34 +00:00
|
|
|
"Low-level details of process start/end (status codes, PIDs etc.),
|
2006-08-02 21:33:19 +00:00
|
|
|
and when applications checkpoint."
|
2006-06-23 03:28:35 +00:00
|
|
|
);
|
|
|
|
list_item_func("<work_fetch_debug>",
|
|
|
|
"Work fetch policy decisions"
|
|
|
|
);
|
|
|
|
list_item_func("<unparsed_xml>",
|
|
|
|
"Show any unparsed XML"
|
|
|
|
);
|
|
|
|
list_item_func("<state_debug>",
|
|
|
|
"Show summary of client state after scheduler RPC and garbage collection;
|
|
|
|
also show garbage collection actions, and when state file is read/written."
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<file_xfer_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Show completion status of file transfers"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<sched_op_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Details of scheduler RPCs"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<http_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Debugging information about HTTP operations"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<proxy_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Debugging information about HTTP proxy operations"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<time_debug>",
|
2006-08-30 03:13:16 +00:00
|
|
|
"Updates to on_frac, active_frac, connected_frac."
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-09-14 00:18:13 +00:00
|
|
|
list_item_func("<http_xfer_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Debugging information about network communication"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2007-02-06 20:43:54 +00:00
|
|
|
list_item_func("<benchmark_debug>",
|
2007-02-23 20:24:52 +00:00
|
|
|
"Debugging information about CPU benchmarks (version 5.8+)"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<poll_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Show what poll functions do"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<guirpc_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Debugging information about GUI RPC operations"
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-05-22 09:54:31 +00:00
|
|
|
list_item_func("<scrsave_debug>",
|
2006-06-23 03:28:35 +00:00
|
|
|
"Debugging information about the screen saver."
|
2005-11-05 07:08:42 +00:00
|
|
|
);
|
2006-11-21 18:41:27 +00:00
|
|
|
list_item_func("<app_msg_send>",
|
|
|
|
"Shared-memory messages sent to applications."
|
|
|
|
);
|
|
|
|
list_item_func("<app_msg_receive>",
|
|
|
|
"Shared-memory messages received fromapplications."
|
2006-07-20 20:42:26 +00:00
|
|
|
);
|
2006-08-30 03:13:16 +00:00
|
|
|
list_item_func("<mem_usage_debug>",
|
|
|
|
"Application memory usage."
|
|
|
|
);
|
|
|
|
list_item_func("<network_status_debug>",
|
|
|
|
"Network status (whether need physical connection)."
|
|
|
|
);
|
2007-02-22 16:33:37 +00:00
|
|
|
list_item_func("<checkpoint_debug>",
|
2007-02-23 20:24:52 +00:00
|
|
|
"Show when applications checkpoint (version 5.10+)"
|
2007-02-22 16:33:37 +00:00
|
|
|
);
|
2005-11-05 07:08:42 +00:00
|
|
|
list_end();
|
2006-11-21 18:41:27 +00:00
|
|
|
echo "
|
|
|
|
<h2>Behavioral parameters</h2>
|
|
|
|
The following options control the behavior of BOINC:
|
|
|
|
";
|
|
|
|
list_start();
|
|
|
|
list_item_func("<save_stats_days>",
|
|
|
|
"How many days to save the per-project credit totals
|
|
|
|
that are displayed in the Statistics tab of the BOINC Manager.
|
|
|
|
Default is 30."
|
|
|
|
);
|
|
|
|
list_item_func("<dont_check_file_sizes>",
|
|
|
|
"Normally, the size of application and input files
|
|
|
|
are compared with the project-supplied values
|
|
|
|
after the files are downloaded,
|
|
|
|
and just before starting an application.
|
|
|
|
If this flag is set, this check is skipped.
|
|
|
|
Use it if you need to modify files locally for some reason."
|
|
|
|
);
|
2006-12-19 20:49:12 +00:00
|
|
|
list_item_func("<http_1_0>",
|
|
|
|
"Set this flag to use HTTP 1.0 instead of 1.1
|
|
|
|
(this may be needed with some proxies)."
|
|
|
|
);
|
2006-11-21 18:41:27 +00:00
|
|
|
list_item_func("<ncpus>",
|
|
|
|
"Act as if there were N CPUs: run N tasks at once.
|
|
|
|
This is for debugging, i.e. to simulate 2 CPUs
|
|
|
|
on a machine that has only 1.
|
|
|
|
Don't use it to limit the number of CPUs used by BOINC;
|
|
|
|
use general preferences instead."
|
|
|
|
);
|
|
|
|
list_item_func("<max_file_xfers>",
|
|
|
|
"Maximum number of simultaneous file transfers (default 8)."
|
|
|
|
);
|
|
|
|
list_item_func("<max_file_xfers_per_project>",
|
|
|
|
"Maximum number of simultaneous file transfers per project (default 2)."
|
|
|
|
);
|
2007-03-13 19:33:27 +00:00
|
|
|
list_item_func("suppress_net_info",
|
|
|
|
"If nonzero, don't send this host's IP address and domain name to servers.
|
|
|
|
Otherwise, this information is sent to, and stored on, servers.
|
|
|
|
It is visible to you (but not others) via the web.
|
|
|
|
Implemented on version 5.10+.
|
|
|
|
"
|
|
|
|
);
|
|
|
|
list_item_func("disallow_attach",
|
|
|
|
"If nonzero, the client won't attach to new projects.
|
|
|
|
Implemented on version 5.10+.
|
|
|
|
"
|
|
|
|
);
|
|
|
|
list_item_func("os_random_only",
|
|
|
|
"If nonzero, the client will use only OS-level functions
|
|
|
|
to generate a random GUI RPC password,
|
|
|
|
and will exit if these functions fail.
|
|
|
|
Otherwise, the client will fall back to a random-string generator
|
|
|
|
based on time of day, free disk space, and other host-specific information.
|
|
|
|
Implemented on version 5.10+.
|
|
|
|
"
|
2007-01-23 23:02:19 +00:00
|
|
|
);
|
2006-11-21 18:41:27 +00:00
|
|
|
list_end();
|
2005-11-05 07:08:42 +00:00
|
|
|
|
|
|
|
page_tail();
|
|
|
|
?>
|