Unlock instant, AI-driven research and patent intelligence for your innovation.

A memory sharing method, heterogeneous hardware, host and heterogeneous system

A technology of heterogeneous hardware and memory sharing, applied in the fields of hosts and heterogeneous systems, heterogeneous hardware, and memory sharing methods, can solve the problems of inability to fully load data, difficult to support running applications, and small free storage space.

Active Publication Date: 2019-02-05
HUAWEI TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the current memory on heterogeneous hardware has less free storage space after storing data, it may be difficult to support the running of some applications with high memory requirements, or even to fully load the data of these applications

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
  • A memory sharing method, heterogeneous hardware, host and heterogeneous system
  • A memory sharing method, heterogeneous hardware, host and heterogeneous system
  • A memory sharing method, heterogeneous hardware, host and heterogeneous system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0115] The following examples are given to describe the present invention.

[0116] Such as figure 1 As shown, the embodiment of the present invention provides a memory sharing method, the memory sharing method is applied to heterogeneous hardware, and the heterogeneous hardware is connected to a host. Both the host and the heterogeneous hardware are provided with memory. The heterogeneous hardware provides the host with capabilities such as vector processing, floating-point operations, or multi-thread parallelism. The memory sharing method may include:

[0117] 101. The heterogeneous hardware acquires a memory address of a part of memory of the host sent by the host.

[0118] 102. When the free capacity of the memory of the heterogeneous hardware is lower than the predetermined capacity, the heterogeneous hardware stores the data in the memory of the heterogeneous hardware whose frequency of use is lower than the predetermined frequency of use according to the memory addre...

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

Disclosed is a memory sharing method, which is applied to heterogeneous hardware. The heterogeneous hardware is connected to a host. The method of the present invention comprises: acquiring, by heterogeneous hardware, a memory address of the partial memory of a host, which is sent by the host; and when the idle capacity of the memory of the heterogeneous hardware is lower than a predetermined capacity, according to the memory address, storing, by the heterogeneous hardware, the data in the memory of the heterogeneous hardware, which has a usage frequency lower than a predetermined usage frequency, in the partial memory. By means of the memory sharing method provided in the present invention, the data in the memory of the heterogeneous hardware, which has a usage frequency lower than a predetermined usage frequency, can be stored in the partial memory of the host, thereby reducing the storage space of the heterogeneous hardware, which is occupied by the data which has a usage frequency lower than a predetermined usage frequency, in the memory, so that the idle storage space of the heterogeneous hardware is increased, thereby providing more memory space for an application running on the heterogeneous hardware.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a memory sharing method, heterogeneous hardware, a host and a heterogeneous system. Background technique [0002] An existing single-node heterogeneous system includes a host and heterogeneous hardware, and the host and hardware are interconnected through a bus PCI-E. Among them, the heterogeneous hardware may include many-core (Many Integrated Cores, MIC) expansion cards, general-purpose graphics processors (Generate-purpose Graphic Processing Units, GPGPU), etc., which serve as expansion cards to provide more powerful vector processing for the host (Host) , floating-point operations or multi-threaded parallel capabilities. Typically, in a heterogeneous system, the memory on the host is large and the memory on the heterogeneous hardware is small. Since the memory on the current heterogeneous hardware has less free storage space after storing data, it may be difficult to support the...

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): G06F12/02
CPCG06F12/08
Inventor 解壁伟高云伟詹剑锋张立新
Owner HUAWEI TECH CO LTD