Increase CPU clock speed to improve system performance

Through the automatic overclocking system, the scoring engine and benchmark testing technology are used to automatically adjust the frequency and voltage of the CPU and cache, solving the problem of difficulty in efficient overclocking in the existing technology and achieving a combination of performance improvement and system stability.

CN112074793BActive Publication Date: 2024-10-29HEWLETT PACKARD DEVELOPMENT COMPANY LP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201880092923.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-06-21
Publication Date
2024-10-29
Estimated Expiration
2038-06-21

AI Technical Summary

Technical Problem

Existing technology is difficult to automate and efficiently overclock chips, resulting in users spending hours of trial and error to improve system performance. Existing tools cannot fully utilize the full capabilities of the CPU or cache, posing stability risks.

Method used

Design an automatic overclocking system that monitors and adjusts the frequency and voltage of the CPU and cache through a scoring engine. It uses the scoring engine to periodically run stability and stress benchmark tests to automatically find the stable operating point of the system and optimize performance.

Benefits of technology

Significantly shorten the time of the overclocking process, improve system performance, ensure system stability, avoid the risks and instability caused by manual overclocking, and provide personalized performance optimization configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112074793B_ABST
    Figure CN112074793B_ABST
Patent Text Reader

Abstract

A method for automatically overclocking a silicon component or chip, such as a central processing unit (CPU), is disclosed. A range of clock frequencies of both the CPU and cache memory of a computer system is tested, wherein parameters are monitored, safety limits of the computer system are ensured, and a benchmark test is run based on a selected benchmark score before the CPU and cache frequencies are reached.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] The manufacture of chips such as application specific integrated circuits (ASICs) or central processing units (CPUs) is a complex process. Small variations in the materials across the wafers from which the chips are formed can lead to significant differences in performance. In addition to material variations, there are also variations associated with the manufacturing process in chemical deposition, photolithography, metal deposition, temperature control, etc., which can further lead to differences between chips.

[0002] Chipmakers typically use a binning strategy, where chips are collected into different bins based on performance, and the bins are then sold separately, some as part of a lottery. Each bin is guaranteed to have some stock performance, but anything beyond that depends on the buyer's luck.

[0003] Chips that are part of the silicon lottery are unlocked, enabling the user to use overclocking, or increase the operating frequency, on them. For example, some gaming systems are sold with unlocked CPUs, whether purchased from the silicon lottery or from other sources. These gaming systems may lack tools to facilitate overclocking, and therefore miss opportunities to enhance system performance.

[0004] Overclocking can be successfully exploited by those who have a deep understanding of computer architecture and the tools used to extract performance from silicon. For others, hours of frustration and risk may accompany such an endeavor. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Certain examples are described in the following detailed description and with reference to the accompanying drawings, in which:

[0006] Figure 1 is a schematic diagram of an automatic overclocking system according to an example.

[0007] Figure 2 is to show how according to an example Figure 1 Schematic diagram of the automatic overclocking system monitoring parameters.

[0008] Figure 3 According to the example, the Figure 1 An example graphical user interface for an automatic overclocking system.

[0009] Figure 4A and 4B It is depicted according to the example Figure 1 Flowchart of the operation of the automatic overclocking system.

[0010] Figure 5 This is a diagram of the example by running Figure 1A graph of the benchmark scores obtained by automatically overclocking the system for fifteen minutes.

[0011] Figure 6 is a diagram showing the Figure 5 A graph of CPU frequencies associated with benchmark scores.

[0012] Fig. 7A and 7B It is depicted according to the example Figure 1 Flowchart of the operation of the automatic overclocking system.

[0013] Figure 8 It is used to execute according to the example Figure 1 Block diagram of a non-transitory machine-readable medium for automatic overclocking.

[0014] The same numbers are used throughout this disclosure and the drawings to refer to the same parts and features. Numbers in the 100 series refer to the Figure 1 , the numbers in the 200 series refer to the features originally found in Figure 2 features found in , and so on. DETAILED DESCRIPTION

[0015] According to examples described herein, a system for automatically overclocking a silicon component or chip, such as a central processing unit (CPU), is disclosed. Via an interface, a user can run a program that automatically tests the range of clock frequencies of both the CPU and cache of a computer system.

