2DFQ
Jonathan Mace, Peter Bodík, Madanlal Musuvathi et al. · ACM SIGCOMM Conference (SIGCOMM) · 2016
In many important cloud services, different tenants execute their requests in the thread pool of the same process, requiring fair sharing of resources. However, using fair queue schedulers to provide fairness in this context is difficult because of high execution concurrency, and because request costs are unknown and have high variance. Using fair schedulers like WFQ and WF²Q in such settings leads to bursty schedules, where large requests block small ones for long periods of time. In this paper, we propose Two-Dimensional Fair Queueing (2DFQ), which spreads requests of different costs across di erent threads and minimizes the impact of tenants with unpredictable requests. In evaluation on production workloads from Azure Storage, a large-scale cloud system at Microsoft, we show that 2DFQ reduces the burstiness of service by 1-2 orders of magnitude. On workloads where many large requests compete with small ones, 2DFQ improves 99th percentile latencies by up to 2 orders of magnitude.
Cited by 28 works. doi:10.1145/2934872.2934878 Open-access PDF
Authors
References
- Analysis and simulation of a fair queueing algorithm
- Analysis and simulation of a fair queueing algorithm
- Dynamo
- The Hadoop Distributed File System
- Lottery scheduling: flexible proportional-share resource management
- On the duality of operating system structures
- WF/sup 2/Q: worst-case fair weighted fair queueing
- ZooKeeper: wait-free coordination for internet-scale systems
- The tail at scale
- Start-time fair queueing