Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →

AI-Written Rust Driver for NVIDIA Boosts Tesla V100 Memory by 26.8%

Eric Hartford, working with AI agents, wrote nvdriver, an open-source Rust driver, and the memory on older Tesla V100 cards became 26.8% faster. NVIDIA's native driver holds memory at 877.5 MHz, while nvdriver raises it to 1107 MHz, the same as the V100S. In the STREAM Triad test, which measures memory read and write speed, this means 1042 GB/s instead of 822. For older servers, it is a free performance gain, but version 0.1 is still only for testing.

AI-processed from TG: @cgevent (Метаверсище и ИИще); edited by Hamidun News
AI-Written Rust Driver for NVIDIA Boosts Tesla V100 Memory by 26.8%
Source: TG: @cgevent (Метаверсище и ИИще). Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceTG: @cgevent (Метаверсище и ИИще) ↗
Editor-in-Chief
Key metric #1+9.7% in FP16 matrix multiplication and +12.3% in llama.cpp prompt processing
Key metric #2Works with standard CUDA, PyTorch and nvidia-smi without changes
Key metric #3Removes NVENC limits and enables P2P on GeForce cards

A driver is the program through which Linux controls a graphics card, and NVIDIA's is closed: some of the hardware's capabilities are hidden behind software locks. Eric Hartford, the author of the Dolphin model family and founder of QuixiAI, used AI agents to rewrite such a driver in Rust and released it under the MIT license. The project is called nvdriver.

On a rig of eight server-grade Tesla V100 cards, it accelerated memory by 26.8% compared to NVIDIA's proprietary driver. The metric is bandwidth: in the STREAM Triad test (run from PyTorch, it measures how many gigabytes per second the card reads from and writes to memory), the result was 1041.

72 GB/s instead of 821.85 GB/s. The reason is simple: the stock driver holds memory at 877.

5 MHz, while nvdriver raises it to 1107 MHz. It is like removing a speed limiter on a road: the car is the same, but it goes faster. For anyone running language models on older V100s, this is a free gain.

What This Driver Is

nvdriver is an open-source Linux kernel module written in Rust in #![no_std] mode, meaning without the standard library, as is standard for code running inside the kernel. The file nvidia_rs.ko takes the place of the proprietary nvidia.ko. Standard, unmodified CUDA, cuDNN, NCCL, PyTorch, llama.cpp and nvidia-smi run on top of it. For users, it is a one-module swap: training and inference software notices nothing.

Support is split into two layers. The author implemented older generations — Maxwell, Pascal and Volta — natively in Rust. For Turing, Ampere, Ada, Blackwell and Rubin, the driver uses GSP-RM, a firmware that runs on the graphics card itself. The project claims support for Linux kernels from 5.15 to 7.0+ and two CPU architectures: x86_64 and ARM64. The comparison tests were run against the closed R580 driver, version 580.178.04.

Where the Percentages Come From

The main result was obtained on a rig of eight Tesla V100-SXM2-32GB cards (256 GB of memory in total). Besides raising the HBM2 memory clock from 877.5 to 1107 MHz (as listed in the V100S specification), nvdriver enables dynamic core boost of 1290–1425 MHz and thermal protection.

Here are the numbers. In STREAM Triad across all eight cards, the total came to 8.33 TB/s. Copying between memory regions on the card sped up by 23.8%. FP16 matrix multiplication (TFLOPS measures operations per second) rose 9.7% to 107.17 TFLOPS. Prompt processing in llama.cpp (the pp512 test, 512 tokens per pass) became 12.3% faster, reaching 34,884 tokens per second.

An important caveat: Rust and AI-written code do not add speed on their own. The gain comes from the proprietary driver limiting clock speeds, which nvdriver does not do. In effect, this overclocks the memory to the level of a more expensive version of the card. Language model inference is most often bound by memory speed, which is why the effect shows up in llama.cpp.

Which Restrictions It Removes

Beyond clock speeds, the author disables a number of software locks:

  • PCIe and Dynamic BAR1 P2P on consumer graphics cards, meaning direct data exchange between GPUs;
  • Resizable BAR1 and GPUDirect RDMA;
  • concurrent session limits on NVENC;
  • compute on CMP mining cards (30HX–170HX and 100–210);
  • ncu and nsys profiling without administrator rights;
  • Tensor Cores on Ada via the unlock_ada_tensor=1 parameter.

For those building home or small clusters from GeForce cards, P2P is especially interesting: on consumer models NVIDIA disables it, which slows multi-GPU training.

How Mature the Project Is

The version is still 0.1, and it shows. The full set of 77 CUDA compatibility tests has passed only on a headless rig with eight V100s. On the RTX 3090, 3050 Ti and 4060, only basic GSP-RM checks have been run. The driver does not yet run the gaming stack, so it is not a replacement for a working desktop.

There are risks too. Overclocking memory beyond stock values may shorten the card's lifespan and void the warranty. The legal status of removing NVIDIA's limits, such as NVENC or CMP restrictions, also remains an open question: the company is unlikely to welcome these workarounds.

What to Do in Practice

If you run older V100s, it is worth trying nvdriver on a test machine: a free +10–27% in inference is a serious argument. Teams with GeForce clusters should check P2P and RDMA. It is too early for production: wait for stable releases and independent benchmarks. The project also shows that AI agents can write a working kernel driver, and that verifying such code with tests on real hardware becomes the main bottleneck.

Story

Key Questions Answered

What This Driver Is?

nvdriver is an open-source Linux kernel module written in Rust in #![no_std] mode, meaning without the standard library, as is standard for code running inside the kernel. The file nvidia_rs.ko takes the place of the proprietary nvidia.ko. Standard, unmodified CUDA, cuDNN, NCCL, PyTorch, llama.cpp and nvidia-smi run on top of it. For users, it is a one-module swap: training and inference software notices nothing. Support is split into two layers.

Where the Percentages Come From?

The main result was obtained on a rig of eight Tesla V100-SXM2-32GB cards (256 GB of memory in total). Besides raising the HBM2 memory clock from 877.5 to 1107 MHz (as listed in the V100S specification), nvdriver enables dynamic core boost of 1290–1425 MHz and thermal protection. Here are the numbers. In STREAM Triad across all eight cards, the total came to 8.33 TB/s. Copying between memory regions on the card sped up by 23.8%.

Which Restrictions It Removes?

Beyond clock speeds, the author disables a number of software locks: PCIe and Dynamic BAR1 P2P on consumer graphics cards, meaning direct data exchange between GPUs; Resizable BAR1 and GPUDirect RDMA; concurrent session limits on NVENC; compute on CMP mining cards (30HX–170HX and 100–210); ncu and nsys profiling without administrator rights; Tensor Cores on Ada via the unlock_ada_tensor=1 parameter.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — AI-Written Rust Driver for NVIDIA Boosts Tesla V100 Memory by 26.8% https://news.hamidun.com/en/news/18948/ai-written-rust-driver-for-nvidia-boosts-tesla-v100-memory-b

What do you think?
Loading comments…