标题: BOINC自动查看存盘点的方法 + BOINC客户端参数设置信息
Julian_Yuen (拜饼干教教主)
资深顾问
Rank: 5Rank: 5
BiscuiT后援团团长喵


UID 12330
精华 6
积分 4577
帖子 4415
阅读权限 10
注册 2006-12-19
来自 ★饼神饼爱饼干党★
发表于 2007-8-13 00:47  资料  短消息  加为好友 
BOINC自动查看存盘点的方法 + BOINC客户端参数设置信息

cc_config.rar (203 Bytes)

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

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

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

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

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

QUOTE:
<cc_config>
    <log_flags>
        <task_debug>1</task_debug>
    </log_flags>
</cc_config>

运行的信息:

QUOTE:
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+)

QUOTE:
<cc_config>
    <log_flags>
        <checkpoint_debug>1</checkpoint_debug>
    </log_flags>
</cc_config>

运行的信息:

QUOTE:
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客户端核心控制面板,该面板可以用来设置多种特性及行为设定选项。

如图:



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





通知:  见到饼干番长要记得高呼贵安~    BY 饼干陛下職務室  ♡













顶部
[广告] SETI@home Multibeam 优化计算程序,推荐使用!
Julian_Yuen (拜饼干教教主)
资深顾问
Rank: 5Rank: 5
BiscuiT后援团团长喵


UID 12330
精华 6
积分 4577
帖子 4415
阅读权限 10
注册 2006-12-19
来自 ★饼神饼爱饼干党★
发表于 2007-8-13 00:48  资料  短消息  加为好友 
http://boinc.berkeley.edu/client_msgs.php

如有不妥及疏漏,欢迎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中读取。如果这个文件不存在,则将使用默认配置。该文件具有以下格式:

QUOTE:
<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> ]
    </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)在您的BOINC目录下创建具有以下内容的文件cc_config.xml。

QUOTE:
<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:
下列信息是默认开启的:

QUOTE:
<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):
下列信息是默认关闭的(通常由于它们产生大量的输出信息,而且常被用于特定的调试目的):

QUOTE:
<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的行为:

QUOTE:
<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 于 2007-9-10 09:26 编辑 ]





通知:  见到饼干番长要记得高呼贵安~    BY 饼干陛下職務室  ♡













顶部
Julian_Yuen (拜饼干教教主)
资深顾问
Rank: 5Rank: 5
BiscuiT后援团团长喵


UID 12330
精华 6
积分 4577
帖子 4415
阅读权限 10
注册 2006-12-19
来自 ★饼神饼爱饼干党★
发表于 2007-8-13 00:49  资料  短消息  加为好友 
晚了,该睡觉了,排版问题下次再说吧~

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

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

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





通知:  见到饼干番长要记得高呼贵安~    BY 饼干陛下職務室  ♡













顶部
Julian_Yuen (拜饼干教教主)
资深顾问
Rank: 5Rank: 5
BiscuiT后援团团长喵


UID 12330
精华 6
积分 4577
帖子 4415
阅读权限 10
注册 2006-12-19
来自 ★饼神饼爱饼干党★
发表于 2007-8-13 01:08  资料  短消息  加为好友 
backup~





通知:  见到饼干番长要记得高呼贵安~    BY 饼干陛下職務室  ♡













顶部
20080030成电
论坛担当
Rank: 4



UID 9470
精华 0
积分 810
帖子 589
阅读权限 10
注册 2005-12-16
来自 海南临高
发表于 2007-8-13 12:43  资料  短消息  加为好友 
好帖

顶部
Kaoh
论坛担当
Rank: 4


UID 8609
精华 0
积分 580
帖子 280
阅读权限 10
注册 2005-11-12
来自 TW
发表于 2007-8-13 23:55  资料  主页 短消息  加为好友 
比我當初寫的的詳細多了
我偷懶





顶部
Julian_Yuen (拜饼干教教主)
资深顾问
Rank: 5Rank: 5
BiscuiT后援团团长喵


UID 12330
精华 6
积分 4577
帖子 4415
阅读权限 10
注册 2006-12-19
来自 ★饼神饼爱饼干党★
发表于 2007-8-14 12:46  资料  短消息  加为好友 
Kaoh兄过于谦虚了,要不是你在WCG论坛看到那个帖子,估计我在N年之内都难得知道这件事哦~

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

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

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

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

好了,祝各位have fun~





通知:  见到饼干番长要记得高呼贵安~    BY 饼干陛下職務室  ♡













顶部
Julian_Yuen (拜饼干教教主)
资深顾问
Rank: 5Rank: 5
BiscuiT后援团团长喵


UID 12330
精华 6
积分 4577
帖子 4415
阅读权限 10
注册 2006-12-19
来自 ★饼神饼爱饼干党★
发表于 2007-8-14 23:49  资料  短消息  加为好友 
喵的,用了用BOINCview,感觉太强大了,连废掉Boincmgr的心都有了....简直就是太空堡垒啊~





通知:  见到饼干番长要记得高呼贵安~    BY 饼干陛下職務室  ♡













顶部
 



当前时区 GMT+8, 现在时间是 2008-9-7 15:03
沪ICP备05042587号

本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.5.0 © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国分布式计算总站 - Archiver - WAP