How to enable GPU Direct Storage (GDS) with P2PDMA

Hello, I’m trying to set up NVIDIA GPU Direct Storage on a Linux system, and I’ve come across some questions while reviewing the documentation. According to the official GDS documentation:
GDS can be enabled in two ways: using the GDS NVIDIA kernel driver (nvidia-fs.ko) and updating the NVMe driver patches, or optionally as of 12.8 (when Linux Kernel and GPU version/driver requirements are met) with P2PDMA mode that does not require patching the NVMe driver nor installing the nvidia-fs driver.
I would like to enable GDS using the second approach, However, I’m unclear about the following:

  1. Does enabling GDS in P2PDMA mode only require installing CUDA 12.8, or are there other necessary steps or configurations?
  2. What are the exact requirements for the Linux kernel version, GPU driver version, and GPU model for P2PDMA mode?

Thanks in advance for any suggestions!

1 Like

@beleton.one where you able to run gds using second approach ?