Re: PCI: latency

From: Bjorn Helgaas
Date: Mon Dec 06 2021 - 14:39:35 EST


On Fri, Dec 03, 2021 at 10:30:58PM +0530, Subhashini Rao Beerisetty wrote:
> [ Please keep me in CC as I'm not subscribed to the list]
>
> Hi all,
>
> We are using the Linux OS on an x86_64 machine. I need to measure the
> PCIe latency on my system, does kernel have any latency measurement
> module for the PCIe bus?

No, unfortunately not. Maybe perf could help, but I don't know enough
to give you any pointers.

There are a couple tune/trace things like [1], but they're specific to
hardware that you're probably not using.

[1] https://lore.kernel.org/r/20211116090625.53702-1-yangyicong@xxxxxxxxxxxxx