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

Method, device and electronic device for accessing cache

A cache and cache layer technology, which is applied in the computer field, can solve problems such as access cache delays, and achieve the effects of reducing access delays, reducing power consumption, and reducing the probability of missing

Active Publication Date: 2020-06-26
ALIBABA GRP HLDG LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present application provides a method for accessing cache and a device for accessing cache, so as to solve the problem of delay in accessing cache in the prior art

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 electronic device for accessing cache
  • Method, device and electronic device for accessing cache
  • Method, device and electronic device for accessing cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] In order to better understand the above-mentioned purpose, features and advantages of the present application, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0075] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementations disclosed below.

[0076] Embodiments of the present application provide a method for accessing a cache and an appara...

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 application discloses a method and device for accessing cache, and an electronic device. Wherein, the method includes: reading an access instruction for obtaining data, judging whether the access instruction will cause delay according to the delay identifier carried by the access instruction, and if delay occurs, accessing the cache and carrying Perform a prefetch operation based on the location identifier of the access instruction, and modify the delay identifier and location identifier carried by the access instruction according to the acquired location of the data required by the access instruction. The technical solution solves the problem of low hit rate when accessing the cache, reduces the probability of missing, and reduces the access delay caused by level-by-level access to each level of cache when acquiring target data, and correspondingly reduces access The power consumption generated during caching improves the performance of the CPU.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method for accessing cache and a device for accessing cache; the present application also relates to an electronic device. Background technique [0002] In order to alleviate the slow problem when accessing memory, a multi-layer cache architecture is introduced according to the time localization and spatial localization characteristics of data to alleviate this problem. A cache is one or more small high-speed associative memories. When the processor reads or writes, it first checks whether the target data exists in the cache. If it exists, the processor first points to the cache instead of other storage (such as memory). The access performance can be improved through the multi-layer cache architecture. When accessing the first-level cache, if the target data does not exist in the first-level cache, that is, if there is a missing, then access the second-level cache. ...

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/0877
CPCG06F12/0862G06F12/0811G06F2212/283G06F2212/602Y02D10/00G06F12/0888G06F2212/502G06F11/34
Inventor 马凌王志宏张磊
Owner ALIBABA GRP HLDG 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