iovisor / iovisor/bcc

Distinguish between Persistent Memory and RAM cache misses

Open
#4,444 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Hi everyone,
I am looking for a way to distinguish between Persistent Memory and RAM cache misses, at first, I looked at HW events, however, I did not find anything that could be used.
I am now looking at probing using the cachetop.py tool methods to access the kernel structures to find the virtual address of the page, however, I can not find a member of the structures that would contain the virtual address. I found a kernel function called "page_address()" that receives a page struct and returns a virtual address [1], is there any way to call this function using eBPF?
Thanks in advance.
https://linux-kernel-labs.github.io/refs/heads/master/labs/memory_mapping.html
(Do not know if this is the most appropriate place to ask sorry if it is not)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.