Signed-off-by: coleramos425 <colramos@amd.com>
Этот коммит содержится в:
coleramos425
2023-05-02 14:57:55 -05:00
родитель c794fb8198
Коммит 9abbe5049d
25 изменённых файлов: 23412 добавлений и 277 удалений
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
@@ -2,6 +2,7 @@
{"$project": {
"_id": 0,
"date":1,
"command": 1,
"host_name": 1,
"host_cpu": 1,
"host_distro": 1,
@@ -31,6 +32,10 @@
"Metric":"Date",
"Value": "&date"
},
{
"Metric":"App Command",
"Value": "&command"
},
{
"Metric":"Host Name",
"Value": "&host_name"
@@ -1,56 +0,0 @@
[
{"$match": {
"Index": { "$in": [${DispatchIDFilter:raw}] },
"gpu-id": { "$in": [${gpuFilter:raw}] },
"KernelName": { "$in": ${KernelNameFilter:json}}
}},
{"$group": {
"_id": null,
"mmfa_i8": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_I8", "&SQ_WAVES" ] }
},
"mmfa_f16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F16", "&SQ_WAVES" ] }
},
"mmfa_bf16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_BF16", "&SQ_WAVES" ] }
},
"mfma_f32": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F32", "&SQ_WAVES" ] }
},
"mfma_f64": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F64", "&SQ_WAVES" ] }
}
}
},
{"$set": {
"array": [
{
"type": "MFMA-I8",
"count": "&mmfa_i8"
},
{
"type": "MFMA-F16",
"count": "&mmfa_f16"
},
{
"type": "MFMA-BF16",
"count": "&mmfa_bf16"
},
{
"type": "MFMA-F32",
"count": "&mfma_f32"
},
{
"type": "MFMA-F64",
"count": "&mfma_f64"
}
]
}},
{"$unwind": {
"path": "&array"
}},
{"$replaceRoot": {
"newRoot": "&array"
}}
]
@@ -0,0 +1,77 @@
[
{"$match": {
"Index": { "$in": [${DispatchIDFilter:raw}] },
"gpu-id": { "$in": [${gpuFilter:raw}] },
"KernelName": { "$in": ${KernelNameFilter:json}}
}},
{"$addFields": {
"denom": {
"$switch" : {
"branches": [
{
"case": { "$eq": [ $normUnit, "per Wave"]} ,
"then": "&SQ_WAVES"
},
{
"case": { "$eq": [ $normUnit, "per Cycle"]} ,
"then": "&GRBM_GUI_ACTIVE"
},
{
"case": { "$eq": [ $normUnit, "per Sec"]} ,
"then": {"$divide":[{"$subtract": ["&EndNs", "&BeginNs" ]}, 1000000000]}
}
],
"default": 1
}
}
}},
{"$group": {
"_id": null,
"mfma_i8": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_I8", "&denom" ] }
},
"mfma_f16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F16", "&denom" ] }
},
"mfma_bf16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_BF16", "&denom" ] }
},
"mfma_f32": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F32", "&denom" ] }
},
"mfma_f64": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F64", "&denom" ] }
}
}
},
{"$set": {
"array": [
{
"type": "MFMA-I8",
"count": "&mfma_i8"
},
{
"type": "MFMA-F16",
"count": "&mfma_f16"
},
{
"type": "MFMA-BF16",
"count": "&mfma_bf16"
},
{
"type": "MFMA-F32",
"count": "&mfma_f32"
},
{
"type": "MFMA-F64",
"count": "&mfma_f64"
}
]
}},
{"$unwind": {
"path": "&array"
}},
{"$replaceRoot": {
"newRoot": "&array"
}}
]
@@ -22,9 +22,10 @@
]
}
},
"cacheBW_pct": {
"$avg": { "$divide": [ {"$multiply":[100, "&TCP_TOTAL_CACHE_ACCESSES_sum"]},
{"$multiply":["&GRBM_GUI_ACTIVE", $numCU, 4]}
"$avg": { "$divide": [ {"$multiply":[64, "&TCP_TOTAL_CACHE_ACCESSES_sum"]},
{"$subtract":["&EndNs", "&BeginNs"]}
]
}
},
@@ -51,7 +52,7 @@
{
"Buffer Coalescing": "&bufferCoalescing_pct",
"Cache Util": "&cacheUtil_pct",
"Cache BW": "&cacheBW_pct",
"Cache BW": { "$divide": [{ "$multiply": [100, "&cacheBW_pct"] }, { "$multiply": [ { "$multiply": [{ "$divide": [$sclk, 1000] }, 64] }, $numCU]}] },
"Cache Hit": "&cacheHit_pct"
}
]
@@ -44,6 +44,10 @@
"atomicReq_min":{"$min": {"$divide": [ { "$add": ["&TCP_TOTAL_ATOMIC_WITH_RET_sum", "&TCP_TOTAL_ATOMIC_WITHOUT_RET_sum"] }, "&denom"]}},
"atomicReq_max":{"$max": {"$divide": [ { "$add": ["&TCP_TOTAL_ATOMIC_WITH_RET_sum", "&TCP_TOTAL_ATOMIC_WITHOUT_RET_sum"] }, "&denom"]}},
"cacheBW_avg":{"$avg": { "$divide": [{ "$multiply": ["&TCP_TOTAL_CACHE_ACCESSES_sum", 64 ] }, { "$subtract": ["&EndNs", "&BeginNs"] } ] }},
"cacheBW_min":{"$min": { "$divide": [{ "$multiply": ["&TCP_TOTAL_CACHE_ACCESSES_sum", 64 ] }, { "$subtract": ["&EndNs", "&BeginNs"] } ] }},
"cacheBW_max":{"$max": { "$divide": [{ "$multiply": ["&TCP_TOTAL_CACHE_ACCESSES_sum", 64 ] }, { "$subtract": ["&EndNs", "&BeginNs"] } ] }},
"cacheAccess_avg":{"$avg": {"$divide": [ "&TCP_TOTAL_CACHE_ACCESSES_sum", "&denom"]}},
"cacheAccess_min":{"$min": {"$divide": [ "&TCP_TOTAL_CACHE_ACCESSES_sum", "&denom"]}},
"cacheAccess_max":{"$max": {"$divide": [ "&TCP_TOTAL_CACHE_ACCESSES_sum", "&denom"]}},
@@ -115,20 +119,23 @@
null
]
}},
"l2_l1_read_avg":{"$avg": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_read_min":{"$min": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_read_max":{"$max": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_write_avg":{"$avg": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2_l1_write_min":{"$min": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2_l1_write_max":{"$max": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2TCRRead_avg":{"$avg": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2TCRRead_min":{"$min": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2TCRRead_max":{"$max": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_atomic_avg":{"$avg": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2_l1_atomic_min":{"$min": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2_l1_atomic_max":{"$max": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2Write_avg":{"$avg": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2Write_min":{"$min": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2Write_max":{"$max": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2Atomic_avg":{"$avg": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2Atomic_min":{"$min": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2Atomic_max":{"$max": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2_l1_bw_avg":{"$avg": {"$divide": [{"$multiply": [64, {"$add": ["&TCP_TCC_READ_REQ_sum", "&TCP_TCC_WRITE_REQ_sum", "&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] } ]}, "&denom" ]}},
"l2_l1_bw_min":{"$min": {"$divide": [{"$multiply": [64, {"$add": ["&TCP_TCC_READ_REQ_sum", "&TCP_TCC_WRITE_REQ_sum", "&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] } ]}, "&denom" ]}},
"l2_l1_bw_max":{"$max": {"$divide": [{"$multiply": [64, {"$add": ["&TCP_TCC_READ_REQ_sum", "&TCP_TCC_WRITE_REQ_sum", "&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] } ]}, "&denom" ]}},
"invalidate_avg":{"$avg": {"$divide": [ "&TCP_TOTAL_WRITEBACK_INVALIDATES_sum", "&denom"] }},
"invalidate_min":{"$min": {"$divide": [ "&TCP_TOTAL_WRITEBACK_INVALIDATES_sum", "&denom"] }},
@@ -229,11 +236,18 @@
},
{
"metric": "Atomic Req",
"avg": "&atomicReq_avg",
"min": "&atomicReq_min",
"max": "&atomicReq_max",
"avg": "&l2_l1_atomic_avg",
"min": "&l2_l1_atomic_min",
"max": "&l2_l1_atomic_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
"metric": "Cache BW",
"avg": "&cacheBW_avg",
"min": "&cacheBW_min",
"max": "&cacheBW_max",
"Unit": "GB/s"
},
{
"metric": "Cache Accesses",
"avg": "&cacheAccess_avg",
@@ -263,24 +277,31 @@
"Unit": {"$concat": ["", $normUnit]}
},
{
"metric": "L1-TCR Read",
"avg": "&l2TCRRead_avg",
"min": "&l2TCRRead_min",
"max": "&l2TCRRead_max",
"metric": "L1-L2 BW",
"avg": "&l2_l1_bw_avg",
"min": "&l2_l1_bw_avg",
"max": "&l2_l1_bw_avg",
"Unit": {"$concat": ["Bytes ", $normUnit]}
},
{
"metric": "L1-L2 Read",
"avg": "&l2_l1_read_avg",
"min": "&l2_l1_read_min",
"max": "&l2_l1_read_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
"metric": "L1-L2 Write",
"avg": "&l2Write_avg",
"min": "&l2Write_min",
"max": "&l2Write_max",
"avg": "&l2_l1_write_avg",
"min": "&l2_l1_write_min",
"max": "&l2_l1_write_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
"metric": "L1-L2 Atomic",
"avg": "&l2Atomic_avg",
"min": "&l2Atomic_min",
"max": "&l2Atomic_max",
"avg": "&l2_l1_atomic_avg",
"min": "&l2_l1_atomic_min",
"max": "&l2_l1_atomic_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
@@ -145,7 +145,7 @@
{
"Xfer": "Read",
"Coherency": "NC",
"Mean": "&readNC_avg",
"Avg": "&readNC_avg",
"Min": "&readNC_min",
"Max": "&readNC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -153,7 +153,7 @@
{
"Xfer": "Read",
"Coherency": "UC",
"Mean": "&readUC_avg",
"Avg": "&readUC_avg",
"Min": "&readUC_min",
"Max": "&readUC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -161,7 +161,7 @@
{
"Xfer": "Read",
"Coherency": "CC",
"Mean": "&readCC_avg",
"Avg": "&readCC_avg",
"Min": "&readCC_min",
"Max": "&readCC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -169,7 +169,7 @@
{
"Xfer": "Read",
"Coherency": "RW",
"Mean": "&readRW_avg",
"Avg": "&readRW_avg",
"Min": "&readRW_min",
"Max": "&readRW_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -177,7 +177,7 @@
{
"Xfer": "Write",
"Coherency": "RW",
"Mean": "&writeRW_avg",
"Avg": "&writeRW_avg",
"Min": "&writeRW_min",
"Max": "&writeRW_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -185,7 +185,7 @@
{
"Xfer": "Write",
"Coherency": "NC",
"Mean": "&writeNC_avg",
"Avg": "&writeNC_avg",
"Min": "&writeNC_min",
"Max": "&writeNC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -193,7 +193,7 @@
{
"Xfer": "Write",
"Coherency": "UC",
"Mean": "&writeUC_avg",
"Avg": "&writeUC_avg",
"Min": "&writeUC_min",
"Max": "&writeUC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -201,7 +201,7 @@
{
"Xfer": "Write",
"Coherency": "CC",
"Mean": "&writeCC_avg",
"Avg": "&writeCC_avg",
"Min": "&writeCC_min",
"Max": "&writeCC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -210,7 +210,7 @@
{
"Xfer": "Atomic",
"Coherency": "NC",
"Mean": "&atomicNC_avg",
"Avg": "&atomicNC_avg",
"Min": "&atomicNC_min",
"Max": "&atomicNC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -218,7 +218,7 @@
{
"Xfer": "Atomic",
"Coherency": "UC",
"Mean": "&atomicUC_avg",
"Avg": "&atomicUC_avg",
"Min": "&atomicUC_min",
"Max": "&atomicUC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -226,7 +226,7 @@
{
"Xfer": "Atomic",
"Coherency": "CC",
"Mean": "&atomicCC_avg",
"Avg": "&atomicCC_avg",
"Min": "&atomicCC_min",
"Max": "&atomicCC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -234,7 +234,7 @@
{
"Xfer": "Atomic",
"Coherency": "RW",
"Mean": "&atomicRW_avg",
"Avg": "&atomicRW_avg",
"Min": "&atomicRW_min",
"Max": "&atomicRW_max",
"Unit": {"$concat": ["Req ", $normUnit]}
Разница между файлами не показана из-за своего большого размера Загрузить разницу
@@ -815,7 +815,8 @@
"EA Write Stall - IO": "&b0_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b0_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b0_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b0_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b0_ea_write_stall_too_many",
"Units": "$denom"
},
{
"Channel": "1",
@@ -836,7 +837,8 @@
"EA Write Stall - IO": "&b1_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b1_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b1_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b1_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b1_ea_write_stall_too_many",
"Units": "$denom"
},
{
"Channel": "2",
@@ -857,7 +859,8 @@
"EA Write Stall - IO": "&b2_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b2_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b2_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b2_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b2_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -879,7 +882,8 @@
"EA Write Stall - IO": "&b3_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b3_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b3_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b3_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b3_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -901,7 +905,8 @@
"EA Write Stall - IO": "&b4_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b4_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b4_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b4_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b4_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -923,7 +928,8 @@
"EA Write Stall - IO": "&b5_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b5_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b5_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b5_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b5_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -945,7 +951,8 @@
"EA Write Stall - IO": "&b6_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b6_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b6_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b6_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b6_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -967,7 +974,8 @@
"EA Write Stall - IO": "&b7_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b7_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b7_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b7_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b7_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -989,7 +997,8 @@
"EA Write Stall - IO": "&b8_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b8_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b8_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b8_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b8_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1011,7 +1020,8 @@
"EA Write Stall - IO": "&b9_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b9_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b9_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b9_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b9_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1033,7 +1043,8 @@
"EA Write Stall - IO": "&b10_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b10_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b10_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b10_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b10_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1055,7 +1066,8 @@
"EA Write Stall - IO": "&b11_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b11_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b11_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b11_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b11_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1077,7 +1089,8 @@
"EA Write Stall - IO": "&b12_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b12_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b12_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b12_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b12_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1099,7 +1112,8 @@
"EA Write Stall - IO": "&b13_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b13_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b13_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b13_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b13_ea_write_stall_too_many",
"Units": "$denom"
},
@@ -1122,7 +1136,8 @@
"EA Write Stall - IO": "&b14_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b14_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b14_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b14_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b14_ea_write_stall_too_many",
"Units": "$denom"
},
@@ -1145,7 +1160,8 @@
"EA Write Stall - IO": "&b15_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b15_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b15_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b15_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b15_ea_write_stall_too_many",
"Units": "$denom"
}
]
}},
@@ -791,7 +791,8 @@
"EA Write Stall - IO": "&b16_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b16_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b16_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b16_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b16_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -813,7 +814,8 @@
"EA Write Stall - IO": "&b17_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b17_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b17_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b17_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b17_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -835,7 +837,8 @@
"EA Write Stall - IO": "&b18_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b18_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b18_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b18_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b18_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -857,7 +860,8 @@
"EA Write Stall - IO": "&b19_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b19_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b19_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b19_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b19_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -879,7 +883,8 @@
"EA Write Stall - IO": "&b20_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b20_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b20_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b20_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b20_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -901,7 +906,8 @@
"EA Write Stall - IO": "&b21_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b21_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b21_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b21_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b21_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -923,7 +929,8 @@
"EA Write Stall - IO": "&b22_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b22_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b22_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b22_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b22_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -945,7 +952,8 @@
"EA Write Stall - IO": "&b23_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b23_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b23_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b23_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b23_ea_write_stall_too_many",
"Units": "$denom"
},
@@ -968,7 +976,8 @@
"EA Write Stall - IO": "&b24_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b24_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b24_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b24_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b24_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -990,7 +999,8 @@
"EA Write Stall - IO": "&b25_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b25_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b25_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b25_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b25_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1012,7 +1022,8 @@
"EA Write Stall - IO": "&b26_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b26_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b26_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b26_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b26_ea_write_stall_too_many",
"Units": "$denom"
},
@@ -1035,7 +1046,8 @@
"EA Write Stall - IO": "&b27_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b27_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b27_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b27_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b27_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1057,7 +1069,8 @@
"EA Write Stall - IO": "&b28_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b28_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b28_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b28_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b28_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1079,7 +1092,8 @@
"EA Write Stall - IO": "&b29_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b29_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b29_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b29_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b29_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1101,7 +1115,8 @@
"EA Write Stall - IO": "&b30_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b30_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b30_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b30_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b30_ea_write_stall_too_many",
"Units": "$denom"
},
{
@@ -1123,7 +1138,8 @@
"EA Write Stall - IO": "&b31_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b31_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b31_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b31_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b31_ea_write_stall_too_many",
"Units": "$denom"
}
]
@@ -2,6 +2,7 @@
{"$project": {
"_id": 0,
"date":1,
"command": 1,
"host_name": 1,
"host_cpu": 1,
"host_distro": 1,
@@ -31,6 +32,10 @@
"Metric":"Date",
"Value": "&date"
},
{
"Metric":"App Command",
"Value": "&command"
},
{
"Metric":"Host Name",
"Value": "&host_name"
@@ -1,56 +0,0 @@
[
{"$match": {
"Index": { "$in": [${DispatchIDFilter:raw}] },
"gpu-id": { "$in": [${gpuFilter:raw}] },
"KernelName": { "$in": ${KernelNameFilter:json}}
}},
{"$group": {
"_id": null,
"mmfa_i8": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_I8", "&SQ_WAVES" ] }
},
"mmfa_f16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F16", "&SQ_WAVES" ] }
},
"mmfa_bf16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_BF16", "&SQ_WAVES" ] }
},
"mfma_f32": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F32", "&SQ_WAVES" ] }
},
"mfma_f64": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F64", "&SQ_WAVES" ] }
}
}
},
{"$set": {
"array": [
{
"type": "MFMA-I8",
"count": "&mmfa_i8"
},
{
"type": "MFMA-F16",
"count": "&mmfa_f16"
},
{
"type": "MFMA-BF16",
"count": "&mmfa_bf16"
},
{
"type": "MFMA-F32",
"count": "&mfma_f32"
},
{
"type": "MFMA-F64",
"count": "&mfma_f64"
}
]
}},
{"$unwind": {
"path": "&array"
}},
{"$replaceRoot": {
"newRoot": "&array"
}}
]
@@ -0,0 +1,77 @@
[
{"$match": {
"Index": { "$in": [${DispatchIDFilter:raw}] },
"gpu-id": { "$in": [${gpuFilter:raw}] },
"KernelName": { "$in": ${KernelNameFilter:json}}
}},
{"$addFields": {
"denom": {
"$switch" : {
"branches": [
{
"case": { "$eq": [ $normUnit, "per Wave"]} ,
"then": "&SQ_WAVES"
},
{
"case": { "$eq": [ $normUnit, "per Cycle"]} ,
"then": "&GRBM_GUI_ACTIVE"
},
{
"case": { "$eq": [ $normUnit, "per Sec"]} ,
"then": {"$divide":[{"$subtract": ["&EndNs", "&BeginNs" ]}, 1000000000]}
}
],
"default": 1
}
}
}},
{"$group": {
"_id": null,
"mfma_i8": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_I8", "&denom" ] }
},
"mfma_f16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F16", "&denom" ] }
},
"mfma_bf16": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_BF16", "&denom" ] }
},
"mfma_f32": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F32", "&denom" ] }
},
"mfma_f64": {
"$avg": { "$divide": [ "&SQ_INSTS_VALU_MFMA_F64", "&denom" ] }
}
}
},
{"$set": {
"array": [
{
"type": "MFMA-I8",
"count": "&mfma_i8"
},
{
"type": "MFMA-F16",
"count": "&mfma_f16"
},
{
"type": "MFMA-BF16",
"count": "&mfma_bf16"
},
{
"type": "MFMA-F32",
"count": "&mfma_f32"
},
{
"type": "MFMA-F64",
"count": "&mfma_f64"
}
]
}},
{"$unwind": {
"path": "&array"
}},
{"$replaceRoot": {
"newRoot": "&array"
}}
]
@@ -22,9 +22,10 @@
]
}
},
"cacheBW_pct": {
"$avg": { "$divide": [ {"$multiply":[100, "&TCP_TOTAL_CACHE_ACCESSES_sum"]},
{"$multiply":["&GRBM_GUI_ACTIVE", $numCU, 4]}
"$avg": { "$divide": [ {"$multiply":[64, "&TCP_TOTAL_CACHE_ACCESSES_sum"]},
{"$subtract":["&EndNs", "&BeginNs"]}
]
}
},
@@ -51,7 +52,7 @@
{
"Buffer Coalescing": "&bufferCoalescing_pct",
"Cache Util": "&cacheUtil_pct",
"Cache BW": "&cacheBW_pct",
"Cache BW": { "$divide": [{ "$multiply": [100, "&cacheBW_pct"] }, { "$multiply": [ { "$multiply": [{ "$divide": [$sclk, 1000] }, 64] }, $numCU]}] },
"Cache Hit": "&cacheHit_pct"
}
]
@@ -44,6 +44,10 @@
"atomicReq_min":{"$min": {"$divide": [ { "$add": ["&TCP_TOTAL_ATOMIC_WITH_RET_sum", "&TCP_TOTAL_ATOMIC_WITHOUT_RET_sum"] }, "&denom"]}},
"atomicReq_max":{"$max": {"$divide": [ { "$add": ["&TCP_TOTAL_ATOMIC_WITH_RET_sum", "&TCP_TOTAL_ATOMIC_WITHOUT_RET_sum"] }, "&denom"]}},
"cacheBW_avg":{"$avg": { "$divide": [{ "$multiply": ["&TCP_TOTAL_CACHE_ACCESSES_sum", 64 ] }, { "$subtract": ["&EndNs", "&BeginNs"] } ] }},
"cacheBW_min":{"$min": { "$divide": [{ "$multiply": ["&TCP_TOTAL_CACHE_ACCESSES_sum", 64 ] }, { "$subtract": ["&EndNs", "&BeginNs"] } ] }},
"cacheBW_max":{"$max": { "$divide": [{ "$multiply": ["&TCP_TOTAL_CACHE_ACCESSES_sum", 64 ] }, { "$subtract": ["&EndNs", "&BeginNs"] } ] }},
"cacheAccess_avg":{"$avg": {"$divide": [ "&TCP_TOTAL_CACHE_ACCESSES_sum", "&denom"]}},
"cacheAccess_min":{"$min": {"$divide": [ "&TCP_TOTAL_CACHE_ACCESSES_sum", "&denom"]}},
"cacheAccess_max":{"$max": {"$divide": [ "&TCP_TOTAL_CACHE_ACCESSES_sum", "&denom"]}},
@@ -115,20 +119,23 @@
null
]
}},
"l2_l1_read_avg":{"$avg": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_read_min":{"$min": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_read_max":{"$max": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_write_avg":{"$avg": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2_l1_write_min":{"$min": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2_l1_write_max":{"$max": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2TCRRead_avg":{"$avg": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2TCRRead_min":{"$min": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2TCRRead_max":{"$max": {"$divide": [ "&TCP_TCC_READ_REQ_sum", "&denom"]}},
"l2_l1_atomic_avg":{"$avg": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2_l1_atomic_min":{"$min": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2_l1_atomic_max":{"$max": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2Write_avg":{"$avg": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2Write_min":{"$min": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2Write_max":{"$max": {"$divide": [ "&TCP_TCC_WRITE_REQ_sum", "&denom"] }},
"l2Atomic_avg":{"$avg": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2Atomic_min":{"$min": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2Atomic_max":{"$max": {"$divide": [ { "$add": ["&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] }, "&denom"] }},
"l2_l1_bw_avg":{"$avg": {"$divide": [{"$multiply": [64, {"$add": ["&TCP_TCC_READ_REQ_sum", "&TCP_TCC_WRITE_REQ_sum", "&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] } ]}, "&denom" ]}},
"l2_l1_bw_min":{"$min": {"$divide": [{"$multiply": [64, {"$add": ["&TCP_TCC_READ_REQ_sum", "&TCP_TCC_WRITE_REQ_sum", "&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] } ]}, "&denom" ]}},
"l2_l1_bw_max":{"$max": {"$divide": [{"$multiply": [64, {"$add": ["&TCP_TCC_READ_REQ_sum", "&TCP_TCC_WRITE_REQ_sum", "&TCP_TCC_ATOMIC_WITH_RET_REQ_sum", "&TCP_TCC_ATOMIC_WITHOUT_RET_REQ_sum"] } ]}, "&denom" ]}},
"invalidate_avg":{"$avg": {"$divide": [ "&TCP_TOTAL_WRITEBACK_INVALIDATES_sum", "&denom"] }},
"invalidate_min":{"$min": {"$divide": [ "&TCP_TOTAL_WRITEBACK_INVALIDATES_sum", "&denom"] }},
@@ -229,11 +236,18 @@
},
{
"metric": "Atomic Req",
"avg": "&atomicReq_avg",
"min": "&atomicReq_min",
"max": "&atomicReq_max",
"avg": "&l2_l1_atomic_avg",
"min": "&l2_l1_atomic_min",
"max": "&l2_l1_atomic_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
"metric": "Cache BW",
"avg": "&cacheBW_avg",
"min": "&cacheBW_min",
"max": "&cacheBW_max",
"Unit": "GB/s"
},
{
"metric": "Cache Accesses",
"avg": "&cacheAccess_avg",
@@ -263,24 +277,31 @@
"Unit": {"$concat": ["", $normUnit]}
},
{
"metric": "L1-TCR Read",
"avg": "&l2TCRRead_avg",
"min": "&l2TCRRead_min",
"max": "&l2TCRRead_max",
"metric": "L1-L2 BW",
"avg": "&l2_l1_bw_avg",
"min": "&l2_l1_bw_avg",
"max": "&l2_l1_bw_avg",
"Unit": {"$concat": ["Bytes ", $normUnit]}
},
{
"metric": "L1-L2 Read",
"avg": "&l2_l1_read_avg",
"min": "&l2_l1_read_min",
"max": "&l2_l1_read_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
"metric": "L1-L2 Write",
"avg": "&l2Write_avg",
"min": "&l2Write_min",
"max": "&l2Write_max",
"avg": "&l2_l1_write_avg",
"min": "&l2_l1_write_min",
"max": "&l2_l1_write_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
"metric": "L1-L2 Atomic",
"avg": "&l2Atomic_avg",
"min": "&l2Atomic_min",
"max": "&l2Atomic_max",
"avg": "&l2_l1_atomic_avg",
"min": "&l2_l1_atomic_min",
"max": "&l2_l1_atomic_max",
"Unit": {"$concat": ["Req ", $normUnit]}
},
{
@@ -145,7 +145,7 @@
{
"Xfer": "Read",
"Coherency": "NC",
"Mean": "&readNC_avg",
"Avg": "&readNC_avg",
"Min": "&readNC_min",
"Max": "&readNC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -153,7 +153,7 @@
{
"Xfer": "Read",
"Coherency": "UC",
"Mean": "&readUC_avg",
"Avg": "&readUC_avg",
"Min": "&readUC_min",
"Max": "&readUC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -161,7 +161,7 @@
{
"Xfer": "Read",
"Coherency": "CC",
"Mean": "&readCC_avg",
"Avg": "&readCC_avg",
"Min": "&readCC_min",
"Max": "&readCC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -169,7 +169,7 @@
{
"Xfer": "Read",
"Coherency": "RW",
"Mean": "&readRW_avg",
"Avg": "&readRW_avg",
"Min": "&readRW_min",
"Max": "&readRW_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -177,7 +177,7 @@
{
"Xfer": "Write",
"Coherency": "RW",
"Mean": "&writeRW_avg",
"Avg": "&writeRW_avg",
"Min": "&writeRW_min",
"Max": "&writeRW_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -185,7 +185,7 @@
{
"Xfer": "Write",
"Coherency": "NC",
"Mean": "&writeNC_avg",
"Avg": "&writeNC_avg",
"Min": "&writeNC_min",
"Max": "&writeNC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -193,7 +193,7 @@
{
"Xfer": "Write",
"Coherency": "UC",
"Mean": "&writeUC_avg",
"Avg": "&writeUC_avg",
"Min": "&writeUC_min",
"Max": "&writeUC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -201,7 +201,7 @@
{
"Xfer": "Write",
"Coherency": "CC",
"Mean": "&writeCC_avg",
"Avg": "&writeCC_avg",
"Min": "&writeCC_min",
"Max": "&writeCC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -210,7 +210,7 @@
{
"Xfer": "Atomic",
"Coherency": "NC",
"Mean": "&atomicNC_avg",
"Avg": "&atomicNC_avg",
"Min": "&atomicNC_min",
"Max": "&atomicNC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -218,7 +218,7 @@
{
"Xfer": "Atomic",
"Coherency": "UC",
"Mean": "&atomicUC_avg",
"Avg": "&atomicUC_avg",
"Min": "&atomicUC_min",
"Max": "&atomicUC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -226,7 +226,7 @@
{
"Xfer": "Atomic",
"Coherency": "CC",
"Mean": "&atomicCC_avg",
"Avg": "&atomicCC_avg",
"Min": "&atomicCC_min",
"Max": "&atomicCC_max",
"Unit": {"$concat": ["Req ", $normUnit]}
@@ -234,7 +234,7 @@
{
"Xfer": "Atomic",
"Coherency": "RW",
"Mean": "&atomicRW_avg",
"Avg": "&atomicRW_avg",
"Min": "&atomicRW_min",
"Max": "&atomicRW_max",
"Unit": {"$concat": ["Req ", $normUnit]}
Разница между файлами не показана из-за своего большого размера Загрузить разницу
@@ -815,7 +815,8 @@
"EA Write Stall - IO": "&b0_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b0_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b0_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b0_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b0_ea_write_stall_too_many",
"Units": "&denom"
},
{
"Channel": "1",
@@ -836,7 +837,8 @@
"EA Write Stall - IO": "&b1_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b1_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b1_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b1_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b1_ea_write_stall_too_many",
"Units": "&denom"
},
{
"Channel": "2",
@@ -857,7 +859,8 @@
"EA Write Stall - IO": "&b2_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b2_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b2_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b2_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b2_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -879,7 +882,8 @@
"EA Write Stall - IO": "&b3_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b3_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b3_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b3_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b3_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -901,7 +905,8 @@
"EA Write Stall - IO": "&b4_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b4_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b4_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b4_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b4_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -923,7 +928,8 @@
"EA Write Stall - IO": "&b5_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b5_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b5_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b5_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b5_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -945,7 +951,8 @@
"EA Write Stall - IO": "&b6_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b6_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b6_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b6_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b6_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -967,7 +974,8 @@
"EA Write Stall - IO": "&b7_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b7_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b7_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b7_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b7_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -989,7 +997,8 @@
"EA Write Stall - IO": "&b8_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b8_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b8_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b8_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b8_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1011,7 +1020,8 @@
"EA Write Stall - IO": "&b9_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b9_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b9_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b9_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b9_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1033,7 +1043,8 @@
"EA Write Stall - IO": "&b10_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b10_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b10_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b10_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b10_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1055,7 +1066,8 @@
"EA Write Stall - IO": "&b11_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b11_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b11_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b11_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b11_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1077,7 +1089,8 @@
"EA Write Stall - IO": "&b12_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b12_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b12_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b12_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b12_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1099,7 +1112,8 @@
"EA Write Stall - IO": "&b13_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b13_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b13_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b13_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b13_ea_write_stall_too_many",
"Units": "&denom"
},
@@ -1122,7 +1136,8 @@
"EA Write Stall - IO": "&b14_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b14_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b14_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b14_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b14_ea_write_stall_too_many",
"Units": "&denom"
},
@@ -1145,7 +1160,8 @@
"EA Write Stall - IO": "&b15_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b15_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b15_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b15_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b15_ea_write_stall_too_many",
"Units": "&denom"
}
]
}},
@@ -4,29 +4,27 @@
"gpu-id": { "$in": [${gpuFilter:raw}] },
"KernelName": { "$in": ${KernelNameFilter:json}}
}},
{"$addFields": {
"denom": {
"$switch" : {
"branches": [
{
"case": { "$eq": [ $normUnit, "per Wave"]} ,
"then": "&SQ_WAVES"
},
{
"case": { "$eq": [ $normUnit, "per Cycle"]} ,
"then": "&GRBM_GUI_ACTIVE"
},
{
"case": { "$eq": [ $normUnit, "per Sec"]} ,
"then": {"$divide":[{"$subtract": ["&EndNs", "&BeginNs" ]}, 1000000000]}
}
],
"default": 1
}
}
}},
{"$addFields": {
"denom": {
"$switch" : {
"branches": [
{
"case": { "$eq": [ $normUnit, "per Wave"]} ,
"then": "&SQ_WAVES"
},
{
"case": { "$eq": [ $normUnit, "per Cycle"]} ,
"then": "&GRBM_GUI_ACTIVE"
},
{
"case": { "$eq": [ $normUnit, "per Sec"]} ,
"then": {"$divide":[{"$subtract": ["&EndNs", "&BeginNs" ]}, 1000000000]}
}
],
"default": 1
}
}
}},
{"$group": {
"_id": null,
"b16_hitRate": {
@@ -791,7 +789,8 @@
"EA Write Stall - IO": "&b16_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b16_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b16_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b16_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b16_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -813,7 +812,8 @@
"EA Write Stall - IO": "&b17_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b17_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b17_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b17_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b17_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -835,7 +835,8 @@
"EA Write Stall - IO": "&b18_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b18_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b18_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b18_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b18_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -857,7 +858,8 @@
"EA Write Stall - IO": "&b19_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b19_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b19_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b19_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b19_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -879,7 +881,8 @@
"EA Write Stall - IO": "&b20_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b20_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b20_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b20_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b20_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -901,7 +904,8 @@
"EA Write Stall - IO": "&b21_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b21_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b21_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b21_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b21_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -923,7 +927,8 @@
"EA Write Stall - IO": "&b22_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b22_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b22_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b22_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b22_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -945,7 +950,8 @@
"EA Write Stall - IO": "&b23_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b23_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b23_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b23_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b23_ea_write_stall_too_many",
"Units": "&denom"
},
@@ -968,7 +974,8 @@
"EA Write Stall - IO": "&b24_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b24_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b24_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b24_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b24_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -990,7 +997,8 @@
"EA Write Stall - IO": "&b25_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b25_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b25_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b25_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b25_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1012,7 +1020,8 @@
"EA Write Stall - IO": "&b26_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b26_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b26_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b26_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b26_ea_write_stall_too_many",
"Units": "&denom"
},
@@ -1035,7 +1044,8 @@
"EA Write Stall - IO": "&b27_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b27_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b27_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b27_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b27_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1057,7 +1067,8 @@
"EA Write Stall - IO": "&b28_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b28_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b28_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b28_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b28_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1079,7 +1090,8 @@
"EA Write Stall - IO": "&b29_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b29_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b29_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b29_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b29_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1101,7 +1113,8 @@
"EA Write Stall - IO": "&b30_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b30_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b30_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b30_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b30_ea_write_stall_too_many",
"Units": "&denom"
},
{
@@ -1123,7 +1136,8 @@
"EA Write Stall - IO": "&b31_ea_write_stall_io_credit",
"EA Write Stall - GMI": "&b31_ea_write_stall_gmi_credit",
"EA Write Stall - DRAM": "&b31_ea_write_stall_dram_credit",
"EA Write Stall - Starve": "&b31_ea_write_stall_too_many"
"EA Write Stall - Starve": "&b31_ea_write_stall_too_many",
"Units": "&denom"
}
]