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

[sketch] lib.pmu: Sketch of support for load-latency measurement #815

Closed
wants to merge 1 commit into from

Conversation

lukego
Copy link
Member

@lukego lukego commented Mar 10, 2016

Counters for measuring the latency of memory loads, like:

mem_trans_retired.load_latency_gt_4
mem_trans_retired.load_latency_gt_8
mem_trans_retired.load_latency_gt_nnn

require the nnn cycle count to be programmed into a special MSR. This change does that programming.

The code does not actually work yet due to a hardware dependency on PEBS. See comment in source code.

See also #808.

Counters for measuring the latency of memory loads, like:

  mem_trans_retired.load_latency_gt_4
  mem_trans_retired.load_latency_gt_8
  mem_trans_retired.load_latency_gt_nnn

require the <nnn> cycle count to be programmed into a special MSR.
This change does that programming.

The code does not actually work yet due to a hardware dependency on
PEBS. See comment in source code.
@lukego lukego changed the title lib.pmu: Sketch of support for load-latency measurement [sketch] lib.pmu: Sketch of support for load-latency measurement Mar 11, 2016
@lukego
Copy link
Member Author

lukego commented Mar 11, 2016

Closing and marking as [sketch]. I originally thought this was a simple isolated change and only later realized that it depends on PEBS.

@lukego lukego closed this Mar 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant