Closed sholloway closed 1 year ago
Perhaps I should add the rolling utilization calculation as the game is running. That'll indicate how much head room the sim has for getting all the work done
This video breaks down calculating utilization and load for a scheduling algorithm.
As I'm digging into it, I realize that there is more to an EDF than just using a priority queue and running things based on their due time.
Consider the need to segment high criticality tasks from low criticality.
I need a better simulation to get a sense for if my scheduling implementation is good enough. Thoughts:
Ideally, the same sim should existing using the other Simulation model.
Are there existing EDF implementations in Python that I can study?
Create an Event Based Game Loop
Tasks
EDF
This type of game loop leverages a priority queue to schedule future actions to occur. It is an instance of the Earliest deadline first (EDF) pattern.
The Basic Loop is of the Form
Resources