User configurable hardware settings for overclocking

Dynamically adjusting the clock rate of the processing unit through user-configurable hardware settings solves the problem of power waste caused by power supply voltage drops in overclocking mode, achieving higher stable frequencies and performance.

CN118715445APending Publication Date: 2024-09-27ADVANCED MICRO DEVICES INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380021820.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-25
Filing Date
2023-02-13
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In overclocking mode, a drop in supply voltage causes an increase in processing unit power consumption. Conventional systems compensate by increasing the voltage, but this results in wasted power because the voltage drop only occurs for a short period of time.

Method used

With user-configurable hardware settings, voltage drops are detected and the clock rate of the processing unit is dynamically adjusted to compensate for voltage drops, clock rates are reduced to mitigate the effects of voltage drops, while hardware settings are exposed to user-adjustable voltage drop thresholds and response actions.

Benefits of technology

It achieves higher stable frequency and performance of the processing unit in overclocking mode, reduces power waste caused by voltage drops, and improves system efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118715445A
    Figure CN118715445A
Patent Text Reader

Abstract

User configurable hardware settings for overclocking are described. In accordance with the described techniques, user input is received to adjust hardware settings for operating a processing unit in an overclocking mode. For example, the user input adjusts at least one of a voltage drop threshold or a frequency adjustment of a clock rate. When the processing unit is operated in the overclocking mode, a voltage drop is detected. In response to detecting the voltage drop, a clock rate of the processing unit is adjusted based at least in part on the adjusted hardware settings.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Related Applications

[0002] This application claims priority to U.S. patent application serial number 17 / 704,684, filed on March 25, 2022, and entitled “User Configurable Hardware Settings for Overclocking,” the entire disclosure of which is hereby incorporated by reference into this document in its entirety. Background Art

[0003] A processing unit in an integrated circuit consumes a variable amount of power depending on the process being performed on the processing unit. A processing unit consumes very little power when in an idle state, but when the processing unit is required to perform an action, power consumption increases rapidly. Some operations require more power than others, and in situations where a processing unit requires higher performance, the clock rate of the processing unit can be increased so that the processing unit runs at a higher frequency than specified, also known as "overclocking." An overclocked state typically has a higher operating voltage. One factor that negatively affects the power integrity of a circuit is the occurrence of a supply voltage sag. A supply voltage sag is a temporary drop or reduction in the supply voltage provided by a power supply to one or more elements (such as transistors) in a circuit. A supply voltage sag can be the result of a drop in the supply voltage provided to the power supply, a change in the operation of the power supply, a surge in the supply current provided by the power supply, or any combination thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] The detailed description is given with reference to the accompanying drawings.

[0005] Figure 1 A non-limiting example of a processor system operable to implement user-configurable hardware settings for overclocking is illustrated.

[0006] Figure 2 Non-limiting examples of clock generators in one or more implementations are illustrated.

[0007] Figure 3 Another non-limiting example of a clock generator in one or more implementations is illustrated.

[0008] Figure 4 Non-limiting examples of multi-processor core systems in one or more specific implementations are illustrated.

[0009] Figure 5 Non-limiting examples of user interfaces in one or more implementations are depicted.

[0010] Figure 6 A procedure in an example implementation for adjusting a clock rate of a processing unit based on adjusted hardware settings is depicted. DETAILED DESCRIPTION

[0011] Overview

[0012] The voltage sag may result in a reduction in the maximum clock frequency or an increase in the voltage required to operate the processing unit in overclock mode. Some conventional processing units are configured to operate at a higher voltage in overclock mode in order to compensate for the voltage sag, but in doing so end up consuming a higher amount of power than is necessary for operation. As an example, if the voltage required to operate the processing unit in overclock mode is 1 volt and a 50 millivolt voltage sag is expected during operation, the conventional processing unit may choose to operate at 1.005 volts in order to continue operating in overclock mode when the 50 millivolt voltage sag occurs. However, doing so wastes power to the system because the extra 50 millivolts is only needed to cover the voltage sag, which may only last a few milliseconds.

[0013] To address the problems of conventional systems, the described technology dynamically performs one or more actions in response to detecting a voltage drop to compensate for the voltage drop. As an example, the clock of the processing unit is stretched by momentarily reducing the clock rate to compensate for the voltage drop and enable the processing unit to continue to operate in overclocking mode. In addition, unlike conventional systems, the hardware settings associated with operating the processing unit in overclocking mode are user-configurable. For example, the hardware settings are exposed via a user interface that enables a user to adjust various hardware settings, such as by adjusting a voltage drop threshold and a response to a detected voltage drop. Enabling user configuration of hardware settings associated with overclocking mode allows the processing unit to be optimized for unique operating conditions or workloads of the system. Therefore, the processing unit is able to achieve a higher overclocked stable frequency, and therefore achieve better performance, compared to a conventional processing unit.

[0014] In some aspects, the technology described herein relates to a method comprising: receiving user input to adjust hardware settings for operating a processing unit in an overclocked mode; detecting a voltage drop when the processing unit is operating in the overclocked mode; and in response to detecting the voltage drop, adjusting a clock rate of the processing unit based at least in part on the adjusted hardware settings.

[0015] In some aspects, the techniques described herein relate to a method in which a hardware setting includes a voltage sag threshold and a sag response that specifies one or more actions to compensate for the voltage sag.

