Ember keeps oversized GPU workloads moving with adaptive placement
Ember: Making Unified Virtual Memory Practical for Discrete-Memory GPUs · arXiv:2610.13408
In plain words
GPU memory is fast but limited. When a program needs more data than fits, its usual manager may keep moving pages and stall the work; leaving data in host memory avoids those moves but makes every access cross a slower link.
Ember is a framework that starts data in host memory and can move frequently used regions to the GPU. In tests of six data-intensive applications, both Ember versions had faster mean runtimes than default UVM on each of three GPUs when the data exceeded GPU memory.
The research
When a GPU workload exceeds its memory, moving pages can stall computation, while leaving all data in host memory makes each access cross a slower link. Can placement change as a program's data needs change, without leaving the GPU's memory full of regions it no longer uses?
Ember offers fixed and adaptive placement: both map data in host memory by default, while the adaptive version uses GPU access counts to promote active regions and reclaim colder ones before memory fills.
On six data-intensive applications at about 1.5 times GPU-memory capacity, the authors compared both Ember versions with default UVM. They measured application runtime and reported mean speedups separately for each version and GPU; both versions had faster means on all three tested GPUs.
Because each mean summarizes six applications, the result supports faster average runtimes across that test set, not an equal gain for every application.
These results cover the tested GPUs, workloads and memory conditions; average speedups do not mean every application improved. Ember manages only cudaMallocManaged allocations, and its adaptive version infers when GPU-resident regions have cooled from their earlier access demand.
What the evidence shows
- The placement problem
Ember is a GPU memory-management framework for workloads that need more memory than a GPU has. The paper asks whether placement can avoid the stalls caused by moving pages while still making good use of fast GPU memory.
It offers a userspace version that fixes placement before launch and an adaptive driver version that changes placement during execution.
- Mapping has a cost
The authors first show why avoiding page faults is not enough. In an A40 random-access test with 8-byte elements and a working set larger than GPU memory, UVM took up to 10 times as long as mapping the same data in host memory.
This upper-end result illustrates the cost of UVM's migration and reclamation in that test, while host mapping still leaves accesses limited by the link.
- How placement adapts
Ember starts managed data mapped in host memory. In the adaptive version, GPU access counters record demand for host-resident regions; Ember promotes regions when demand passes a threshold and reclaims colder GPU-resident regions in batches before memory fills.
The counters cannot observe GPU-resident data directly, so the system estimates its changing demand from earlier access counts.
- Evidence across workloads
On six data-intensive applications at about 1.5 times GPU-memory capacity, both Ember versions had faster mean runtimes than default UVM on each of three tested GPUs. In a separate Qwen3 32B test, Ember also generated tokens faster than UVM on the RTX 5080, A40 and H200, with each GPU capped at 16 GB. These results concern the named workloads and measures, not every GPU task.
- Gains vary by task
For database queries, Ember-adaptive was fastest in 51 of 60 measured query, GPU and size combinations. Against HELM's profiled per-allocation placements, Ember-adaptive had a 2.1 times mean kernel-time speedup across five RTX 5080 tests, but was slower on two.
Together, the comparisons support adaptive placement in the tested settings while showing that gains vary by workload and measure.
Deep
- Original paper authors
- Senad-Leandro Lemes Galera, Michail Georgoulakis Misegiannis, Ferdinand Gruber, Jana Giceva, Dimitrios Stavrakakis
- Submitted to arXiv
- License
- CC BY 4.0