[0016] Figure 1 1 is a schematic diagram of an automatic overclocking system 100 according to an example. The automatic overclocking system 100 is a tool to be executed on a computer system (such as a gaming system 104) having a CPU, but the computer system may also include multiple CPUs and a cache or multiple caches. As used herein, a gaming system is a computing device such as a laptop computer that may have a special keyboard or mouse, a high-end graphics chip and a video interface, and other features designed for use with a gaming program, and the gaming system also includes a general-purpose computer. The gaming system 104 may include a multi-core processor with independent operating cores. Although the examples described herein relate to a CPU and a cache, the automatic overclocking system 100 may be executed on any computer system including a chip whose speed and voltage are adjustable.

[0017] The automatic overclocking system 100 executes a scoring engine 102 on a gaming system 104. In an example, the scoring engine 102 includes a code block stored in a storage device of the gaming system or other system under test. In some examples, part or all of the scoring system is implemented in a hardware device such as an application specific integrated circuit (ASIC). In addition to monitoring the parameters 106 of the gaming system 104, the scoring engine 102 also systematically performs CPU manipulation 108 and cache manipulation 110, and obtains an intermediate benchmark score 132 during each modification, thereby generating a selected benchmark score 130. Both the stress benchmark 112 and the stability benchmark 114 are run periodically to achieve the intermediate 132 and 130 selected benchmark scores.

[0018] The CPU manipulation 108 of the scoring engine 102 finds a stable CPU frequency at which the CPU becomes unstable. The scoring engine 102 repeatedly increases the CPU frequency in small or large steps according to the available headroom until the system under test becomes unstable. As used herein, headroom refers to the range or window of units in which modifications are made from the starting unit. Therefore, in the case where the CPU frequency is the unit being measured, the headroom is the range of available frequencies from which the CPU frequency can be modified. During this process, the CPU voltage is also increased incrementally to further help increase the CPU operating speed. After each increment, the stability benchmark 114 is run to determine the stability of the system, and various system parameters are monitored to ensure that they remain within operating limits (such as temperature, among others). The stability benchmark 114 therefore performs a quick check to ensure that the system under test is stable for the system parameters. At the end of the CPU manipulation 108, the selected stable CPU frequency (StableCPUFreq) and its corresponding voltage (CPUVoltage) are determined.

[0019] In addition, the scoring engine 102 of the automatic overclocking system 100 includes a cache manipulation, in which a stable cache frequency is obtained. Similar to the analysis of the CPU frequency, a stable cache operating frequency and voltage are determined. A stability benchmark is run to determine the stability of the system under test, during which the system parameters are again monitored. In the example, the stability benchmark is a fast program intended to verify stability under instantaneous predetermined loads rather than under continuous load conditions. At the end of the cache manipulation 110, a stable cache frequency (StableCacheFreq) and its corresponding voltage (CacheVoltage) are determined.

[0020] Next, a combined stable operating point is sought for both the CPU and cache frequencies. Once this is found, the CPU and cache frequencies are reduced, such as by a few frequency steps below the stable amount. The granularity with which the frequencies are reduced or stepped down can be the same as the granularity used to increase or step up the frequencies, or it can be different. Furthermore, the granularity with which the CPU frequency is changed can be different than the granularity with which the cache frequency is changed. Once the frequencies have been reduced, a more rigorous stress benchmark 112 is performed on the system under test. In the example, the stress benchmark tests the system under sustained load conditions, while the stability benchmark tests under a momentary predetermined load. Figures 4A-4B CPU manipulation 108, cache manipulation 110, pressure reference 112, and stability reference 114 are described in more detail in the flowchart of FIG.

[0021] Figure 2 is to show how according to an example Figure 1 Schematic diagram of automatic overclocking system monitoring parameters of FIG. The monitored parameters 106 include CPU voltage 202, CPU utilization 204, CPU frequency 206, and CPU temperature 208 as monitored by sensor 210. In the case where the gaming system further includes a cache such as cache 128, the monitored parameters 106 further include cache voltage 212, cache utilization 214, cache frequency 216, and cache temperature 218 as monitored by sensor 220.

[0022] Sensors 210 and 220 coupled to the CPU 122 and cache 128, respectively, enable the temperature of each to be monitored, thereby producing a CPU temperature 208 and a cache temperature 218, respectively. A monitored parameter CPU voltage 202 is coupled to the CPU voltage 118 for driving the CPU 122. A monitored parameter cache voltage 212 is coupled to the cache voltage 124 for driving the cache 128.

