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

Data prefetching method, and related devices and systems

A data prefetching and prefetching technology, applied in the computer field, can solve problems such as energy consumption, prefetching operations, and cache pollution

Active Publication Date: 2014-02-26
HUAWEI TECH CO LTD
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The inventors found that when prefetching data in the prefetching mode combined with software and hardware in the prior art, the hardware needs to be in the prefetching state all the time during the execution of the executable program corresponding to the task, which will bring unnecessary energy consumption. And the hardware has been processing the prefetch state and may also generate unnecessary prefetch operations, resulting in problems such as Cache pollution.

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 prefetching method, and related devices and systems
  • Data prefetching method, and related devices and systems
  • Data prefetching method, and related devices and systems

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0177] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0178] See figure 1 , is a schematic flow chart of a data prefetch method according to an embodiment of the present invention. The method described in this embodiment of the present invention can be applied to a computer system to complete a data prefetch operation. Specifically, it can be implemented by a processor with a built-in cache Execute, the described method of the embodiment of the present invention comprises:

[0179] S101: Running an executable program...

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

Embodiments of the invention disclose a data prefetching method, and related devices and systems. The method comprises operating an executable program; and, when the program runs to a prefetching code, performing control on data prefetching in a data memory according the instruction of the prefetching code, wherein the control of data prefetching in the data memory according to the instruction of the prefetching code involves: if the prefetching code includes a prefetching enabling code that instruct the prefetching function to be enabled, controlling the prefetching function to be enabled and conducting the data prefetching in the data memory; and if the prefetching code includes a prefetching disabling code that instruct the prefetching function to be disabled, controlling the prefetching function to be disabled and stopping the data prefetching in the data memory. According to the invention, the prefetching function of a data prefetching device can be enabled or disabled by directly controlling the cache, so that the power consumption is reduced, and the problem of cache pollution caused by prefetching misoperation is effectively prevented.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data prefetching method, a related device and a system. Background technique [0002] In the existing computer system, although the improvement of the main frequency of the processor such as CPU (Central Processing Unit, central processing unit) will lead to the improvement of the system performance, the improvement of the system performance does not only depend on the CPU, but also depends on the system architecture, instruction It is related to factors such as the structure, the transmission speed of information between various components, and the access speed of storage components, especially the access speed between CPU / memory. If the CPU works at a high speed, but the memory access speed is relatively low, it will cause the CPU to wait, reduce the processing speed, and waste the CPU's ability. [0003] There are currently several ways to reduce the speed differe...

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
IPC IPC(8): G06F9/30G06F12/08G06F12/0862
CPCY02B60/1225Y02D10/00
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