A high-precision in-process memory access energy consumption calculation method

By combining CPU cache failure analysis and memory controller simulator, high-precision calculation of memory device energy consumption is achieved, solving the problem of low estimation accuracy in existing technologies, providing an accurate basis for process energy consumption optimization, and suitable for real-time energy consumption monitoring in data centers.

CN120029851BActive Publication Date: 2025-10-21SICHUAN COMPUTING CLOUD TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510109357.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-10-21
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

The estimation accuracy of memory access energy consumption in the existing technology is low and cannot accurately reflect the power consumption of the server under actual workload in real time.

Method used

By combining a CPU cache miss analyzer, a memory controller simulator, and a memory access instruction scheduler, the actual power consumption of memory devices is calculated in real time, including accurate simulation of instructions such as precharge, activation, column access, and refresh. Power consumption calculation is performed in conjunction with the power consumption model of the memory device.

Benefits of technology

It provides a high-precision method for calculating process memory access energy consumption, which can identify energy hotspots and overall energy consumption levels of processes, providing an accurate basis for process energy consumption optimization. It is compatible with multiple memory standard models and is suitable for real-time energy consumption metering in data centers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029851B_ABST
    Figure CN120029851B_ABST
Patent Text Reader

Abstract

The application discloses a high-precision in-process memory access energy consumption calculation method, which comprises the following steps: S1, a CPU cache invalidation analyzer loads an executable file under Linux, filters CPU LLC cache invalidation access records of a process, and sends the CPU LLC cache invalidation access records to a message middleware; S2, a memory controller simulator reads the CPU LLC cache invalidation access records from the message middleware, outputs a memory controller access request sequence, and sends the memory controller access request sequence to the message middleware in real time; S3, a memory access instruction scheduler obtains the memory controller access request sequence from the message middleware, and converts the memory controller access request sequence into physical memory access instructions; and S4, a memory device energy consumption calculator calculates actual energy consumption of a memory device according to the physical memory access instructions. The application can help a process user to identify energy consumption hotspots and overall energy consumption levels of the process, and provides accurate basis for energy consumption optimization of the process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of memory energy consumption calculation, and in particular relates to a high-precision process memory access energy consumption calculation method. Background Art

[0002] In modern data centers, massive data processing, deep learning training, and inference tasks are driving increasing demands for memory capacity and bandwidth. Studies have shown that memory energy consumption accounts for 25% to 46% of a server's overall energy consumption. Accurately measuring the energy consumption of server main memory devices is a prerequisite for optimizing memory energy consumption. Methods for calculating memory device power consumption are typically as follows:

[0003] (1) Using energy consumption data provided by the manufacturer: Many server manufacturers provide energy consumption data for their servers. This data can be obtained by viewing the server's technical documentation or asking the manufacturer. The advantage of this method is that it is convenient and does not require actual measurement. However, the disadvantage is that it cannot accurately reflect the power consumption of the server under actual workload in real time.

[0004] (2) Estimation using software tools: Some software tools can be used to estimate memory power consumption. For example, energy consumption monitoring software can be installed on the server operating system to infer memory power consumption by monitoring various server indicators (memory usage, memory refresh rate, etc.). The advantage of this method is that it is non-invasive, but the estimation results may have large errors.

[0005] (3) Modeling using energy consumption models: A power consumption model can be constructed based on the server's hardware components and workload characteristics, and energy consumption can be estimated using the model. For example, based on factors such as the server's memory model, memory capacity, and memory frequency, combined with the server's energy consumption data under different loads, a mathematical model can be established to predict the server's power consumption. This method is based on statistical methods and has certain errors. Summary of the Invention

[0006] In view of the above-mentioned deficiencies in the prior art, the present invention provides a high-precision process memory access energy consumption calculation method that solves the problem of low estimation accuracy of memory access energy consumption in the prior art.

[0007] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is: a high-precision process memory access energy consumption calculation method, comprising the following steps:

[0008] S1. The CPU cache invalidation analyzer loads the executable file under Linux, filters the CPU LLC cache invalidation access records of the process, and sends them to the message middleware;

[0009] S2. Read the CPU LLC cache invalidation access record from the message middleware through the memory controller simulator, output the memory controller access request sequence, and send it to the message middleware in real time;

[0010] S3. Obtain the memory controller access request sequence from the message middleware through the memory access instruction scheduler and convert it into physical memory access instructions;

