找回密码
 新注册用户
搜索
查看: 14965|回复: 7

BOINC自动查看存盘点的方法 + BOINC客户端参数设置信息

[复制链接]
发表于 2007-8-13 00:47:38 | 显示全部楼层 |阅读模式
cc_config.rar (203 Bytes, 下载次数: 4551)

**************

在友站看到kaoh兄的发帖,觉得很不错,就尝试了一下。

放在BOINC文件夹下的配置文件  cc_config.xml
(注:BOINC6 客户端请放置在您的data文件夹下 - 2008/08/27 更新)

具体全面的参数翻译在二楼

声明:只是自动记录并提示最近的一次存盘时间,并非预测下一次存盘时间。因为到下次存盘之间的计算机使用情况未知,CPU负荷未知,所以是无法准确预测的!

<cc_config>
    <log_flags>
        <task_debug>1</task_debug>
    </log_flags>
</cc_config>


运行的信息:
2007-8-12 21:24:06||Starting BOINC client version 5.10.18 for windows_intelx86
2007-8-12 21:24:06||log flags: task, file_xfer, sched_ops, task_debug
2007-8-12 21:24:06||Libraries: libcurl/7.16.4 OpenSSL/0.9.8e zlib/1.2.3
......
2007-8-12 21:24:08|SETI@home|[task_debug] task_state=EXECUTING for 31mr00aa.9721.11025.404820.3.251_1 from start
2007-8-12 21:24:08|SETI@home|Restarting task 31mr00aa.9721.11025.404820.3.251_1 using setiathome_enhanced version 527
2007-8-12 21:25:13|SETI@home|[task_debug] result 31mr00aa.9721.11025.404820.3.251_1 checkpointed
2007-8-12 21:26:12|SETI@home|[task_debug] result 31mr00aa.9721.11025.404820.3.251_1 checkpointed
2007-8-12 21:27:12|SETI@home|[task_debug] result 31mr00aa.9721.11025.404820.3.251_1 checkpointed
2007-8-12 21:28:13|SETI@home|[task_debug] result 31mr00aa.9721.11025.404820.3.251_1 checkpointed
2007-8-12 21:29:13|SETI@home|[task_debug] task_state=SUSPENDED for 31mr00aa.9721.11025.404820.3.251_1 from suspend
2007-8-12 21:29:13|World Community Grid|[task_debug] task_state=EXECUTING for faah2072_d034n894_x2AZC_02_1 from start
2007-8-12 21:29:13|World Community Grid|Restarting task faah2072_d034n894_x2AZC_02_1 using faah version 540
2007-8-12 21:39:32|World Community Grid|[task_debug] result faah2072_d034n894_x2AZC_02_1 checkpointed
2007-8-12 21:49:44|World Community Grid|[task_debug] result faah2072_d034n894_x2AZC_02_1 checkpointed
2007-8-12 22:03:36|World Community Grid|[task_debug] result faah2072_d034n894_x2AZC_02_1 checkpointed
2007-8-12 22:17:26|World Community Grid|[task_debug] result faah2072_d034n894_x2AZC_02_1 checkpointed



可以看出,每1分钟,SETI会存盘一次~
可以看出,每10分钟,FAAH会存盘一次~

********************************************************************************************

cc_config.xml 这样子也可以:     (需要BOINC版本5.8.16+)

<cc_config>
    <log_flags>
        <checkpoint_debug>1</checkpoint_debug>
    </log_flags>
</cc_config>


运行的信息:
2007-8-13 19:57:37|SETI@home|[checkpoint_debug] result 03mr07aa.15818.15205.4.4.35_0 checkpointed
2007-8-13 19:58:38|SETI@home|[checkpoint_debug] result 03mr07aa.15818.15205.4.4.35_0 checkpointed
2007-8-13 19:59:38|SETI@home|[checkpoint_debug] result 03mr07aa.15818.15205.4.4.35_0 checkpointed
2007-8-13 20:00:49|SETI@home|[checkpoint_debug] result 03mr07aa.15818.15205.4.4.35_0 checkpointed


