AWS Thinkbox Discussion Forums

Weighted Scheduling - how is the final # calculated?

I’m hoping to better understand Weighted Job Scheduling.

I’m trying out Pool > Weighted > FIFO. So far have left the Weighted values at default:

Priority Weight = 100.00
Error Weight = -10.00
Submission Time Weight = 3.00
Rendering Task Weight = -100.00

Is there another place to read about this than the 6.1 manual?

How are the final priority # calculated that we see in job section Weighted column, is this additive over time or a multiplier? Is there config file or any control over how Weighting is calculated beyond the 4 fields in GUI?

When priority # is adjusted after submission or after job has been running for awhile, how does this impact the weight? Anecdotally it doesn’t seem to have much impact e.g. job that was running all night weight = 170,000. I adjust priority # from 50 down to 1, weight drops a little later to 160,000.

The weight is a sum of the individual weight multipliers and their info, so something like:

weight = priority weight * priority + error weight * error count + time weight * seconds since submission + rendering task weight * active task count

If submission time has a non-zero weight, it means that the weight for older jobs will keep increasing, thus gaining more and more priority. The time is a sensitive value, its basically “seconds since submission”, so could give quite a large weight.

For example, if it was submitted an hour ago, it would have the value of 3600. This then gets multiplied by your value of 3, adding a weight of 10800 to the job.

Heh, Laszlo beat me to it! :slight_smile:

We’ll be updating the 6.1 docs to include this information.

Privacy | Site terms | Cookie preferences