Method and device for performing thermal design on processor

Through stress testing and probability distribution analysis, the problems of multi-core processor core power non-uniformity and temperature changes have been solved, and the thermal design specifications of the processor have been accurately adjusted, reducing the risk of extreme hot spots and improving the reliability of the processor. and security.

CN118734516APending Publication Date: 2024-10-01APOLLO INTELLIGENCE AMERICA INC +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310340821.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively evaluate the non-uniform distribution of core power and temperature changes in multi-core processors, resulting in the occurrence of extreme hot spots, which may cause the processor to stop running or be permanently damaged, and it is difficult for designs based on thermal design power to meet the temperature specifications of all cores.

Method used

Determine the core temperature and operating power of the processor through stress testing, establish the probability distribution of the core operating power, and then determine the thermal resistance of the processor's design environment to evaluate and adjust thermal design specifications to ensure that the processor avoids uneven hot spots during operation.

Benefits of technology

It achieves accurate assessment of the operating power of multi-core processor cores and adjustments to thermal design specifications, reducing the probability of extreme hot spots and ensuring the reliability and safety of processor operation in different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734516A_ABST
    Figure CN118734516A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for performing thermal design on a processor, and relates to the technical field of computing equipment, in particular to a processor design technology. An implementation includes determining a first ambient thermal resistance for the processor based on a thermal design power of the processor and a predetermined temperature threshold; performing a pressure test on the processor with the first environment thermal resistance to obtain the temperature of the plurality of cores during the pressure test; determining the operation power of the kernel during the pressure test based on the temperature of the kernel; determining, based on the operating power of the core, a probability distribution of the operating power of the core when the processor having the first environmental thermal resistance operates at a thermal design power; and determining the design environment thermal resistance of the processor based on the probability distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computing device technology, in particular to processor design technology, and specifically to a method, device, electronic device, medium, and program product for performing thermal design on a processor. Background Art

[0002] Thermal management of computing systems is critical to maintaining the functional reliability and operational safety of computing systems.

[0003] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention

[0004] The present disclosure provides a method, apparatus, electronic device, medium and program product for performing thermal design on a processor.

[0005] According to one aspect of the present disclosure, a method for thermally designing a processor is provided, wherein the processor has multiple cores, comprising: determining a first environmental thermal resistance for the processor based on a thermal design power of the processor and a predetermined temperature threshold; performing a stress test on the processor having the first environmental thermal resistance to obtain the temperatures of the multiple cores during the stress test; determining the operating powers of the cores during the stress test based on the temperatures of the cores; determining a probability distribution of the operating powers of the cores when the processor having the first environmental thermal resistance operates at the thermal design power based on the operating power of the cores; and determining the design environmental thermal resistance of the processor based on the probability distribution.

[0006] According to another aspect of the present disclosure, a device for thermally designing a processor is provided, comprising: an ambient thermal resistance determination unit, configured to determine a first ambient thermal resistance for the processor based on the thermal design power of the processor; a testing unit, configured to perform a stress test on the processor having the first ambient thermal resistance to obtain the temperatures of the multiple cores during the stress test; a core power determination unit, configured to determine the operating power of the core during the stress test based on the temperature of the core; a power distribution determination unit, configured to determine the probability distribution of the operating power of the core when the processor having the first ambient thermal resistance operates at the thermal design power based on the operating power of the core; and a design thermal resistance determination unit, configured to determine the design ambient thermal resistance of the processor based on the probability distribution.

[0007] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the aforementioned method.

[0008] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the aforementioned method.

[0009] According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the aforementioned method when executed by a processor.

[0010] According to one or more embodiments of the present disclosure, the probability distribution of a processor with multiple cores having an operating power exceeding an average thermal design power during operation can be determined, so that the occurrence of uneven hot spots during processor operation can be evaluated based on the obtained probability distribution, and the final thermal design result of the processor can be determined based on the above evaluation.

[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0013] Figure 1 An exemplary flow chart of a method for performing thermal design on a processor according to an embodiment of the present disclosure is shown;

[0014] Figure 2 An exemplary block diagram of an apparatus for performing thermal design on a processor according to an embodiment of the present disclosure is shown;

[0015] Figure 3 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0016] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0017] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, temporal relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.

[0018] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.

