Switch language한국어
Back to the list

GitHub - c0deJedi/nbd-vram: Use your NVIDIA GPU's VRAM as swap space on Linux. Built for laptops with soldered memory and no upgrade path. If you have an RTX card sitting there with 8GB of VRAM and you're getting swapped to SSD, this puts that VRAM to work

TL;DR AI

Key summary

2 min read
  1. nbd-vram is a GitHub project that turns NVIDIA GPU VRAM into a Linux swap device.

  2. It uses CUDA to allocate VRAM and exposes it over NBD, so Linux can treat it like normal swap.

  3. The approach avoids changing NVIDIA kernel modules and is intended to keep working across driver and kernel updates.

  4. The author says it was tested on an RTX 3070 Laptop and can run as a systemd service with power-aware behavior.

  5. It could help laptops with fixed RAM by shifting swap traffic off the SSD and into idle GPU memory.

Read the original