π Welcome to RamShared v0.12.0 β Using Idle GPU VRAM as Ultra-Fast RAM Cache for Linux & WSL2 #1736
emersonbusson
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey everyone! π Welcome to RamShared.
If you've ever compiled a large Rust, C++, or Go project, trained a local AI model, or spun up heavy Docker containers inside WSL2 or Linux, you've likely experienced the infamous desktop freeze.
When memory fills up, standard operating systems swap memory pages to disk. On Windows/WSL2, swap must traverse four nested virtualization layers (
ext4βVHDXβHyper-VβNTFS). Under heavy load, disk writes crawl down to 60β80 MB/s, locking up the entire system for 30β60 seconds.Meanwhile, your GPU (NVIDIA, AMD, or Intel) is often sitting right there with gigabytes of high-bandwidth VRAM doing absolutely nothing.
π‘ The Core Idea: Borrowing Idle VRAM as an Ultra-Fast Memory Tier
RamShared routes overflow memory pages directly across high-speed PCIe bus lines into your idle GPU memory (reaching 6.0+ GB/s sustained bandwidth), keeping Linux and WSL2 silky smooth and completely responsive.
π‘οΈ Games and AI Workloads Always Win (Zero Risk)
VRAM is leased purely as a smart, temporary cache. All writes are backed by persistent storage origin. The instant a game, 3D application, or local AI workload (such as PyTorch, Ollama, or Stable Diffusion) requests GPU memory, RamShared yields the VRAM back in milliseconds without dropping applications or losing a single byte of data.
β‘ 100% Optional GPU
Don't have a dedicated GPU? Headless server? Running on an integrated chip? RamShared works seamlessly without a GPU too, orchestrating fast in-RAM compression (ZRAM) and SSD storage with the exact same freeze-proof stability.
π What's New & Qualified in Release v0.12.0
We just published Release v0.12.0 with major stability and architectural advancements:
max(1536 MB, 20%)) ensuring the Windows host desktop and Desktop Window Manager (DWM) never stutter or drop frames.kswapddrain rates, eliminating tail latency spikes.PASS_ZERO_PANIC): Sustained 20,208 MB active memory pressure across RAM, ZRAM, 4 GiB VRAM, and SSD swap with zero OS stalls, 100% SHA-256 byte-exact data integrity, and 21.66 GB/s DMA reclaim in 910 ms./proc/diskstatsthroughput tracking (showing 31.2x acceleration over SSD fallback) and p99 tail jitter metrics into the interactive TUI (ramshared top)..deb(Ubuntu/Debian),.rpm(Fedora/RHEL), and Arch Linux.tar.gzpackages published directly on GitHub Releases.π Hardware Benchmark Snapshot (Physical Silicon)
PASS_ZERO_PANICπ οΈ Quick Start
Pre-compiled binary packages (
.debfor Ubuntu/Debian,.rpmfor Fedora/RHEL/CentOS, and Arch Linux tarballs) are available on the Releases page.π¬ Community & Feedback
We want to hear from you:
ublk/io_uring) vs user-space daemons?Drop your questions, benchmarks, and ideas below! All tests and discussions are welcome. π
All reactions