Tech roundup: open-source driver unlocks GPU and kernel tuning

This article has been automatically translated.
Loading article...
Merry Christmas & Happy New Year!
Loading article...

This article has been automatically translated.
Today's three highlights come from kernel and drivers, network tuning, and model architecture: a Rust rewrite of the NVIDIA kernel driver aims to replace the official closed-source driver, a blog post traces the kernel TCP throttling behind slow nginx downloads, and researchers got a large model to write the initial weights of a language model directly.
nvdriver (module name nvidia_rs.ko) is a clean-room, open-source #![no_std] Rust Linux kernel driver that aims to be a drop-in replacement for NVIDIA's proprietary kernel driver. According to the project description, it works with unmodified NVIDIA user-space components (CUDA, PyTorch, cuDNN, NCCL, llama.cpp, nvidia-smi, NVENC/NVDEC) and the vendor's companion modules (nvidia-uvm.ko, nvidia-modeset.ko, nvidia-drm.ko), and it claims to remove the product tiers and chip restrictions found in the closed-source driver, such as Resizable BAR1 enabled by default, PCIe/BAR1 P2P support, GPUDirect RDMA, unrestricted NVENC sessions, and support for pre-GSP architectures such as Maxwell, Pascal, and Volta.
The project also provides comparison data on 8 Tesla V100 GPUs, including STREAM Triad results of about 1,041.7 GB/s per card and 8.33 TB/s across 8 cards after raising the HBM2 frequency to 1107 MHz, along with comparisons against the official 580.178.04 driver in GEMM, NVLink, NVENC, and other scenarios.
Notably, projects like this directly touch on GPU vendors' software layering and licensing boundaries, making them practically appealing to developers who need multi-GPU interconnect, virtualization, or compute on older architectures.
CDN77 engineers recounted a hard-to-reproduce incident: on one edge server, some connections saw download speeds plummet, recovering on their own after several hours, and only on connections with HTTP cache misses. They ruled out common causes such as the ISP, sysctl parameters, nginx configuration, disk I/O, and kernel logs, and found that curl downloads on the same machine were normal—only the nginx process was slow, and a restart provided temporary relief.
随后他们用 bpftrace 在 tcp_rcv_established 上挂 kprobe,观察到 rcv_ssthresh 异常小,恰好是通告 MSS 的四倍,而该值只由 tcp_adjust_rcv_ssthresh() 写入,触发路径是 tcp_grow_window() 中 tcp_under_memory_pressure() 返回真。矛盾之处在于 SNMP 计数器显示 TCP 内存压力为零。
For developers, the value of this case is that it reveals the TCP memory-pressure check also inspects the memory pressure of the cgroup the socket belongs to, so ordinary counters may not show the real cause. When troubleshooting network problems where "only one process is slow," kernel-level observability is more effective than reviewing static configuration.
Independent researcher Youngseong Kim proposed an implementation of "weight-space programming" (WSP): a frontier LLM writes a compiler program that compiles statistics from a 31.8B-token corpus into a sparse table of about 7.96 GiB, accounting for more than 97% of the model's storage bytes, all without any gradient steps; gradient descent is used only to train a 103M-parameter network on top of it. After the fourth layer, the model reads these tables through Engram blocks and fuses them with the output logits via gating.
The paper reports that, with single-GPU training on 10B tokens, the model achieves a word-level perplexity of 46.4 on held-out FineWeb-Edu documents, lower than the 52.1 of a baseline with the same parameter count; after 10,000 sequential WikiBigEdit edits, the edit layer can answer 99.9% of the edit questions with perplexity changing by only 0.003%, whereas fine-tuning and LoRA recall at most 36.3% of the edits.
For developers, the significance of this approach is that it moves "knowledge updates" from training to ordinary, readable and writable data records; editing one fact takes about 12 ms and requires no gradients. However, the results come from the author's own account and a preprint, and the scale is small, so whether it can extend to larger models remains to be seen.