[0019] Proper thermal management of computing systems (especially microprocessors) is critical to maintaining reliable functionality and safe operation. In computing systems, the processor is the main energy-consuming component. When processing dynamic computing tasks, the temperature of the processor changes dramatically. Processor vendors provide thermal design power (TDP) and maximum allowable junction temperature for the thermal design of the processor. In related art, the junction temperature of the processor is lower than the specification under the thermal design power through thermal design.

[0020] Currently, most processors use a multi-core architecture, where each core can dynamically and independently process tasks. In particular, simultaneous multithreading (SMT) or hyperthreading technology can be deployed in the processor, allowing a single core to process two parallel task threads at a frequency higher than the base rate. Therefore, in some extreme cases, one or more cores may become hot spots that exceed the temperature specification. When a hot spot occurs, the processor may stop running or be inhibited by some self-protection mechanism, or even be permanently damaged. The occurrence of extreme hot spots depends on the processor architecture, thermal design, environmental conditions, and running programs. A simple way to avoid extreme hot spots is to perform thermal design of the processor with an additional temperature margin according to the junction temperature specification. However, in practice, it is difficult to determine the specific value of the temperature margin. The available temperature margin is usually limited, and the larger the temperature margin, the worse the economic efficiency of the computing system.

[0021] In addition, in the related art, the thermal design of the processor is performed based on TDP, so that when the processor runs at the power of TDP, the junction temperature in the processor can still be lower than the junction temperature specification. However, when performing thermal design based on TDP, it is assumed that all cores evenly distribute the power consumption of TDP in the same way, and it is difficult to evaluate the situation where some cores in a multi-core processor work in an overclocked manner.

[0022] To address the above issues, the present disclosure provides a method for evaluating the thermal impact of non-uniform core power and temperature and defining appropriate thermal design specifications for a processor.

[0023] Figure 1 An exemplary flow chart of a method for performing thermal design on a processor according to an embodiment of the present disclosure is shown, wherein the processor may have multiple cores.

[0024] In step S102 , a first ambient thermal resistance for the processor is determined based on a thermal design power of the processor and a predetermined temperature threshold.

[0025] In step S104, a stress test is performed on a processor having a first ambient thermal resistance to obtain temperatures of multiple cores during the stress test.

[0026] In step S106 , the operating power of the core during the stress test is determined based on the temperature of the core.

[0027] In step S108 , a probability distribution of the operating power of the core when the processor with the first ambient thermal resistance operates at the thermal design power is determined based on the operating power of the core.

[0028] In step S110 , the design environment thermal resistance of the processor is determined based on the probability distribution.

[0029] By using the method for thermal design of a processor provided in an embodiment of the present disclosure, the probability distribution of a processor having multiple cores having an operating power exceeding an average thermal design power during operation can be determined, thereby being able to evaluate the occurrence of uneven hot spots during processor operation based on the obtained probability distribution, thereby being able to determine the final thermal design result of the processor based on the above evaluation.

[0030] The principles of the present disclosure will be described in detail below.

[0031] In step S102 , a first ambient thermal resistance for the processor may be determined based on a thermal design power of the processor and a predetermined temperature threshold.

[0032] In step S102, the first ambient thermal resistance of the processor may be determined based on formula (1):

[0033] Tj -T a =P TDP R ja (1)

[0034] Among them, T j is the predetermined temperature threshold, T j-spec is the standard junction temperature (i.e. the highest junction temperature that the processor can accept), T a is the ambient temperature, P TDP is the thermal design power, R ja is the ambient thermal resistance of the processor.

[0035] Among them, T j-spec and P TDP It can be determined based on the design specifications given by the processor vendor, T a It can be determined according to the use environment of the processor, T j Can be based on T j-spec Predetermined, as long as T j ≤T j-spec Using the above parameters, R can be determined based on formula (1): ja Through thermal design, the processor can meet R ja .

[0036] Step S102 can be used to determine the ambient thermal resistance required to ensure that the junction temperature of the processor is not higher than the specified junction temperature when all cores operate in the same manner.

[0037] In step S104, a stress test may be performed on the processor having the first ambient thermal resistance to obtain the temperatures of the multiple cores during the stress test.

[0038] The stress test can be performed by running a stress tool on the processor. For example, at least one of Prime95, StressAppTest, and StressNG can be used to perform the stress test. It is understood that the type of stress tool is not limited thereto, and those skilled in the art can use any other stress tool to perform the stress test according to actual conditions.

