How to test PCIE-DMA performance?

Hi,

I’m working on Jetson Orin and now I connect Orin with a NVME SSD.

My software version is JetPack 5.0.1

lspci -v
0005:04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
        Subsystem: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
        Flags: bus master, fast devsel, latency 0, IRQ 54
        Memory at 2b28a00000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [b0] MSI-X: Enable+ Count=33 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
        Capabilities: [158] Power Budgeting <?>
        Capabilities: [168] Secondary PCI Express
        Capabilities: [188] Latency Tolerance Reporting
        Capabilities: [190] L1 PM Substates
        Kernel driver in use: nvme


How can I use DMA function to transfer data to the SSD and test the transfer/receive performance through DMA on PCIe?
Is there any example test code offered in the kernel driver? If so how to use it?

Sorry for the late response, our team will do the investigation and provide suggestions soon. Thanks

Hi,

Is this the same discussion as topic 224314? or separate topic?

Thanks for your reply.
Do you mean Jetson Orin PCIE-NTB function with DMA failed? If so, yes.

But they are 2 step of my question, i want to first fix the DMA bug and make it work, then test the performance of DMA, so i raised 2 topic.

Hi,
Please refer to the posts:
What is the actual maximum speed of Jetson AGX Xavier PCIE Ethernet? - #8 by Jasonm
Data transfer from EP using EP DMA - #7 by Jasonm

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.