[0023] The monitored parameter CPU frequency 206 is coupled to the CPU clock 120 of the CPU 122, wherein the CPU clock controls the speed at which the CPU executes instructions. The monitored parameter cache frequency 216 is coupled to the cache clock 126 of the cache 128, wherein the cache clock controls the speed at which the cache stores instructions. The monitored parameters CPU utilization 204 and cache utilization 214 are obtained by measuring the number of instructions executed and cached, respectively, between two time periods.

[0024] In the example, CPU and cache utilization measurements are obtained based on metrics provided by CPU and cache chip vendors. For example, CPU utilization may be based on the following logic:

[0025] CPU_utilization = c0_time * (aperf / mperf);

[0026] Where c0_time = mperf_diff / sel_freq;

[0027] Among them, mperf is a fixed counter and increments at the guaranteed frequency of the core, and aperf increments at the current operating frequency of the core, that is, aperf takes into account throttling turbo, etc. Similarly, current throttling and thermal throttling parameters are obtained based on indicators from the chip manufacturer.

[0028] Manual overclocking is a complex process that is possible only for those users who have a deep understanding of the computer system's hardware, firmware, and software. Understanding the CPU and the parameters involved in controlling its performance, such as voltage, frequency, current, and heat, is part of the knowledge base. Understanding the relationship between the performance and frequency of the CPU clock, how the clock frequency is related to the voltage and power supplied to the CPU, how heat is related to the clock frequency, throttling, and extreme heat issues are all relevant considerations when overclocking. Understanding power delivery solutions and how much power can be delivered for short durations versus average sustained power is also relevant. The nuances of any particular system, such as knowing the temperature limits of the CPU, are also considered in any overclocking plan.

[0029] Additionally, the process of manual overclocking may involve research and learning about various overclocking tools, as well as monitoring the system during the process. The computer system's basic input and output system (BIOS) may also be adjusted during overclocking. In the case of manual overclocking, it is common to consume hours of trial and error iterations.

[0030] Figure 3 Based on the example Figure 1 1 is a simplified diagram of a graphical user interface for an automatic overclocking system of FIG. 100. In one example, the automatic overclocking system 100 automates the process of optimizing the gaming system 104 with a simple click of a button 302 (such as is selectable from the GUI 116). Gaming consoles, such as laptop computers with special keyboards, mice, and other features designed for gaming programs, are often bundled with software programs including a user interface to support gaming. In one example, the automatic overclocking system 100 is activated by selecting the button 302. By shortening the time used to overclock a system, and by automatically providing a stable system, a beneficial user experience can be produced.

[0031] Some motherboard manufacturers (including those of gaming consoles) include overclocking tools. The tool can, for example, enter BIOS mode and activate the "overclocking" function of the CPU. Subsequent overclocking of the CPU is then based on predefined profiles created by the manufacturer. These profiles are not customized for each system, but are common to a group of systems with similar hardware. Therefore, the profiles of these overclocking tools tend to be conservative, and the full capabilities of the CPU or cache are generally not utilized. Existing overclocking tools cannot fully automate the process because users are still subject to trial and error experiments on their systems. Although parameters such as CPU frequency, cache frequency, and core voltage can be modified, parameters such as Turbo Boost power are not available for these tools. Turbo Boost is the Intel trade name for a function of some CPUs, in which the operating frequency is automatically increased when the task being run requires higher performance. By default, it is assumed that Turbo Boost is turned on. Turbo Boost enables a narrow range of improved performance. The automatic overclocking tool 100 can further increase the CPU speed above the speed obtained by the Turbo Boost function.

[0032] In addition to the risk of permanent damage to the gaming system, manual overclocking may result in increased instability of the gaming system.Therefore, there is a portion of the gaming market where the ability to automatically overclock system 100 would be attractive.

[0033] Figure 4A and 4B is a diagram illustrating a method to be performed on a system under test (such as the gaming system 104 above) according to an example. Figure 1 Operation 400 is a flowchart of steps performed by an automatic overclocking system. Figure 4A The system begins by determining the landing zone of the system under test (block 402). The landing zone of the system under test is the initial state in which stability benchmarks are run, parameters are monitored, and both headroom and step size increments are determined. Figure 4B The operations performed during landing zone determination are described in .

