Abstract:
Embodiments of the present invention provide a memory management method, a memory management apparatus and a NUMA system. The memory management method includes: determining, according to a memory demand information which includes memory demand information sent by a processor, whether a memory controller meeting the memory demand information exists in a local processing node which the processor; and if exists, determining, in the memory controller meeting the memory demand information, a memory management area meeting the memory demand information, and allocating the memory management area meeting the memory demand information to the processor. Therefore, the memory controller and the memory management area do not need to be determined in a processing node that does not meet the requirements, which can rapidly find a storing area meeting the requirements, and improve the memory allocation efficiency.
Abstract:
Embodiments of the present invention provide a method and an apparatus for constructing a memory access model, and relate to the field of computers. The method includes: obtaining a page table corresponding to a process referencing a memory block, and clearing a Present bit included in each page table entry stored in the page table; and constructing a memory access model of the memory block according to the number of access times of each page in the memory block and time obtained through timing, where the memory access model at least includes the number of access times and an access frequency of each page in the memory block. The apparatus includes: a first obtaining module, a first monitoring module, a first increasing module, and a second obtaining module. The present invention can reduce the memory consumption and an impact on the system performance, and avoid a system breakdown.
Abstract:
Embodiments of the present invention disclose a method and an apparatus for resource migration, related to the field of processors, to avoid cross-node memory access and cross-node cache access, save inter-node high-speed bandwidth, and improve system performance. The method of the present invention includes: when a node is removed, obtaining a process in the node; determining a destination node to which the process and the memory corresponding to the process are migrated, according to mapping between the process and the memory corresponding to the process, and affinity of the process; and migrate the process in the node and the memory corresponding to the process to the destination node. The embodiments of the present invention are mainly applied to a resource migration procedure.
Abstract:
Embodiments of the present invention disclose a method and a device for detecting data reliability, which belong to the field of computer technologies. The method includes: dividing source data into multiple source data blocks; establishing a corresponding duplicate data block for each source data block, where the duplicate data block and the source data block are stored in different physical memory blocks respectively; establishing a corresponding reliability maintenance data structure for the source data block; and registering the reliability maintenance data structure with a first reliability maintenance thread of a central processing unit, the source data block corresponding to the reliability maintenance data structure registered with the first reliability maintenance thread, comparing a reliability check value of the source data block with a reliability check value recorded in the reliability maintenance data structure, and replacing the source data block having the error with the duplicate data block.