Messages in this thread |  | | Date | Wed, 22 Oct 2014 12:20:26 -0400 | From | Don Zickus <> | Subject | perf: Translating mmap2 ids into socket info? |
| |
Hi,
A question/request came up during our cache to cache analysis. We were wondering if give an unique mmap2 id (major, minor, inode, inode generation), if it was possible to determine a cpu socket id that memory was attached to at the time of the captured perf event?
We ran into a scenario awhile back where a dcache struct was allocated on say node2 and then subsequently free'd. The memory was thought to be re-allocated on node0 for another dcache entry. It turned out the memory was still attached to node2 and was causing slowdowns.
Our cache-to-cache tool noticed the slowdown but we couldn't understand why because we had falsely assumed the memory was allocated on the local node but instead it was on the remote node.
I wasn't involved too much in this problem so the details provided above are a little hazy.
Anyway, an idea popped up that having socket information might have helped us solve/notice this problem sooner.
Thoughts? Not sure if that data is possible.
Cheers, Don
|  |