Why Not Deterministic?
Explore the reasons behind using randomness in lottery scheduling compared to deterministic stride scheduling. Learn how stride scheduling calculates exact resource shares and why lottery scheduling remains useful due to its simplicity and adaptability when new processes enter.
We'll cover the following...
You might also be wondering: why use randomness at all? As we saw above, while randomness gets us a simple (and approximately correct) scheduler, it occasionally will not deliver the exact right proportions, especially over short time scales.
Stride scheduling
Stride scheduling is also ...