Check patentability & draft patents in minutes with Patsnap Eureka AI!

Data migration method and device applied to computer system, computer system

A computer system and data technology, applied in the computer field, can solve problems such as affecting the bandwidth of the memory controller

Active Publication Date: 2020-01-10
HUAWEI TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The memory controller needs to be accessed every time the permanent memory and random access memory are operated, so there are a total of 3 accesses to the memory controller in the above data transmission process, which greatly affects the bandwidth of the memory controller

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
  • Data migration method and device applied to computer system, computer system
  • Data migration method and device applied to computer system, computer system
  • Data migration method and device applied to computer system, computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only the present invention Some, but not all, embodiments of the invention.

[0042] For ease of understanding, some concepts in the present invention are explained below.

[0043] DMA is a hardware mechanism that allows two-way data transfer between external devices and system memory without the involvement of the processor. In the process of DMA transfer data, the source physical address and the target physical address are required to be continuous respectively. However, in some computer systems, continuous memory addresses are not necessarily continuous physically, so DMA transfers are divided into multiple times. To solve this proble...

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

A data migration method and device applied to a computer system. Including: determining the first address of the target data, wherein the target data is data that needs to be migrated from the memory device to the external storage device, the first address is the logical address of the target data in the memory device, the memory device is a permanent memory PM, and the computer The access mode of the operating system in the system to access the memory device is volume VOLUME access mode or file FILE access mode; calculate the physical address of the target data in the memory device according to the first address; build a scatter table, and the scatter table includes the target data in the memory device physical address; send a migration command to the direct memory access DMA engine, the migration command includes the information of the scatter table, and the migration command is used to instruct the DMA engine to obtain the target data from the memory device according to the physical address, and write the target data to the external memory in the device.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a data migration method and device applied to a computer system, and a computer system. Background technique [0002] Memory can be roughly divided into two categories: volatile memory and non-volatile memory (NonVolatile Memory, NVM). The NVM includes various models, one of which is a persistent memory (Persistent Memory, abbreviation: PM). Persistent memory has a programming model with dual characteristics of direct random access and non-volatility, and can use traditional virtual memory management interfaces to provide new storage behaviors for file systems or databases. [0003] In the prior art, when migrating data in a permanent storage as a memory device to an external storage device, it is necessary to first read the data from the permanent storage to a random-access memory (Random-Access Memory, RAM), Then build a scatter table (Scatter Gather List, SGL) according to...

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 Patents(China)
IPC IPC(8): G06F3/06G06F12/06G06F12/1081
CPCG06F3/061G06F3/0655G06F12/06G06F12/1081G06F16/13G06F13/28G06F3/0604G06F3/0647G06F3/0683G06F12/0246
Inventor 罗庆超
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More