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

Method and device for monitoring task cache space

A technology of caching space and monitoring devices, which is applied in the information field, can solve problems such as interference, and achieve the effect of optimized use

Active Publication Date: 2019-11-29
SHENZHEN INST OF ADVANCED TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Conversely, tasks with small footprints are more prone to cache invalidation
Not only that, tasks that take up a lot of cache space can cause serious interference to other tasks that are executing at the same time

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 and device for monitoring task cache space
  • Method and device for monitoring task cache space
  • Method and device for monitoring task cache space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Embodiments of the present invention provide a task cache space monitoring method and device, which are used to accurately monitor the cache space of each task in a processor.

[0049] The technical problem to be solved by the present invention is to dynamically monitor the cache resource space in the processor occupied by each task through a software-level mechanism when multiple tasks are running in the processor at the same time. Under the processor (or multi-core processor) architecture, the highly shared cache can easily form a source of interference during multi-task execution, thereby affecting the execution process of each task. The technical difficulty lies in the fact that the actual usage of the cache space is internal information in the processor hardware, which is not transparent to the software, and can only be inferred at the software level using a model to indirectly infer the space used by each task in the cache.

[0050] In the prior art, the indirect ...

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 embodiment of the invention discloses a task cache space monitoring method which is used for accurately monitoring a multi-task cache space in a multi-core processor. The method comprises the steps that the access numbers and access failure numbers of all tasks on the processor to a cache in a current time interval are acquired; a historical cache using space cumulatively used by the tasks in a previous time interval is acquired; the capacity using degree of the cache in the current time interval is calculated according to the historical cache using space; cache using spaces of the tasks in the current time interval are calculated according to the historical cache using space, the calculated capacity using degree and the obtained access numbers and access failure numbers of the tasks respectively; the calculated cache using spaces of the tasks are output. The embodiment of the invention further provides a task cache space monitoring device.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a task buffer space monitoring method and device. Background technique [0002] In the current mainstream multi-core processor architecture, the cache resource is the most important shared resource, which is shared when multiple tasks are executed simultaneously. At the same time, due to some characteristics of the cache itself, such as: high penalty, whenever the data line that the task needs to read is not in the cache, it needs to access the memory to retrieve the data, and the high latency of memory access and transmission will block the execution of the task process; competitive resources, that is, the premise of storing a line of data in the cache line is to remove the data that already exists in the line, and if there is a subsequent access to the removed data, it will again cause high latency. memory access. [0003] Tasks use cache space as they access 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): G06F9/50
CPCG06F9/5022
Inventor 刘琪骁喻之斌须成忠
Owner SHENZHEN INST OF ADVANCED TECH