[0016] In some aspects, the techniques described herein relate to a method in which a droop response specifies an amount to reduce a clock rate of a processing unit to compensate for a voltage droop.

[0017] In some aspects, the technology described herein relates to a method that also includes exposing at least a voltage drop threshold and a drop response in a user interface.

[0018] In some aspects, the techniques described herein relate to a method in which a user input adjusts at least one of a voltage droop threshold or a droop response.

[0019] In some aspects, the technology described herein relates to a method in which detecting a voltage droop includes: detecting an output voltage; and determining that the output voltage satisfies a voltage droop threshold.

[0020] In some aspects, techniques described herein relate to a method in which adjusting a clock rate of a processing unit based at least in part on an adjusted hardware setting further comprises adjusting the clock rate based on a droop response associated with a voltage droop threshold.

[0021] In some aspects, the techniques described herein relate to a method in which a voltage drop threshold and a drop response are associated with a temperature range.

[0022] In some aspects, the techniques described herein relate to a method wherein the hardware setup further includes additional voltage drop thresholds and additional drop responses associated with the additional voltage drop thresholds, and wherein the additional voltage drop thresholds and additional drop responses are associated with additional temperature ranges.

[0023] In some aspects, the techniques described herein relate to a method in which hardware settings are maintained in a table accessible by a controller, and in which the controller updates the hardware settings in response to user input.

[0024] In some aspects, the technology described herein relates to a system comprising: a storage device that maintains hardware settings for operating a processing unit in an overclocked mode; a controller that detects a voltage drop when the processing unit is operating in the overclocked mode; and determines a frequency adjustment for a clock rate of the processing unit based at least in part on the hardware settings; and a clock generator that generates an output clock rate based on the determined frequency adjustment so that the processing unit maintains the overclock.

[0025] In some aspects, the techniques described herein relate to a system wherein the controller is further configured to expose at least a portion of the hardware settings via a user interface to enable the hardware settings to be adjusted by user input.

[0026] In some aspects, the techniques described herein relate to a system wherein the controller is further configured to update hardware settings maintained in a storage device in response to user input.

[0027] In some aspects, the techniques described herein relate to a system in which frequency adjustment enables a processing unit to maintain an overclock.

[0028] In some aspects, the technology described herein relates to a system that also includes a voltage sensor to detect an output voltage of a processing unit.

[0029] In some aspects, the techniques described herein relate to a system in which a hardware setting includes a voltage droop threshold and a droop response that specifies an amount to reduce a clock rate of a processing unit to compensate for the voltage droop.

[0030] In some aspects, the techniques described herein relate to a system in which a controller detects a voltage sag by determining that an output voltage detected by a voltage sensor satisfies a voltage sag threshold.

[0031] In some aspects, the techniques described herein relate to a system in which a controller determines a frequency adjustment based on a droop response that specifies an amount to reduce a clock rate of a processing unit to compensate for a voltage drop.

[0032] In some aspects, the techniques described herein relate to a system in which a voltage drop threshold and a drop response are associated with a temperature range.

[0033] In some aspects, the technology described herein relates to a method comprising: displaying a user interface comprising user interface elements for adjusting a droop threshold and a droop response associated with operating a processing unit in an overclocked mode; receiving user input via the user interface to adjust the droop threshold and the droop response; detecting a voltage droop when an output voltage of the processing unit satisfies the adjusted droop threshold; and in response to detecting the voltage droop, adjusting a clock rate of the processing unit based on the adjusted droop response.

[0034] Figure 1 A non-limiting example of a processor system 100 operable to implement user-configurable hardware settings for overclocking is illustrated. The processor system 100 includes one or more cores (one core 102 is depicted for simplicity) coupled to system firmware such as a controller 104 via a data communication bus to transfer information to and from the core 102 and the controller 104. The processor system 100 also includes a clock generator 106, a voltage sensor 108, a voltage generator 110, and a reference clock generator 112. The clock generator 106 can be implemented in a variety of different ways, such as a phase-locked loop (PLL) or a frequency-locked loop (FLL). In one or more specific implementations, one or more cores 102 include one or more temperature sensors 114. The controller 104 can be implemented in any suitable way, such as one or more state machines, a programmable processor, and / or a combination of a processor executing software instructions and one or more state machines.

[0035] The clock generator 106 is depicted as receiving a plurality of inputs from a reference clock generator 112, a controller 104, and a voltage generator 110. In the processor system 100, these inputs include a reference clock signal 116, an analog voltage supply value 118 (e.g., a VDDA value), an input voltage value 120, an analog voltage supply 124 (e.g., VDDA), and an input voltage 126. In this example, the analog voltage supply value 118 and the input voltage value 120 are collectively referred to as overclocking parameters 122. A voltage sensor 108 coupled to the clock generator 106 is capable of sensing and measuring an output voltage 128 supplied from the voltage generator 110 to the core 102. In one or more specific implementations, the voltage sensor 108 is implemented in the clock generator 106. Alternatively, the voltage sensor 108 is external to the clock generator 106 but operably coupled to the clock generator 106.

