Use your Nvidia GPU's VRAM as swap space on Linux
8.6 relevance
Score Breakdown
technical depth 9
novelty 9
actionability 8
community 9
strategic 7
personal 9
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Using NVIDIA VRAM as swap on Linux is a highly novel and actionable hack for GPU-constrained environments.
Summary
nbd-vram repurposes idle NVIDIA GPU VRAM as Linux swap via CUDA memory transfers and the NBD protocol, tripling addressable memory to ~46GB on a 16GB+8GB hybrid laptop setup. It avoids the NVIDIA P2P API (restricted to Quadro/datacenter cards) and requires no kernel module, surviving driver and kernel updates. Includes power-aware management that stops swap on battery and restarts on AC.
Author
c0deJedi