Quantcast
Channel: NUMA: How to check in which part of RAM a C++ array is allocated? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Claudio for NUMA: How to check in which part of RAM a C++ array is allocated?

$
0
0

Memory is virtualized through the MMU, so each process sees a memory space of size equal to 2^64. Within the process, addresses are virtual, so they are meaningless. There isn't any corrispondence between the virtual addresses (seen by the application) and the physical addresses (on RAM) at the process-level.

Your application should query the operating system to know which physical addresses it is currenyly using.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>