[0011] S4. Calculate the actual energy consumption of the memory device according to the physical memory access instruction using a memory device energy consumption calculator.

[0012] Furthermore: in said S2, the memory controller access request sequence includes a plurality of memory controller request instruction contents.

[0013] Further: in said S3, the physical memory access instruction includes a precharge command, an activate command, a column access, a data recovery command and a refresh command;

[0014] Among them, the precharge command specifically sets the voltage state of the physical memory bank; the activation command specifically loads the contents of the physical memory row into the memory sense amplifier; the column access specifically transfers the physical memory device data to the memory controller, or transfers the data from the memory controller to the physical memory; the data recovery command specifically requires data recovery operation after the data in the physical memory row is read into the sense amplifier; the refresh command specifically refreshes all storage cells periodically inside the DRAM device.

[0015] Further: In said S4, the actual energy consumption of the memory device is calculated sch The specific expression is:

[0016] Energy sch =P sch (Total)×T

[0017] Where T is the measurement time, P sch (Total) is the total power consumption of the memory device, and its specific expression is:

[0018] P sch (Total) = P sch (Background)+P sch (Active)+P sch (RD)+

[0019] P sch (WR)+P sch (Term)+P sch (Refresh)

[0020] Where, Psch (Background) is the static power consumption of the memory device, P sch (Active) is the active state power consumption of the memory device, P sch (RD) is the read power consumption of the memory device, P sch (WR) is the write power consumption of the memory device, P sch (Term) is the power consumption of the IO operation suspension of the memory device, P sch (Refresh) is the refresh power consumption of the memory device.

[0021] Furthermore: the static power consumption P of the memory device sch The specific expression of (Background) is:

[0022] P sch (Background)=P sch (PRE_PDN)+P sch (PRE_STBY)+

[0023] P sch (ACT_PDN)+P sch (ACT_STBY)

[0024] Where, P sch (PRE_PDN) is the power saving mode power consumption in the pre-charge state, P sch (PRE_STBY) is the actual power consumption of standby mode in the pre-charge state, P sch (ACT_PDN) is the actual power consumption of the power saving mode in the active state, P sch (ACT_STBY) is the actual power consumption of the standby mode in the active state, and its specific expression is:

[0025] P sch (PRE_PDN)=1 DD2P ×V DD ×BNK_PRE% ×CKE_LO_PRE%

[0026] P sch (PRE_STBY) = 1 DD2N ×V DD ×BNK_PRE%×(1-CKE_LO_PRE%)

[0027] P sch (ACT_PDN)=1 DD3P ×V DD ×(1-BNK_PRE%)×CKE_LO_ACT%

[0028] P sch(ACT_STBY) = 1 DD3N ×V DD *(1-BNK_PRE%)×(1-CKE_LO_ACT%)

[0029] Where, I DD2P is the first quiescent current, I DD2N is the second quiescent current, I DD3P is the third quiescent current, I DD3N is the fourth quiescent current, BNK_PRE% is the first calculation factor, CKE_LO_PRE% is the second calculation factor, CKE_LO_ACT% is the third calculation factor, V DD The supply voltage for the storage device.

[0030] Furthermore: the active state power consumption P of the memory device sch The specific expression of (Active) is:

[0031]

[0032] Where, I DD0 is the first operating current, t RAS is the run activation time in the memory bank, t RC is the time interval between two adjacent Active states. t RRD sch The actual average activation time from row to row in memory.

[0033] Furthermore: the read power consumption P of the memory device sch The specific expression of (RD) is:

[0034] P sch (RD)=(I DD4R -I DD3N )×V DD ×RD sch %

[0035] Where, I DD4R is the first operating current, RD sch % is the proportion of read operation clock;

[0036] Write power consumption P of memory devices sch The specific expression of (WR) is:

[0037] P sch (WR)=(I DD4W -I DD3N )×V DD ×WR sch %

[0038] Where, IDD4W is the second operating current.

[0039] Furthermore: the IO operation suspension power consumption P of the memory device sch The specific expression of (Term) is:

[0040] P sch (Term)=P sch (DQ)+P sch (termW)+P sch (termRoth)+P sch (termWoth)

[0041] Where, P sch (DQ) is the first IO power consumption, P sch (termW) is the second IO power consumption, P sch (termRoth) is the third IO power consumption, P sch (termWoth) is the fourth IO power consumption, and its specific expression is:

