The present invention relates generally to a computer system, and particularly to a computer system capable of adjusting the operating frequency dynamically for improving its performance.
Because of rapid development of modern personal computers, users may easily find that the operating speed and functionality of a Central Processing Unit (CPU) increase day by day. Since Intel launched the CPU working at 25 MHz, computers have kept developing for years and CPUs with operating frequencies of 300, 500, and 600 MHz were introduced continuously. Nowadays, the operating frequency of the CPU in a computer system has reached above 3 GHz. Nonetheless, the prices of CPUs get higher and higher accordingly. Thereby, in order to improve the processing speed of a CPU without purchasing a new one, over-frequency is often adopted. The principle of over-frequency of a CPU is to increase its operating frequency for improving its processing speed.
Currently, over-frequency of a general computer system is achieved by adjusting the core voltage and external frequency (the frequency of system bus) of the CPU. The adjusting method includes adjusting via the Basic Input/Output System (BIOS) or via the Graphical User Interface (GUI). A user configures the relevant parameters. Afterwards, the computer system has to be restarted for executing the new parameters. In addition, because the new parameters might not be appropriate values, the computer system may encounter abnormal start-up or halt without further operations. Alternatively, the computer system may operate unstably, and then encounter problems after a period of time. In such circumstances, it is required to reconfigure the parameters via the BIOS or the GUI until the computer system can start and operate stably. According to the description above, although over-frequency of a CPU may give the highest operating frequency, the adjusting efficiency is extremely low because a user needs to configure the parameters and restart the computer system repeatedly and tediously.
Moreover, from the perspective of a computer system, the computer system might halt, shut down, or even the electronic components, such as the CPU, might be burned caused by the problems of insufficient system power or bad heat dissipation during over-frequency if the maximum tolerance of the total power consumption and the design of power supply, as well as the limitations of the overall heat dissipation, are not taken into considerations. Besides, the current over-frequency designs use fixed parameters. In other words, after the parameters are configured to determine the operating frequency of a CPU, the CPU will operate at this fixed operating frequency once the computer system is restarted. Thereby, under all circumstances, the CPU will process all events using a higher operating frequency. For portable devices containing batteries, the battery time will be reduced drastically once it operates in the battery mode because the CPU is over-frequency operating and consumes higher battery power.
Accordingly, the present invention provides a computer system capable of adjusting the operating frequency dynamically. Not only solving the drawbacks described above, the performance of the computer system is also improved and power is saved as well.
An objective of the present invention is to provide a computer system capable of adjusting the operating frequency dynamically. The computer system can adjust the operating voltage and frequency of the processor real-timely and dynamically according to the loading status of the processor for achieving the purposes of improving the performance of the computer system as well as saving power.
Another objective of the present invention is to provide a computer system capable of adjusting the operating frequency dynamically. The computer system judges if its total power consumption exceeding a power threshold value. When the total power consumption is greater than the power threshold value, the operating frequency of the processor is reduced for stabilizing the operation of the computer system.
Still another objective of the present invention is to provide a computer system capable of adjusting the operating frequency dynamically. The computer system adjusts the operating frequency of the processor according to its heat for stabilizing the operation of the computer system.
The computer system capable of adjusting operating frequency dynamically according to the present invention is used for adjusting the operating frequency of at least a processor in a computer system and comprises at least a processor voltage-adjusting unit, a clock-generating circuit, at least a load-detecting unit, and a control unit. The processor voltage-adjusting unit produces a processor operating voltage and transmits it to the processor. The clock-generating circuit produces a clock signal and transmits it to the processor for determining the operating frequency of the processor. The load-detecting unit is used for detecting the operating status of the processor and producing a detecting signal, which is related to the load of the processor. The control unit produces a processor voltage-adjusting signal and a clock-adjusting signal according to the detecting signal. The processor voltage-adjusting unit adjusts the operating voltage according to the processor voltage-adjusting signal. The clock-generating circuit adjusts the frequency of the clock according to the clock-adjusting signal and hence adjusting the operating frequency of the processor. The computer system according to the present invention adjusts the operating frequency real-timely and dynamically according to the loading status of the processor while the computer system is operating. Thereby, the performance of the computer system can be enhanced.
In order to make the structure and characteristics as well as the effectiveness of the present invention to be further understood and recognized, the detailed description of the present invention is provided as follows along with embodiments and accompanying figures.
According to the embodiment shown in
The first processor voltage-adjusting unit 13 and the second processor voltage-adjusting unit 14 produce a processor operating voltage, respectively. According to the present embodiment, the processor operating voltages are a first processor operating voltage and a second processor operating voltage, which are transmitted to the CPU 10 and GPU 11 to act as their core voltage. The first load-detecting unit 15 is used for detecting the operating status of the CPU 10, for example, detecting the core current of the CPU 10, and producing a detecting signal. Alternatively, the CPU's executed commands, types of events processed, temperature, or heat can be detected. Thereby, the loading status of the CPU 10 is known according to the detecting signal. An embodiment of the first load-detecting unit 15 can be current-detecting unit, a hardware circuit, or a software program. Likewise, the second load-detecting unit 16 can be used for detecting the operating status of the GPU 11 and producing the detecting signal for giving the loading status of the GPU 11.
Refer again to
Likewise, the control unit 18 will produce the second processor voltage-adjusting signal according to the detecting signal of the second load-detecting unit 16 for controlling the operating voltage of the second processor of the second processor voltage-adjusting unit 14 and thereby adjusting the core voltage of the GPU 11. Besides, the control unit 18 also will adjust the frequency of the clock signal of the GPU 11 according to the detecting signal for adjusting the operating frequency of the GPU 11. According to an embodiment of the present invention, the GPU 11 has various execution modes corresponding to various operating frequencies. The control unit 18 drives the GPU 11 to enter the appropriate execution mode according to the detecting signal for adjusting the operating frequency of the GPU 11. The signal according to which the control unit 18 drives the GPU 11 to enter various execution modes described above is equivalent to the clock-adjusting signal.
The control unit 18 according to the present invention knows the loading status of the CPU 10 and the GPU 11 according to the detecting signals of the first and second load-detecting units 15, 16 and thereby judges if the loads of the CPU 10 and the GPU 11 exceeds a load threshold value. If the load is not greater than the load threshold value, it means that the load is not heavy and over-frequency is required. When the load is greater than the load threshold value and over-frequency is needed, the control unit 18 will raise the operating voltage as well the frequency of the clock signal of the CPU 10 and the GPU 11.
In
The present invention further comprises a heat-sensing unit 24, a heat-dissipating controller 25, and a heat sink 26. The heat-sensing unit 24 senses the heat of the GPU 11 for producing a sensing signal. After the control unit 18 receives the sensing signal, it produces a heat-dissipating adjusting signal according to the sensing signal and drives the heat-dissipating controller 25 to produce a heat-dissipating control signal for controlling the operation and heat-dissipating efficiency of the heat sink 26. For example, when the control unit 18 knows that the temperature of the GPU 11 is excessive, it will drive the heat-dissipating controller 25 to control the heat sink 26 for increasing heat-dissipating efficiency. If, for example, the heat sink 26 is a fan, then the spinning speed of the fan is increased for preventing the GPU 11 from abnormal operations due to overheat. The heat-sensing unit 24 described above can also sense the heat of the CPU 10 for providing the control unit 18 to control the heat sink used for dissipating heat from the CPU 10.
Furthermore, the control unit 18 can also produce the first processor voltage-adjusting signal, the second processor voltage-adjusting signal, and the clock-adjusting signal according to the sensing signal for controlling the first and the second processor voltage-adjusting units 13, 14 to adjust the first processor operating voltage and the second processor voltage-adjusting signal and controlling the clock-generating circuit 12 to adjust the frequency of the clock signal. Thereby, the operating frequencies of the CPU 10 as well as the GPU 11 can be reduced and thus reducing their temperature and avoiding overheat.
As shown in the step S20, the second load-detecting unit 16 detects the operating status of the GPU 11 for judging if the load of the GPU 11 exceeds the load threshold value. If not, as shown in the step S22, over-frequency of the GPU 11 is not required; if yes, as shown in the step S23, the control unit 18 raises the operating voltage and frequency of the GPU 11. The load threshold value described above can be configured according to the requirements.
According to the present invention, in order to avoid excessive consumption of total power of the computer system and affecting its stability, as shown in the step S30, after executing over-frequency of the CPU 10 and the GPU 11, the control unit 18 will computer total power consumption of the computer system and judge if the total power consumption exceeds a power threshold value. If the total power consumption is greater than the power threshold, the step S32 is executed, in which the control unit 18 reduces the operating frequency and voltage of the CPU 10 and the GPU 11 for reducing the total power consumption of the computer system. Besides, the control unit 18 can also reduce the operating frequency and voltage of the CPU 10 only or the GPU 11 only. If the total power consumption is smaller than the power threshold, as shown in the step S33, the control unit 18 does not adjust the operating frequency of the CPU 10 and the GPU 11. The control unit 18 according to the present invention knows the power output by the power supply of the computer system, and hence knowing the total power consumption of the computer system. In addition, the control unit 18 samples and knows the total power consumption of the computer system for each fixed sampling time. It then averages the acquired total power consumption and thus preventing erroneous judgments. Moreover, the control unit 18 can know the power consumption of the CPU 10 and the GPU 11 through the detecting signals of the first and the second load-detecting units 15, 16.
When the control unit 18 according to the present invention adjusts the operating frequency of the processor in the computer system, it produces the processor voltage-adjusting signal the clock-adjusting signal according to a look-up table (as shown in
In general, two distinct processors do not need to be both in the high-performance status. For instance, when the CPU 10 is performing MPEG2 coding/decoding, the CPU 10 needs over-frequency while the GPU 11 needs not. At this moment, if slight under-frequency is performed on the GPU 11 for reducing the total power consumption of the computer system, the over-frequency range of the CPU 10 will be increased and further increasing the operating frequency of the CPU 10. Thereby, the performance of the computer system can be maximized Likewise, over-frequency is required when the GPU 11 is executing 3D video playback. Meanwhile, over-frequency is not necessary for the CPU 10. Then, under-frequency can be performed on the CPU 10 for increasing the over-frequency range of the GPU 11.
To sum up, the computer system capable of adjusting the operating frequency dynamically according to the present invention adjusts the operating frequency of the computer real-timely and dynamically without needing to restart the computer system according to the loading status of the processor in the computer system while the computer system is operating. When the computer system according to the present invention adjusts the operating frequency of the processor according to the loading status of the processor in the computer system, the operating voltage of the processor will be adjusted for stabilizing the operating status of the processor. Afterwards, the frequency of the clock signal provided to the processor is adjusted for adjusting the operating frequency of the processor. Thereby, when the load of the computer system is increased, the operating frequency of the processor is raised real-timely and thus enhancing the processing performance of the computer system.
Accordingly, the present invention conforms to the legal requirements owing to its novelty, nonobviousness, and utility. However, the foregoing description is only embodiments of the present invention, not used to limit the scope and range of the present invention. Those equivalent changes or modifications made according to the shape, structure, feature, or spirit described in the claims of the present invention are included in the appended claims of the present invention.
This application is based on Provisional Patent Application Ser. No. 61/362,807, filed 9 Jul. 2010, currently pending.
Number | Date | Country | |
---|---|---|---|
61362807 | Jul 2010 | US |