CPU Futures: Scheduler support for application management of CPU contention
Meehean, Joe T.
Arpaci-Dusseau, Andrea C.
Arpaci-Dusseau, Remzi H.
University of Wisconsin-Madison Department of Computer Sciences
MetadataShow full item record
We introduce CPU Futures, a system designed to enable application control of scheduling for server workloads, even during system overload. CPU Futures contains two novel components: an in-kernel herald that anticipates application CPU performance degradation and a user-level feedback controller that responds to these predictions on behalf of the application. In combination, these two subsystems enable fine-grained application control of scheduling; with this control applications can define their own policies for avoiding or mitigating performance degradation under overload. We implement CPU Futures within two different Linux schedulers, and show its utility by building two case studies on top of the system: Empathy, which limits the CPU interference caused by low-importance batch programs, and SheepDog, which prevents web requests from starving on a heavily loaded web server. Through experiment, we find that CPU Futures are not only useful, but also have a low-overhead.