Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMR release #59

Merged
merged 4 commits into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ build-public/postprocess:
--add-data "./events/metric_skx_clx.json:." \
--add-data "./events/metric_bdx.json:." \
--add-data "./events/metric_icx.json:." \
--add-data "./events/metric_spr.json:." \
--add-data "./events/metric_spr_emr.json:." \
--add-data "./events/metric_srf.json:." \
--add-data "./src/base.html:." \
--runtime-tmpdir . \
Expand Down
2 changes: 1 addition & 1 deletion _version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.7
1.3.8
6 changes: 5 additions & 1 deletion events/metric_spr.json → events/metric_spr_emr.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@
"name": "metric_TMA_......Ports_Utilized_0(%)",
"expression": "100 * ( [EXE_ACTIVITY.3_PORTS_UTIL:u0x80] / ( [cpu-cycles] ) + ( [RESOURCE_STALLS.SCOREBOARD] / ( [cpu-cycles] ) ) * ( [CYCLE_ACTIVITY.STALLS_TOTAL] - [EXE_ACTIVITY.BOUND_ON_LOADS] ) / ( [cpu-cycles] ) )"
},
{
"name": "metric_TMA_........AMX_Busy(%)",
"expression": "100 * ( [EXE.AMX_BUSY] / ( [CPU_CLK_UNHALTED.DISTRIBUTED] ) )"
},
{
"name": "metric_TMA_......Ports_Utilized_1(%)",
"expression": "100 * ( [EXE_ACTIVITY.1_PORTS_UTIL] / ( [cpu-cycles] ) )"
Expand Down Expand Up @@ -384,4 +388,4 @@
"expression": "(1 - [CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE] / [CPU_CLK_UNHALTED.REF_DISTRIBUTED]) if [SOCKET_COUNT] > 1 else 0",
"origin": "perfspect"
}
]
]
4 changes: 3 additions & 1 deletion events/spr.txt → events/spr_emr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ cpu/event=0x79,umask=0x04,cmask=0x01,period=2000003,name='IDQ.MITE_CYCLES_ANY'/,
cpu/event=0x79,umask=0x04,cmask=0x06,period=2000003,name='IDQ.MITE_CYCLES_OK'/,
cpu/event=0x79,umask=0x08,cmask=0x01,period=2000003,name='IDQ.DSB_CYCLES_ANY'/,
cpu/event=0x79,umask=0x08,cmask=0x06,period=2000003,name='IDQ.DSB_CYCLES_OK'/,
cpu/event=0xec,umask=0x02,period=2000003,name='CPU_CLK_UNHALTED.DISTRIBUTED'/,
cpu/event=0xb7,umask=0x02,period=2000003,name='EXE.AMX_BUSY'/,
cpu-cycles,
ref-cycles,
instructions;
Expand Down Expand Up @@ -183,4 +185,4 @@ imc/event=0x05,umask=0xf0,name='UNC_M_CAS_COUNT.WR'/;

#power
power/energy-pkg/,
power/energy-ram/;
power/energy-ram/;
7 changes: 2 additions & 5 deletions perf-collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,8 @@ def validate_file(fname):
eventfile = "clx_skx.txt"
elif arch == "icelake":
eventfile = "icx.txt"
elif arch == "sapphirerapids":
eventfile = "spr.txt"
elif arch == "emeraldrapids":
eventfile = "spr.txt"
have_uncore = False
elif arch == "sapphirerapids" or arch == "emeraldrapids":
eventfile = "spr_emr.txt"
elif arch == "sierraforest":
eventfile = "srf.txt"

Expand Down
2 changes: 1 addition & 1 deletion perf-collect.spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ block_cipher = None
a = Analysis(
['perf-collect.py'],
pathex=[],
datas=[('./src/libtsc.so', '.'), ('./events/bdx.txt', '.'), ('./events/clx_skx.txt', '.'), ('./events/icx.txt', '.'), ('./events/spr.txt', '.'), ('./events/srf.txt', '.')],
datas=[('./src/libtsc.so', '.'), ('./events/bdx.txt', '.'), ('./events/clx_skx.txt', '.'), ('./events/icx.txt', '.'), ('./events/spr_emr.txt', '.'), ('./events/srf.txt', '.')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
Expand Down
2 changes: 1 addition & 1 deletion perf-postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def get_metric_file_name(microarchitecture):
elif microarchitecture == "icelake":
metric_file = "metric_icx.json"
elif microarchitecture == "sapphirerapids" or microarchitecture == "emeraldrapids":
metric_file = "metric_spr.json"
metric_file = "metric_spr_emr.json"
elif microarchitecture == "sierraforest":
metric_file = "metric_srf.json"
else:
Expand Down