Use your Nvidia GPU's VRAM as swap space on Linux

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. vramfs

    VRAM based file system for Linux

    I remember this being a thing done a while back using linux's MTD/phram drives - https://wiki.archlinux.org/title/Swap_on_video_RAM - not sure if that's still relevant though as I don't know how it'll interact with DRM and how it handles reserving some of the vram - the suggested limit using xorg.conf is probably pretty obsolete now.

    That page also has a fuse filesystem implementation on top of opencl - https://github.com/Overv/vramfs - which may be more compatible.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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

  4. GpuRamDrive

    RamDrive that is backed by GPU Memory

  5. GpuRamDrive

    RamDrive that is backed by GPU Memory (by brzz)

  6. vramblk

    I've implemented the same idea with OpenCL: https://github.com/theblazehen/vramblk

    There is originally https://github.com/Overv/vramfs however that has the overhead of a FUSE filesystem + loop device when using as a swap device.

    The performance is rather lackluster however, it's far from a miracle "now you effectively have more ram for a 90% performance drop" - it definitely feels like traditional swapping

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Benchmarking 15 "E-Waste" GPUs with Modern Workloads

    3 projects | news.ycombinator.com | 13 Jul 2026
  • Build You Own Model

    1 project | news.ycombinator.com | 3 Jul 2026
  • RunInfra: Optimize any open model down to the kernel, deploy in 5 min

    1 project | news.ycombinator.com | 30 Jun 2026
  • Show HN: I embedded 685M public texts in 32 minutes (on 8x A100, Rust, TensorRT)

    2 projects | news.ycombinator.com | 4 Jun 2026
  • Show HN: Shaderbang – Shebang for Shaders

    1 project | news.ycombinator.com | 28 May 2026

Did you know that C++ is
the 7th most popular programming language
based on number of references?