Changes between Version 4 and Version 5 of PortalFeatures


Ignore:
Timestamp:
Jun 13, 2011, 11:13:36 AM (13 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortalFeatures

    v4 v5  
    184184(at which point the actual computing done is known)
    185185the user debt is adjusted accordingly.
     186
     187== An idea for prioritizing batches ==
     188
     189Goals:
     190 * Give short batches priority over long batches
     191 * But don't let a long stream of short batches starve long ones
     192 * Enforce quotas over long term
     193
     194For each user U, we maintain a "logical start time" LST(U).
     195LST(U) is always at least the current time.
     196
     197When U submits a batch B, LST(U) is incremented by an amount
     198
     199R / share(U)
     200
     201where R is the expected runtime of B given the project's entire resource.
     202
     203Each batch B has a "logical end time" LET(B).
     204This is set when the batch is submitted as
     205
     206LST(U) + R
     207
     208Priority is given to the batch for which LET(B) is least.