Comments (7)
Do you have an uptodate tree?
-Andi
[email protected] -- Speaking for myself only.
from pmu-tools.
I am using the latest master branch.
I tried running the list command like it was suggested in #6 .... ocperf.py list | grep -i UOPS_EXECUTED.CYCLES_GE_1_UOPS_EXEC
. This did not return any value.
$ => ocperf.py list | grep UOPS_EXECUTED.CYCLES_GE_1_UOPS_EXEC
$ =>
So I also checked the JSON file (V15) that the tools download from the Intel 10 site. It seems that the event there is called UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC
, not UOPS_EXECUTED.CYCLES_GE_1_UOPS_EXEC
.
$ => grep UOPS_EXECUTED.CYCLES_GE_1_UOPS_EXEC GenuineIntel-6-3C-core.json
$ =>
$ => grep UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC GenuineIntel-6-3C-core.json
6341: "EventName": "UOPS_EXECUTED.CYCLES_GE_1_UOP_EXEC",
$ =>
Is this the problem? Should I just edit the JSON file and remove the S
?
from pmu-tools.
Should be fixed now with c1c6280
from pmu-tools.
@tgrabiec @andikleen
Looks like something else went wrong again (or something didnt get fixed).
I purged the ~/.cache/pmu_events
folder to get rid of my changes, and updated to the latest branch with c1c6280
Now I get this error -
$ => ocperf.py stat -I100 ls -al
Downloading https://download.01.org/perfmon/mapfile.csv to mapfile.csv
Downloading https://download.01.org/perfmon/HSW/Haswell_core_V15.json to GenuineIntel-6-3C-core.json
Downloading https://download.01.org/perfmon/HSW/Haswell_matrix_bit_definitions_V15.json to GenuineIntel-6-3C-offcore.json
Downloading https://download.01.org/perfmon/readme.txt to readme.txt
Traceback (most recent call last):
File "/home/subho/pmu-tools/ocperf.py", line 690, in <module>
emap = find_emap()
File "/home/subho/pmu-tools/ocperf.py", line 536, in find_emap
return json_with_extra(el)
File "/home/subho/pmu-tools/ocperf.py", line 482, in json_with_extra
add_extra_env(emap, el)
File "/home/subho/pmu-tools/ocperf.py", line 492, in add_extra_env
emap.add_offcore(oc)
File "/home/subho/pmu-tools/ocperf.py", line 452, in add_offcore
if row[u"MATRIX_REQUEST"].upper() != "NULL":
KeyError: u'MATRIX_REQUEST'
$ =>
So, I looked around in the GenuineIntel-6-3C-offcore.json
file.
It seems that it does not have the MATRIX_REQUEST
field.
This is probably related to #9.
I don't know if this is after the change propagated or before.
$ => grep -n MATRIX_REQUEST GenuineIntel-6-3C-offcore.json
$ => grep -n MATRIX GenuineIntel-6-3C-offcore.json
6: "MATRIX_REG": "0,1",
13: "MATRIX_REG": "0,1",
20: "MATRIX_REG": "0,1",
27: "MATRIX_REG": "0,1",
34: "MATRIX_REG": "0,1",
41: "MATRIX_REG": "0,1",
48: "MATRIX_REG": "0,1",
55: "MATRIX_REG": "0,1",
62: "MATRIX_REG": "0,1",
69: "MATRIX_REG": "0,1",
76: "MATRIX_REG": "0,1",
83: "MATRIX_REG": "0,1",
90: "MATRIX_REG": "0,1",
97: "MATRIX_REG": "0,1",
104: "MATRIX_REG": "0,1",
111: "MATRIX_REG": "0,1",
118: "MATRIX_REG": "0,1",
125: "MATRIX_REG": "0,1",
132: "MATRIX_REG": "0,1",
139: "MATRIX_REG": "0,1",
146: "MATRIX_REG": "0,1",
153: "MATRIX_REG": "0,1",
160: "MATRIX_REG": "0,1",
167: "MATRIX_REG": "0,1",
174: "MATRIX_REG": "0,1",
181: "MATRIX_REG": "0,1",
188: "MATRIX_REG": "0,1",
195: "MATRIX_REG": "0,1",
202: "MATRIX_REG": "0,1",
209: "MATRIX_REG": "0,1",
216: "MATRIX_REG": "0,1",
223: "MATRIX_REG": "0,1",
230: "MATRIX_REG": "0,1",
237: "MATRIX_REG": "0,1",
244: "MATRIX_REG": "0,1",
251: "MATRIX_REG": "0,1",
258: "MATRIX_REG": "0,1",
from pmu-tools.
Just remove the offcore file for now. Things should work
without it.
I fixed the event repository, but it'll take some time to propagate
to the mirror.
-Andi
[email protected] -- Speaking for myself only.
from pmu-tools.
Will toplev
give the same answers without the offcore events? Especially for memory bound workloads? Or should I just wait for the events files to get updated online?
from pmu-tools.
Yes it should
[email protected] -- Speaking for myself only.
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.