CN113157438A - Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio - Google Patents

Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio Download PDF

Info

Publication number
CN113157438A
CN113157438A CN202110262467.3A CN202110262467A CN113157438A CN 113157438 A CN113157438 A CN 113157438A CN 202110262467 A CN202110262467 A CN 202110262467A CN 113157438 A CN113157438 A CN 113157438A
Authority
CN
China
Prior art keywords
core
energy efficiency
dynamic
efficiency ratio
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110262467.3A
Other languages
Chinese (zh)
Inventor
王海
柒文杰
龙行毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN202110262467.3A priority Critical patent/CN113157438A/en
Publication of CN113157438A publication Critical patent/CN113157438A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5094Allocation of resources, e.g. of the central processing unit [CPU] where the allocation takes into account power or heat criteria
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Microcomputers (AREA)

Abstract

The invention belongs to the technical field of information control, and particularly relates to a dynamic power budget estimation method for a high-energy-efficiency-ratio multi-core microprocessor based on combination of model predictive control and task migration and dynamic voltage frequency adjustment. The invention aims to provide a high-speed (even can be realized by a lookup table) microprocessor dynamic thermal management method which is actively adjusted according to different task loads (alpha) aiming at high algorithm complexity and lack of optimization of a dark silicon chip in the prior art. The existing power profile is then corrected by performing task migration and dynamic voltage frequency adjustment. The invention successfully integrates the advantages of the task migration, the dynamic voltage frequency regulation and the model prediction control method, and can efficiently enable the processor to operate the current working load in a high energy efficiency ratio mode.

