Changes between Version 6 and Version 7 of JobIn


Ignore:
Timestamp:
Jul 21, 2007, 12:35:45 PM (17 years ago)
Author:
Nicolas
Comment:

Cleanup; using definition lists instead of tables

Legend:

Unmodified
Added
Removed
Modified
  • JobIn

    v6 v7  
    11= Workunits =
    2        
    32
    43A '''workunit''' describes a computation to be performed. It is represented by a row in the 'workunit' database table. BOINC provides a [WorkGeneration utility program and C function] for creating workunits.
    54
    6 A workunit has several attributes.
    7 These are specified when the workunit is created; they are mandatory except where noted.
     5A workunit has several attributes. These are specified when the workunit is created; they are mandatory except where noted.
    86
    97== Miscellaneous attributes ==
    10 ||'''name'''||  A text string, unique across all workunits in the project.||
    11 ||'''application''' ||  Which [CompoundApps application] will perform the computation. A workunit is associated with an application, not with a particular version or range of versions. If the input data format changes in a way that is incompatible with older versions, you must either a) release new versions for all supported platforms, or b) create a new application. Such incompatibilities can often be avoided by using XML data format.||
    12 ||'''input files '''    ||A list of the input files: their names, and the names by which the application refers to them. Typically these file are downloaded from a data server. However, if the <generate_locally/> element is present, the file is generated on the client (typically by an earlier instance of the same application). Applications should use file locking to prevent two jobs from generating the file at the same time.||
    13 ||'''priority'''        ||(optional) Higher-priority work is dispatched first||
    14 ||'''batch'''   ||(optional) An integer; can be used to operate (cancel, change priority etc.) on groups of workunits.||
     8 '''name'''::
     9        A text string, unique across all workunits in the project.
     10 '''application'''::
     11        Which [CompoundApps application] will perform the computation. A workunit is associated with an application, not with a particular version or range of versions. If the input data format changes in a way that is incompatible with older versions, you must either a) release new versions for all supported platforms, or b) create a new application. Such incompatibilities can often be avoided by using XML data format.
     12 '''input files'''::
     13        A list of the input files: their names, and the names by which the application refers to them. Typically these file are downloaded from a data server. However, if the `<generate_locally/>` element is present, the file is generated on the client (typically by an earlier instance of the same application). Applications should use file locking to prevent two jobs from generating the file at the same time.
     14 '''priority'''::
     15        (optional) Higher-priority work is dispatched first
     16 '''batch'''::
     17        (optional) An integer; can be used to operate (cancel, change priority etc.) on groups of workunits.
    1518
    1619== Resource estimates and bounds ==
    1720
    18 ||'''rsc_fpops_est'''||         An estimate of the average number of floating-point operations required to complete the computation. This is used to estimate how long the computation will take on a given host.||
    19 ||'''rsc_fpops_bound''' ||      A bound on the number of floating-point operations required to complete the computation. If this bound is exceeded, the application will be aborted.||
    20 ||'''rsc_memory_bound '''       ||An estimate of application's largest working set size. The workunit will only be sent to hosts with at least this much available RAM.||
    21 ||'''rsc_disk_bound     '''||A bound on the maximum disk space used by the application, including all input, temporary, and output files. The workunit will only be sent to hosts with at least this much available disk space. If this bound is exceeded, the application will be aborted.||
     21 '''rsc_fpops_est'''::
     22        An estimate of the average number of floating-point operations required to complete the computation. This is used to estimate how long the computation will take on a given host.
     23 '''rsc_fpops_bound'''::
     24        A bound on the number of floating-point operations required to complete the computation. If this bound is exceeded, the application will be aborted.
     25 '''rsc_memory_bound'''::
     26        An estimate of application's largest working set size. The workunit will only be sent to hosts with at least this much available RAM.
     27 '''rsc_disk_bound'''::
     28        A bound on the maximum disk space used by the application, including all input, temporary, and output files. The workunit will only be sent to hosts with at least this much available disk space. If this bound is exceeded, the application will be aborted.
    2229
    23 It's important that you supply accurate values for these parameters.
    24 To get initial estimates, run your application on your own machines,
    25 and monitor the memory and disk usage.
    26 To view the distribution of FLOPs, use the script html/ops/job_times.php (the '''FLOP count statistics''' link on your project's [HtmlOps administrative web interface].
     30It's important that you supply accurate values for these parameters. To get initial estimates, run your application on your own machines, and monitor the memory and disk usage. To view the distribution of FLOPs, use the script html/ops/job_times.php (the '''FLOP count statistics''' link on your project's [HtmlOps administrative web interface]).
    2731
    2832== Redundancy and scheduling attributes ==
    2933
    30 ||'''delay_bound''' ||  An upper bound on the time (in seconds) between sending a result to a client and receiving a reply. The scheduler won't issue a result if the estimated completion time exceeds this. If the client doesn't respond within this interval, the server 'gives up' on the result and generates a new result, to be assigned to another client.   Set this to several times the average execution time of a workunit on a typical PC. If you set it too low, BOINC may not be able to send some results, and the corresponding workunit will be flagged with an error. If you set it too high, there may a corresponding delay in getting results back.||
    31 ||'''min_quorum '''     ||The minimum size of a 'quorum'. The validator is run when there are this many successful results. If a strict majority agree, they are considered correct. Set this to two or more if you want redundant computing.||
    32 ||'''target_nresults '''        ||How many results to create initially. This must be at least '''min_quorum'''. It may be more, to reflect the ratio of result loss, or to get a quorum more quickly.||
    33 ||'''max_error_results '''      ||If the number of client error results exceeds this, the work unit is declared to have an error; no further results are issued, and the assimilator is triggered. This safeguards against workunits that cause the application to crash.||
    34 ||'''max_total_results '''||    If the total number of results for this workunit exceeds this, the workunit is declared to be in error. This safeguards against workunits that are never reported (e.g. because they crash the core client).
    35 ||'''max_success_results '''    ||If the number of success results for this workunit exceeds this, and a consensus has not been reached, the workunit is declared to be in error. This safeguards against workunits that produce nondeterministic results.||
     34 '''delay_bound'''::
     35        An upper bound on the time (in seconds) between sending a result to a client and receiving a reply. The scheduler won't issue a result if the estimated completion time exceeds this. If the client doesn't respond within this interval, the server 'gives up' on the result and generates a new result, to be assigned to another client. Set this to several times the average execution time of a workunit on a typical PC. If you set it too low, BOINC may not be able to send some results, and the corresponding workunit will be flagged with an error. If you set it too high, there may a corresponding delay in getting results back.
     36 '''min_quorum'''::
     37        The minimum size of a 'quorum'. The validator is run when there are this many successful results. If a strict majority agree, they are considered correct. Set this to two or more if you want redundant computing.
     38 '''target_nresults'''::
     39        How many results to create initially. This must be at least '''min_quorum'''. It may be more, to reflect the ratio of result loss, or to get a quorum more quickly.
     40 '''max_error_results'''::
     41        If the number of client error results exceeds this, the work unit is declared to have an error; no further results are issued, and the assimilator is triggered. This safeguards against workunits that cause the application to crash.
     42 '''max_total_results'''::
     43        If the total number of results for this workunit exceeds this, the workunit is declared to be in error. This safeguards against workunits that are never reported (e.g. because they crash the core client).
     44 '''max_success_results'''::
     45        If the number of success results for this workunit exceeds this, and a consensus has not been reached, the workunit is declared to be in error. This safeguards against workunits that produce nondeterministic results.
    3646
    3747A workunit can experience any of several error conditions:
    3848
    39 ||  ''' WU_ERROR_COULDNT_SEND_RESULT''' || The BOINC scheduler was unable to send the workunit to a large number (~100) of hosts, probably because its resource requirements (disk, memory, CPU) were too large for the hosts, or because no application version was available for the hosts' platforms. In this case BOINC 'gives up' on the workunit.||
    40 || ''' WU_ERROR_TOO_MANY_ERROR_RESULTS''' || Too many results with error conditions (upload/download problem, client crashes) have been returned for this work unit.||
    41 ||  ''' WU_ERROR_TOO_MANY_SUCCESS_RESULTS''' || Too many successful results have been returned without consensus. This indicates that the application may be nondeterministic.||
    42 ||  '''WU_ERROR_TOO_MANY_TOTAL_RESULTS''' || Too many total results have been sent for this workunit. ||
     49 '''WU_ERROR_COULDNT_SEND_RESULT'''::
     50        The BOINC scheduler was unable to send the workunit to a large number (~100) of hosts, probably because its resource requirements (disk, memory, CPU) were too large for the hosts, or because no application version was available for the hosts' platforms. In this case BOINC 'gives up' on the workunit.
     51 '''WU_ERROR_TOO_MANY_ERROR_RESULTS'''::
     52        Too many results with error conditions (upload/download problem, client crashes) have been returned for this work unit.
     53 '''WU_ERROR_TOO_MANY_SUCCESS_RESULTS'''::
     54        Too many successful results have been returned without consensus. This indicates that the application may be nondeterministic.
     55 '''WU_ERROR_TOO_MANY_TOTAL_RESULTS'''::
     56        Too many total results have been sent for this workunit.
    4357
    4458If any of these conditions holds, BOINC 'gives up' on the workunit and doesn't dispatch more results for it.
     59