[0036] In one or more implementations, the controller 104 determines the overclocking parameters 122 based on the measured frequency 130 in the core 102. Alternatively or additionally, the controller 104 determines the overclocking parameters based on frequency adjustments made to the clock rate of the core 102, as further explained herein. Based on the above inputs, the clock generator 106 generates an output clock 132 adjusted according to the reference clock signal 116 obtained from the reference clock generator 112. The output clock 132 controls the operating frequency of the core 102. Figure 2 The generation of output clock 132 by clock generator 106 based on adjustments to reference clock signal 116 is discussed in greater detail.

[0037] According to the described techniques, the controller 104 accesses the hardware settings 134. In one or more specific implementations, the hardware settings 134 are maintained in a storage device accessible by the controller 104 (e.g., as a table). Generally speaking, the hardware settings 134 specify settings for operation of the processor system 100 under various operating conditions. This includes settings that specify different operating conditions for using an overclocking mode of the processor system 100. Examples of such different operating conditions include, but are not limited to, different temperature ranges for operation of the processor system 100, execution of processes for different types of applications (e.g., computer games as opposed to productivity tools), different stages associated with booting the system (e.g., during boot, after boot, etc.), and / or other "profiles" for use of the system 100.

[0038] Compared to conventional methods, the controller 104 exposes the hardware settings 134 so that the settings can be adjusted by user input. In other words, the controller 104 exposes at least a portion of the hardware settings 134 in a manner that enables adjustment of one or more of the hardware settings. Such adjustments include adjusting the operating conditions of a particular profile so that the controller 104 causes the hardware settings 134 associated with the profile to be used based on the detection of the adjusted operating conditions rather than based on the detection of previous operating conditions (e.g., before the adjustment). Such adjustments also include adding a profile by defining the operating conditions under which the controller 104 causes the processor system 100 to operate using the hardware settings 134 associated with the profile and by specifying one or more of the associated hardware settings. Additionally or alternatively, such adjustments include adjusting the hardware settings 134 associated with an existing profile so that the controller 104 causes the processor system 100 to use the adjusted hardware settings 134 based on the detection of the operating conditions of the existing profile.

[0039] In one or more implementations, the controller 104 exposes one or more portions of the hardware settings 134 to the application, which causes output (e.g., display) of a user interface for adjusting the hardware settings 134 for operating one or more processing units of the processor system 100 in the overclocking mode. For example, the user interface presents user interface elements (e.g., menus, drop-down boxes, radio buttons, dialog boxes, graphical knobs, sliders, text boxes, etc.) with respect to which a user provides user input to define or adjust operating conditions and / or define corresponding hardware settings 134 (e.g., hardware settings) to be activated in response to detecting operation under such conditions. Figure 5 A user interface for adjusting the hardware settings 134 of the processor system 100 to operate in an overclocked mode is discussed in greater detail.

[0040] In the illustrated example, the controller 104 is depicted as receiving a setting specification 136. In one or more specific implementations, the setting specification 136 corresponds to the user input just described above to adjust one or more hardware settings 134 and / or operating conditions for operating the processing unit in the overclocking mode. Alternatively or additionally, the setting specification 136 is received from other sources (such as from an application) so that when the application is executing, the controller 104 causes the processor system 100 to operate according to the settings specified by the setting specification 136. Other example sources of settings include firmware updates (e.g., for the processor system 100) and importing settings from one or more files. It should be understood that in variations, the setting specification 136 is received from other sources without departing from the spirit or scope of the technology.

[0041] exist Figure 11, hardware settings 134 are depicted as including voltage drop threshold 138, drop response 140, and temperature range 142. These settings are merely example hardware settings 134 that may be accessed by controller 104. It should be appreciated that other hardware settings 134 may be accessed by controller 104 without departing from the spirit or scope of the described technology. Thus, in various implementations, controller 104 enables user input to adjust different settings in which processor system 100 may operate.

[0042] As described herein, the voltage drop threshold 138 specifies an amount of voltage drop in the output voltage 128 that, once met, causes the controller 104 to initiate a response of the processor system 100 to the voltage drop by performing one or more actions (e.g., by momentarily reducing the clock rate to compensate for the voltage drop). In various implementations, the voltage drop threshold 138 may be defined in different implementations. In one or more implementations, for example, the voltage drop threshold 138 is defined as a percentage of the analog voltage supply value 118, such that when the output voltage 128 as a percentage of the analog voltage supply value 118 meets (e.g., is less than or equal to) the voltage drop threshold 138, the controller 104 initiates a corresponding response defined by the hardware setting 134. Alternatively or additionally, the voltage drop threshold 138 is defined as a fixed offset from the analog voltage supply value 118, such that when the offset of the output voltage 128 from the analog voltage supply value 118 meets (e.g., is greater than or equal to) the voltage drop threshold 138, the controller initiates a corresponding response. Alternatively or additionally, the voltage drop threshold 138 is a fixed voltage level such that when the output voltage 128 corresponds to a voltage level that satisfies (eg, is less than or equal to) the threshold, the controller initiates a corresponding response. In variations, the voltage drop threshold 138 may be defined in other ways.

