Distinguish between Persistent Memory and RAM cache misses
- 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.