Changes between Version 11 and Version 12 of ValidationIntro
- Timestamp:
- Sep 14, 2011, 2:21:13 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ValidationIntro
v11 v12 21 21 * The '''sample_trivial_validator''' accepts all results as valid. 22 22 23 By default, a validator grants credit for valid results using the mechanism described [CreditNew here].24 You can change or disable this using command-line arguments.23 By default, a validator grants credit for valid results using a default mechanism (described [CreditNew here]). 24 There are several [CreditAlt alternative ways of granting credit]. 25 25 26 26 === Command-line arguments === … … 32 32 [ --one_pass ]:: Make one pass through WU table, then exit 33 33 [ --mod n i ]:: Process only WUs with (id mod n) == i. This option lets you run multiple instances of the validator for increased performance. 34 [ --max_granted_credit X ]:: Grant no more than this amount of credit to a result.34 [ --max_granted_credit X ]:: Grant no more than this amount of credit to a job. 35 35 [ --update_credited_job ]:: For each valid result, create an entry in the credited_job database table. 36 36 This lets you keep track of which user contributed to each WU, even if you use [DbPurge db_purge]. 37 [ --no_credit ]:: Don't grant credit (use this if you grant credit via trickle messages).37 [ --no_credit ]:: Don't grant credit (use this if you [CreditAlt grant credit via trickle messages]). 38 38 [ --credit_from_runtime ]:: Grant credit proportional to (runtime * CPU FLOPS). 39 39 Use this if: … … 41 41 * the app's jobs do different amounts of computation on different hosts, 42 42 e.g. if they exit after a fixed amount of time. 43 * [CreditAlt Details].