Eliminating Double Swapping in Xen
summary
Eliminates redundant host+guest swap by having the VMM locate the guest swap file and treat writes to that disk range as swap IO, keeping an indirection to host swap blocks instead of writing duplicate pages, and offering an efficient host-side swap driver to serve guest reads. On guest page faults for pages the host already swapped out the VMM hands back a blank zeroed page instead of swapping in. Shows up to 7.06× runtime speedup, ~10× lower IO latency and up to 27.9× less network traffic during spikes.
AI-written summary · about
chapters (10)
- 0:00Introduction to double swapping
- 1:06Problem of double swapping
- 6:05Challenges in solving double swapping
- 7:37State of the art solutions
- 10:30Proposed solution overview
- 17:16Identifying guest swap space
- 20:31Updating swap and read paths
- 23:03Evaluating performance gains
- 27:18Summary and benefits
- 28:24Q&A session
