Hi I am trying to run GDSIO to evaluate GPUDirect Storage(GDS)
Below are my config/setup
Hardware
NVIDIA TU117GL/T600 ( 7.5 Compute capability)
NVME -
Both on same NUMA Node.
nvidia-smi topo -nvme
NVMe0
GPU0 NODE
Software
Driver Version: 580.126.09 CUDA Version: 13.0
nvidia_fs v2.27.3 - ( though documentation says this is not required after cuda 12.8 and WITH P2pdma support.)
System/kernel
vanilla kernel 6.12.0
cat /proc/kallsyms | grep -i p2pdma_pgmap_ops
0000000000000000 d p2pdma_pgmap_ops
ls /sys/kernel/debug/dma_buf/–this is present.
iommu and pt disabled.
Test 1
// allow compat mode, this will enable use of cuFile posix read/writes
"allow_compat_mode": false,
// allow p2pdma, this will enable use of cuFile without nvme patches
"use_pci_p2pdma": true,
//Allow NVMe to use p2pdma mode
"use_pci_p2pdma" : true
GDS release version: 1.16.1.26
nvidia_fs version: 2.27 nvidia_fs minimum version: 2.12
Platform: x86_64
============
ENVIRONMENT:
============
=====================
DRIVER CONFIGURATION:
=====================
NVMe : Unsupported
NVMeOF : Unsupported
SCSI : Unsupported
ScaleFlux CSD : Unsupported
NVMesh : Unsupported
DDN EXAScaler : Unsupported
IBM Spectrum Scale : Unsupported
NFS : Unsupported
BeeGFS : Unsupported
ScaTeFS : Unsupported
VIRTIOFS : Unsupported
WekaFS : Unsupported
Userspace RDMA : Unsupported
--Mellanox PeerDirect : Disabled
--rdma library : Not Loaded (libcufile_rdma.so)
--rdma devices : Not configured
--rdma_device_status : Up: 0 Down: 0
=====================
CUFILE CONFIGURATION:
=====================
properties.use_pci_p2pdma : true
properties.use_compat_mode : false
properties.force_compat_mode : false
properties.gds_rdma_write_support : true
properties.use_poll_mode : false
properties.poll_mode_max_size_kb : 4
properties.max_batch_io_size : 128
properties.max_batch_io_timeout_msecs : 5
properties.max_direct_io_size_kb : 16384
properties.max_device_cache_size_kb : 131072
properties.per_buffer_cache_size_kb : 1024
properties.max_device_pinned_mem_size_kb : 33554432
properties.posix_pool_slab_size_kb : 4 1024 16384
properties.posix_pool_slab_count : 128 64 64
properties.rdma_peer_affinity_policy : RoundRobin
properties.rdma_dynamic_routing : 0
fs.generic.posix_unaligned_writes : false
fs.lustre.posix_gds_min_kb: 0
fs.lustre.use_pci_p2pdma : false
fs.beegfs.posix_gds_min_kb: 0
fs.beegfs.use_pci_p2pdma : false
fs.scatefs.posix_gds_min_kb: 0
fs.scatefs.use_pci_p2pdma : false
fs.weka.rdma_write_support: false
fs.nfs.use_pci_p2pdma : false
fs.gpfs.gds_write_support: false
fs.gpfs.gds_async_support: true
fs.gpfs.use_pci_p2pdma : false
fs.virtiofs.use_pci_p2pdma : false
profile.cufile_stats : 0
miscellaneous.api_check_aggressive : false
execution.max_io_threads : 4
execution.max_io_queue_depth : 128
execution.parallel_io : true
execution.min_io_threshold_size_kb : 8192
execution.max_request_parallelism : 4
properties.force_odirect_mode : false
properties.prefer_iouring : false
block.raid.use_pci_p2pdma : false
block.nvme.use_pci_p2pdma : true
block.nvmeof.use_pci_p2pdma : false
=========
GPU INFO:
=========
GPU index 0 NVIDIA T600 bar:1 bar size (MiB):256 supports GDS, IOMMU State: Disabled
==============
PLATFORM INFO:
==============
IOMMU: disabled
Nvidia Driver Info Status: Supported(Nvidia Open Driver Installed)
Cuda Driver Version Installed: 13000
Platform: PowerEdge R740, Arch: x86_64(Linux 6.12.0)
Platform verification succeeded
when i run gdsio it fails.
/usr/local/cuda/gds/tools/gdsio -x 0 -d 0 -s 8K -i 4K -f /nvme/gds_test -I 1
file register error: GPUDirect Storage not supported on current file filename :/nvme/gds_test
Test 2
all same config but with compat mode
// allow compat mode, this will enable use of cuFile posix read/writes
"allow_compat_mode": true,
/usr/local/cuda/gds/tools/gdscheck.py -p
GDS release version: 1.16.1.26
nvidia_fs version: 2.27 nvidia_fs minimum version: 2.12
Platform: x86_64
============
ENVIRONMENT:
============
=====================
DRIVER CONFIGURATION:
=====================
NVMe : compat
NVMeOF : compat
SCSI : compat
ScaleFlux CSD : compat
NVMesh : compat
DDN EXAScaler : compat
IBM Spectrum Scale : compat
NFS : compat
BeeGFS : compat
ScaTeFS : compat
VIRTIOFS : compat
WekaFS : compat
Userspace RDMA : Unsupported
--Mellanox PeerDirect : Disabled
--rdma library : Not Loaded (libcufile_rdma.so)
--rdma devices : Not configured
--rdma_device_status : Up: 0 Down: 0
=====================
CUFILE CONFIGURATION:
=====================
properties.use_pci_p2pdma : true
properties.use_compat_mode : true
properties.force_compat_mode : false
properties.gds_rdma_write_support : true
properties.use_poll_mode : false
properties.poll_mode_max_size_kb : 4
properties.max_batch_io_size : 128
properties.max_batch_io_timeout_msecs : 5
properties.max_direct_io_size_kb : 16384
properties.max_device_cache_size_kb : 131072
properties.per_buffer_cache_size_kb : 1024
properties.max_device_pinned_mem_size_kb : 33554432
properties.posix_pool_slab_size_kb : 4 1024 16384
properties.posix_pool_slab_count : 128 64 64
properties.rdma_peer_affinity_policy : RoundRobin
properties.rdma_dynamic_routing : 0
fs.generic.posix_unaligned_writes : false
fs.lustre.posix_gds_min_kb: 0
fs.lustre.use_pci_p2pdma : false
fs.beegfs.posix_gds_min_kb: 0
fs.beegfs.use_pci_p2pdma : false
fs.scatefs.posix_gds_min_kb: 0
fs.scatefs.use_pci_p2pdma : false
fs.weka.rdma_write_support: false
fs.nfs.use_pci_p2pdma : false
fs.gpfs.gds_write_support: false
fs.gpfs.gds_async_support: true
fs.gpfs.use_pci_p2pdma : false
fs.virtiofs.use_pci_p2pdma : false
profile.cufile_stats : 0
miscellaneous.api_check_aggressive : false
execution.max_io_threads : 4
execution.max_io_queue_depth : 128
execution.parallel_io : true
execution.min_io_threshold_size_kb : 8192
execution.max_request_parallelism : 4
properties.force_odirect_mode : false
properties.prefer_iouring : false
block.raid.use_pci_p2pdma : false
block.nvme.use_pci_p2pdma : true
block.nvmeof.use_pci_p2pdma : false
=========
GPU INFO:
=========
GPU index 0 NVIDIA T600 bar:1 bar size (MiB):256 supports GDS, IOMMU State: Disabled
==============
PLATFORM INFO:
==============
IOMMU: disabled
Nvidia Driver Info Status: Supported(Nvidia Open Driver Installed)
Cuda Driver Version Installed: 13000
Platform: PowerEdge R740, Arch: x86_64(Linux 6.12.0)
Platform verification succeeded
/usr/local/cuda/gds/tools/gdsio -x 0 -d 0 -s 8K -i 4K -f /nvme/gds_test -I 1
IoType: WRITE XferType: GPUD Threads: 1 DataSetSize: 8/8(KiB) IOSize: 4(KiB) Throughput: 0.010915 GiB/sec, Avg_Latency: 59.500000 usecs ops: 2 total_time 0.000699 secs**
**
How can i make non compat ( true gpudirect to work ) with changes in above config?