[0034] from Figure 1 Recall that the automatic overclocking system 100 includes a scoring engine 102 designed to generate a benchmark score 130 that results in an optimized configuration for a gaming system 104. The scoring engine 102 includes both CPU manipulation 108 and cache manipulation 110. In one example, these operations are independent of each other, and the CPU manipulation 108 can be performed before or after the cache manipulation. Figure 4ASteps 404, 406, 408, 410 and 412 correspond to CPU manipulation 108, while steps 414, 416, 418, 420 and 422 correspond to cache manipulation 110. Although shown first in the flowchart, the CPU manipulation step may be performed after the cache manipulation step.

[0035] Once the landing zone is determined, both the headroom (or range) for improving the CPU and cache frequencies and voltages and the rate of change (step size) of the parameters have been determined. Next, the CPU frequency of the system under test is incremented based on the incremental step size (box 404). The stability benchmark is run again along with parameter and operating limits, such as those specified by the chip manufacturer (box 406). For example, the safe temperature limit for the CPU may be specified as 90°C. The stability benchmark is designed to determine the basic stability of the system under test. In one example, the stability benchmark targets the CPU by running a large load, fully utilizing the CPU and its caches. During the test, the CPU is racing to any CPU frequency / voltage that has been set, and therefore indicates whether the CPU can even reach the frequency set by the automatic overclocking tool.

[0036] As can be seen from the flow chart and pseudo code, the stability benchmark is run several times. In one example, the stability benchmark takes one to two seconds of runtime execution. In one example, a successful run of the stability benchmark generates a score. A failure of the stability benchmark may result in a system failure, which is indicated by no video display or a hang indication (such as a blue screen).

[0037] Next, a query is made as to whether the stability benchmark is passed and whether the system under test is within operating limits (such as temperature, among other things) (block 408). If so, the CPU frequency is incremented again (block 404), and the process is repeated. Otherwise, the CPU frequency is maintained at its current speed, and the CPU voltage is incremented (block 410).

[0038] A query is then made as to whether the CPU voltage limit has been reached or the system under test has crashed (block 412). In an example, the CPU voltage limit is part of the specification established by the chip manufacturer. If not, the CPU frequency is incremented again (block 404), this time with an increased CPU voltage, and the process is repeated. Alternatively, if the CPU voltage limit has been reached or the system under test has crashed, the automatic overclocking system leaves the CPU frequency and voltage in their current states and continues to manipulate the caches of the system under test.

[0039] As about Figure 4BAs described, the landing zone query also determines the range and rate of change of the cache frequency and voltage. Accordingly, the automatic overclocking system 100 changes the cache frequency in step increments (block 414). At the new cache frequency, a stability benchmark is run, and parameters and operating limits (such as temperature, among others) are monitored (block 416).

[0040] A query is then made as to whether the stability benchmark is passed and whether the system under test is within operating limits (such as temperature) (block 418). If so, the cache frequency is incremented again (block 414), and the process is repeated. Otherwise, the cache frequency is maintained at its current speed, and the cache voltage is increased (block 420).

[0041] A query is then made as to whether the cache voltage limit has been reached or the system under test has crashed (block 422). In an example, the cache voltage limit is part of the specification established by the chip manufacturer. If not, the cache frequency is incremented again (block 414), this time with an increased cache voltage, and the process is repeated. Alternatively, if the cache voltage limit has been reached or the system under test has crashed, the automatic overclocking system now knows the stable CPU frequency and voltage and the stable cache frequency and voltage based on the CPU and cache manipulations performed so far.

[0042] At this point, in some examples, based on observation and experimentation, the CPU and cache frequencies are adjusted down or reduced from their current values ​​(block 424). A window of CPU frequency and a separate window of cache frequency are determined. Thus, if the breaking frequency for the CPU is X, and the breaking frequency for the cache is Y, the reduced frequencies might be X-300 and Y-300. Thus, for the CPU, the range of frequencies is X-300 to X, and for the cache is Y-300 to Y. Combinations can be made from these windows, with benchmarks run for each of them.

[0043] A stress benchmark test is run, during which parameters and operating limits (such as temperature) are monitored (block 426). At this step, a benchmark score generated by the stress benchmark test is also collected, which will correspond to Figure 1 The median benchmark score is 132.

