How anagainaru/scheduleflow works
ScheduleFlow is a Python simulator for online and reservation-based HPC batch schedulers. Users create jobs and a system, provide a scheduler, and run a scenario; the runtime processes events and invokes scheduling, producing an execution log that can be checked, summarized, or visualized. The main API and internal engine are both implemented in two files, so several domain responsibilities share those paths. The excerpts show key calls, but not enough detail to map every scheduling policy or reservation operation.
Main entry points: ScheduleFlow.py Simulation API · _intScheduleFlow.py Event runtime
Components 12
Simulation API
- Simulation API
ScheduleFlow.py - Scenario setup
ScheduleFlow.py
Workload Model
- Job model
ScheduleFlow.py - Compute system
ScheduleFlow.py
Scheduling Engine
- Batch scheduler
ScheduleFlow.py - Event runtime
_intScheduleFlow.py - Event queue
_intScheduleFlow.py - Reservation gaps
_intScheduleFlow.py
Results
- Execution log
ScheduleFlow.py - Statistics
_intScheduleFlow.py - GIF and JPG output
_intScheduleFlow.py
Other components
- Simulation user
Connections 12
- Simulation user → Simulation API: configures
README.md - Simulation API → Scenario setup: creates
ScheduleFlow.py - Scenario setup → Event runtime: runs
ScheduleFlow.py - Scenario setup → Job model: adds jobs
ScheduleFlow.py - Scenario setup → Batch scheduler: sets scheduler
README.md - Job model → Compute system: assigns to
ScheduleFlow.py - Event runtime → Event queue: creates events
_intScheduleFlow.py - Event runtime → Batch scheduler: triggers schedule
_intScheduleFlow.py - Event runtime → Execution log: records executions
ScheduleFlow.py - Simulation API → Statistics: computes metrics
ScheduleFlow.py - Simulation API → GIF and JPG output: generates output
ScheduleFlow.py - Batch scheduler → Reservation gaps: uses reservations
ScheduleFlow.py