[0042] P sch (DQ) = Pdq(RD) × num_DQR × RD sch %

[0043] P sch (termW)=Pdq(WR)×num_DQW×WR sch %

[0044] P sch (termRoth)=Pdq(RDoth)×num_DQR×termRDsch%

[0045] P sch (termWoth)=Pdq(WRoth)×num_DQW×termWRsch%

[0046] Where, Pdq(RD) is the external output power when driving the memory device transmission bus, Pdq(WR) is the IO abort power consumption when terminating the WRITE instruction inside the memory device, Pdq(RDoth) is the IO power consumption when aborting the read instruction pointing to the external memory, Pdq(WRoth) is the IO power consumption when aborting the write instruction pointing to the external memory, num_DQR is the sum of 8 DQ pins and 2 DQS pins, num_DQW is the number of pins for the additional data mask, RD sch % is the occupancy rate of the data bus for read instructions, WR sch% is the occupancy rate of the data bus for write instructions, termRDsch% is the occupancy rate of the data bus for stopping reading data from external memory, and termWRsch% is the occupancy rate of the data bus for stopping writing data to external memory.

[0047] Furthermore: the refresh power consumption P of the memory device sch The specific expression of (Refresh) is:

[0048]

[0049] Where, I DD5 is the maximum auto-refresh current, t RFC(MIN) is the periodic interval of REFRESH operation. t REFI is the minimum time interval between a REFRESH-to-REFRESH operation.

[0050] The beneficial effects of the present invention are:

[0051] (1) The present invention provides a high-precision process memory access energy consumption calculation method, which organically combines the Last Level Cache miss in the process analysis tool with the memory access instructions of the DRAM controller, and provides a complete and clock-cycle accurate method for calculating the actual power consumption of DRAM memory for processes under the Linux system. It can help process users identify the energy consumption hotspots and overall energy consumption level of the process, and provide an accurate basis for the energy consumption optimization of the process.

[0052] (2) The present invention is compatible with multiple DRARM models, covering multiple memory standard models such as DDR2, DDR3, DDR4, and DDR5. It has strong practical value and helps to measure the energy consumption data of data center workloads accessing memory devices in real time and accurately. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 This is a flow chart of a high-precision process memory access energy consumption calculation method of the present invention.

[0054] Figure 2 Records CPU LLC cache invalidation accesses.

[0055] Figure 3 Schematic diagram of the memory controller simulator architecture.

[0056] Figure 4 Access request sequence for the memory controller.

[0057] Figure 5 It is the mapping relationship between memory controller request instructions and physical memory access instructions. DETAILED DESCRIPTION

[0058] The specific embodiments of the present invention are described below to facilitate understanding of the present invention by those skilled in the art. However, it should be clear that the present invention is not limited to the scope of the specific embodiments. For those skilled in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the appended claims, these changes are obvious, and all inventions and creations utilizing the concepts of the present invention are protected.

[0059] like Figure 1 As shown, in one embodiment of the present invention, a high-precision process memory access energy consumption calculation method includes the following steps:

[0060] S1. The CPU cache invalidation analyzer loads the executable file under Linux, filters the CPU LLC cache invalidation access records of the process, and sends them to the message middleware;

[0061] S2. Read the CPU LLC cache invalidation access record from the message middleware through the memory controller simulator, output the memory controller access request sequence, and send it to the message middleware in real time;

[0062] S3. Obtain the memory controller access request sequence from the message middleware through the memory access instruction scheduler and convert it into physical memory access instructions;

[0063] S4. Calculate the actual energy consumption of the memory device according to the physical memory access instruction using a memory device energy consumption calculator.

[0064] In this embodiment, the CPU cache failure analyzer is implemented based on the Cache MissAnalyzer extension of the open source project DynamoRIO. It mainly filters the CPU LLC cache failure access records when the process is running and sends them to the message middleware. The CPU LLC cache failure access records are as follows: Figure 2 As shown in the figure, DynamoRIO is a runtime code analysis system that supports code transformation of any part of a program while the program is running. DynamoRIO provides an interface for extending various dynamic analysis tools, supporting program analysis and understanding, function stack analysis, instruction injection, instruction optimization, translation, etc.