[0039] In some embodiments, stress testing can be performed by running at least two stress tools simultaneously on a processor having a first ambient thermal resistance. In some examples, the at least two stress tools can be stress tools of different types. For example, the stress tool can be a tool for testing different types of purposes such as memory, I / O capabilities, disk throughput, core utilization, etc. By using at least two different types of stress tools to perform stress testing, multi-threading or hyper-threading tasks of the core in the processor can be effectively triggered, thereby triggering the generation of hot spots in the processor.

[0040] In step S106 , the operating power of the core during the stress test may be determined based on the temperature of the core.

[0041] As mentioned above, if the multithreading or hyperthreading task of the core in the processor is triggered during the stress test, a part of the cores in the processor may work in an overclocked manner, thereby forming a hot spot near the core. However, it is difficult to measure the current actual operating power of each core with current technology. Therefore, in an embodiment of the present disclosure, the real-time temperature of the core is measured to evaluate the implementation power of the core.

[0042] In some embodiments, the operating power of each core may be determined based on the temperature of the core and a second ambient thermal resistance of the core relative to the environment.

[0043] The relationship between the temperature of a single core and the power of that core can be determined based on formula (2):

[0044] T core -T a =P core R core-a (2)

[0045] Among them, T core is the core temperature, T a is the ambient temperature, P core is the core power, R core-a is the second ambient thermal resistance of the core relative to ambient.

[0046] In formula (2), the core temperature T core The temperature sensor in the core can be monitored by the system, and the ambient temperature can be obtained by actual measurement. The second ambient thermal resistance of each core relative to the environment can be based on the first ambient thermal resistance R determined in step S102. ja And get.

[0047] In some embodiments, the first ambient thermal resistance R ja The second ambient thermal resistance R is determined by the number of cores N in the processor. core-a .

[0048] In some implementations, the ambient thermal resistance of each core in a processor relative to the environment may be considered to be the same.

[0049] When the first ambient thermal resistance R is determined at TDP power ja When T core =T j , Therefore, based on formula (1), formula (3) can be obtained:

[0050]

[0051] Based on formula (3), the second environment thermal resistance R core-a The first environment thermal resistance R ja The relationship is: R core-a =NR ja , where N is the number of cores in the processor.

[0052] The relationship between the average temperature of multiple cores and processor power can be determined based on formula (4):

[0053]

[0054] Based on formulas (3) and (4), the relationship between the difference between the temperature of a single core and the average temperature of the core and the power consumption of the processor can be determined:

[0055]

[0056] Among them, the temperature of the nth core is T core,n The average core temperature T can be obtained through system monitoring. core-mean The processor operating power P can be calculated based on the average temperature of all cores. Package It can be obtained based on the current working status of the processor. During stress testing, it can be considered that P Package =P TDP , N is the number of cores in the processor, R ja It can be obtained based on step S102. Therefore, only the power P of the nth core exists in formula (5): core,n is an unknown number. After determining other parameters, the power P of the nth core can be obtained based on formula (5): core,n .

[0057] In step S108, the probability distribution of the operating power of the core when the processor with the first ambient thermal resistance operates at the thermal design power can be determined based on the operating power of the core. The above probability distribution can indicate the probability that the operating power of the core exceeds the specified power.

[0058] In some embodiments, the above probability distribution conforms to a normal distribution. Therefore, the deviation P between the operating power of the core of the processor and the average power of the core is dev The probability distribution conforms to the normal distribution. In the stress test, the average core power is the average thermal design power of the core in The operating power of the core P core,n It can be determined based on formula (5).

[0059] The mean value and standard deviation of the normal distribution can be determined based on the statistics of the power deviation between the core's operating power and the core's average thermal design power.

[0060] The operating power data of the core in the stress test can be determined by the temperature data of the core collected in the stress test, and the collected data can be statistically analyzed to determine the deviation P used to represent the operating power of the core and the average thermal design power of the core. dev Mean and standard deviation of the normal distribution relative to the average thermal design power of the cores.

[0061] After determining the dev After the normal distribution of the average thermal design power of the core is compared, the probability that the core in the processor will have an operating temperature higher than the upper limit of the core temperature when the processor is running at the current ambient temperature can be determined. The upper limit of the core temperature can be determined to be no higher than the standard junction temperature. The operating power of the core can be determined according to formula (5) when the core temperature is equal to the standard junction temperature, and the probability of the core reaching the operating power can be determined based on the normal distribution curve.

[0062] Although the principle of the embodiments of the present disclosure is described by taking the kernel operating power conforming to the normal distribution as an example, it is understandable that those skilled in the art may also adopt other forms of probability distribution to describe the kernel operating power according to actual conditions.

