Comments (3)
The graphs are not required to add up to 100%, there may be no 100%
bottleneck sum.
Typical reasons for not counted are:
- the event truly does not happen in your workload (that is not
uncommon) - due to multiplexing errors. The CPU can normally only measure 4
counters at a time. Multiplexing assumes the workload
is "steady state" (does mostly the same) and runs reasonably long.
In general you get less error when you with lower levels, as
those need less groups to measure (-l1 does not multiplex at all) - You can play around with the setting in
/sys/devices/cpu/perf_event_mux_interval_ms
(note set it to 0 again when you're finished) - Older kernels had various scheduling counter scheduling bugs.
- If your workload is very reproducible it's possible to disable
multiplexing
In your graph it's a bit odd that the top level does not show the
lower levels. Do you see the same with just -l1?
I think your kernel may not correctly schedule one of the L1 events
(unless Ubuntu backported the full Haswell PMU code)
In this case a kernel update would help.
from pmu-tools.
- Also if the workload is thread intensive it is currently better to disable hyper threading in the BIOS.
The full SMT support for Haswell is still WIP.
from pmu-tools.
There were a lot of fixes recently on issues that may have caused non counted.
Also one kernel bug was found on Haswell (see https://github.com/andikleen/pmu-tools/wiki/toplev-kernel-support)
I would expect the issues to be fixed with all of these.
from pmu-tools.
Related Issues (20)
- toplev: Info_Bottlenecks reports negative Scaled_Slots on SKX HOT 4
- toplev: Add option to only show bottleneck HOT 2
- 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
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.