[0043] The droop response 140 defines a response of the controller 104 to detecting that the output voltage 128 satisfies the corresponding voltage droop threshold 138. For example, based on detecting that the voltage droop threshold 138 is satisfied, the controller 104 performs one or more actions to compensate for the voltage droop. For example, in response to detecting the voltage droop, the controller sends a change signal to the voltage generator 110 to set the analog voltage supply 124 and / or the input voltage 126, and sends an overclocking parameter 122 indicating those changes to the clock generator 106. In one or more specific implementations, the droop response 140 includes a frequency adjustment that specifies an amount by which the clock rate will be reduced to mitigate the voltage droop defined by the corresponding voltage droop threshold 138 (e.g., by stretching the reference clock signal 116). In one or more specific implementations, the droop response 140 includes instructions to implement clock stretching (e.g., stretching the reference clock signal 116) to reduce the effects of the voltage droop. For example, the user interface exposed to the user enables the user to configure the voltage droop threshold 138 to 2.5% of the output voltage and configure the droop response 140 to be a frequency adjustment of 25 megahertz. Subsequently, when the output voltage decreases by 2.5% (thus meeting the user-configured voltage drop threshold), the clock rate of the processing unit is temporarily stretched by reducing the clock rate by 25 MHz to compensate for the voltage drop. Figure 2 Examples of stretching the reference clock signal 116 based on frequency are discussed in more detail.

[0044] In one or more specific implementations, the temperature range 142 is an example of an operating condition type associated with the hardware setting 134 (e.g., at least one voltage drop threshold 138 and at least one drop response 140). In this example, the temperature sensor 114 detects the ambient temperature at which the core 102 processes instructions. If the temperature detected by the temperature sensor 114 is within the temperature range 142, the controller 104 utilizes the voltage drop threshold 138 and the drop response 140 corresponding to the temperature range 142. In this manner, when the processor system 100 operates at a temperature within the temperature range 142 and detects a voltage drop that satisfies the corresponding voltage drop threshold 138, the controller 104 signals the processor system 100 to initiate the corresponding drop response 140 to mitigate the voltage drop.

[0045] In one or more implementations, the hardware settings 134 include a plurality of different temperature ranges 142, and each of the different temperature ranges 142 has a corresponding voltage drop threshold 138 and drop response 140. As described above, each temperature range corresponds to a profile of system operation, such that specifying a plurality of temperature ranges to be included in the hardware settings 134 generates a plurality of profiles. As described above, the hardware settings 134 are also configured to include profiles based on types of operating conditions other than temperature, such as for executing processes corresponding to different types of applications (e.g., computer games as opposed to productivity tools) and for different stages associated with booting the system (e.g., during boot, after boot, etc.). Of course, profiles for other detectable operating conditions of the system 100 are used in various implementations.

[0046] In at least one example, the profile is associated with a plurality of voltage drop thresholds 138 and a plurality of drop responses 140. By having a plurality of voltage drop thresholds and corresponding responses, when operating under specific conditions of the profile, the processor system 100 is controlled to respond in a specified (e.g., different) manner when the voltage drop increasingly deviates from the desired voltage. For example, when the profile has a plurality of voltage drop thresholds 138 and a plurality of drop responses 140, the controller 104 initiates a first drop response 140 in response to detecting a voltage drop that satisfies a first voltage drop threshold 138. If the voltage drop increases beyond the first threshold such that it subsequently satisfies a second voltage drop threshold 138, the controller 104 initiates a corresponding second drop response 140 to mitigate the impact of the voltage drop on performance. It should be understood that in one or more specific implementations, more than two steps (e.g., more than two voltage drop thresholds 138 and corresponding drop response 140 pairs) are maintained in the hardware settings 134 for a particular profile. Consider the following discussion in the context of stretching the reference clock signal 116 to overclock the processor system 100.

[0047] Figure 2 A non-limiting example 200 of a clock generator in one or more specific implementations is illustrated. In this example 200, the clock generator 106 includes three components: an oscillation adjustment module 202, a calibration module 204, and a clock oscillator 206. The oscillation adjustment module 202 is coupled to the controller 104 to receive the overclocking parameters 122 therefrom, and is also coupled to the voltage sensor 108 to receive therefrom a sensed output voltage 210 based on the output voltage 128 provided from the voltage generator 110. The calibration module 204 is coupled to the controller 104 to receive the overclocking parameters 122. The calibration module 204 also generates a corrected calibration value 208. The corrected calibration value 208 is a corrected voltage value for programming the clock oscillator 206, which includes an adaptive oscillator circuit.

[0048] The voltage sensor 108 (which may be part of the clock generator 106 or an external device coupled thereto) receives the output voltage 128 provided to the core 102 and the overclocking parameter 122, or more specifically, receives at least an analog voltage supply value 118 (e.g., a VDDA value) corresponding to the analog voltage supply 124 from the voltage generator 110 or more specifically from the analog voltage source. The voltage sensor 108 uses the analog voltage supply value 118 to compare the output voltage 128 to the analog voltage supply 124 (e.g., VDDA) to detect any voltage drop in the output voltage 128.

[0049] In some conventional systems, the voltage sensor simply receives the output voltage and compares it to a predetermined reference VDDA value, which is not as accurate as comparing the output voltage directly to the provided VDDA. In one or more specific implementations, the voltage sensor 108 facilitates a dynamic means of sensing a voltage drop in the output voltage 128 by implementing a flexible output voltage to VDDA comparison that is not based on a predetermined reference VDDA value. The advantage of this comparison is that the error margin corresponding to the voltage drop estimate provided by the voltage sensor 108 is reduced.

