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

Memory monitoring method and device, processor and storage medium

A memory monitoring and processor technology, applied in the computer field, can solve problems such as the inability to realize fine-grained memory monitoring, the inability to realize precise management and optimization of memory, etc.

Active Publication Date: 2021-09-14
LOONGSON TECH CORP
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when developers determine the memory usage, they usually roughly obtain the overall usage of the translation lookaside buffer (Translation Lookaside Buffer, TLB) through hardware counters. In this way, fine-grained monitoring of memory cannot be realized, and then It is also impossible to achieve precise management and optimization of 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
  • Memory monitoring method and device, processor and storage medium
  • Memory monitoring method and device, processor and storage medium
  • Memory monitoring method and device, processor and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0058] refer to figure 1, which shows a flow chart of steps of an embodiment of a memory monitoring method provided by an embodiment of the present invention, which is applied to a processor. In the embodiment of the present invention, the processor may refer to a central processing unit (Central Processing Unit, CPU), which is a computing and control core of a computer. When the processor enables the paging management mechanism, the memory sp...

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 invention provides a memory monitoring method and device, a processor and a storage medium, and belongs to the field of computers. The method comprises the steps: when monitoring is started for a to-be-monitored memory area, enabling a processor to write preset information into a first register, wherein the preset information comprises an address range of the to-be-monitored memory region; reading preset information through a page table traversal device, and determining a to-be-monitored memory area according to the preset information, so that when the page table traversal device writes page table items in a page table into a translation lookaside buffer, if a memory area corresponding to the page table items is judged to belong to the to-be-monitored memory area, accumulating numerical values of a second register; and determining a target operation frequency of the to-be-monitored memory region according to the numerical value of the second register. Thus, by setting the address range of the memory area needing to be monitored and counting in real time, monitoring of the specific memory area can be rapidly achieved, fine-grained monitoring of the memory area is achieved, and then precise management and optimization of the memory can be achieved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computers, and in particular to a memory monitoring method, device, processor and storage medium. Background technique [0002] With the continuous development of high-tech such as artificial intelligence, the design of computer chips is becoming more and more complex. In order to further optimize the performance of chips, developers have an increasingly urgent need for computer memory monitoring and management. [0003] In the prior art, when developers determine the memory usage, they usually roughly obtain the overall usage of the translation lookaside buffer (Translation Lookaside Buffer, TLB) through hardware counters. In this way, fine-grained monitoring of memory cannot be realized, and then It is also impossible to achieve precise management and optimization of memory. Contents of the invention [0004] Embodiments of the present invention provide a memory monitoring method, dev...

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 Applications(China)
IPC IPC(8): G06F11/30G06F9/30
CPCG06F11/3037G06F9/30098Y02D10/00
Inventor 朱琛高翔吕晨
Owner LOONGSON TECH CORP