********************************************************************************************

保存完毕 cc_config.xml 文件之后:
重启BOINC,或者,如果是5.8.11以上版本,在菜单栏:  “高级"==>"读取配置文件"   然后就可以激活这些附加的标记操作。


********************************************************************************************
根据 Sekerob 在WCG论坛的帖子

With BOINCview from version 1.4.2 a BOINC Core Client Control panel is added that allows the setting of many features and behavioural preferences.

1.4.2版本以上的BOINCview加入了BOINC客户端核心控制面板,该面板可以用来设置多种特性及行为设定选项。

如图:

BOINCview.jpg

[ 本帖最后由 Julian_Yuen 于 2008-8-27 09:16 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2007-8-13 00:48:33 | 显示全部楼层
2008-10-01 国庆日更新原始链接 http://boinc.berkeley.edu/wiki/Client_configuration

注:本文更新翻译已转移☞本站wiki
http://www.equn.com/wiki/BOINC:客户端配置

本页面内容已停止更新!!,且已有更新(请参阅上方的本站wiki地址)。

如有问题,请查阅wiki页面及本文英文原始页面。
如需讨论,请直接跟帖。
翻译如有不妥及疏漏,欢迎PM我~

*************************************************************

The BOINC client can be configured to
BOINC客户端软件可以被配置为:


    * 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.
    * 生成更加详细的日志信息。这些信息将显示在BOINC管理器的消息页(黑色为报告信息,红色为错误信息)。在Windows操作系统下,它们将被写入文件(stdoutdae.txt)中。在Unix操作系统下,它们将被写至标准输出。

    * Control various behavioral parameters, such as how many simultaneous file transfers to allow.
    * 控制各种不同的行为参数,比如可以设置同时传输的文件的个数。

These options are useful primarily for testing and debugging.
这些选项对于测试与调试是非常重要的。


The configuration is read from a file cc_config.xml. If this file is absent, the default configuration is used. This file has the following format:
配置信息将从 '''cc_config.xml''' 文件中读取。如果该文件不存在,则将使用默认的配置信息。该文件采用如下格式:


<cc_config>
    <log_flags>
        [ flags ]
    </log_flags>
    <options>
        [ <save_stats_days>N</save_stats_days> ]
        [ <dont_check_file_sizes>0|1</dont_check_file_sizes> ]
        [ <http_1_0>0|1</http_1_0> ]
        [ <ncpus>N</ncpus> ]
        [ <max_file_xfers>N</max_file_xfers> ]
        [ <max_file_xfers_per_project>N</max_file_xfers_per_project> ]
        [ <suppress_net_info>0|1</suppress_net_info> ]
        [ <disallow_attach>0|1</disallow_attach> ]
        [ <os_random_only>0|1</os_random_only> ]
        [ <no_alt_platform>0|1</no_alt_platform> ]
        [ <simple_gui_only>0|1</simple_gui_only> ]
        [ <max_stdout_file_size>N</max_stdout_file_size> ]
        [ <max_stderr_file_size>N</max_stderr_file_size> ]
        [ <alt_platform>platform_name</alt_platform> ]
        [ ... ]
        [ <report_results_immediately>0|1</report_results_immediately> ]
        [ <run_apps_manually>0|1</run_apps_manually> ]
        [ <use_certs>0|1</use_certs> ]
        [ <use_certs_only>0|1</use_certs_only> ]
        [ <exclusive_app>important.exe</exclusive_app> ]
    </options>
</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.
举例来说,如果你希望看到有关CPU调度的信息,可以用文本编辑器(例如Notepad)创建具有以下内容的文件,并以cc_config.xml为文件名保存在您的BOINC目录下。

<cc_config>
    <log_flags>
        <cpu_sched>1</cpu_sched>
    </log_flags>
</cc_config>



Logging flags
日志标记


The flags within <log_flags> are used to selectively turn different types of messages on and off (<tag>0</tag> for off, <tag>1</tag> for on):
在<log_flags>内部的标记被用于选择开启或关闭不同类型的信息(<tag>0</tag>为关闭,<tag>1</tag>为开启):

The following messages are enabled by default:
下列信息是默认开启的:

<task>              The start and completion of compute jobs (should get two messages per job).
                        计算任务的开始与完成(每个任务应该有两个信息)。

<file_xfer>            The start and completion of file transfers.
                        文件传输的开始与完成。
  
<sched_ops>        Connections with scheduling servers.
                        与调度服务器进行的连接。



The following messages are disabled by default (typically they generate lots of output, and are used for specific debugging purposes):
下列信息是默认关闭的(通常由于它们产生大量的输出信息,而且常被用于特定的调试目的):

<cpu_sched>              CPU scheduler actions (preemption and resumption)
                                 CPU调度行为(优先抢占preemption与再度继续resumption)

<cpu_sched_debug>   Explain CPU scheduler decisions
                                 解释CPU调度决策

<rr_simulation>           Results of the round-robin simulation used by CPU scheduler and work-fetch
                                被用于CPU调度器与任务获取的轮叫调度模拟过程的结果

<debt_debug>           Changes to project debt
                                 对项目债务的改变
                                (2007-09-10更新)debt的详细解释,请看以下帖子:
                                1.http://www.equn.com/forum/viewth ... amp;page=1#pid62094
                                2.http://www.equn.com/forum/viewth ... amp;page=1#pid62095

<task_debug>            Low-level details of process start/end (status codes, PIDs etc.), and when applications checkpoint.
                                 开始/结束进程的底层细节(状态代码,进程标识符等等。),以及程序自动存盘的时刻。

<work_fetch_debug>  Work fetch policy decisions
                                任务获取的决定策略

<unparsed_xml>         Show any unparsed XML
                                 显示任何未被解析的XML

<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.
                                在完成远程调度(?)与一些无用的(无意义的)信息的收集(?)之后展示客户端状态的摘要;
                                并且也显示收集无用信息的行为,以及状态文件的读写时间。

<file_xfer_debug>      Show completion status of file transfers
                                显示文件传输的完成状态

<sched_op_debug>    Details of scheduler RPCs
                                远程调度的细节

<http_debug>           Debugging information about HTTP operations
                                有关HTTP操作的调试信息

<proxy_debug>         Debugging information about HTTP proxy operations
                               有关HTTP代理操作的调试信息

<time_debug>          Updates to on_frac, active_frac, connected_frac.
                               对on_frac,active_frac,connected_frac的更新。

<http_xfer_debug>   Debugging information about network communication
                               有关网络通讯的调试信息

<benchmark_debug>   Debugging information about CPU benchmarks (version 5.8+)
                                 有关CPU基准测试的调试信息(需要5.8以上的版本)

<poll_debug>            Show what poll functions do
                                展示投票功能都做了些什么

<guirpc_debug>        Debugging information about GUI RPC operations
                               有关GUI远程操作的调试信息

<scrsave_debug>      Debugging information about the screen saver.
                               有关屏幕保护程序的调试信息

<app_msg_send>      Shared-memory messages sent to applications.
                               发送至程序的共享存储器的消息

<app_msg_receive>   Shared-memory messages received from applications.
                               收取自程序的共享存储器的消息

<mem_usage_debug>   Application memory usage.
                                  程序的存储器占用

<network_status_debug>   Network status (whether need physical connection).
                                        网络状态(不论是否需要物理连接)

<checkpoint_debug>  Show when applications checkpoint (version 5.10+)
                                在程序进行存盘时进行显示(需要5.10以上的版本)



Behavioral parameters
行为参数


The following options control the behavior of BOINC:
以下选项控制BOINC的行为:

<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.
                              在BOINC管理器的状态栏里所显示的、保存下来的项目先前所获得的总分信息的天数。
                              默认是保存30天的分数变化信息。

<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.
                                    通常,在文件下载之后,程序的大小与输入文件将与项目所提供的值进行比较,
                                    并且是在开始运行程序之前。如果该标志位被设置,则将会跳过检测。
                                    如果因为某些原因而需要在本地修改文件,您可以使用它。

<http_1_0>           Set this flag to use HTTP 1.0 instead of 1.1 (this may be needed with some proxies).
                             设置该标志位,来使用HTTP 1.0,以替换1.1(这可能被某些代理所需要)

<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.
                             当作有N个CPU时来运作:同时运行N个任务。这被用于调试,比如在仅有1个CPU的时候来模拟2个CPU。
                             不要使用它来限制BOINC所使用的CPU数目;使用BOINC的参数设置来进行调节。

<max_file_xfers>    Maximum number of simultaneous file transfers (default 8).
                            同时传输文件的最大数目(默认值为8个)。

<max_file_xfers_per_project>        Maximum number of simultaneous file transfers per project (default 2).
                                                每个项目同时传输文件的最大数目(默认值为2个)。

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+.
        如果非零,将不会向服务器发送该主机的IP地址和域名。否则,该信息将被发送并储存于服务器。该信息在网络上对于您(但没有别人)是可见的。对5.10以上的版本有效。

disallow_attach

        If nonzero, the client won't attach to new projects. Implemented on version 5.10+.
        如果非零,客户端将不会加入新的项目。对5.10以上的版本有效。

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+.
        如果非零,客户端将只使用操作系统函数来生成一个随机的图形用户界面的远程访问密码,并将在函数无效时退出。否则,客户端将退回到一个基于时间、剩余磁盘空间以及其他的主机特定信息的随机字符串生成器。对5.10以上的版本有效。


[ 本帖最后由 Julian_Yuen 于 2008-10-2 00:16 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2007-8-13 00:49:50 | 显示全部楼层
晚了,该睡觉了,排版问题下次再说吧~

**************************

大概排了一下,可惜排不整齐~.....

[ 本帖最后由 Julian_Yuen 于 2007-8-13 12:48 编辑 ]
回复

使用道具 举报

 楼主| 发表于 2007-8-13 01:08:26 | 显示全部楼层
backup~
回复

使用道具 举报

发表于 2007-8-13 12:43:09 | 显示全部楼层
好帖
回复

使用道具 举报

发表于 2007-8-13 23:55:28 | 显示全部楼层
比我當初寫的的詳細多了
我偷懶
回复

使用道具 举报

 楼主| 发表于 2007-8-14 12:46:10 | 显示全部楼层
Kaoh兄过于谦虚了,要不是你在WCG论坛看到那个帖子,估计我在N年之内都难得知道这件事哦~

***************
试用了一下BOINCview,功能貌似蛮强大的(似乎可以完成Boincmgr的所有操作,以及显示用户、团队、积分、项目、任务等等),尤其是能够管理网内的多台计算机(网外的不知道,没仔细看,也没机会试验)。另外,它集成了二楼描述的众多参数的控制界面,界面如一楼末尾的图。

这是一个绿色软件,直接解压即可使用。

这个软件有中文版,繁体的,是来自台湾的kmd朋友翻译的~向他表示感谢

如果有需要管理局域网内多台计算机的朋友,可以去尝试一下哦~
各台主机的客户端密码在BOINC目录下的 gui_rpc_auth.cfg 文件内(通常是自动生成的),用notepad打开即可~

好了,祝各位have fun~
回复

使用道具 举报

 楼主| 发表于 2007-8-14 23:49:17 | 显示全部楼层
喵的,用了用BOINCview,感觉太强大了,连废掉Boincmgr的心都有了....简直就是太空堡垒啊~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 新注册用户

本版积分规则

论坛官方淘宝店开业啦~
欢迎大家多多支持基金会~

Archiver|手机版|小黑屋|中国分布式计算总站 ( 沪ICP备05042587号 )

GMT+8, 2024-4-25 13:12

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表