In this article
A completed GPU-buffer read and a cuFile call do not establish the actual transfer path; inspect the matching process and counter scope.
A successful read into GPU memory proves that bytes reached the destination. It does not identify whether those bytes passed through host memory. NVIDIA’s KvikIO tutorial is useful because it separates API selection from the actual storage path and ties the explanation to process-level observations.
Read the tutorial’s counter example narrowly
The authored NVIDIA tutorial describes an H100, CUDA 13.3, cuFile 1.18 and local ext4/NVMe setup. Its 1 GiB read, divided into 4 MiB tasks, reports nvfs=256 and posix=0. Those observations identify the nvidia-fs path for that run. They are not throughput, data-integrity or zero-copy measurements for every configuration.
Keep the destination allocation and completed byte count in the record, but do not use them as path evidence. A compatibility implementation can satisfy the same read contract. Likewise, changing how a large read is divided can change operation counts without changing the application’s requested byte volume. A counter needs its actual operation unit before comparisons become meaningful.
Distinguish both compatibility layers
The KvikIO runtime documentation explicitly separates its own compatibility mode from cuFile compatibility. KvikIO can bypass cuFile entirely, or call cuFile while cuFile uses a host-staged path. Requiring the upper library to call cuFile therefore does not guarantee an accelerated transfer below it.
For diagnosis, record both layers’ effective settings and the exact application process. A helper process that prints a plausible configuration is not a snapshot of an already running worker. If the application bypasses cuFile, missing cuFile operations cannot by themselves reveal whether a file was successfully read or why the higher layer chose that route. Correlate the observed API path with the completed application operation.
Use the correct statistics boundary
The GDS troubleshooting guide distinguishes kernel-driver statistics from other observations: its driver interface does not track compatibility or P2PDMA I/O, and driver timing excludes userspace latency. Empty or low driver counters therefore require interpretation within the configured path. They cannot universally prove that no direct transfer occurred.
Inspect a bounded interval or a fresh process so unrelated accumulated activity does not become evidence for the target read. Preserve errors and requested bytes as well as operation counts. An installed driver or supported topology is a prerequisite observation, not confirmation that this application operation actually used it. Data correctness also needs its own check after the transfer.
Compare performance only after identifying the path
A useful follow-up compares the same file region and destination under explicitly identified routes. Keep request size, registration, cache state and concurrency visible. Measure application completion rather than substituting a kernel-only timing for the entire call. Diagnostic tracing can add overhead, so preserve which observation settings were active during each timed result.
Do not infer the best route from its name. Small requests, registration overhead or another bottleneck can change the practical result, and a GPU-side intermediate buffer is a different boundary from host staging. The guides to reproducible stacks and benchmark methodology provide the supporting controls. The tutorial contributes a concrete path-verification example; a new system still needs its own counters, correctness check and timing.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.