Comments (4)
another question ,maybe not related with pmt-tools.
How can we know whether the app performance is cpu bound,so we can use the topplev?
from pmu-tools.
I don't understand the first question.
--metrics contains a CPU usage metric. I moved it into the basic model.
However it is hard to say in general because it depends on the number of cores you intend to use, and the numbre of other processes running.
from pmu-tools.
let me explain the first question,
1,
first run :toplev.py sleep 60
Using level 1.
perf stat -x, -e '{cpu/event=0x3c,umask=0x0,any=1/,cpu/event=0xe,umask=0x1/,cpu/event=0x9c,umask=0x1/,cpu/event=0xd,umask=0x3,cmask=1,any=1/,cpu/event=0xc2,umask=0x2/}' -A -a sleep 60
S0-C0 FE Frontend_Bound: 35.21%
S0-C0 BE Backend_Bound: 50.81% //maybe the bound.
S0-C1 FE Frontend_Bound: 34.63%
S0-C1 BE Backend_Bound: 43.94%
.....
second run: toplev.py -l2 sleep 60
S0-C0 FE Frontend_Bound: 32.92%
S0-C0 FE Frontend_Bound.Frontend_Latency: 27.60%
S0-C0 BE Backend_Bound: 52.92%
S0-C1 FE Frontend_Bound: 36.04%
S0-C1 FE Frontend_Bound.Frontend_Latency: 29.17%
......
S0-C0-T1BE/Mem Backend_Bound.Memory_Bound: 0.00% mismeasured
2,
if normal,when i carry the second run,the command output should have the level 2 result,such as 'S0-C0 FE Frontend_Bound.Frontend_Latency: 27.60%'
as for the S0-C0 BE Backend_Bound,in the first run,we can see it domain 50.81%,so maybe in the second run,we should also see the detail of the S0-C0 BE Backend_Bound. am i right?
but you look,we cannot found the S0-C0 BE 's subitems,such as 'S0-C0 BE Backend_Bound.*'.
so we cannot see the details about the S0-C0 BE Backend_Bound.
my kernel is ubuntu 3.16.0-31-generic.
from pmu-tools.
The second run is multiplexing, so the results can differ. See
https://github.com/andikleen/pmu-tools/wiki/reasons-for-toplev-measuring-issues
from pmu-tools.
Related Issues (20)
- toplev: Fix misaligned values in columns when area is too long
- tl-tester sometimes has comparison failures
- toplev does not print multiplex information for all metrics
- toplev: Compute minimum column widths for numbers / units
- toplev should print % for Scaled_Slots
- toplev should support filtering metrics by their threshold HOT 1
- ADL 100% Machine_Clears
- toplev should accumulate and report running time
- Add support for Meteor Lake HOT 1
- Test suite should cover both models for hybrid targets HOT 1
- toplev --run-sample: A requested CPU in '0' is not supported by PMU 'cpu_atom' (CPUs 8-23) for event 'cycles:pp' HOT 3
- toplev add option to only collect bottlenecks, not L1/L2
- MTL support misses Info.Bottlenecks HOT 1
- Trunk version of toplev regressed in generation of valid groups HOT 1
- CLTRAMP3D workload is not available
- Incorrect event for IpCall metric
- event_download returns incorrect list name in hybrid
- How to measure only the second part (a region) of a program? HOT 1
- No precise event (ppu) usage with perf-tools auto-drilldown HOT 2
- No cmask in perf output.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pmu-tools.