Community
cancel
Showing results for 
Search instead for 
Did you mean: 
TTetz1
Beginner
446 Views

On Stratix 10 GX, running PCI Express example, is it normal to see much lower DMA write throughput than read throughput with default options?

I'm running the intel_fpga_pcie_link_test software, following all the steps in the Avalon-MM Intel Stratix 10 Hard IP+ for PCI Express document. When running option 0 - Run DMA, I see about 13 GB/sec read throughput. Seems normal, max theoretical is 16. However, I frequently see 0.49 GB/sec write throughput. Before I hunt down a PCI-E analyzer, is there any easy check to see what is the problem? I'm using default numbers of 2048 dwords/desc and 128 descriptors.

0 Kudos
3 Replies
SengKok_L_Intel
Moderator
36 Views

Hi Sir, Are you referring to an829? https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an829.pdf From this AN, the S10 Gen3x8 can obtain about 6GB/S read and write throughput. Regards -SK
TTetz1
Beginner
36 Views

I am referencing "Avalon-MM Intel Stratix 10 Hard IP+ for PCI Express Solutions User Guide", which has "UG-20170" near the bottom of the title page. The design is 16-lanes.

 

Some further information: On intial loading of the driver and running of the user example program "intel_fpga_pcie_link_test", as long as I turn off "Run Simultaneous" on the DMA options, then I see about 8 GB/sec write throughput. This is true even if "Run read" is on. It is true before or after running the "link test" option.

As soon as DMA option "Run Simultaneous" is on, write throughput drops to 0.49 GB/sec and stays there. It remains low even if "Run Simultaneous" is turned back off. It remains low even after doing an "unload" and "load" of the kernel driver.

 

Tom

SengKok_L_Intel
Moderator
36 Views

I would suggest you to test the AN829, there is some data to benchmark the throughput of DMA, if based on the user guide above, it mainly is to test 100 write and read.

 

Regards -SK 

Reply