andre-richter / pcie-lat Goto Github PK
View Code? Open in Web Editor NEWGeneric x86_64 PCIe latency measurement module for the Linux kernel
License: GNU General Public License v2.0
Generic x86_64 PCIe latency measurement module for the Linux kernel
License: GNU General Public License v2.0
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
Thanks for sharing your tool .
wanna check if any plan with ARM64 support or could advice on it, would be appreciated!
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
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.