[Paper Review] Memtrade: A Disaggregated-Memory Marketplace for Public Clouds
Memtrade introduces a secure, deployable memory disaggregation marketplace for public clouds that enables tenants to lease idle or unallocated memory to remote consumers via a broker, achieving up to 2.8× improvement in consumer read latency with under 2.1% performance degradation to producers, all without host-level modifications or reliance on RDMA.
We present Memtrade, the first memory disaggregation system for public clouds. Public clouds introduce a set of unique challenges for resource disaggregation across different tenants, including security, isolation and pricing. Memtrade allows producer virtual machines (VMs) to lease both their unallocated memory and allocated-but-idle application memory to remote consumer VMs for a limited period of time. Memtrade does not require any modifications to host-level system software or support from the cloud provider. It harvests producer memory using an application-aware control loop to form a distributed transient remote memory pool with minimal performance impact; it employs a broker to match producers with consumers while satisfying performance constraints; and it exposes the matched memory to consumers as a secure KV cache. Our evaluation using real-world cluster traces shows that Memtrade provides significant performance benefit for consumers (improving average read latency up to 2.8x) while preserving confidentiality and integrity, with little impact on producer applications (degrading performance by less than 2.1%).
Motivation & Objective
- To address the underutilization of memory in public clouds, where up to 60% of allocated memory remains idle, by enabling dynamic, secure sharing of excess memory across tenants.
- To design a system that operates without modifications to host software or hypervisors, ensuring immediate deployability on existing public cloud infrastructures.
- To enable a market-based model where producers are incentivized to lease idle memory and consumers can rent it at a lower cost than spot instances, improving resource efficiency.
- To ensure strong security and performance isolation, preventing data leakage and maintaining low latency even during unexpected memory demand spikes.
- To match producers and consumers efficiently using a broker that respects performance constraints and optimizes for revenue and trading volume.
Proposed method
- Memtrade harvests both unallocated and idle application-level memory from producer VMs using an application-aware control loop that detects infrequent memory access without kernel or hypervisor modifications.
- It employs a trusted broker to match producers with consumers based on availability, performance constraints, and pricing, enabling a secure, transient remote memory pool.
- Harvested memory is exposed to consumers as a secure key-value cache using remote memory access protocols, with automatic eviction and reclamation when needed.
- The system uses a dynamic pricing model that adapts to market conditions, with local price tuning to converge near optimal pricing within 3.5% deviation on average.
- It implements a lightweight, transparent memory harvesting mechanism that minimizes performance impact on producers, with less than 2.1% degradation observed in evaluations.
- The broker enforces consistency and availability guarantees by modeling eviction probabilities and adjusting memory allocation dynamically to maintain consumer performance.
Experimental results
Research questions
- RQ1Can a memory disaggregation system be deployed in public clouds without requiring host-level software modifications or RDMA support?
- RQ2How can idle and unallocated memory across multi-tenant VMs be efficiently harvested and made available for remote consumption with minimal performance impact?
- RQ3What market mechanisms can effectively incentivize producers to lease memory and consumers to rent it, while ensuring performance and security?
- RQ4How does the system maintain high performance and low latency for consumers despite dynamic memory availability and potential eviction?
- RQ5What pricing strategy maximizes revenue and utilization while minimizing cost for consumers compared to existing alternatives like spot instances?
Key findings
- Memtrade improves average consumer read latency by up to 2.8× compared to local memory access, significantly enhancing performance for memory-intensive workloads.
- Producer performance degrades by less than 2.1% on average, demonstrating minimal impact from memory harvesting and remote access.
- Cluster-wide memory utilization increased from 56.8% to 97.9% in simulations using Google traces, indicating highly efficient resource utilization.
- Consumer hit ratios improved by a relative 18.2% when using Memtrade compared to local caching, enhancing application performance.
- The average cost of renting extra memory via Memtrade decreased by 82.1% compared to using spot instances, making it a highly cost-effective alternative.
- The dynamic pricing mechanism achieved near-optimal performance, deviating from the optimal price by only 3.5% on average in simulations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.