[0044] In an example, a stress benchmark is more rigorous than a stability benchmark and is designed to stress test the system under test. In one example, the stress benchmark is run long enough to determine the sustained thermal effects on the system. In another example, the stress benchmark is based on the publicly available Prime95 open source benchmark. In another example, the stress benchmark targets the integer and floating point units of the CPU by performing a fast Fourier transform, thereby placing all CPU cores under extreme load, thereby measuring the full power draw of the system under test. By stressing the system under test more than normal day-to-day use, the automatic overclocking tool is able to identify instability issues by increasing the demands on the system under test beyond what would normally occur. Running the stress test produces a benchmark score that indicates the performance of the system under test based on the current CPU and cache frequencies and voltages.

[0045] Until all combinations of CPU and cache frequencies within the window have been evaluated (block 428), the CPU frequency or cache frequency or both are incremented (block 430). Based on the new values, the stress benchmark is run again, monitoring parameters and operating limits (such as temperature), and a new intermediate benchmark score is obtained (block 426).

[0046] Once the combinations of CPU and cache frequencies within the window have been considered (block 428), the benchmark scores from each iteration of the test are compared (block 432). A stable benchmark score and associated CPU and cache frequency combination is selected (block 432), where each intermediate benchmark score is associated with a given CPU frequency and a given cache frequency. The system under test at the given CPU and cache frequency is saved as its new configuration (block 434).

[0047] Figure 4B is a technique used to determine the landing zone, such as Figure 4A The landing zone is the starting point for subsequent analysis of the automatic overclocking system 100. Run the stability benchmark (block 402A). Monitor such Figure 1 and Figure 2 402B). Based on this initial analysis, any headroom for modification of the system under test is determined (block 402C). And, an initial step size for incrementing the CPU and / or cache frequency is determined (block 402D).

[0048] In an initial landing zone analysis, a stability benchmark is run on the default configuration of the system under test. System parameters such as CPU temperature, current throttling, thermal throttling, etc. are monitored. Based on the parameter values, a determination is made as to how much variation window or headroom is available for adjusting the system parameters. So, for example, if the average temperature is below 40°C, and there is no power throttling, there may be a window in which the CPU frequency can be increased. In a second example, if the measured temperature is over 80°C, and there is some power throttling, there may not be much headroom left in the system under test for additional adjustments.

[0049] Based on the available headroom, the granularity of modifying the CPU and / or cache frequency is determined. For example, with considerable headroom, the CPU speed may be changed in increments of 500 MHz. With less headroom, the CPU speed may instead be changed in increments of 100 MHz.

[0050] In an example, the automatic overclocking system 100 relies on finding individual break points or ceilings for CPU speed, cache speed, CPU voltage, and cache voltage, and then reducing these values ​​for the combined configuration, such as in Figures 4A-4B in the flowchart and in Figure 5 As shown in the pseudo code of A-5D.

[0051] The analysis of benchmark scores and the subsequent saving of updated system configurations may be illustrated with some examples. Leaving the CPU and cache voltages unanalyzed for now, for example, assume that the stable CPU frequency for the system under test is X MHz, and the stable cache frequency is Y MHz. For the CPU, the granularity of change is A, and for the cache, the granularity of change is B. Then, assume that method 100 dials back both CPU and both cache frequencies.

[0052] The combinations of CPU and cache frequencies to be tested are shown in Table 1. The table shows that with two additional frequencies for each of the CPU and cache, there are nine configurations to be tested.

[0053] Table 1. CPU and cache frequency combinations to test

[0054]

[0055] Therefore, the automatic overclocking system 100 finds the combined stable operating point of the system under test by testing several different combinations of CPU and cache frequencies below the measured stable frequency of each. A more stringent stress benchmark is run for each configuration, generating multiple benchmark scores. Therefore, in the example of Table 1, there will be nine different benchmark scores based on nine combinations of CPU and cache frequencies. In addition, other parameters and operating limits are monitored.

[0056] Table 2 shows hypothetical benchmark scores for a CPU and cache with the characteristics of Table 1 above. Figure 4A For the analysis, each of the CPU frequency and cache frequency is considered stable. The benchmark scores are compared to determine the stable score at the selected CPU frequency and the selected cache frequency.

[0057] Table 2. Benchmark scores

[0058]

