* Re: Test throughput on PCIe interface [not found] <CAHhAz+j4TK7s9FFqPow40Ve=ZHc+tv8-R8yvfgt5Qxe23PrgAQ@mail.gmail.com> @ 2016-07-22 16:14 ` Bjorn Helgaas 2016-08-02 13:22 ` Peter Zijlstra 0 siblings, 1 reply; 2+ messages in thread From: Bjorn Helgaas @ 2016-07-22 16:14 UTC (permalink / raw) To: Muni Sekhar Cc: linux-pci, Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo, Alexander Shishkin, linux-kernel, Stephane Eranian [+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 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Test throughput on PCIe interface 2016-07-22 16:14 ` Test throughput on PCIe interface Bjorn Helgaas @ 2016-08-02 13:22 ` Peter Zijlstra 0 siblings, 0 replies; 2+ messages in thread From: Peter Zijlstra @ 2016-08-02 13:22 UTC (permalink / raw) To: Bjorn Helgaas Cc: Muni Sekhar, linux-pci, Ingo Molnar, Arnaldo Carvalho de Melo, Alexander Shishkin, linux-kernel, Stephane Eranian On Fri, Jul 22, 2016 at 11:14:06AM -0500, Bjorn Helgaas wrote: > [+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. At least some of the Intel Uncore drivers have boxes specific to PCIe (for instance my IVB-EP has an uncore_r2pcie PMU). I'm not aware of any endpoint drivers, but it should not be too hard to create uncore drivers for them. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-02 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAHhAz+j4TK7s9FFqPow40Ve=ZHc+tv8-R8yvfgt5Qxe23PrgAQ@mail.gmail.com>
2016-07-22 16:14 ` Test throughput on PCIe interface Bjorn Helgaas
2016-08-02 13:22 ` Peter Zijlstra
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).