Re: Test throughput on PCIe interface

From: Bjorn Helgaas
Date: Fri Jul 22 2016 - 12:14:14 EST


[+cc perf folks]

On Fri, Jul 22, 2016 at 05:59:51PM +0530, Muni Sekhar wrote:
> Hi All,
>
>
> We have xilinx PCIe endpoint with DMA reference block.
>
>
> The DMA-REF block provides a mechanism to DMA(also supports
> Scatter-Gather DMA) transfer data at the maximum rate between host
> (CPU) memory and a FIFO in the DMA-REF block.
>
>
> DMA-REF block provides the loopback. The intention is to use this
> block in production and self-test, to check that the PCIe bus is
> operating at the expected maximum transfer speed.
>
>
> Does kernel has any standard utilities to test throughput on PCIe interface?

I know some PCIe controllers devices do have performance monitors, and
perf might support some of them, but I don't know any details.

Bjorn