Harvesting Idle Memory for Application-managed Soft State with Midas
Talkat 21st USENIX Symposium on Networked Systems Design and Implementation (NSDI '24) · 2024-04-16..04-18·
summary
Midas implements a new soft memory abstraction plus a userlinked runtime and minimal kernel coordinator to let applications place evictable objects in idle RAM and register per-object reconstructors. It uses a logstructured allocator and soft pointers that copy values to avoid raw page access, and supports kernel-enforced reclamation for urgent pressure. On a 20 GB collocated experiment with four apps Midas raises overall throughput 1.5× over static 5 GB shares, cuts memory needs by 71% versus overprovisioning, and survives an attacker allocating up to 7 GB/s by reclaiming and reconstructing pages within seconds.
AI-written summary · about
chapters (10)
- 0:00Midas and soft state intro
- 3:48Midas virtual memory abstraction
- 5:35Soft memory pointers
- 7:18Application eviction with Rong time
- 9:05Kernel reclamation for emergencies
- 10:53Preventing segmentation faults
- 11:34Global memory coordination
- 12:59Implementation and real-world applications
- 15:09Evaluating Midas under load
- 16:56Conclusion and open-source
related talks
14mFreedom from memory interference
22mFungible Memories for Automated Technology Mapping and Retargeting
01h 04mWe Live in Interesting Times
43mMemento Memori
43mNVM Software Interfaces New Direction
01h 01mWhat Programmers Should Know About Memory Allocation
16mMemory-Efficient Fixpoint Computation
57m“An allocator model for std2”
