Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory migration method and memory migration device

A memory and memory block technology, applied in the storage field, can solve problems such as occupying CPU utilization, reducing hit rate, and insufficient continuous memory

Active Publication Date: 2015-12-16
HUAWEI TECH CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] However, whether it is process memory migration or memory hot removal, when relocating pages, it is relocated page by page. Using kernel page migration to trigger multiple context switches not only greatly occupies CPU utilization, but also due to frequent Switching causes the destination memory of the application to be insufficiently continuous, which reduces the hit rate

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory migration method and memory migration device
  • Memory migration method and memory migration device
  • Memory migration method and memory migration device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0207] As an implementation mode, the internal structure of the migration unit 23 is further described below:

[0208] The migration unit 23 includes a generating unit 231 , a first writing unit 232 and a receiving unit 233 .

[0209] The generating unit 231 is configured to generate at least one piece of migration information according to the number of memory blocks of the source node occupied by the partitioned data to be migrated and the number of memory blocks of the acquired destination node, the at least one piece of migration information including the source node for migration The starting address of each memory block of the node, the starting address of each memory block of the destination node, the block length of each memory block of the source node or destination node to be migrated, and the current An identification of whether the migrated memory block is the last block, wherein the BE includes at least one area, and each area in the at least one area includes at l...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a memory migration method and a memory migration device. The memory migration method comprises the steps of: when a memory data migration request of a random source node in a storage system is received, dividing to-be-migrated data according to memory blocks on the basis of continuity of physical addresses of the to-be-migrated data, and determining the number of occupied memory blocks of the source node after dividing of the to-be-migrated data; acquiring memory blocks of which the number is same with the number of the occupied memory blocks of the source node after dividing of the to-be-migrated data in a target node in the storage system; and migrating the to-be-migrated data to the memory blocks in the target node according to the divided memory blocks. The invention further discloses a corresponding memory migration device. According to the memory migration method provided by the embodiment of the invention, through combining and dividing the to-be-migrated data according to the memory blocks, the memory blocks with continuous physical addresses are acquired from the target node; the to-be-migrated data are migrated from the source node to the memory blocks of the target node according to the memory blocks; and the number of context switching in migration can be reduced and a memory migration efficiency can be improved in the memory migration process.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a memory migration method and device. Background technique [0002] In the non-uniform memory access (Non-UniformMemoryAccess, NUMA) architecture, the system is divided into multiple nodes (Node), each node has its own central processing unit (Central Processing Unit, CPU) and memory, and the nodes are interconnected through the modules to connect and communicate, such as figure 1 A schematic diagram of the full interconnection of the NUMA architecture shown. Therefore, for the CPU in each node, there are two distances for the memory it accesses: one is the memory in the node, that is, the near-end memory; the other is the memory in other nodes, that is, the remote memory. Take the connection and interaction of two nodes of a fully interconnected machine with NUMA architecture, such as figure 2 The connection diagram of two nodes on the NUMA architecture is shown. When the C...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/06
Inventor 徐彩虹张文涛褚力行
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products