Giter Club home page Giter Club logo

pcie-lat's Issues

very strang latency result

Hi Andre,
I am using 2 x86 Intel CPUs and one microsemi PCIe switch between them. Ubuntu 18.04 is running on both CPUs. I am sure that the PCIe-switch is right configured and PCIe driver on both CPU are also correct. But I got the following results which is very strange. Do you have some ideas about that? Thx!

TSC freq: 2095077000.0 Hz
TSC overhead: 32 cycles
Device: b3:00.1
BAR: 0
Offset: 0x0
Loops: 100000

   | Results (100000 samples)

Mean | 32612.38 cycles | 15566.20 ns
Stdd | 47215.27 cycles | 22536.29 ns

   | 3σ Results (92867 samples, 0.071% discarded)

Mean | 19535.33 cycles | 9324.40 ns
Stdd | 1600.78 cycles | 764.07 ns

how to measure data register access latency?

Hi Andre,
I'm using pcie-lat to measure my pcie device latency.
And i'm understand that pcie-lat measure reading of configuration space register time.
Is there any method to measure data register access time or device-memory access time?

Adding #include <linux/vmalloc.h> to file and result explanation.

The code was not working for my server, running on Ubuntu 14.04 server. Please include the vmalloc file.

Another issue I faced was the number and graph explanation. It would be nice if you could add some explanation so that people can interpret the numbers/graph easily.

Thanks,
Ankit

ARM64 support

Thanks for sharing your tool .
wanna check if any plan with ARM64 support or could advice on it, would be appreciated!

Device bound to pcie-lat driver?

Command:
sudo /usr/local/ruby/bin/ruby measure.rb -p 01:00.0

Error:
chardev file does not exist.
Device bound to pcie-lat driver?

What can I do to fix this?

TSC Frequency not probed correctly

On a server I'm running this utility on, I encounter unreasonable clock frequencies.

For example:

TSC freq:     1034704.0 Hz
TSC overhead: 27 cycles

The clock frequency is actually 5GHz. This yields unlikely PCIe latency results, like:

       | Results (1000 samples)
------------------------------------------------------
Mean   |  11218.96 cycles | 10842679.65 ns
Stdd   |    390.80 cycles | 377693.83 ns

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.