Changes between Version 4 and Version 5 of CreditOptions
- Timestamp:
- May 15, 2018, 2:15:01 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CreditOptions
v4 v5 65 65 the job credit is C times the number of iterations performed. 66 66 67 To use this: in your validator, have the init_result() function return the credit for the job. 67 To use this: 68 * In your validator, have the init_result() function set result.claimed_credit. 69 * Run the validator with '''--post_assigned_credit'''. 70 71 A job's granted credit is the claimed credit of its canonical instance. 68 72 69 73 == Runtime-based credit == 70 74 71 75 Use this if the app has only CPU app versions. 72 The "claimed credit" for a job instance is runtime*ncpus*benchmark. 76 The "claimed credit" for a job instance is runtime*ncpus*peak_flops, 77 where peak_flops is the host's Whetstone benchmark. 78 The job's granted credit is the average of the instance claimed credits. 73 79 74 To use this: pass the --credit_from_runtime option to the app's validator. 75 76 The app's efficiency (the ratio between peak FLOPS and actual FLOPS) 77 can vary somewhat between hosts (e.g. because of different memory speeds, 78 or because small RAM causes paging). 79 Therefore there will be variation between claimed credit for identical jobs, 80 but generally this will be a factor of 2 or so. 80 To use this: pass the '''--credit_from_runtime''' option to the app's validator. 81 You must also supply '''--max_granted_credit'''. 81 82 82 83 Runtime-based credit can't be used if the app has GPU versions 83 84 because efficiency can vary by orders of magnitude between CPU and GPU versions. 84 85 85 Runtime-based credit is not cheat-proof.86 Runtime-based credit is limited by max_granted_credit, but is otherwise not cheat-proof. 86 87 87 88 == Adaptive credit ==