[0059] In Table 2, a benchmark score of 7 is selected and found in two locations in the table. A benchmark score of 7 is generated when the CPU frequency is X and the cache frequency is Y-2B and when the CPU frequency is X-2A and the cache frequency is Y. The selected CPU and cache frequencies at the corresponding voltages are then saved as stable overclocked configurations for the system under test. In the example, a configuration with a CPU frequency of X and a cache frequency of Y-2B is selected.

[0060] In some examples, operating parameters, such as temperature and power, are continuously monitored during operation of the automatic overclocking system 100. In the event that operating parameters approach device limits, stress benchmarking is stopped and the CPU and / or cache frequencies are reduced to move the system back into a safe zone.

[0061] In another example, a stress benchmark is run and an intermediate benchmark score is obtained during each iteration (such as each increase in CPU frequency or voltage). If the benchmark score does not improve upon further increasing the CPU and / or cache frequency, the frequency increments are stopped. In the event that multiple runs of the stress benchmark produce the same results, the automatic overclocking system 100 picks the benchmark score associated with the lowest CPU and / or cache frequency.

[0062] In the example, the automatic overclocking system 100 assumes that the ambient temperature of the system under test does not change dramatically. In the case where the ambient temperature of the system does change significantly, the automatic overclocking system can be re-run to find a new operating configuration of the system under test.

[0063] Silicon aging is an ongoing problem that no system is immune to. Overclocking the CPU and / or cache frequency may actually exacerbate silicon aging. To mitigate this, in some examples, the automatic overclocking system 100 is run at regular intervals, such as once a month or once a year. As the system and its internal silicon components age, MaxStableCPUFreq and MaxStableCacheFreq may be reduced over time by re-running the automatic overclocking tool.

[0064] In some examples, the automatic overclocking system 100 is executed via machine-readable instructions, such as a software program, running on a system under test, collecting system parameters for an idle system, monitoring the parameters, and running a stability benchmark to determine changes in the parameters, such as temperature, CPU utilization, CPU frequency, and the like. The machine-readable instructions, such as a software program, running on the system under test then determine whether there are changes in the parameters. Based on those changes and the values ​​of the parameters, the software program determines the step size for increasing the CPU and cache frequencies. If there is considerable headroom, a coarser / larger step size, such as 500 MHz increments, is selected for each of the CPU and cache frequencies. Alternatively, if the monitored parameter values ​​are already close to the limits, a finer / smaller step size, such as 100 MHz increments, is selected for each of the CPU and cache frequencies. The initial CPU and cache frequencies are saved.

[0065] For CPU testing, a stable CPU frequency is sought after a step increase, before the system under test fails. If the system crashes or reboots, known good configuration parameters are saved. The CPU frequency is incremented by the selected step size, a stability benchmark is run, and the parameters are monitored, where continuous monitoring of the system is performed, watching for safety violations such as over-temperature, over-current, etc. If any parameter limit is violated, the benchmark is stopped and a stable configuration is saved.

[0066] In the case of a successful stability benchmark run, the CPU frequency is incremented and the process is repeated. The process of incrementing, testing, and monitoring is repeated until the stability benchmark fails or a safety violation of the system under test occurs, at which point the stable system configuration is saved.

[0067] At this stage, the CPU voltage is increased and the CPU is restored to the initial state, and then the CPU frequency increment, stability test execution and parameter monitoring are repeated until the benchmark fails or the system under test encounters a safety violation. At this moment, the stable CPU frequency and the associated CPU voltage are saved.

[0068] The CPU configuration is restored to baseline values ​​before starting the cache frequency manipulation test. For cache testing, a stable cache frequency is sought before the system under test fails. If the system crashes or restarts, the known good configuration parameters are saved. The cache frequency is incremented by the selected step size, the stability benchmark is run, and the parameters are monitored, where continuous monitoring of the system is performed, with attention paid to safety violations such as overheating, overcurrent, etc. If any parameter limit is violated, the benchmark is stopped and the stable configuration is saved.

[0069] In the case of a successful run of the stability benchmark, the cache is restored to its initial state, then the cache frequency is incremented and the process is repeated. The process of incrementing, testing, and monitoring is repeated until the stability benchmark fails or a safety violation of the system under test occurs, at which point the stable system configuration is saved.

[0070] At this stage, the cache voltage is increased, and the cache frequency increment, stability test execution, and parameter monitoring are repeated until the benchmark fails or the system under test encounters a safety violation. At this point, the stable cache frequency and associated cache voltage are saved.