[0050] The voltage sensor 108 generates a sensed output voltage 210, which includes the detection of any voltage drop in the output voltage 128. The oscillation adjustment module 202 receives the sensed output voltage 210 and the overclocking parameter 122, and based on the input generates a frequency adjustment 212, which includes instructions to adjust the clock rate of the processing system (e.g., by stretching the reference clock signal 116) to reduce the effect of the voltage drop. In one or more specific implementations, the frequency adjustment 212 is also based on the drop response 140, which can be adjusted based on user input as described throughout. For example, the oscillation adjustment module 202 can determine the magnitude of the frequency adjustment 212 based on the user-defined frequency adjustment for the corresponding voltage drop threshold 138. For example, the clock oscillator 206 receives the reference clock signal 116 and the frequency adjustment 212, as well as the output voltage 128 from the voltage generator 110, the corrected calibration value 208, the analog voltage supply 124 (e.g., VDDA), and the input voltage 126. Based on these inputs, the clock oscillator 206 generates the output clock 132 for the core 102.

[0051] According to the described techniques, the clock generator 106 detects an indication of overclocking via the overclocking parameters 122, and the voltage sensor 108 detects an indication of a voltage drop. The clock oscillator 206 generates the output clock 132 such that the reference clock signal 116 is stretched to reduce the effects of the voltage drop while maintaining the core 102 operating in the overclocked state, i.e., without reducing the operating frequency or clock rate of the core 102. Thus, clock stretching only causes a delay in the clock signal without slowing the clock rate. With this specific implementation, the core 102 is able to maintain operation at a higher performance facilitated by overclocking while reducing the effects of the voltage drop from the voltage generator 110.

[0052] Figure 3 Another non-limiting example 300 of a clock generator in one or more specific implementations is illustrated. In this example 300, the clock generator 106 includes a clock buffer 302 that receives the output voltage 128, such as a group of inverters, amplifiers, CML buffers, etc., instead of Figure 2 The clock oscillator 206 is shown receiving the output voltage 128. Because the clock oscillator 206 does not receive the output voltage 128, the output clock generated is an unbuffered output clock 304, which is received by a clock buffer 302 to generate a buffered output clock 306 to be used by the core 102 or multiple cores. The clock buffer 302 can be any suitable type of buffer that facilitates distributing multiple copies of a clock to multiple cores with the same frequency requirements, such as to save space and cost by eliminating additional timing components, external voltage dividers, or signal level translation circuits.

[0053] Figure 4A non-limiting example 400 of a multi-processor core system in one or more implementations is illustrated. The system 400 includes a total of N+1 cores 102 from core 0 to core N, which can be implemented in a general purpose integrated circuit. In this example, the voltage generator 110 includes an analog voltage source 402 (e.g., a VDDA 1.8V power supply) coupled to a voltage regulator 404. In one or more implementations, the voltage regulator 404 receives an analog voltage supply 124 (e.g., VDDA) from the voltage source 402, regulates the supplied voltage, and distributes an output voltage 128 to each of the cores 102 and to the clock generator 106 as input to those components. Thus, the voltage regulator 404 uses the supplied analog voltage supply 124 (e.g., VDDA) to supply an output voltage 128 to each of the cores 102 and to the clock generator 106, or more specifically to a voltage sensor 108 coupled to the clock generator 106. In one or more implementations, the voltage generator 110 is implemented in an integrated circuit that includes the core 102. Alternatively, in one or more implementations, the voltage generator 110 is implemented separately from the integrated circuit. The voltage generator 110 provides an output voltage 128 that is variable according to a voltage level selected by the controller 104.

[0054] The system 400 also includes a controller 104 coupled to each of the cores 102, and the controller 104 receives the measured frequency 130 of each core 102 and in some cases also receives the frequency adjustment 212 from the core 102, although the frequency adjustment 212 may alternatively be provided directly by the clock generator 106, as shown, or determined based on the user-configurable droop response 140. The controller 104 also includes an overclock determination module 406 that determines whether to implement an overclock to increase the performance of the core 102 based on the measured frequency 130 (e.g., the current measured frequency) and the frequency adjustment 212. For example, the determination to overclock may be in the form of changing the performance state (P-state) of the core 102, as will be discussed further herein.

[0055] In response to the overclocking determination module 406 determining that overclocking is to be enabled, the controller 104 sends an analog voltage supply change signal 408 to the voltage source 402 and an input voltage change signal 410 to the voltage generator 110. The signals 408 and 410 include the values ​​of the input voltage and VDDA newly set by the controller 104, which are relayed to the clock generator 106 in the form of the overclocking parameters 122.

[0056] In some examples, the overclocking determination module 406 enables overclocking at initial system startup (i.e., when the system 400 is powered on to begin operation). In some examples, the overclocking determination module 406 provides an adjustment request based on factors such as the type of software or hardware application that uses the core 102 to operate, and the adjustment request includes signals 408 and 410 indicating overclocking. Such applications can include system-intensive applications, such as games that incorporate different subsystems (such as hard drives, graphics, memory, and CPUs) on a computer, or CPU-intensive applications, such as multi-threaded applications, including but not limited to photo editing and video transcoding applications. In some examples, when a user wants to improve system performance, an adjustment request can be provided directly via user input (e.g., via a user interface). In some examples, the adjustment request can be based on feedback from a processing unit, such as feedback based on a generated output clock rate, such as a core detecting a potential need to increase the operating frequency in order to accommodate the increased performance requirements. Any other suitable circumstances regarding when and how such an adjustment request can be generated by the overclocking determination module 406 can be considered.

