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

Cache data locking method, device and computer equipment

A data locking and data technology, which is applied in computing, electrical digital data processing, instruments, etc., can solve the problems of low utilization rate of Cache memory storage space and waste of space, and achieve the effect of improving memory usage efficiency

Active Publication Date: 2022-03-18
ZHUHAI JIELI TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This Cache locking method enables the system code to individually choose to lock and unlock each way of the Cache. The locking and unlocking steps are simple, but when using it, one Cache way is often locked, but in fact the locked data only occupies this Cache. A small part of the space in the path and a large amount of space in the rest are wasted, resulting in a low utilization rate of the storage space of the Cache 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
  • Cache data locking method, device and computer equipment
  • Cache data locking method, device and computer equipment
  • Cache data locking method, device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0039] The data locking method of Cache provided by this application can be applied to such as figure 1 shown in the application environment. Wherein, the Cache controller 121 is respectively connected to the central processing unit (CPU) 110 , the Cache memory 120 and the main memory 130 . The Cache controller 121, the central processing unit 110, the Cache memory 120 and the main memory 130 may be included in a terminal, and the terminal may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers and the like.

[0040] In ...

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 present application relates to a Cache data locking method, device, computer equipment and storage medium. The method comprises: receiving a data locking instruction of the CPU; the data locking instruction carrying the request address of the data to be locked; according to the request address of the data to be locked, querying the Cache line in the Cache memory for the request address hit; and matching the queried request address The row lock bit in the status information section of the Cache row is set to the locked state. By adopting the method, the storage space of each Cache line of each way can be fully utilized, and the memory usage efficiency of the Cache memory is effectively improved.

Description

technical field [0001] The present application relates to the technical field of cache memory, in particular to a Cache data locking method, device, computer equipment and storage medium. Background technique [0002] Cache is a high-speed cache memory located between a central processing unit (Central Processing Unit, CPU) and a main memory, and has the characteristics of small capacity and high speed. Since the design speed of the CPU is much higher than that of the memory, it takes a certain amount of time when the CPU directly accesses data from the memory, and the Cache stores the data that the CPU has just used or frequently used (for example, it can include code or other types of data) ), if the CPU needs to use this part of the data again, the CPU can directly call it from the Cache, which avoids the CPU waiting time caused by directly rereading the data from the memory, thereby improving the operating efficiency of the CPU. [0003] Since the capacity of the 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
Inventor 刘泽权
Owner ZHUHAI JIELI TECH
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