[0071] Once the combined CPU and cache frequencies at the corresponding voltages are determined, the CPU frequency is stepped back a few iterations, and the cache frequency is stepped back a few iterations. At this point, the stress benchmark is run across all combinations of CPU frequency and cache frequency between the step-back amount and the stable amount, with a benchmark score generated for each. During each stress test, the parameters are monitored and the system configuration is saved at the stable CPU and cache frequencies where the benchmark succeeded. One of the benchmark scores during the run is selected and the configuration of the system under test at the selected benchmark score is saved.

[0072] Figure 5 5 is a graph 500 showing the results of running the automatic overclocking system 100 according to an example. In one example, a 30% performance modification was found within fifteen minutes of running the tool. The Y-axis shows the stress benchmark score, which is based on the Prime95 CPU benchmark, and the X-axis shows the iteration count. In this example, by running the automatic overclocking tool, the benchmark score was improved from 1028 to 1340 in 17 iterations.

[0073] Figure 6 6 is a graph 600 showing the relationship between CPU frequency and benchmark score when running the automatic overclocking tool 100. In 17 iterations, the CPU frequency was increased from 4.1 GHz to almost 4.5 GHz. Due to the safety measures described above, a user running the automatic overclocking tool can be satisfied that 4.5 GHz is a safe CPU operating speed for the system under test.

[0074] Fig. 7A and 7B 700A and 700B are flowcharts illustrating Figure 1 The ability to automatically overclock the system. Figure 1 Flowchart 700A features CPU manipulation, while flowchart 700B features cache manipulation.

[0075] In flow chart 700A, parameters of the system under test are monitored (block 702), and a stability benchmark is run (block 704). These operations may occur in reverse order. Then, as described above, the CPU is manipulated (block 706), which includes changes in both the CPU operating frequency and voltage. These three steps are repeated iteratively until a modified stable CPU operating frequency and associated voltage are obtained (arrow moves from block 706 to block 702). A more stringent stress benchmark is run (block 708), and this may also result in iteratively monitoring parameters, running stability benchmarks, and manipulating CPU frequency and voltage (arrow moves from block 708 to block 702). Once a satisfactory benchmark score is achieved, the system configuration is updated with the new CPU frequency and voltage (block 710).

[0076] In flow chart 700B, the parameters of the system under test are monitored (block 712), and a stability benchmark is run (block 714). These operations may occur in reverse order. Then, as described above, the cache is manipulated (block 716), which includes changes in both the cache operating frequency and the voltage. These three steps are repeated iteratively until a modified stable cache operating frequency and associated voltage are obtained (arrow moves from block 716 to block 712). A more stringent stress benchmark test is run (block 718), and this may also result in iteratively monitoring parameters, running stability benchmark tests, and manipulating cache frequency and voltage (arrow moves from block 718 to block 712). Once a satisfactory benchmark score is reached, the system configuration is updated with the new cache frequency and voltage (block 720).

[0077] Figure 8 It is used to execute according to the example Figure 1 As indicated by arrow 804, processor 802 may access the non-transitory machine-readable medium through a reader mechanism.

[0078] The non-transitory machine-readable medium 900 may include code, specifically modules 806, 808, 810, and 812, to direct the processor 802 to implement operations for executing an automatic overclocking system. CPU manipulation 806 repeatedly increases the CPU frequency or voltage and monitors the parameters and operating limits of the system under test until the CPU frequency cap has been reached. Cache manipulation 808 repeatedly increases the cache frequency or voltage and monitors the parameters and operating limits of the system under test until the cache frequency cap has been reached. Once the CPU and cache manipulations are completed, a stress benchmark 810 is run to determine whether the system under test is stable at the frequencies. At several times during the CPU and cache manipulations, a stability benchmark 812 is run, and parameter monitoring 814 is performed.

[0079] Although the present technology may be susceptible to various modifications and alternative forms, the technology discussed above has been shown by way of example. It is to be understood that the present technology is not intended to be limited to the specific examples disclosed herein. In fact, the present technology includes all alternatives, modifications and equivalents that fall within the scope of the following claims.

Claims

