AEPWatch Overview
AEPWatch Overview
AEPWatch Overview
Contents
Introduction .................................................................................................................................................. 3
Tool Usage..................................................................................................................................................... 3
Explanation of metrics .................................................................................................................................. 4
Introduction
AEPWatch is a tool that monitors and reports the behavior of the AEP DIMM. It consists of 2 tools; the
data collector is called AEPWatch and a second visualization tool named generate_plot.sh uses gnuplot
to visualize the collected data.
Tool Usage
AEPWatch "<sampling interval>" "<number of samples>" -f outputfile.csv
Example: "AEPWatch 1 100" reads the counters every 1 second 100 times.
Formula:
bytes_read : (read_64B_ops_received - write_64B_ops_received) * 64
bytes_written: write_64B_ops_received * 64
read_hit_ratio (derived) :
write_hit_ratio (derived):
Measures the efficiency of the prefetcher. Range of 0.0-1.0.
Formula:
read_hit_ratio : (ddrt_read_ops - sxp_read_ops) / ddrt_read_ops
write_hit_ratio: (ddrt_write_ops - sxp_write_ops) / ddrt_write_ops
wdb_merge_percentage (derived):
Measures efficiency of the write merges. Range of 0.0-1.0.
Formula:
CONSTANT = 10us (clock rate * number of clocks for DDP)
sxp_write_ops_adj = sxp_write_ops - (sample_time / CONSTANT)
wdb_merge_percentage: (ddrt_write_ops - sxp_write_ops_adj) / ddrt_write_ops
sxp_read_ops (derived) :
sxp_write_ops (derived):
Formula:
sxp_read_ops : (read_64B_ops_received - write_64B_ops_received) / 4
sxp_write_ops: write_64B_ops_received / 4
read_64B_ops_received :
write_64B_ops_received:
Number of read and write operations generated by the microcontroller. Each operation transacts a
64byte operation. These operations includes commands transacted on behalf of the microcontroller for
maintenance as well as the commands transacted by the CPU.
ddrt_read_ops :
ddrt_write_ops:
Number of read and write operations received from the CPU (memory controller), for the 2LM and App
Direct Mode partitions.