News
1TB彻底不够用了!Linux 7.5内核解除限制:专治多GPU显存地址耗尽
2 min read
Source: news.mydrivers.com
Kuai Technology reported on November 21 that the Linux kernel is about to undergo a critical capacity expansion in the graphics subsystem. According to reports, a patch planned to be merged in the Linux 7.5 kernel cycle will significantly increase the upper limit of the mmap memory mapping range of GEM/TTM buffer objects in the kernel graphics driver from 1TB to 8TB. This change was submitted by Intel engineers, with the core goal of clearing the way for multi-GPU systems equipped with massive graphics memory. Under the existing 1TB offset limit, direct memory access buffer import across devices and processes in a multi-GPU environment may exhaust the 64-bit address range, causing buffer object creation or PRIME import failure. From a technical detail, every GEM/TTM buffer object, including imported dma-bufs, needs to be assigned a virtual mmap offset from the device-level offset manager. As video memory capacity and the number of GPUs increase, the 1TB pool has become stretched. The timing of this expansion is intriguing. The patch submission comes at a time when Intel is preparing its GPU D series accelerator cards. This series of cards can be equipped with up to 160GB of LPDDR5X video memory. The 8TB address space is obviously redundant reserved for future multi-card collaboration and ultra-large memory pooling. The change has been queued via a pull request this week and is expected to be officially released with the Linux 7.5 merge window. For multi-GPU workstations that need to handle large-scale AI models or ultra-high-definition rendering loads, this is not only a digital expansion, but also an underlying guarantee to prevent upper-layer applications from crashing due to address exhaustion.