Abstract:
A method and an apparatus for device dynamic addition processing, and a method and an apparatus for device dynamic removal processing. A dynamic addition dependency relationship list may be obtained from a BIOS, and dynamic addition processing is performed on a certain device to be dynamically added, according to the dynamic addition dependency relationship list; a user is prompted to dynamically add the target device, and when there is a certain device to be dynamically removed, a dynamic removal dependency relationship list and a dynamic addition dependency relationship list of a corresponding device may be obtained from the BIOS as needed, and dynamic removal analysis and processing are performed according to the combination of the dynamic removal dependency relationship list and dynamic addition dependency relationship list of the corresponding device, so as to prompt the user to dynamically remove the target device.
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.