Description

Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio
Technical Field
The invention belongs to the technical field of information control, and particularly relates to a dynamic power budget estimation method for a high-energy-efficiency-ratio multi-core microprocessor based on combination of model predictive control and task migration and dynamic voltage frequency adjustment.
Background
With the rapid development of modern integrated circuit technology, the feature size of integrated circuits is reduced and the performance requirements are increased, and the power density is also increased. Starting at 90 nm, semiconductor fabrication processes have progressed to the nanometer stage and now, more recently, to 7 nm, 5 nm. At this stage, the leakage current on the silicon-based chip is greatly increased and is seriously influenced by the temperature, and the static power consumption and the temperature generated on the basis of the leakage current are in a nonlinear relationship and occupy a considerable proportion of the total power consumption. In a multi-core chip, once a core with a temperature rise occurs inside the chip, leakage current in the core also increases rapidly, resulting in an increase in leakage power consumption and further in a rise in core temperature. In summary, high temperature caused by high power density on chip reduces chip reliability and limits processor performance, thus becoming one of the most important limitations that restrict microprocessor development.
At present, in the field of chip application, there are two main metrics, the first is the overall performance of a multi-core chip: how to improve processor performance at safe temperatures due to power wall limitations. In recent years, dynamic thermal management techniques have been widely adopted to alleviate the effectiveness problems caused by overheating, and effective dynamic thermal management methods include task migration techniques and dynamic voltage frequency regulation. The task migration technique minimizes temperature differences on-chip by migrating high-power heavy-duty tasks on a high-temperature core with low-power light-duty tasks on a low-temperature core. The strategy can keep the high performance of the processor, reduce the thermal spatial gradient and reduce the temperature peak value, but if no other temperature regulation technology participates, the task migration can not ensure that the temperature of the core in the chip is in a safe temperature range. The dynamic voltage frequency adjustment technology can reduce power consumption by reducing the working voltage and frequency in the core, so as to ensure that the core is in a safe temperature range, but at the same time, quite serious performance loss can be caused;
the second is the energy efficiency ratio of the multi-core microprocessor chip, that is, how to execute more instructions under the condition of consuming the same strategy, in the past, the traditional energy efficiency ratio optimization management method usually ignores or counts by a constant value due to the nonlinear relationship between static power consumption and temperature when processing static power consumption, but this kind of approximation is not feasible in the current semiconductor process with the line width of 7 nm or even 5 nm, because in this kind of process, the static power consumption of the MOS transistor nearly accounts for 1/4 of the total power consumption, and even takes a higher weight with the rise of temperature.
Through the search of documents in the prior art, on the basis of solving the problem of the optimal performance at the safe temperature, HaiWang and Diya Tang release an article GDP (GDP: A Green Based Dynamic Power budget management Method applied to a Multi-Core Dark Silicon chip) in IEEE Transactions on Computers (IEEE computer institute), the article iteratively finds out the optimal solution through a Greedy algorithm, and the local optimization Method maximizes the overall performance of the Multi-Core Dark Silicon chip at the safe temperature; in the method for solving the energy efficiency ratio optimization, Vinay Hanumaai and Sarma Vudhula issue an article of energy-Efficient Operation of Multicore Processors by DVFS, Task Migration, and Active Cooling (the multi-core processor is optimized by high energy efficiency ratio through DVFS technology, Task scheduling technology and Active Cooling technology) in IEEE Transactions on Computers (IEEE computer exchanges), and the optimal solution recursive search with the best energy efficiency ratio is realized through a gradient descent algorithm.
Disclosure of Invention
The invention aims to provide a high-speed (even can be realized by a lookup table) microprocessor dynamic thermal management method which is actively adjusted according to different task loads (alpha) aiming at high algorithm complexity and lack of optimization of a dark silicon chip in the prior art. The existing power profile is then corrected by performing task migration and dynamic voltage frequency adjustment. The invention successfully integrates the advantages of the task migration, the dynamic voltage frequency regulation and the model prediction control method, and can efficiently enable the processor to operate the current working load in a high energy efficiency ratio mode.
Drawings
FIG. 1 shows the variation trend of the energy efficiency ratio of a single core with frequency
FIG. 2 shows the results of the present invention Mente Carlo Scan
FIG. 3 shows simulation results of the present invention
FIG. 4 is a management cycle flow diagram of the present invention
Detailed description of the preferred embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
The invention provides a power estimation method for a high energy efficiency ratio multi-core microprocessor based on combination of model predictive control and task migration and dynamic voltage frequency adjustment, which comprises the following specific steps of:
step one, establishing a thermal model of a microprocessor, and acquiring corresponding model parameters;
specifically, in the embodiment of the present invention, it is necessary to establish a thermal model corresponding to the multi-core/many-core microprocessor, and under providing relevant physical parameters of the microprocessor (for example, the heat dissipation capability of the chip TIM, the package area of the chip, the heat dissipation coefficients between layers, the distances between chips, etc.), the relevant software Hotspot is used to calculate various parameters of the thermal model, and in the subsequent steps, the thermal model is used to practice the temperature and the power consumption. The concrete expression is as follows:
gt (t) + C dT/dT ═ BP; (formula one)
For a processor with n cores, G is a matrix of (4n +12) × (4n +12), and the dimension of C is the same as G, except that the G matrix stores the conductance and transconductance relations between chips, the C matrix stores the capacitance relations between chips, and in a steady state relation, the coefficient of the C matrix is 0, mainly the relation affecting temperature and power in transient analysis. The B matrix is a (4n +12) × n selection matrix aimed at projecting the P vector with n × 1 representing the power onto the dimension (4n +12), and T is a (4n +12) × 1 matrix representing the temperature of each layer of the chip containing the package. In the formula relation, the input is power, and the corresponding temperatures corresponding to the transient state and the steady state, namely the input power, the output temperature, the input temperature and the output power can be calculated, so that the relation except the temperature and the power is established. By scanning the frequency, the relationship between the frequency and the energy efficiency ratio can be obtained, as shown in the figure I. Looking at the graph, we can find that the highest energy efficiency ratio is neither the lowest point nor the highest point of the frequency, but is at a position in the middle, which we can calculate according to the present invention.
Secondly, scheduling tasks according to a kernel selection algorithm according to the number of the tasks distributed by the operating system;
specifically, in this embodiment, a multi-core microprocessor architecture is constructed, a standard test program is simulated on the chip architecture through microprocessor performance simulation software, and a power consumption analysis module is integrated on the chip architecture to calculate power consumption data of each core on the chip.
Furthermore, an Alpha 21264-based multi-core microprocessor architecture is constructed, a SPEC standard test program is simulated on the microprocessor architecture needing dynamic thermal management design through Wattch software, and power consumption data of each core on a microprocessor chip are calculated. For example, for a multi-core microprocessor with n cores, when a SPEC runs na benchmark tests, its current power set is [ P1P 2P 3 … … Pna ]; and our goal is to get the distribution with the lowest average temperature by determining the position of the nucleation.
To illustrate this problem, we need to list the expressions that contain the static power for further explanation.
GT + C dT/dT ═ B (P _ d + P _ s) (equation two)
Where Pd represents dynamic power and Ps represents static power, where we need to establish a relationship between static power and temperature-we are the two-dimensional functional relationship between temperature and VDD for static power consumption obtained by Hspice simulation in the example. The fitting can be done by linear approximation (or multi-terminal linear approximation) at this time. Then
P _ s as T + bs V + P0 (formula three)
Where as, bs is a linear approximation constant and P0 is a zero point constant. The campus is carried out by substituting the formula III into the formula II, and the temperature which can be obtained under a certain dynamic power can be obtained. Through a greedy algorithm, the object open-core positions and the tasks corresponding to the object open-core positions can be selected through multiple iterations.
Thirdly, calculating the suggested working frequency of the high energy efficiency ratio according to the current working load (alpha) on the selected core;
specifically, in the present invention, it is necessary to predict the task state at the next time according to the task load and the location thereof and the current task state thereof and calculate the operating frequency that achieves the optimal energy efficiency ratio.
To illustrate our calculation method, the derived formula is further described herein.
Target ═ (alpha x F)/(P _ d + P _ s) (formula four)
The aim is to maximize Target, wherein Pd is replaced by a power model containing F, Ps is replaced by three static power models of formulas, the three static power models are expressed as the relation between T and V, the temperature T and the total power can be linked by the formulas, so that the temperature T and the total power can be all expressed as one relation of F, and the maximum value can be obtained by deriving the F. The effect of the invention is shown in the second and third graphs, and by performing frequency monte carlo scanning on the determined workload on the core, we obtain the second graph, and the energy efficiency ratio of the invention is at the position of the top point, which proves that the invention is effective and excellent, and further, by comparing the invention with the method of fixing the frequency of 1.5GHz and gradient descent (accurate solution, but high time complexity) (the third graph), we can find that the effect of the invention and gradient descent is no two and is 3 times higher than that of fixing the frequency of 1.5 GHz.
In summary, the present invention realizes a dynamic thermal management method for a multi-core microprocessor with high energy efficiency ratio at a very low cost, and the above example describes the present invention in detail, but is not limited thereto, and then the technical solutions described in the previous examples can be modified, which does not mean that the essence of the corresponding technical solutions deviates from the spirit and scope of the technical solutions of the examples of the present invention.

