Cold and hot page statistical method and device

A statistical method and hot and cold technology, applied in the computer field, can solve the problems of asymmetric reading and writing speed, limited life, high delay, etc., to avoid probabilistic errors, improve accuracy, and avoid false statistics.

Pending Publication Date: 2022-06-03
ALIBABA (CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As the data scale continues to increase and memory access-intensive applications continue to increase, DRAM is gradually unable to meet the needs of applications
Emerging memory devices have greater storage density, lower prices, and lower energy consumption, but they have the disadvantages of higher latency and limited life, and cannot directly replace DRAM.
For example, non-volatile memory (non-volatile memory, NVM) refers to a kind of memory that can still retain data after power failure. DRAM, but the reading and writing speed is asymmetrical, and the lifespan is limited

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
  • Cold and hot page statistical method and device
  • Cold and hot page statistical method and device
  • Cold and hot page statistical method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0025] The terminology used in one or more embodiments of this specification is for the purpose of describing a particular embodiment only and is not intended to limit the one or more embodiments of this specification. As used in the specification or embodiments and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and / or" as used in this specification in one or more embodi...

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 provides a cold and hot page statistical method and device, and is applied to a cold and hot page identification module of a memory controller, the cold and hot page statistical method comprises the following steps: in response to a memory access instruction sent by a processor, generating an access record aiming at an initial memory page according to the memory access instruction, and updating the access times of the initial memory page in a data list according to the access record, and determining a cold memory page or a hot memory page according to the access times of the initial memory page in the data list. By acquiring the memory access instruction sent by the processor, the real memory access can be detected, the situation that the cache access is taken as the memory access and misstatistics is carried out is avoided, and as each memory access can be counted and recorded through the access record, probabilistic errors occurring during sampling statistics are avoided, and the memory access accuracy is improved. And thus, the accuracy of cold and hot page identification is improved.

Description

technical field [0001] The embodiments of this specification relate to the field of computer technology, and in particular, to a method for statistics of hot and cold pages. Background technique [0002] In the cloud computing scenario, the identification of hot and cold pages in memory is of great significance for improving the utilization of memory resources and reducing costs. Random access memory (RAM), also known as "random memory", directly exchanges data with the CPU. Internal memory, also called main memory (memory). It can be read and written at any time, is fast, and is often used as a temporary data storage medium for the operating system or other running programs. According to the working principle of the storage unit, random access memory is further divided into static random access memory (Static RAM, SRAM) and dynamic random access memory (Dynamic RAM, DRAM). As the scale of data continues to increase and applications with intensive memory access continue to...

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/50
CPCG06F11/3037G06F9/5016Y02D10/00
Inventor 关乃轩
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products