[0065] The message middleware is responsible for transmitting data between the CPU cache invalidation analyzer, the memory controller simulator and the memory access instruction scheduler.

[0066] In S2, the memory controller access request sequence includes a plurality of memory controller request instruction contents.

[0067] In this embodiment, the architecture of the memory controller simulator is as follows: Figure 3 As shown in Figure 2, the memory controller simulator is implemented by extending the dram_controller module of the open-source Ramulator 2 project. Based on the existing memory controller module, a cache invalidation access record consumer is added, responsible for obtaining cache invalidation access records from the message middleware, and a memory controller instruction generator is added, responsible for inputting memory controller access instructions to the message middleware. Ramulator 2 is a fast, scalable, and clock-cycle-accurate DRAM simulator that performs system modeling according to international DRAM standards.

[0068] In said S3, the physical memory access instruction includes a precharge command, an activate command, a column access, a data recovery command and a refresh command;

[0069] Among them, the precharge command specifically sets the voltage state of the physical memory bank; the activation command specifically loads the contents of the physical memory row into the memory sense amplifier; the column access specifically transfers the physical memory device data to the memory controller, or transfers the data from the memory controller to the physical memory; the data recovery command specifically requires data recovery operation after the data in the physical memory row is read into the sense amplifier; the refresh command specifically refreshes all storage cells periodically inside the DRAM device.

[0070] In this embodiment, the memory access instruction scheduler simulates the scheduling process of the memory instruction sequence in the memory controller and generates an access instruction sequence for the physical memory. The memory controller access request sequence includes several memory controller request instructions. The memory controller access request sequence is as follows: Figure 4 As shown, the memory controller request instruction is obtained from the message middleware, parsed, and the physical memory access instruction scheduler is called to convert the memory controller request instruction into a physical memory access instruction. The mapping relationship between the two is shown as follows: Figure 5 shown.

[0071] In S4, the actual energy consumption of the memory device is calculated. sch The specific expression is:

[0072] Energy sch =P sch (Total)×T

[0073] Where T is the measurement time, P sch (Total) is the total power consumption of the memory device, and its specific expression is:

[0074] P sch (Total) = P sch(Background)+P sch (Active)+P sch (RD)+

[0075] P sch (WR)+P sch (Term)+P sch (Refresh)

[0076] Where, P sch (Background) is the static power consumption of the memory device, P sch (Active) is the active state power consumption of the memory device, P sch (RD) is the read power consumption of the memory device, P sch (WR) is the write power consumption of the memory device, P sch (Term) is the power consumption of the IO operation suspension of the memory device, P sch (Refresh) is the refresh power consumption of the memory device.

[0077] In this embodiment, the memory device energy consumption calculator maps the physical memory access instruction sequence with the actual physical memory power consumption model parameters, and calculates the final process energy consumption result and energy consumption time series data.

[0078] An important parameter for calculating the power consumption of memory devices is the device's operating current I DD Parameters, in this embodiment, the I DD The specific meaning of current is shown in Table 1.

[0079] Table 1 DDR memory device I DD The specific meaning of current

[0080]

[0081]

[0082] The static power consumption P of the memory device sch The specific expression of (Background) is:

[0083] P sch (Background)=P sch (PRE_PDN)+P sch (PRE_STBY)+

[0084] P sch (ACT_PDN)+P sch (ACT_STBY)

[0085] Where, P sch(PRE_PDN) is the power saving mode power consumption in the pre-charge state, P sch (PRE_STBY) is the actual power consumption of standby mode in the pre-charge state, P sch (ACT_PDN) is the actual power consumption of the power saving mode in the active state, P sch (ACT_STBY) is the actual power consumption of the standby mode in the active state, and its specific expression is:

[0086] P sch (PRE_PDN)=1 DD2P ×V DD ×BNK_PRE% ×CKE_LO_PRE%

[0087] P sch (PRE_STBY) = 1 DD2N ×V DD ×BNK_PRE%×(1-CKE_LO_PRE%)

[0088] P sch (ACT_PDN)=1 DD3P ×V DD ×(1-BNK_PRE%)×CKE_LO_ACT%

[0089] P sch (ACT_STBY) = 1 DD3N ×V DD *(1-BNK_PRE%)×(1-CKE_LO_ACT%)