Claims (4)

1. A dynamic thermal management method of a high-energy-efficiency multi-core microprocessor comprises the following steps:
step 1, establishing a thermal model of a microprocessor, and acquiring corresponding model parameters;
step 2, scheduling tasks according to a kernel selection algorithm according to the number of the tasks distributed by the operating system;
step 3, calculating the suggested working frequency of the high energy efficiency ratio according to the current working load (alpha) on the selected core;
step 4, calculating the ratio of the original task working frequency to the suggested working frequency in the step 3;
and 5, reducing the working frequency in the original task by adopting a dynamic voltage frequency adjustment technology according to a corresponding ratio.
2. The model according to step 1 of claim 1 is applicable in the present invention to any multi-core structured chip model.
3. The specific implementation of step 2 according to claim 1 is: the current power of the task is sequentially brought into a thermal model established by Hotspot (namely, the power and the temperature can be mutually calculated), and an open-core position (local optimum and sequential calculation iteration) which enables the temperature to rise to be minimum is iterated through a greedy algorithm.
4. The specific implementation of step 3 according to claim 1 is: and substituting into a calculation formula of a thermal model, converting the energy efficiency ratio into a frequency expression, and solving the partial derivative of the frequency to obtain the recommended working frequency with the priority of the energy efficiency ratio. In addition, the invention can be applied to any workload and any kernel mode.
CN202110262467.3A 2021-03-10 2021-03-10 Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio Pending CN113157438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110262467.3A CN113157438A (en) 2021-03-10 2021-03-10 Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110262467.3A CN113157438A (en) 2021-03-10 2021-03-10 Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio

Publications (1)

Publication Number Publication Date
CN113157438A true CN113157438A (en) 2021-07-23

Family

ID=76886784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110262467.3A Pending CN113157438A (en) 2021-03-10 2021-03-10 Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio

Country Status (1)