[0057] System 400 may be any type of processor system, such as a central processing unit (CPU) or a graphics processing unit (GPU). For example, system 400 may be implemented as an x86 processor having an x86 64-bit instruction set architecture and used in desktop computers, laptop computers, servers, and superscalar computers; an advanced reduced instruction set computer (RISC) machine (ARM) processor used in mobile phones or digital media players; or a digital signal processor (DSP) that can be used to process and implement algorithms related to digital signals such as voice data and communication signals, and a microcontroller that can be used in consumer applications such as printers and copiers.

[0058] The core 102 forms the computing center of the system 400 and is responsible for performing a number of computing tasks. For example, the processor core 102 may include, but is not limited to, execution units that perform addition, subtraction, shifting, and rotation of binary numbers, and address generation and load and store units that perform address calculations for memory addresses and load and store data from memory. The operations performed by the processor core 102 enable the running of computer applications.

[0059] The processor core 102 operates according to certain performance states (P-states) controlled by the controller 104. The P-states are described as follows. The Advanced Configuration and Power Interface (ACPI) standard is an operating system-based specification that regulates the power management of a computer system. For example, the ACPI standard can control and direct the processor core to better manage battery life. In doing so, ACPI assigns processor power states called C-states and forces the processor to operate within the limits of these states. There are different levels of C-states to which a processor can be assigned (e.g., C0 for a fully operational state with full power consumption and full dissipation of energy; C1 for a dormant state, in which the execution of instructions is stopped and the processor can return immediately to execute instructions; or C2 for another sleep state, in which the processor may take a longer time to return to the C0 state), which can be assigned to the processor so that the processor performs in a manner specified by the corresponding state.

[0060] When the processor is in the fully operational C0 state, it is associated with another state called a performance state or P state. There are different levels of P states, each associated with an operating voltage and frequency. The highest performance state is P0, which may correspond to maximum operating power, voltage, and frequency. However, the processor may be placed in a lower performance state, such as P1 or P2, which corresponds to a lower operating power, voltage, and / or frequency. Typically, when a processor moves to a lower P state, its operating capability will be lower than before.

[0061] Figure 5 A non-limiting example 500 of a user interface in one or more implementations is depicted. The example 500 includes a display device 502 that outputs a settings adjustment user interface 504 that receives user input for adjusting settings of the hardware settings 134.

[0062] In one or more specific implementations, the settings adjustment user interface 504 includes user interface elements that enable a user to perform at least one of the following: adjust settings (e.g., of an existing configuration file), add new settings or new configuration files, or delete settings or existing configuration files. In variations, without departing from the spirit or scope of the described technology, the settings adjustment user interface 504 includes user interface elements that enable a user to provide user input to perform different actions related to the settings of the hardware settings 134.

[0063] In this example 500, the user interface 504 includes an adjust existing element 506, an add new element 508, and a delete element 510. The adjust existing element 506 may be selected by the user to adjust an existing setting, such as a setting of a profile maintained by the hardware settings 134. The add new element 508 may be selected by the user to add a new setting and / or a new profile to the hardware settings 134. The delete element 510 may be selected by the user to delete a setting and / or a profile from the hardware settings 134.

[0064] In one or more implementations, such as in the illustrated example, the settings adjustment user interface 504 includes a profile selection element 512 that enables a user to provide user input to select an existing profile maintained using the hardware settings 134, e.g., to cause the user interface 504 to output settings associated with the selected profile and / or adjust settings associated with the selected profile. As described above, in one or more implementations, the settings maintained by the hardware settings 134 and associated with the profile are used to operate in an overclocking mode.

[0065] Here, the user interface 504 also includes a profile specific portion 514. In different implementations, the profile specific portion 514 can be configured in various ways to enable adjustment of the settings profile maintained using the hardware settings 134. In this example 500, for example, the profile specific portion 514 displays a profile identifier 516, operating conditions 518 specifying the use of the profile, and hardware settings 520 associated with the profile that control overclocking of the processor system 100 when the processor system 100 operates under the corresponding operating conditions.

[0066] In example 500, profile identifier 514 is depicted as having an edit element that can be selected by a user to edit the identifier (e.g., name) of the profile or to add the identifier to a new profile. In one or more implementations, the identifier can also be stored in or associated with hardware setting 134.

[0067] In this example, the operating condition 518 includes a temperature range associated with the identified profile, such as -190 to -160. As described above, a temperature range is one type of operating condition that can specify an overclock setting according to the described techniques. The settings adjustment user interface 504 includes a condition type element 522 that can be selected to specify the type of operating condition to be detected in order to use the profile. As described above, different types of conditions include the type of application utilizing the processor system 100, the stage relative to booting the system 100, etc. Of course, other types of conditions can be specified via the settings adjustment user interface 504 for association with a set of hardware settings (e.g., overclock settings) without departing from the essence or scope of the described techniques. Although a single operating condition is depicted in the illustrated example, it should be understood that in one or more specific implementations, the user interface 504 and the hardware settings 134 support adding at least one additional operating condition (e.g., a temperature range and a type of application utilizing the processing system) for a given profile.

