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

Cache management method, cache manager, shared cache and terminal

A cache management and shared cache technology, applied in the storage field, can solve the problem of low utilization of terminal cache, achieve the effect of improving cache utilization and preventing mutual pollution

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

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem of low cache utilization of the terminal, the present application provides a cache management method, a cache manager, a shared cache, and a terminal

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 management method, cache manager, shared cache and terminal
  • Cache management method, cache manager, shared cache and terminal
  • Cache management method, cache manager, shared cache and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, technical solutions and advantages of the present application, the present application will be further described in detail below with reference to the accompanying drawings.

[0053] figure 1 A structural diagram of a terminal provided by the embodiment of the present invention, figure 2 A partial structure of a terminal provided by the embodiment of the present invention. Please combine figure 1 with figure 2 The terminal 1 includes a processor 10, a cache (English: Cache) 11, local memory (English: main memory) 12. The processor 10 can access the cache 11 and the local memory 12, and the memory of the terminal (English: storage), it is necessary to explain that figure 1 with figure 2 The memory is not shown in the terminal. Optionally, the terminal is a computer, the terminal's memory is a hard disk.

[0054] The processor 10 includes at least one processor core 101 ( figure 1 The processor includes two processor core 101 as an example), eac...

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 cache management method, a cache manager, a shared cache and a terminal, relating to the field of storage technology, the method is used for a cache manager (121), and the method includes: accessing the first thread in the volatile memory (122) In the process of a volatile cache partition (1211), if the first thread needs to perform a long time-consuming operation, the first data in the first volatile cache partition (1211) is backed up to the non-volatile memory (123 ), the threads locked by any two volatile cache partitions (1221) are different, and each volatile cache partition (1221) is prohibited from being accessed by threads different from the threads locked by the volatile cache partition (1221); in the first During the process of the thread performing a long time-consuming operation, the first volatile cache partition (1211) is set to a state that can be accessed by a thread different from the first thread. The method solves the problem of low cache utilization rate of the terminal, improves the cache utilization rate of the terminal, and can be used in the terminal.

Description

Technical field [0001] The present application relates to the field of storage, and in particular, to a cache management method, a cache manager, a shared cache, and a terminal. Background technique [0002] A processor and volatile memory are provided in the terminal. The processor includes a plurality of processor cores, each processor core includes a plurality of threads, each thread being used to access data in the volatile memory, such as writing data in the volatile memory. Multiple threads in the same processor core can share vulnerability memory such that the plurality of threads can simultaneously access data in volatile memory. [0003] Currently, in a shared volatile memory, the data will be replaced by other data when a certain amount of data is not accessed. When a thread is executing a longer operation (such as data loss operation), the thread is originally accessed in the volatile memory will be replaced by the data of other threads due to the long time, and the da...

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/50
CPCG06F12/0842G06F12/0846G06F12/0857G06F9/50
Inventor 宋昆鹏李艳华李扬
Owner HUAWEI TECH CO LTD
Features
  • Generate Ideas
  • 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