[0090] Where, I DD2P is the first quiescent current, I DD2N is the second quiescent current, I DD3P is the third quiescent current, I DD3N is the fourth quiescent current, BNK_PRE% is the first calculation factor, CKE_LO_PRE% is the second calculation factor, CKE_LO_ACT% is the third calculation factor, V DD The supply voltage for the storage device.

[0091] The description of the calculated factors is shown in Table 2.

[0092] Table 2 Description of calculation factors

[0093] Calculation Factor describe BNK_PRE% The percentage of clock cycles that the memory bank is in the precharge state CLK_LO_PRE% When CKE is Low, the percentage of clock cycles that the bank is in the precharge state CLK_LO_ACT% When CKE is Low, the percentage of clock cycles that the bank is in the active state

[0094] The active state power consumption P of the memory device sch The specific expression of (Active) is:

[0095]

[0096] Where, I DD0 is the first operating current, t RAS is the run activation time in the memory bank, t RC is the time interval between two adjacent Active states. t RRD sch The actual average activation time from row to row in memory.

[0097] The read power consumption P of the memory device sch The specific expression of (RD) is:

[0098] P sch (RD)=(I DD4R -I DD3N )×V DD ×RD sch %

[0099] Where, I DD4R is the first operating current, RD sch % is the proportion of read operation clock;

[0100] Write power consumption P of memory devices sch The specific expression of (WR) is:

[0101] P sch (WR)=(I DD4W -I DD3N )×V DD ×WR sch %

[0102] Where, I DD4W is the second operating current.

[0103] The IO operation suspension power consumption P of the memory device sch The specific expression of (Term) is:

[0104] P sch (Term)=P sch (DQ)+P sch (termW)+P sch (termRoth)+P sch (termWoth)

[0105] Where, P sch (DQ) is the first IO power consumption, P sch (termW) is the second IO power consumption, P sch (termRoth) is the third IO power consumption, P sch (termWoth) is the fourth IO power consumption, and its specific expression is:

[0106] P sch (DQ) = Pdq(RD) × num_DQR × RD sch %

[0107] P sch (termW)=Pdq(WR)×num_DQW×WR sch %

[0108] P sch (termRoth)=Pdq(RDoth)×num_DQR×termRDsch%

[0109] P sch (termWoth)=Pdq(WRoth)×num_DQW×termWRsch%

[0110] Where, Pdq(RD) is the external output power when driving the memory device transmission bus, Pdq(WR) is the IO abort power consumption when terminating the WRITE instruction inside the memory device, Pdq(RDoth) is the IO power consumption when aborting the read instruction pointing to the external memory, Pdq(WRoth) is the IO power consumption when aborting the write instruction pointing to the external memory, num_DQR is the sum of 8 DQ pins and 2 DQS pins, num_DQW is the number of pins for the additional data mask, RD sch % is the occupancy rate of the data bus for read instructions, WR sch % is the occupancy rate of the data bus for write instructions, termRDsch% is the occupancy rate of the data bus for stopping reading data from external memory, and termWRsch% is the occupancy rate of the data bus for stopping writing data to external memory.

[0111] The refresh power consumption P of the memory device sch The specific expression of (Refresh) is:

[0112]

[0113] Where, I DD5 is the maximum auto-refresh current, t RFC(MIN) is the periodic interval of REFRESH operation. t REFI is the minimum time interval between a REFRESH-to-REFRESH operation.

[0114] The beneficial effects of the present invention are as follows: the present invention provides a high-precision process memory access energy consumption calculation method, which organically combines the Last Level Cache miss in the process analysis tool with the memory access instruction of the DRAM controller, and provides a complete and clock-cycle accurate method for calculating the actual power consumption of DRAM memory for processes under the Linux system. It can help process users identify the energy consumption hotspots and overall energy consumption level of the process, and provide an accurate basis for the energy consumption optimization of the process.

[0115] The present invention is compatible with multiple DRARM models, covering multiple memory standard models such as DDR2, DDR3, DDR4, and DDR5. It has strong practical value and helps to measure the energy consumption data of data center workloads accessing memory devices in real time and accurately.

[0116] In the description of the present invention, it should be understood that the terms "center", "thickness", "upper", "lower", "horizontal", "top", "bottom", "inner", "outer", "radial", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only and cannot be understood as indicating or implying the relative importance or the number of technical features implicitly specified. Therefore, the features defined by "first", "second", and "third" may explicitly or implicitly include one or more of such features.

Claims

