On Friday, June 22, 2018, Michael Di Domenico <<a href="mailto:mdidomenico4@gmail.com">mdidomenico4@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Jun 22, 2018 at 2:28 PM, Skylar Thompson<br>
<<a href="mailto:skylar.thompson@gmail.com">skylar.thompson@gmail.com</a>> wrote:<br>
> Assuming Linux, you can get that information out of /proc/<pid>/smaps and<br>
> numa_maps.<br>
<br>
the memory regions are in there for the used bits, but i don't have<br>
anything that translates those regions to which cpu the region sits on<br>
</blockquote><div><br></div><div>I think the number before the = in the page count fields (Nn=pages) is the NUMA node number. Not exactly the CPU, but the memory isn't allocated to a specific CPU (modulo CPU cache).</div><div><br></div><div>Skylar </div>