Abstract
Providing both strict bandwidth guarantees and high network utilization (work conservation) in multi-tenant datacenters remains a significant challenge. Existing end-host-based solutions often struggle with inaccurate traffic matrix estimations, leading to wasted bandwidth or violated guarantees. This paper presents QShare, an in-network system that leverages commodity switch features like Weighted Fair Queuing (WFQ) and a novel dynamic queue-binding mechanism. By moving the management of bandwidth from end-hosts to switches and using a simple scalar "Usage factor" (U-factor) instead of complex traffic matrices, QShare achieves over 91% network utilization and reduces flow completion times by up to 50% compared to state-of-the-art systems.
Introduction
In modern public clouds, the underlying physical network is shared among multiple tenants. Cloud providers must balance two competing objectives: providing predictable minimum bandwidth guarantees (the "hose model") and maximizing overall network utilization through work conservation.
Traditional end-host-based approaches, such as ElasticSwitch, attempt to enforce these guarantees by decomposing a tenant's total bandwidth into specific VM-to-VM rate limits. This requires precise knowledge of the "Traffic Matrix"—a map of all inter-VM communications—which is notoriously difficult to estimate in real-time due to the highly dynamic nature of datacenter traffic. Inaccuracies in this estimation lead to either under-utilization or guarantee violations. In-network alternatives like Trinity use priority queues but often suffer from packet reordering and starvation of low-priority traffic.
The QShare Architecture
QShare addresses these limitations by offloading bandwidth management to the network switches. The system is built on two primary modules: Balanced Tenant Placement and Dynamic Tenant-Queue Binding.
Balanced Tenant Placement
When a new tenant request arrives, QShare employs an algorithm to embed VMs across the physical topology in a way that balances load across switch ports. This proactive placement minimizes potential queue contention before traffic even begins to flow.
Dynamic Tenant-Queue Binding
The core innovation of QShare is its ability to provide hardware-level isolation despite the limited number of hardware queues (typically 8 per port) in commodity switches. QShare observes that only a small "working set" of tenants typically requires more than their guaranteed bandwidth at any given moment.
To manage this, QShare introduces the U-factor (Usage factor), a scalar metric tracking a tenant's current bandwidth usage relative to its guarantee. Tenants with high demand (high U-factor) are dynamically assigned dedicated hardware queues, while low-demand tenants share a common queue. This mapping is enforced at line speed using standard DSCP (Differentiated Services Code Point) tagging.
Evaluation and Results
The performance of QShare was evaluated through physical testbed experiments and large-scale simulations using empirical workloads from enterprise and data-mining environments.
Key findings include:
- Utilization and Performance: QShare maintains network utilization above 91% even under bursty traffic. It significantly outperforms systems like ElasticSwitch and Trinity, reducing Flow Completion Times (FCTs) by up to 50%.
- Scalability: Simulations demonstrate that QShare can provide dedicated queues to approximately 90% of active tenants in a fully reserved datacenter of 100,000 VMs.
- Efficiency: The system is lightweight, incurring only ~3% CPU overhead on servers and maintaining configuration latencies below 50ms.
Conclusion
QShare demonstrates that effective bandwidth management in multi-tenant datacenters does not require complex traffic matrix estimations. By leveraging in-network hardware features and a dynamic queue-binding strategy based on simple scalar metrics, QShare provides robust bandwidth guarantees while maintaining high work conservation. Future work will focus on refining the U-factor metric for diverse demand patterns and exploring DSCP mutation techniques for even denser multi-tenant environments.
Summary updated