news.volyx.in

Linux 7.3 improves performance when running out of vRAM (pixelcluster.dev)

546 points by flaburgan · 8 days ago · 307 comments on HN

Article summary

The article discusses improvements to Linux kernel 7.3, specifically regarding VRAM management and performance when running out of video random access memory. The author explains the technical challenges and limitations of handling VRAM overcommitment, including the impact of PCI bus speed limitations and caching. The kernel patches aim to improve stability and performance in such scenarios. The author also shares their experience with testing and debugging the patches.

Main themes

  • Linux kernel updates
  • VRAM management
  • GPU performance
  • Windows updates
  • Compute workloads
  • NVME swap space

What commenters say

  • Linux kernel updates are eagerly anticipated and often bring significant performance improvements, unlike Windows updates which are often met with skepticism.
  • The new Linux kernel version may not have a significant impact on compute workloads like LLM inference, which are typically bottlenecked by data movement rather than compute.
  • Some commenters are excited about upcoming Windows updates, which may bring improvements to the right-click menu and taskbar, while others are frustrated with the current state of Windows 11.
  • Using NVME as a swap for GPU VRAM may be feasible for large workloads, but would likely result in significant performance degradation.
  • The Linux kernel's handling of VRAM overcommitment is complex and requires careful management to avoid performance issues and deadlocks.
  • The use of gpuvis and other tools can help diagnose and optimize GPU performance in Linux.
  • Windows updates have become less exciting over time, with many users feeling that they often remove features rather than add new ones.