1. An automatic overclocking method, comprising: running a stability benchmark of the computer system to obtain an initial CPU frequency of a central processing unit (CPU) of the computer system, wherein the CPU is not locked; Incrementally increasing the CPU frequency from the initial CPU frequency and running the stability benchmark until the computer system no longer operates within the operating limits indicated by the stability benchmark; Save the current CPU frequency of the computer system before reaching the operating limit; Characterized in that the method further comprises: When the computer system no longer operates within the operating limits, maintaining the CPU frequency at the saved frequency and increasing the CPU voltage incrementally from the initial CPU voltage until the computer system fails; and Runs a stress benchmark, generating a CPU benchmark score.

2. The method according to claim 1, wherein: The configuration of the computer system is updated based on the CPU benchmark score and the saved CPU frequency, wherein the CPU benchmark score has a value that is the same as or higher than the other CPU benchmark score.

3. The method according to claim 2, further comprising: Incrementally increasing the cache frequency and running the stability benchmark until the computer system no longer operates within the operating limits indicated by the stability benchmark; Saving the current cache frequency of the computer system before reaching the operating limit; increasing the cache voltage from an initial cache voltage until any computer system fails; as well as Runs a stress benchmark to generate a cache benchmark score.

4. The method according to claim 3, wherein: The configuration of the computer system is updated based on both the cache baseline score and the stored cache frequency, wherein the cache baseline score has a value that is the same as or higher than the other cache baseline scores.

5. The method according to claim 4, further comprising: For each combination of CPU frequency, cache frequency, CPU voltage, and cache voltage, the stress benchmark is run repeatedly to generate corresponding benchmark scores.

6. The method according to claim 5, wherein: The configuration of the computer system is updated based on the following: a selected benchmark score of the corresponding benchmark score, wherein the selected benchmark score has the same or higher value than the other benchmark scores of the corresponding benchmark score; The saved CPU frequency; and How often the cache is saved.

7. The method according to claim 6, further comprising: Once the cache voltage limit is reached, the CPU frequency is reduced.

8. The method according to claim 6, further comprising: Once the cache voltage limit is reached, the cache frequency is reduced.

9. The method according to claim 1, further comprising: Determines the step size used to increase CPU and cache frequencies.

10. An automatic overclocking system, comprising: A stability benchmark object to be executed on a computer system, the computer system including a central processing unit (CPU) operating at a CPU frequency and a CPU voltage; a stress benchmark object to be executed on the computer system to generate a benchmark score; and CPU control unit, in which CPU frequency and CPU voltage are modified; Wherein, the stability and stress benchmark objects are run during execution of the CPU manipulation unit, wherein the automatic overclocking system is used to perform the method of any one of claims 1-9.

11. The system according to claim 10, wherein: Stability benchmark object monitoring: Temperature changes in computer systems; CPU utilization; The stable frequency of the CPU; and The voltage of the CPU.

12. The system according to claim 11, further comprising: a cache manipulation unit, in which cache frequency and cache voltage are modified; Among them, stability and stress benchmark objects are run during execution of the cache manipulation unit.

13. A machine-readable medium having stored therein instructions which, in response to being executed on a computing device, cause the computing device to: Alternately incrementing a central processing unit (CPU) frequency of the computing device and operating a stability benchmark until the computing device no longer operates within operating limits indicated by the stability benchmark, wherein Save the CPU frequency of the computing device before reaching the operating limit; alternately incrementing the cache frequency and running the stability benchmark until the computing device no longer operates within an operating limit indicated by the stability benchmark, wherein the cache frequency of the computing device is preserved until the operating limit is reached; and Increase the CPU voltage from the initial CPU voltage until the CPU voltage limit is reached; The stress benchmark is repeatedly run for each combination of CPU frequency from the initial CPU frequency to the saved CPU frequency and voltage from the initial CPU voltage to the CPU voltage limit, thereby generating corresponding CPU benchmark scores.

14. The machine-readable medium of claim 13, further causing a computing device to: Incrementally increasing the cache voltage from an initial cache voltage until a cache voltage limit is reached; and For each combination of cache frequency and voltage, the stress benchmark is repeatedly run to generate a corresponding cache benchmark score, wherein the cache frequency is from the initial cache frequency to the saved cache frequency and the voltage is from the initial cache voltage to the cache voltage limit.

Citation Information

Patent Citations

  • Frequency multiplying method and system for CPU

    CN1368684A

  • Method, apparatus, system, and graphical user interface for selecting overclocking parameters of a graphics system

    US7382366B1