Power Management
Why does an OS slightly shift and align the wake-up times of many programs' timers (timer coalescing)?
- ATo improve timer accuracy
- BTo reduce the number of programs
- CTo reduce how often the CPU wakes and lengthen each idle period, making deep power-saving states easier to enter
Show answer and explanation
Answer: C. To reduce how often the CPU wakes and lengthen each idle period, making deep power-saving states easier to enter
If many programs set timers at scattered times, the CPU must wake for each, idle periods stay short and deep power-saving states are out of reach. The OS groups timer expirations that can tolerate a little delay into nearby times and handles them together on one wake-up. Idle periods lengthen beyond the break-even time, allowing deep sleep and greatly reducing standby power.
- A. Accuracy actually drops slightly.
- B. The number of programs does not change.
- C. Correct. It accepts small delays to process work together.