[0068] The hardware settings 520 include one or more voltage drop thresholds 138 and one or more corresponding drop responses 140 associated with the identified profile. In this example 500, the identified profile is depicted as having two voltage drop thresholds 138 and two corresponding drop responses 140 depicted as frequency adjustments. In particular, the identified profile includes a first voltage drop threshold 138 that the user has configured as 97.5% of the voltage and a first drop response 140 that the user has configured as -25 megahertz. The identified profile also includes a second voltage drop threshold 138 that the user has configured as 95% of the voltage and a second drop response 140 that the user has configured as -50 megahertz. Of course, one voltage drop threshold 138 and corresponding drop response 140 or more than two voltage drop thresholds 138 and drop responses 140 may be used for a profile, as discussed above. However, with this configuration, the processor system 100 reduces the clock rate by 25 MHz when the voltage drops above a 97.5% threshold (e.g., a 2.5% voltage drop), and reduces the clock rate by 50 MHz when the voltage drops above a 95% threshold (e.g., a 5% voltage drop).

[0069] As also described above, the voltage drop threshold 138 can be specified in various ways. In this example, the voltage drop threshold 138 is depicted as a percentage. However, the user interface 504 includes elements that can be selected to change the type of threshold. For example, the element can be selected to change the type of voltage drop threshold to an offset of a voltage level. In addition, the specified voltage drop threshold 138 is displayed together with elements that enable those thresholds to be individually adjusted by the user. The user interface 504 also includes elements that can be selected to enable the drop response 140 to be individually adjusted by the user.

[0070] In this example 500, the profile-specific portion 514 of the settings adjustment user interface 504 also includes a more settings element 524, a save element 526, and an activate element 528. In implementations where there are more adjustable settings than the voltage droop threshold 138 and the droop response 140, the settings adjustment user interface 504 includes user interface elements that enable adjustment of those settings, for example, via the more settings element 524. The save element 526 is selectable to save adjustments made to the operating conditions and / or settings of the profile via the user interface 504. In response to selection of the save element 526, for example, the hardware settings 134 are updated to maintain the adjusted overclock settings, for example, the previous settings are replaced by the adjusted settings.

[0071] The activation element 528 may be selected by a user to cause the controller 104 to use the settings of the identified profile and monitor for the specified operating condition, e.g., such that the associated settings are used when the operating condition is detected. In one or more implementations, in the event that the activation element 528 is not selected, the settings are maintained in the hardware settings 134, but the settings are not used when the operating condition specified for the profile is detected. After the activation element 528 is selected, the settings are used when the operating condition specified for the profile is detected. In a scenario where the operating condition is not specified for the profile, when the user selects the activation element 528, the system 100 immediately uses the specified hardware settings, such that only in response to detecting the specified voltage drop 138, the controller 104 causes the system to implement the corresponding drop response 140.

[0072] It should be appreciated that settings adjustment user interface 504 is merely one example of a user interface that may be used to adjust settings of hardware settings 134. Different user interfaces that display different user interface elements and adjust different settings may be used to adjust settings of hardware settings 134 without departing from the spirit or scope of the described techniques. Although the user interface is depicted as being displayed via display device 502, it should also be appreciated that in accordance with the described techniques, the user interface may alternatively or additionally be output for interaction with a user in a different manner, such as via a voice-based interface presented via a voice-assistive device.

[0073] Figure 6 Depicted is a procedure 600 in an example implementation in which a clock rate of a processing unit is adjusted based on adjusted hardware settings.

[0074] Receive user input to adjust hardware settings for operating a processing unit in an overclocked mode (block 602). For example, the settings adjustment user interface 504 receives user input for adjusting hardware settings 134 of a processing unit (such as a CPU or GPU). For example, the adjustment user interface 504 displays hardware settings 134 such as one or more voltage droop thresholds 138 and corresponding droop responses 140 and elements that enable these thresholds and corresponding responses to be individually adjusted by a user. Thus, the user input modifies one or more voltage droop thresholds 138 and / or corresponding droop responses 140.

[0075] When the processing unit is operated in the overclocking mode, a voltage drop is detected (block 604). For example, the controller 104 detects the voltage drop when the output voltage 128 satisfies the voltage drop threshold 138. In various implementations, the voltage drop threshold 138 may be defined in different implementations. In one or more implementations, for example, the voltage drop threshold 138 is defined as a percentage of the analog voltage supply value 118, such that when the output voltage 128 as a percentage of the analog voltage supply value 118 satisfies (e.g., is less than or equal to) the voltage drop threshold 138, the controller 104 initiates a corresponding response defined by the hardware setting 134. Alternatively or additionally, the voltage drop threshold 138 is defined as a fixed offset from the analog voltage supply value 118, such that when the offset of the output voltage 128 from the analog voltage supply value 118 satisfies (e.g., is greater than or equal to) the voltage drop threshold 138, the controller 104 initiates a corresponding response. Alternatively or additionally, the voltage drop threshold 138 is a fixed voltage level such that when the output voltage 128 corresponds to a voltage level that satisfies (eg, is less than or equal to) the threshold, the controller 104 initiates a corresponding response.

