Borrowed Virtual Time Scheduler

Idea

Equalize virtual CPU time consumed by different processes

Process weights

Each process i’s share of actual processor time is determined by its weight wi

Problem

Lots of context switches

Idea

Add in context switch allowance, C,

Sleep / wakeup

Must lower priority after wakeup

Have a lower bound on Ai with a minimum time, Scheduler Virtual Time

Real-time threads

Goal: Support soft real-time threads