[0063] In step S110 , the design ambient thermal resistance of the processor may be determined based on the probability distribution.

[0064] As described above, the probability distribution determined in step S108 can be used to describe the distribution of the core operating power when the processor is running. The determined probability distribution can be used to obtain the probability that the operating power of a single core of the processor exceeds the operating power that causes the core temperature to exceed the upper temperature limit. The final design environment thermal resistance of the processor can be determined based on the above probability distribution.

[0065] In some embodiments, a predetermined probability threshold of the probability that the operating temperature of the core is higher than the upper limit of the core temperature can be determined based on the application scenario of the processor. As mentioned above, when a hot spot appears, the processor may stop running or be suppressed by some self-protection mechanism, or even be permanently damaged. In different application scenarios, the probability of the occurrence of an acceptable hot spot may be different. Those skilled in the art can determine the above predetermined probability threshold according to actual conditions.

[0066] In response to determining that the probability that the operating temperature of the core is higher than the core temperature upper limit is higher than a predetermined probability threshold, the thermal design of the processor (such as the first ambient thermal resistance determined in step S102) may be adjusted to obtain a final designed ambient thermal resistance for the processor. The probability that the operating temperature of the core of the processor with the designed ambient thermal resistance is higher than the core temperature upper limit when the processor is running at the thermal design power is not higher than the predetermined probability threshold.

[0067] In some implementations, without adjusting the ambient thermal resistance of the processor (ie, taking the first ambient thermal resistance as the relevant ambient thermal resistance), the probability of generating a hot spot in the processor may be limited by limiting the ambient temperature.

[0068] Therefore, the method provided by the embodiment of the present disclosure provides a further evaluation criterion for the thermal design specification of the processor. By determining the probability distribution of the operating power of the cores in the processor, the probability of local hot spots appearing in the multi-core processor during operation can be evaluated, and it can be determined whether the thermal design of the processor needs to be adjusted based on the degree of match between the evaluation result and the actual application. For example, in general document processing applications, even if hot spots appear in the processor and thus trigger the protection mechanism of the processor, it usually does not have a substantial impact on the application. However, in some specific application scenarios (such as autonomous driving scenarios), if the protection mechanism is triggered due to hot spots, it may cause unacceptable delays in computing tasks. Through the probability distribution of the core operating power determined in the embodiment of the present disclosure, the probability of hot spots appearing in the core can be controlled within an acceptable range during the thermal design stage of the processor.

[0069] Figure 2 An exemplary block diagram of an apparatus for performing thermal design on a processor according to an embodiment of the present disclosure is shown.

[0070] like Figure 2 As shown, the apparatus 200 may include an environment thermal resistance determination unit 210 , a testing unit 220 , a core power determination unit 230 , a power distribution determination unit 240 , and a design thermal resistance determination unit 250 .

[0071] The ambient thermal resistance determination unit 210 may be configured to determine a first ambient thermal resistance for the processor based on a thermal design power of the processor.

[0072] The testing unit 220 may be configured to perform a stress test on a processor having a first ambient thermal resistance to obtain temperatures of the plurality of cores during the stress test.

[0073] The core power determination unit 230 may be configured to determine the operating power of the core during the stress test based on the temperature of the core.

[0074] The power distribution determination unit 240 may be configured to determine, based on the operating power of the core, a probability distribution of the operating power of the core when the processor having the first ambient thermal resistance operates at a thermal design power.

[0075] The design thermal resistance determination unit 250 may be configured to determine a design ambient thermal resistance of the processor based on the probability distribution.

[0076] It should be understood that Figure 2 The various modules or units of the apparatus 200 shown in FIG. 2 can be used in conjunction with the reference Figure 1 The steps in the method 100 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 100 are also applicable to the device 200 and the modules and units included therein. For the sake of brevity, some operations, features and advantages are not repeated here.

[0077] Although specific functionality is discussed above with reference to specific modules, it should be noted that the functionality of the various units discussed herein may be separated into multiple units, and / or at least some functionality of multiple units may be combined into a single unit.

[0078] It should also be understood that various techniques may be described herein in the general context of software hardware elements or program modules. Figure 2 The various units described can be implemented in hardware or in hardware in combination with software and / or firmware. For example, these units can be implemented as computer program codes / instructions, which are configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, these units can be implemented as hardware logic / circuits. For example, in some embodiments, one or more of units 210 to 250 can be implemented together in a system on chip (System on Chip, SoC). SoC may include an integrated circuit chip (which includes a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or one or more components in other circuits), and may optionally execute the received program code and / or include embedded firmware to perform functions.

