Built for understanding
Enter a workload, inspect the next decision, and connect the resulting timeline with the underlying rule. The name refers to lottery scheduling, a proportional-share CPU scheduling algorithm. This website does not provide lottery draw schedules, gambling tools, or predictions.
Methodology
The initial engine is single-core, has no I/O or context-switch cost, and uses integer abstract time units. Lottery and round robin offer continuous and finite modes. FCFS and SJF are non-preemptive finite policies. Round robin admits arrivals at a slice boundary before requeuing the interrupted job. Ties use input order after the documented primary ordering.
Version 1 scenarios use FNV-1a seed hashing and the mulberry32 pseudorandom generator. A seed is an educational reproducibility aid, not a cryptographic randomness guarantee. Configuration fragments are versioned so incompatible future formats can be rejected rather than silently misinterpreted.
Academic sources
- Operating Systems: Three Easy Pieces — Scheduling: Proportional Share, Remzi H. and Andrea C. Arpaci-Dusseau.
- Operating Systems: Three Easy Pieces — Scheduling: Introduction.
- Cornell's notes on Lottery Scheduling: Flexible Proportional-Share Resource Management.
Explanations and worked examples are written for this tool. Verify assignment-specific conventions with your instructor; different tie and arrival rules can produce different valid traces.