[0076] In response to detecting the voltage sag, the clock rate of the processing unit is adjusted based at least in part on the adjusted hardware settings (block 606). For example, in response to detecting the voltage sag, the controller 104 sends instructions to the clock generator 106, which causes the sag response 140 to reduce the impact of the voltage sag by implementing clock stretching (e.g., stretching the reference clock signal 116). The adjustment is based on the adjusted hardware settings, which includes at least one of the adjusted voltage sag threshold 138 or the adjusted sag response 140. In other words, the user provides input to adjust one or both of the voltage sag threshold 138 and the sag response 140, and the controller 104 uses the input to determine the frequency response to the voltage sag.

[0077] It should be understood that many variations are possible based on the disclosure herein. Although the above features and elements are described in particular combinations, each feature or element may be used alone without the other features and elements, or in various combinations with or without the other features or elements.

[0078] The various functional units illustrated in the figures and / or described herein (including one or more cores 102, controllers 104, clock generators 106, and voltage generators 110, where appropriate) are implemented in any of a variety of different ways, such as hardware circuits, software or firmware executed on a programmable processor, or any combination of two or more of hardware, software, and firmware. The provided methods are implemented in various devices such as any of a general-purpose computer, a processor, or a processor core. For example, suitable processors include general-purpose processors, special-purpose processors, conventional processors, digital signal processors (DSPs), graphics processing units (GPUs), parallel accelerated processors, multiple microprocessors, one or more microprocessors associated with a DSP core, controllers, microcontrollers, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) circuits, any other type of integrated circuit (IC), and / or state machines.

[0079] In one or more specific implementations, the methods or processes provided herein are implemented in a computer program, software, or firmware incorporated into a non-transitory computer-readable storage medium for execution by a general-purpose computer or processor. Examples of non-transitory computer-readable storage media include read-only memory (ROM), random access memory (RAM), registers, cache memory, semiconductor memory devices, magnetic media (such as internal hard disks and removable disks), magneto-optical media, and optical media (such as CD-ROM disks), and digital versatile disks (DVDs).

Claims

1. A method, comprising: receiving user input to adjust a hardware setting for operating the processing unit in an overclocked mode; When the processing unit is operated in the overclocking mode, the detection voltage decreases; as well as In response to detecting the voltage drop, a clock rate of the processing unit is adjusted based at least in part on the adjusted hardware settings. 2 . The method of claim 1 , wherein the hardware settings include a voltage sag threshold and a sag response, the sag response specifying one or more actions to compensate for the voltage sag. 3 . The method of claim 2 , wherein the droop response specifies an amount by which to reduce the clock rate of the processing unit to compensate for the voltage drop. 4 . The method of claim 2 , further comprising exposing at least the voltage drop threshold and the drop response in a user interface.

5. The method of claim 2, wherein the user input adjusts at least one of the voltage droop threshold or the droop response.

6. The method of claim 2, wherein detecting the voltage drop comprises: Detect output voltage; as well as It is determined that the output voltage satisfies the voltage drop threshold. 7 . The method of claim 6 , wherein adjusting the clock rate of the processing unit based at least in part on the adjusted hardware settings further comprises adjusting the clock rate based on the droop response associated with the voltage droop threshold.

8. The method of claim 2, wherein the voltage drop threshold and the drop response are associated with a temperature range.

9. The method of claim 8, wherein the hardware settings further include additional voltage drop thresholds and additional drop responses associated with the additional voltage drop thresholds, and wherein the additional voltage drop thresholds and the additional drop responses are associated with additional temperature ranges.

10. The method of claim 1, wherein the hardware settings are maintained in a table accessible by a controller, and wherein the controller updates the hardware settings in response to the user input.

11. A system, comprising: a storage device for maintaining hardware settings for operating the processing unit in an overclocking mode; A controller, the controller being configured to: When the processing unit operates in the overclocking mode, the detection voltage decreases; as well as determining a frequency adjustment of a clock rate of the processing unit based at least in part on the hardware settings; and A clock generator is configured to generate an output clock rate based on the determined frequency adjustment so that the processing unit maintains an overclock.

12. The system of claim 11, wherein the controller is further configured to expose at least a portion of the hardware settings via a user interface to enable the hardware settings to be adjusted by user input.

13. The system of claim 12, wherein the controller is further configured to update the hardware settings maintained in the storage device in response to user input.

14. The system of claim 11, wherein the frequency adjustment enables the processing unit to maintain the overclock. 15 . The system according to claim 11 , further comprising a voltage sensor, wherein the voltage sensor is configured to detect an output voltage of the processing unit.

16. The system of claim 15, wherein the hardware settings include a voltage drop threshold and a drop response, the drop response specifying an amount to reduce the clock rate of the processing unit to compensate for the voltage drop. 17 . The system of claim 16 , wherein the controller detects the voltage sag by determining that the output voltage detected by the voltage sensor satisfies the voltage sag threshold.

18. The system of claim 17, wherein the controller determines the frequency adjustment based on the droop response, the droop response specifying the amount to reduce the clock rate of the processing unit to compensate for the voltage drop.

19. The system of claim 16, wherein the voltage drop threshold and the drop response are associated with a temperature range.

20. A method comprising: displaying a user interface including user interface elements for adjusting a droop threshold and a droop response associated with operating the processing unit in an overclocked mode; receiving user input via the user interface to adjust the drop threshold and the drop response; When the output voltage of the processing unit meets the adjusted drop threshold, the detection voltage drops; as well as In response to detecting the voltage sag, one or more actions are performed based on the adjusted sag response to compensate for the voltage sag.