News: 0001498457

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

NVIDIA Posts Linux Patches For GPU Direct RDMA For Device Private Pages

([NVIDIA] 88 Minutes Ago GPU P2PDMA For Device Private Pages)


Building off the existing Linux support for GPU Direct RDMA / Peer-To-Peer DMA functionality, a set of patches were posted by NVIDIA today enabling this P2P DMA support to also work for device-private pages.

There's been a lot of Linux work done for [1]P2PDMA for avoiding system memory copies between devices/accelerators. The patches posted this afternoon are focused on providing GPU Direct RDMA (P2P DMA) for device private memory pages.

[2]

NVIDIA engineer Yonatan Maman explained in the patch series:

"This patch series aims to enable Peer-to-Peer (P2P) DMA access in GPU-centric applications that utilize RDMA and private device pages. This enhancement is crucial for minimizing data transfer overhead by allowing the GPU to directly expose device private page data to devices such as NICs, eliminating the need to traverse system RAM, which is the native method for exposing device private page data."

Besides the infrastructure changes to the Linux memory management code and Heterogeneous Memory Management (HMM), the patch series also adds code to the NVIDIA Mellanox MLX5 driver for optimizing PCIe peer-to-peer private device pages and then also to the Nouveau driver for P2P DMA support. The Nouveau driver support then allows to "handle P2P page operations seamlessly" -- not that you'd really be using the Nouveau open-source DRM driver for any very demanding workloads at this point. Adding it to Nouveau is done for demonstrating the functionality using fully open-source drivers and to demonstrate an open-source user per upstream kernel policies.

See [3]this patch series for the GPU Direct RDMA proposal for device private pages.



[1] https://www.phoronix.com/search/P2PDMA

[2] https://www.phoronix.com/image-viewer.php?id=2024&image=gpu_direct_private_lrg

[3] https://lore.kernel.org/dri-devel/20241015152348.3055360-1-ymaman@nvidia.com/



phoronix

Hear me out. Linux is Microsoft's main competition right now. Because of
this we are forcing them to "innovate", something they would usually avoid.
Now if MS Bob has taught us anything, Microsoft is not a company that
should be innovating. When they do, they don't come up with things like
"better security" or "stability", they come back with "talking
paperclips", and "throw in every usless feature we can think of, memory
footprint be dammed".

Unfortunatly, they also come up with the bright idea of executing email.
Now MIME attachments aren't enough, they want you to be able to run/open
attachments right when you get them. This sounds like a good idea to
people who believe renaming directories to folders made computing possible
for the common man, but security wise it's like vigorously shaking a
package from the Unibomber.

So my friends, we are to blame. We pushed them into frantically trying to
invent "necessary" features to stay on top, and look where it got us. Many
of us are watching our beloved mail servers go down under the strain and
rebuilding our company's PC because of our pointless competition with MS.
I implore you to please drop Linux before Microsoft innovates again.

-- From a Slashdot.org post in regards to the ILOVEYOU email virus