4.14 Testing storage

NCP-AII · Cluster Test and Verification (33% of the exam) · Official objective: “Test storage.”

gdscheck and gdsio: verifying the GDS platform and measuring the data path.

Key points

  1. gdsio is the storage benchmark that ships with GDS. -x picks the transfer type. 0 is GDS. 1 is storage to CPU. 2 goes through the CPU to the GPU. Comparing 0 and 2 shows what GDS gains.

    What NVIDIA says (2)

    “xfer_type : 0 - Storage -> GPU ( GDS ) 1 - Storage -> CPU 2 - Storage -> CPU -> GPU”

    — GPUDirect Storage Configuration and Benchmarking Guide

    “-x 0 , the IO data path, in this case GDS.”

    — GPUDirect Storage Configuration and Benchmarking Guide

  2. A storage test needs enough parallel load and enough time to reach steady state. -w sets the number of IO threads. -T sets the duration in seconds. -i sets the IO size, which matters for throughput.

    What NVIDIA says (3)

    “-w 8 , 8 workers (8 IO threads)”

    — GPUDirect Storage Configuration and Benchmarking Guide

    “-T 120 , runs for 120 seconds.”

    — GPUDirect Storage Configuration and Benchmarking Guide

    “-i 1M , IO size (important for assessing throughput).”

    — GPUDirect Storage Configuration and Benchmarking Guide

  3. gdscheck is the GDS platform check tool. With -p it reports items such as IOMMU state and ACS on PCI switches.

    What NVIDIA says (2)

    “using gdscheck you should see the following output if the IOMMU is disabled on the system:”

    — GPUDirect Storage Best Practices Guide

    “Platform verification succeeded”

    — GPUDirect Storage Best Practices Guide

Key terms

Try it

Sample question

In gdsio, what does -x 0 select?

Show the answer

Answer: The GDS path: storage straight to GPU.

gdsio is the storage benchmark that ships with GDS. -x picks the transfer type. 0 is GDS. 1 is storage to CPU. 2 goes through the CPU to the GPU. Comparing 0 and 2 shows what GDS gains.

What NVIDIA says (2)

“xfer_type : 0 - Storage -> GPU ( GDS ) 1 - Storage -> CPU 2 - Storage -> CPU -> GPU”

— GPUDirect Storage Configuration and Benchmarking Guide

“-x 0 , the IO data path, in this case GDS.”

— GPUDirect Storage Configuration and Benchmarking Guide

Practice 4.14 (3 questions) Full Cluster Test and Verification guide

← 4.13 NeMo burn-in · 5.1 Hardware fault triage →