1. A high-precision process memory access energy consumption calculation method, characterized in that: The following steps are included: S1. The CPU cache invalidation analyzer loads the executable file under Linux, filters the CPU LLC cache invalidation access records of the process, and sends them to the message middleware; S2. Read the CPU LLC cache invalidation access record from the message middleware through the memory controller simulator, output the memory controller access request sequence, and send it to the message middleware in real time; S3. Obtain the memory controller access request sequence from the message middleware through the memory access instruction scheduler and convert it into physical memory access instructions; S4. Calculate the actual energy consumption of the memory device according to the physical memory access instruction using a memory device energy consumption calculator.

2. The high-precision process memory access energy consumption calculation method according to claim 1 is characterized in that: In S2, the memory controller access request sequence includes a plurality of memory controller request instruction contents.

3. The high-precision process memory access energy consumption calculation method according to claim 1, characterized in that: In said S3, the physical memory access instruction includes a precharge command, an activate command, a column access, a data recovery command and a refresh command; Among them, the precharge command specifically sets the voltage state of the physical memory bank; the activation command specifically loads the contents of the physical memory row into the memory sense amplifier; the column access specifically transfers the physical memory device data to the memory controller, or transfers the data from the memory controller to the physical memory; the data recovery command specifically requires data recovery operation after the data in the physical memory row is read into the sense amplifier; the refresh command specifically refreshes all storage cells periodically inside the DRAM device.

4. The high-precision process memory access energy consumption calculation method according to claim 1, characterized in that: In S4, the actual energy consumption of the memory device is calculated The specific expression is: Where T is the measurement time, is the overall power consumption of the memory device, and its specific expression is: Where, is the static power consumption of the memory device, is the active state power consumption of the memory device, is the read power consumption of the memory device, is the write power consumption of the memory device, The power consumption of IO operation suspension for memory devices, Refresh power consumption of memory devices.

5. The high-precision process memory access energy consumption calculation method according to claim 4 is characterized in that: The static power consumption of the memory device The specific expression is: Where, is the power saving mode power consumption in the pre-charge state, is the actual power consumption in standby mode in pre-charge state, is the actual power consumption of the power saving mode in the activated state, is the actual power consumption of the standby mode in the active state, and its specific expression is: Where, is the first quiescent current, is the second quiescent current, is the third quiescent current, is the fourth quiescent current, is the first calculation factor, is the second calculation factor, is the third calculation factor, V DD The power supply voltage for the storage device.

6. The high-precision process memory access energy consumption calculation method according to claim 5, characterized in that: Active state power consumption of the memory device The specific expression is: Where, is the first operating current, is the run activation time in the memory bank, is the time interval between two adjacent Active states, The actual average activation time from row to row in memory.

7. The high-precision process memory access energy consumption calculation method according to claim 6, characterized in that: Read power consumption of the memory device The specific expression is: Where, is the first operating current, is the occupancy rate of the data bus for read instructions; Write power consumption of memory devices The specific expression is: Where, is the second operating current, It is the occupancy rate of the data bus for write instructions.

8. The high-precision process memory access energy consumption calculation method according to claim 7, characterized in that: The IO operation suspension power consumption of the memory device The specific expression is: Where, is the first IO power consumption, is the second IO power consumption, For the third IO power consumption, is the fourth IO power consumption, and its specific expression is: Where, To drive the external output power of the memory device when transmitting the bus, This is the IO abort power consumption when the WRITE instruction inside the memory device is aborted. The IO power consumption for terminating the read instruction pointing to the external memory, The IO power consumption of terminating the write instruction to the external memory, It is the sum of 8 DQ pins and 2 DQS pins. The number of pins for the additional data mask, is the occupancy rate of the data bus for read instructions, is the occupancy rate of the data bus for write instructions, To stop reading data from external memory from the data bus occupancy rate, The occupancy rate of the data bus for stopping writing data to the external memory.

9. The high-precision process memory access energy consumption calculation method according to claim 8, characterized in that: Refresh power consumption of the memory device The specific expression is: Where, is the maximum auto-refresh current, The periodic interval of the REFRESH operation, The minimum time interval for a REFRESH-to-REFRESH operation.

Citation Information

Patent Citations

  • Energy efficiency monitoring and managing method and system of cloud computing system

    CN104301389A

  • Performance and energy consumption prediction method and device

    CN106649067A