How crazypegasusvv/taskscheduling works
TaskScheduling is a small script that generates random workflow DAGs, assigns tasks to cloud VMs, schedules eligible tasks, and prints completion and makespan information. The main workflow is implemented in scheduler.py; config.py supplies randomized settings, shared task state, and the Task model. The excerpts show these stages and their calls; no separate cloud service or persistent store is evidenced.
Main entry points: config.py Settings and state · scheduler.py Workflow initialization
Components 8
Scheduling workflow
- DAG generation
scheduler.py - Workflow initialization
scheduler.py - VM assignment
scheduler.py - Schedule coordinator
scheduler.py - Cloud scheduling
scheduler.py - Task results
scheduler.py
Configuration and state
- Settings and state
config.py - Task model
config.py
Connections 11
- Workflow initialization → DAG generation: generates DAGs
scheduler.py - Workflow initialization → Task model: creates tasks
scheduler.py - Workflow initialization → Settings and state: updates arrivals
scheduler.py - VM assignment → Task model: sets burst times
scheduler.py - VM assignment → Settings and state: reads settings
scheduler.py - Schedule coordinator → Cloud scheduling: dispatches VM
scheduler.py - Cloud scheduling → Task model: updates task state
scheduler.py - Cloud scheduling → Settings and state: checks arrivals and policy
scheduler.py - Task results → Task model: reads task results
scheduler.py - Settings and state → Task model: defines
config.py - Workflow initialization → Settings and state: uses shared state
scheduler.py