发明名称 Migrating threads across NUMA nodes using corresponding page tables and based on remote page access frequency
摘要 Implementations provide for tracking memory accesses to optimize processor task placement is disclosed. A method includes creating a page table (PT) hierarchy associated with a thread, wherein the PT hierarchy comprises identifying information of memory pages and access bits corresponding to each of the memory pages, setting the respective access bit of one or more of the memory pages accessed by the thread while the thread is executing, collecting access bit information from the PT hierarchy associated with the thread, wherein the access bit information comprises the set access bits in the PT hierarchy, determining, in view of the collected access bit information, memory access statistics for the thread, and utilizing, during runtime of the thread, the memory access statistics for the thread in a determination of whether to migrate the thread to another processing device during the runtime of the thread.
申请公布号 US9183053(B2) 申请公布日期 2015.11.10
申请号 US201414177711 申请日期 2014.02.11
申请人 Red Hat Israel, Ltd. 发明人 Eidus Izik;Lublin Uri;Tsirkin Michael
分类号 G06F9/50;G06F12/10;G06F11/34 主分类号 G06F9/50
代理机构 Lowenstein Sandler LLP 代理人 Lowenstein Sandler LLP
主权项 1. A method, comprising: creating, by a processing device, a page table (PT) hierarchy associated with a thread to be run on the processing device, wherein the PT hierarchy comprises: information identifying each memory page maintained in addressable memory space accessible by the thread; andaccess bits corresponding to each of the memory pages; utilizing, by the processing device, the PT hierarchy associated with the thread to identify locations of memory pages to access during execution of the thread by the processing device; setting the respective access bits of the memory pages accessed by the thread while the thread is executing on the processing device; collecting access bit information from the PT hierarchy associated with the thread, wherein the access bit information comprises the set access bits in the PT hierarchy; determining, in view of the collected access bit information, memory access statistics for the thread; and utilizing, by the processing device during runtime of the thread, the memory access statistics for the thread in a determination of whether to migrate the thread to another processing device during the runtime of the thread.
地址 Raanana IL