Abstract:
Disclosed are a method and device for implementing memory migration, which relate to computer technology and are invented for solving the problem that the existing operating process for memory migration is relatively complicated. The technical solution provided in the embodiments of the present application includes: the basic input-output system of a computer migrating the data in the memory to be migrated to a first unavailable memory in the operating system of the computer when migrating the memory to be migrated and the basic input-output system storing the mapping relationship between the memory to be migrated and the physical address of the first unavailable memory. The embodiments of the present application can be applied to ordinary computer systems and computer systems under the NUMA architecture.
Abstract:
A method and a device for managing memories in a node are provided. The method includes: setting an appointed memory module in a slave node as a key memory module, setting, in a primary node, a mirror memory module of the key memory module, where same data is stored in the key memory module and the mirror memory module; and implementing hot swap processing of the slave node or the key memory module by using the mirror memory module. In the embodiments of the present invention, mirroring is formed by the key memory module in the slave node and the mirror memory module in the primary node, and the hot swap processing of the slave node or the key memory module is implemented by using the mirror memory module. Thus hot swapping of a single memory module is supported.