Country Link
CN (1) CN113157438A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117215394A (en) * 2023-11-07 2023-12-12 北京数渡信息科技有限公司 On-chip temperature and energy consumption control device for multi-core processor

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080310099A1 (en) * 2007-06-18 2008-12-18 Pedro Chaparro Monferrer Microarchitecture controller for thin-film thermoelectric cooling
US20110213508A1 (en) * 2010-02-26 2011-09-01 International Business Machines Corporation Optimizing power consumption by dynamic workload adjustment
US20140245032A1 (en) * 2013-02-27 2014-08-28 Qualcomm Incorporated System and method for thermal management in a portable computing device using thermal resistance values to predict optimum power levels
CN106649192A (en) * 2016-11-11 2017-05-10 中国人民解放军国防科学技术大学 Three-dimensional network-on-chip dynamic frequency regulation method based on prediction
CN106681453A (en) * 2016-11-24 2017-05-17 电子科技大学 Dynamic heat treatment method of high-performance multi-core microprocessor
CN111522420A (en) * 2019-01-17 2020-08-11 电子科技大学 Multi-core chip dynamic thermal management method based on power budget

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080310099A1 (en) * 2007-06-18 2008-12-18 Pedro Chaparro Monferrer Microarchitecture controller for thin-film thermoelectric cooling
US20110213508A1 (en) * 2010-02-26 2011-09-01 International Business Machines Corporation Optimizing power consumption by dynamic workload adjustment
US20140245032A1 (en) * 2013-02-27 2014-08-28 Qualcomm Incorporated System and method for thermal management in a portable computing device using thermal resistance values to predict optimum power levels
CN106649192A (en) * 2016-11-11 2017-05-10 中国人民解放军国防科学技术大学 Three-dimensional network-on-chip dynamic frequency regulation method based on prediction
CN106681453A (en) * 2016-11-24 2017-05-17 电子科技大学 Dynamic heat treatment method of high-performance multi-core microprocessor
CN111522420A (en) * 2019-01-17 2020-08-11 电子科技大学 Multi-core chip dynamic thermal management method based on power budget

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙奥林;徐奇;陈松;: "暗硅多核系统芯片资源调度算法" *
王胜;徐文祥;尹志杰;: "基于异构多核处理器的DVFS技术研究" *
黄柯衡;张正鸿;王海;张驰;: "基于混合优化的多核处理器动态热管理方法" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117215394A (en) * 2023-11-07 2023-12-12 北京数渡信息科技有限公司 On-chip temperature and energy consumption control device for multi-core processor
CN117215394B (en) * 2023-11-07 2024-01-23 北京数渡信息科技有限公司 On-chip temperature and energy consumption control device for multi-core processor

Similar Documents

Publication Publication Date Title
Liu et al. Thermal vs energy optimization for dvfs-enabled processors in embedded systems
Huang et al. Scaling with design constraints: Predicting the future of big chips
Coskun et al. Dynamic thermal management in 3D multicore architectures
Coskun et al. Energy-efficient variable-flow liquid cooling in 3D stacked architectures
Unsal et al. Impact of parameter variations on circuits and microarchitecture
Liu et al. Task migrations for distributed thermal management considering transient effects
Iranfar et al. Thespot: Thermal stress-aware power and temperature management for multiprocessor systems-on-chip
Schor et al. Worst-case temperature guarantees for real-time applications on multi-core systems
Raghavan et al. Utilizing dark silicon to save energy with computational sprinting
Kang et al. Runtime power management of 3-D multi-core architectures under peak power and temperature constraints
CN113157438A (en) Dynamic thermal management method of multi-core microprocessor with high energy efficiency ratio
Shoukourian et al. Analysis of the efficiency characteristics of the first high-temperature direct liquid cooled petascale supercomputer and its cooling infrastructure
Genossar et al. Intel® Pentium® M Processor Power Estimation, Budgeting, Optimization, and Validation.
CN113065229A (en) Real-time power budget technology of many-core dark silicon chip
Kamal et al. A thermal stress-aware algorithm for power and temperature management of mpsocs
Bücher et al. Modeling TPU thermal maps under superlattice thermoelectric cooling
Jung et al. Stochastic dynamic thermal management: A Markovian decision-based approach
Khan et al. Exploratory data analysis for data center energy management
Oh et al. Runtime temperature-based power estimation for optimizing throughput of thermal-constrained multi-core processors
Juan et al. Statistical thermal modeling and optimization considering leakage power variations
Mizunuma et al. Thermal coupling aware task migration using neighboring core search for many-core systems
Khan et al. Offline Earliest Deadline first Scheduling based Technique for Optimization of Energy using STORM in Homogeneous Multi-core Systems
Mikula et al. Thermal dynamics of multicore integrated systems
Cui et al. A variation-aware adaptive fuzzy control system for thermal management of microprocessors
Nejatollahi et al. Reliability-aware voltage scaling of multicore processors in dark silicon era

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210723

WD01 Invention patent application deemed withdrawn after publication