Method, device and system for migrating stored data

A memory data and data technology, applied in the computer field, can solve problems such as crash, incompleteness, and inability to migrate memory.

Inactive Publication Date: 2013-07-10
HUAWEI TECH CO LTD
View PDF2 Cites 55 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because the support for memory data migration in the Linux operating system is not perfect enough, user mode tasks can be sleep or interrupted, and kernel mode tasks cannot be interrupted because they have the highest priority. If they are interrupted during operation, they may face a crash Therefore, the current Linux operating system can only perform memory data migration for the memory used by the user-mode program, and cannot migrate the kernel-mode memory (that is, the memory used by the kernel). As Linux is more and more widely used, At present, there is an urgent need to solve the problem of data migration in kernel-mode memory

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
  • Method, device and system for migrating stored data
  • Method, device and system for migrating stored data
  • Method, device and system for migrating stored data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] An embodiment of the present invention provides a memory data migration method. The method of this embodiment can be executed by the current processor core. The current processor core is usually implemented in the form of hardware and / or software, and can be integrated in the memory data migration process. in network equipment. refer to figure 1 , when the memory data migration starts, the memory data migration method in the embodiment of the present invention includes the following steps:

[0069] 101. The current processor core receives instruction information of memory data migration, where the instruction information is used to instruct to migrate data to be migrated on the first memory.

[0070] Specifically, the computer system where the Linux operating system is located includes a multi-core processor, and the multi-core processor is composed of multiple processor cores. Before the memory data migration starts, one of the processor cores (the current processor c...

Embodiment 2

[0096] An embodiment of the present invention provides a memory data migration method. The method of this embodiment can be executed by the current processor core. The current processor core is usually implemented in the form of hardware and / or software, and can be integrated in the memory data migration process. in network equipment. like image 3 As shown, this figure is a distribution diagram of the x86-64 virtual address space. The method of this embodiment specifically uses the memory of the data to be migrated to store the kernel state data, and the memory of the data to be migrated is image 3 Take the memory of kernel state data in the peer-to-peer mapping area as an example to illustrate, refer to Figure 4 , when the memory data migration starts, the memory data migration method in the embodiment of the present invention includes the following steps:

[0097] 401. The current processor core receives instruction information of memory data migration, where the instru...

Embodiment 3

[0136] An embodiment of the present invention provides a memory data migration device 60, specifically as Image 6 As shown, the memory data migration apparatus 60 includes: a receiving unit 61 , a notification unit 62 , a memory allocation unit 63 , a storage unit 64 , and a mapping information modification unit 65 . It should be understood that the function of the memory data migration device 60 in the embodiment of the present invention is operated by the current processor core. In other words, in a physical product form, the memory data migration device 60 in the embodiment of the present invention can specifically be The current processor core 60 (also referred to as the current processor core 60).

[0137] The receiving unit 61 is configured to receive indication information of memory data migration, where the indication information is used to instruct migration of data to be migrated on the first memory.

[0138] Specifically, the computer system where the Linux operat...

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 embodiment of the invention provides a method, a device and a system for migrating stored data, which can realize migration of kernel-mode stored data and are applicable to migration of user-mode stored data. The method comprises the following steps: receiving indication information of stored data migration by using a current processor, wherein the indication information is used for indicating migration of to-be-migrated data on a first internal memory; informing other processor cores to enter a silent Stop-machine state; distributing a second internal memory to the to-be-migrated data on the first internal memory; storing the to-be-migrated data on the first internal memory into the second internal memory; and modifying address mapping information of the to-be-migrated data on the basis of the physical address of the second internal memory. The invention relates to the field of computers and is applied to scenes which realize advanced functions through migration of the stored data.

Description

technical field [0001] The invention relates to the field of computers, in particular to a memory data migration method, device and system. Background technique [0002] With the development of computer technology, the application range of memory data migration technology is becoming more and more extensive. It is based on or uses memory data migration technology. The memory data migration is a technology for migrating data on the memory from one place to another, and at the same time, it is required to ensure the normal operation of the system during the memory data migration without crashes. [0003] In the prior art, the method of using hardware to implement memory data migration is as follows: [0004] When memory data migration is required, the memory controller and BIOS (Basic Input Output System) in the system initialize the backup memory, and then copy all the data in the memory block where the memory to be migrated is located to the backup memory. After the data ...

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/10G06F12/1036
Inventor 裘稀石吴建国
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products