Changes between Version 4 and Version 5 of CreditOptions


Ignore:
Timestamp:
May 15, 2018, 2:15:01 PM (7 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CreditOptions

    v4 v5  
    6565the job credit is C times the number of iterations performed.
    6666
    67 To use this: in your validator, have the init_result() function return the credit for the job.
     67To use this:
     68 * In your validator, have the init_result() function set result.claimed_credit.
     69 * Run the validator with '''--post_assigned_credit'''.
     70
     71A job's granted credit is the claimed credit of its canonical instance.
    6872
    6973== Runtime-based credit ==
    7074
    7175Use this if the app has only CPU app versions.
    72 The "claimed credit" for a job instance is runtime*ncpus*benchmark.
     76The "claimed credit" for a job instance is runtime*ncpus*peak_flops,
     77where peak_flops is the host's Whetstone benchmark.
     78The job's granted credit is the average of the instance claimed credits.
    7379
    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.
     80To use this: pass the '''--credit_from_runtime''' option to the app's validator.
     81You must also supply '''--max_granted_credit'''.
    8182
    8283Runtime-based credit can't be used if the app has GPU versions
    8384because efficiency can vary by orders of magnitude between CPU and GPU versions.
    8485
    85 Runtime-based credit is not cheat-proof.
     86Runtime-based credit is limited by max_granted_credit, but is otherwise not cheat-proof.
    8687
    8788== Adaptive credit ==