[0079] According to another aspect of the present disclosure, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for thermal design of the processor according to an embodiment of the present disclosure.

[0080] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is further provided, where the computer instructions are used to cause the computer to execute the method for thermal design of a processor according to an embodiment of the present disclosure.

[0081] According to another aspect of the present disclosure, a computer program product is further provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements the method for performing thermal design on a processor according to an embodiment of the present disclosure.

[0082] refer to Figure 3 , a block diagram of an electronic device 300 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0083] like Figure 3 As shown, the electronic device 300 includes a computing unit 301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 302 or a computer program loaded from a storage unit 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 can also be stored. The computing unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0084] Multiple components in the electronic device 300 are connected to the I / O interface 305, including: an input unit 306, an output unit 307, a storage unit 308, and a communication unit 309. The input unit 306 can be any type of device that can input information to the electronic device 300. The input unit 306 can receive input digital or character information and generate key signal input related to user settings and / or function control of the electronic device, and can include but is not limited to a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and / or a remote controller. The output unit 307 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 308 can include but is not limited to a disk, an optical disk. The communication unit 309 allows the electronic device 300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth device, an 802.11 device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0085] The computing unit 301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 301 performs the various methods and processes described above, such as method 100. For example, in some embodiments, the method 100 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 308. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 300 via the ROM 302 and / or the communication unit 309. When the computer program is loaded into the RAM 303 and executed by the computing unit 301, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the method 100 in any other appropriate manner (e.g., by means of firmware).

[0086] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0087] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0088] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0089] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0090] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0091] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0092] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0093] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.

Claims

1. A method for thermal design of a processor, wherein: The processor has multiple cores, including: determining a first ambient thermal resistance for the processor based on a thermal design power of the processor and a predetermined temperature threshold; Performing a stress test on a processor having a first ambient thermal resistance to obtain temperatures of the plurality of cores during the stress test; determining an operating power of the core during stress testing based on a temperature of the core; Determining a probability distribution of the operating power of the core when a processor having a first ambient thermal resistance operates at a thermal design power based on the operating power of the core; and A design ambient thermal resistance of the processor is determined based on the probability distribution.

2. The method of claim 1, wherein: Stress testing a processor with first ambient thermal resistance includes: The stress test is performed by simultaneously running at least two stress tools on a processor having a first ambient thermal resistance.

3. The method of claim 1, wherein: Determining the operating power of the core during the stress test based on the temperature of the core includes: An operating power of each core is determined based on the temperature of the core and a second ambient thermal resistance of the core relative to ambient. 4 . The method of claim 3 , wherein the second ambient thermal resistance is determined based on the first ambient thermal resistance and the number of cores of the plurality of cores.

5. The method of claim 1, wherein: The probability distribution conforms to the normal distribution.

6. The method of claim 5, wherein: Determining the probability distribution of the operating power of the core when the processor having the first ambient thermal resistance operates at the thermal design power based on the operating power of the core includes: The mean and standard deviation of the normal distribution are determined based on statistics of power deviations of the operating power of the cores from an average thermal design power of the cores.

7. The method of claim 5, further comprising: The probability that the operating temperature of the core is higher than the core temperature upper limit is determined based on the current ambient temperature and the normal distribution.

8. The method according to any one of claims 1 to 7, wherein determining the design ambient thermal resistance of the processor based on the probability distribution comprises: In response to determining that the probability that the operating temperature of the core is higher than the core temperature upper limit is higher than a predetermined probability threshold, the thermal design of the processor is adjusted to obtain the designed ambient thermal resistance.

9. A device for performing thermal design on a processor, comprising: an ambient thermal resistance determination unit configured to determine a first ambient thermal resistance for the processor based on a thermal design power of the processor; A testing unit configured to perform a stress test on a processor having a first ambient thermal resistance to obtain temperatures of the plurality of cores during the stress test; a core power determination unit configured to determine the operating power of the core during stress testing based on the temperature of the core; a power distribution determining unit configured to determine, based on the operating power of the core, a probability distribution of the operating power of the core when the processor having the first ambient thermal resistance operates at a thermal design power; as well as The designed thermal resistance determining unit is configured to determine the designed ambient thermal resistance of the processor based on the probability distribution.

10. An electronic device comprising: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

12. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Processor core detection method and device, storage medium and program product

    CN120723564A