Git Product home page Git Product logo

Comments (7)

andikleen avatar andikleen commented on July 19, 2024

Do you have an uptodate tree?

-Andi

[email protected] -- Speaking for myself only.

from pmu-tools.

ssbanerje avatar ssbanerje commented on July 19, 2024

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.

andikleen avatar andikleen commented on July 19, 2024

Should be fixed now with c1c6280

from pmu-tools.

ssbanerje avatar ssbanerje commented on July 19, 2024

@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.

andikleen avatar andikleen commented on July 19, 2024

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.

ssbanerje avatar ssbanerje commented on July 19, 2024

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.

andikleen avatar andikleen commented on July 19, 2024

Yes it should

[email protected] -- Speaking for myself only.

from pmu-tools.

Related Issues (20)

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.