[go: up one dir, main page]

CN100461117C - Method for optimizing performance of hardware element capable of adjusting working frequency - Google Patents

Method for optimizing performance of hardware element capable of adjusting working frequency Download PDF

Info

Publication number
CN100461117C
CN100461117C CNB2005101277953A CN200510127795A CN100461117C CN 100461117 C CN100461117 C CN 100461117C CN B2005101277953 A CNB2005101277953 A CN B2005101277953A CN 200510127795 A CN200510127795 A CN 200510127795A CN 100461117 C CN100461117 C CN 100461117C
Authority
CN
China
Prior art keywords
level
working
operating
hardware component
conversion table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2005101277953A
Other languages
Chinese (zh)
Other versions
CN1979433A (en
Inventor
翁铭廷
吴富顺
郑博仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Micro Star International Co Ltd
Original Assignee
Micro Star International Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Micro Star International Co Ltd filed Critical Micro Star International Co Ltd
Priority to CNB2005101277953A priority Critical patent/CN100461117C/en
Publication of CN1979433A publication Critical patent/CN1979433A/en
Application granted granted Critical
Publication of CN100461117C publication Critical patent/CN100461117C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The method for optimizing the performance of hardware element with adjustable working frequency includes detecting the working current of hardware element, converting the detected working current into conversion table to obtain corresponding working level, comparing the obtained working level with the current working level, and regulating the parameters of hardware element and the operation of heat dissipating element of corresponding hardware element to reach high performance.

Description

可调整工作频率的硬件元件的效能最佳化方法 Performance Optimization Method for Hardware Components with Adjustable Operating Frequency

技术领域 technical field

本发明是关于一种频率调制方法,特别是一种可调整工作频率的硬件元件的效能最佳化方法。The present invention relates to a frequency modulation method, in particular to a performance optimization method for hardware components that can adjust operating frequency.

背景技术 Background technique

随着科技的快速发展,人们越来越依赖信息处理装置的使用,大至国家政府、企业系统,小到家庭及个人,为了方便及提高工作的效率,相对的信息处理系统的工作频率亦日趋提升。With the rapid development of science and technology, people rely more and more on the use of information processing devices, ranging from national government and enterprise systems to small families and individuals. In order to facilitate and improve work efficiency, the operating frequency of the relative information processing system is also increasing. promote.

因此,通过计算机配件或接口设备的超/降频,使信息处理系统发挥出最佳的效能是目前最常用的方法之一。以显示卡为例,于显示卡上具有图形处理器(graphic processing unit;GPU),其专门用于处理二维、三维图像,通过时钟信号来进行指令执行和存储器的存取等操作的同步。因此,当通过人为地提高此些时钟信号的频率时,即可提高显示卡的性能。Therefore, it is one of the most commonly used methods at present to make the information processing system play the best performance through over/under frequency of computer accessories or interface devices. Taking a display card as an example, there is a graphics processing unit (GPU) on the display card, which is specially used to process two-dimensional and three-dimensional images, and synchronizes operations such as instruction execution and memory access through clock signals. Therefore, when the frequency of these clock signals is artificially increased, the performance of the graphics card can be improved.

已知对于显示卡的工作频率(clock frequency)的调整方法,也就是所谓的“超频”或“降频”,绝大部分都是由使用者利用手动操作方式来进行调整的。换句话说,对显示卡的超频通常是使用者通过应用软件来手动调整显示卡的核心(core)频率和显存频率。其中,调整核心频率即是对GPU的核心进行超频/降频,此方面类似于对中央处理器(central processing unit;CPU)的内部频率的超频/降频。而调整显存频率即是增加/减少图形缓存的存取速度,藉以减小存储器的瓶颈效应,此方面与对于主机板的外频进行调整以获得更大的存储器带宽是相同道理。Known methods for adjusting the operating frequency (clock frequency) of the display card, namely the so-called "overclocking" or "underclocking", are mostly adjusted by the user through manual operation. In other words, the overclocking of the graphics card usually requires the user to manually adjust the core frequency and memory frequency of the graphics card through application software. Wherein, adjusting the core frequency means overclocking/downclocking the core of the GPU, which is similar to overclocking/downclocking the internal frequency of a central processing unit (central processing unit; CPU). Adjusting the frequency of the video memory is to increase/decrease the access speed of the graphics cache, so as to reduce the bottleneck effect of the memory. This aspect is the same as adjusting the external frequency of the motherboard to obtain greater memory bandwidth.

举例来说,当仅是执行二维(two-dimensional;2D)画面与一般行为时,例如:上网或硬盘重组等,GPU维持原本的速度来运作,以保持一般计算机的使用状态;而当执行须使用到大量GPU资源的行为时,例如:三维(three-dimensional;3D)游戏或图像处理等,则可将GPU与存储器的工作频率提升一定幅度,以助于计算机可以较佳的效能来进行此些行为,例如:游戏或是图像等,的计算。For example, when only performing two-dimensional (2D) images and general actions, such as: surfing the Internet or reorganizing hard disks, etc., the GPU maintains its original speed to operate to maintain the general computer usage status; and when executing When a large number of GPU resources are required to be used, such as: three-dimensional (3-dimensional; 3D) games or image processing, etc., the operating frequency of the GPU and memory can be increased to a certain extent to help the computer to perform better. These actions, such as: the calculation of games or images, etc.

然而,每次人为调整工作频率前,使用者都必须要参考手册说明,并配合其它外围元件的设定,才能够顺利进行调频工作,不但操作程序相当繁琐,而且当使用者相关知识不足时则容易造成调频错误。当调频过当或不足时,往往会造成运作上的额外负担,进而造成相关硬件元件不必要的损耗,以致减少使用寿命。再者,当进行手动调频时,于超频后,若使用者未再进行降频动作之前,显示卡就必须一直在超频的状态下使用,这样不仅耗费电力,也可能减短显示卡的寿命。However, before manually adjusting the operating frequency, the user must refer to the instructions in the manual and cooperate with the settings of other peripheral components to successfully perform the frequency adjustment work. Not only is the operation procedure quite cumbersome, but also the It is easy to cause FM errors. When the frequency adjustment is excessive or insufficient, it will often cause an additional burden on the operation, which in turn will cause unnecessary wear and tear on the relevant hardware components, resulting in a shortened service life. Furthermore, when manual frequency adjustment is performed, after overclocking, if the user does not perform frequency down again, the graphics card must be used in the overclocked state all the time, which not only consumes power, but may also shorten the life of the graphics card.

因此,要如何利用现有的计算机软件程序技术,设计一种可以自动实时调整硬件元件的运作参数,以使硬件元件提供较佳的执行效能,是目前从事相关研发领域人士们所应努力的重要方向。如此一来,不但可避免使用者的人为介入,以减少元件耗损的发生,并且可使计算机配件或接口设备经常保持在最佳化的状态下,以发挥最大的运作效能。Therefore, how to use the existing computer software program technology to design a method that can automatically adjust the operating parameters of the hardware components in real time so that the hardware components can provide better execution performance is an important task for those who are currently engaged in related research and development fields. direction. In this way, not only can the human intervention of the user be avoided to reduce the occurrence of component wear and tear, but also the computer accessories or interface devices can always be kept in an optimized state to maximize the operating performance.

发明内容 Contents of the invention

鉴于以上的问题,本发明的主要目的在于提供一种可调整工作频率的硬件元件的效能最佳化方法,藉以解决现有技术所揭露的硬件元件无法自动调整各项运作参数的问题。In view of the above problems, the main purpose of the present invention is to provide a method for optimizing the performance of hardware components with adjustable operating frequency, so as to solve the problem disclosed in the prior art that the hardware components cannot automatically adjust various operating parameters.

因此,为达上述目的,本发明所揭露的可调整工作频率的硬件元件的效能最佳化方法,包括有下列步骤:检测硬件元件的工作电流;根据测得的工作电流至转换表中取得相对应的工作等级;将取得的工作等级与当前执行的工作等级相比较;当取得的工作等级高于当前执行的工作等级时,执行第一调整动作;以及当取得的工作等级低于当前执行的工作等级时,执行第二调整动作。Therefore, in order to achieve the above-mentioned purpose, the method for optimizing the performance of hardware components with adjustable working frequency disclosed in the present invention includes the following steps: detecting the working current of the hardware component; Corresponding work level; compare the obtained work level with the currently executed work level; when the obtained work level is higher than the currently executed work level, execute the first adjustment action; and when the obtained work level is lower than the currently executed work level When working level, perform the second adjustment action.

其中,第一调整动作包括有下列步骤:根据取得的工作等级和转换表调整硬件元件的工作电压;以及根据取得的工作等级和转换表调整硬件元件的工作频率。而第二调整动作包括有下列步骤:根据取得的工作等级和转换表调整硬件元件的工作频率;以及根据取得的工作等级和转换表调整硬件元件的工作电压。此外,于第一调整动作中,可在调整工作电压之前,先根据取得的工作等级和转换表调整相应硬件元件的散热元件的运作;以及于第二调整动作中,可在调整工作电压之后,根据取得的工作等级和转换表调整相应硬件元件的散热元件的运作,藉以维持硬件元件的散热效果。Wherein, the first adjustment action includes the following steps: adjusting the working voltage of the hardware components according to the obtained working level and the conversion table; and adjusting the working frequency of the hardware components according to the obtained working level and the conversion table. The second adjusting action includes the following steps: adjusting the working frequency of the hardware components according to the obtained working level and the conversion table; and adjusting the working voltage of the hardware component according to the obtained working level and the conversion table. In addition, in the first adjustment action, before adjusting the operating voltage, the operation of the cooling element of the corresponding hardware element can be adjusted according to the obtained operating level and conversion table; and in the second adjustment action, after the operating voltage is adjusted, Adjusting the operation of the heat dissipation element of the corresponding hardware element according to the obtained working level and the conversion table, so as to maintain the heat dissipation effect of the hardware element.

如此一来,通过反复不断地动态检查和调整硬件元件的各项参数,即可使此硬件元件保持于较佳的工作效能。In this way, by repeatedly and dynamically checking and adjusting various parameters of the hardware component, the hardware component can be kept at a better working performance.

再者,可依据实际运用状态而预先建立此转换表,其中于转换表中至少记录有多个工作等级,以及每一工作等级所对应的工作电流、工作电压、工作频率和散热元件的运作。Furthermore, the conversion table can be pre-established according to the actual operating state, wherein at least a plurality of working levels are recorded in the conversion table, and the corresponding working current, working voltage, working frequency and the operation of the cooling element for each working level.

此外,可预先设定初始的当前执行的工作等级,并于每次执行完调整动作后,更新当前执行的工作等级的记录。此外,当系统开机或重新启动时,可通过执行初始化,将当前执行的工作等级回复到预先设定的初始工作等级,接着即可于固定时间间隔反复执行检查和调整动作,进而使应用本发明的硬件元件保持于较佳的工作效能。In addition, the initial currently-executed work level can be preset, and the record of the currently-executed work level can be updated after each adjustment action is performed. In addition, when the system is turned on or restarted, the currently executed work level can be restored to the preset initial work level by performing initialization, and then the inspection and adjustment actions can be repeatedly performed at fixed time intervals, thereby enabling the application of the present invention The hardware components maintain better working performance.

此外,当确认取得的工作等级非当前执行的工作等级时,可先记录取得的工作等级并启动计时一既定时间,然后循环不断地执行硬件元件的工作电流的检测、根据测得的工作电流和转换表取得工作等级,及确认取得的工作等级是否同于前次取得的工作等级;其中,当此次取得的工作等级同于前次取得的工作等级时,则接续确认计时是否达既定时间,并于既定时间到达时,才执行调整动作;而当此既定时间内取得的工作等级有变化时,则不执行后续的调整动作。In addition, when it is confirmed that the obtained work level is not the currently executed work level, first record the obtained work level and start timing for a predetermined time, and then continuously perform the detection of the work current of the hardware components, according to the measured work current and Conversion table to obtain the work level, and confirm whether the obtained work level is the same as the previous work level; among them, when the work level obtained this time is the same as the previous work level, then continue to confirm whether the timing has reached the predetermined time, And when the predetermined time arrives, the adjustment action is executed; and when the work level obtained within the predetermined time has changed, the subsequent adjustment action is not executed.

另外,调整动作亦可采渐近式的方式进行调整。也就是说,当取得的工作等级高于当前执行的工作等级时,执行的第一调整动作,其是先根据当前执行的工作等级和转换表将硬件元件的工作电压调升一等级,再根据当前执行的工作等级和转换表将硬件元件的工作频率调升一等级;反之,当取得的工作等级低于当前执行的工作等级时,执行的第二调整动作,其是先根据当前执行的工作等级和转换表将硬件元件的工作频率调降一等级,然后根据当前执行的工作等级和转换表将硬件元件的工作电压调降一等级。此外,于第一调整动作中,可在调整工作电压之前,先根据当前执行的工作等级和转换表将相应硬件元件的散热元件的运作调升一等级;以及于第二调整动作中,可在调整工作电压之后,再根据当前执行的工作等级和转换表将相应硬件元件的散热元件的运作调降一等级,藉以维持硬件元件的散热效果。In addition, the adjustment action can also be adjusted in a gradual manner. That is to say, when the obtained work level is higher than the currently executed work level, the first adjustment action performed is to first increase the working voltage of the hardware components by one level according to the currently executed work level and the conversion table, and then according to the The currently executed work level and the conversion table will increase the operating frequency of the hardware components by one level; on the contrary, when the obtained work level is lower than the currently executed work level, the second adjustment action is performed, which is based on the currently executed work. The level and conversion table lowers the operating frequency of the hardware element by one level, and then lowers the operating voltage of the hardware element by one level according to the currently executed work level and the conversion table. In addition, in the first adjustment action, before adjusting the operating voltage, the operation of the heat dissipation element of the corresponding hardware element can be increased by one level according to the currently executed work level and the conversion table; and in the second adjustment action, the After the operating voltage is adjusted, the operation of the heat dissipation element of the corresponding hardware element is lowered by one level according to the current operating level and the conversion table, so as to maintain the heat dissipation effect of the hardware element.

本发明提供了一种可调整工作频率的硬件元件的效能最佳化方法,包括有下列步骤:检测该硬件元件的工作电流;根据测得的该工作电流至转换表中取得相对应的工作等级;将该工作等级与当前执行的工作等级相比较;当该工作等级高于该当前执行的工作等级时,执行第一调整动作,其中该第一调整动作包括有下列步骤:根据该工作等级和该转换表调升该硬件元件的工作电压;以及根据该工作等级和该转换表调升该硬件元件的工作频率;以及当该工作等级低于该当前执行的工作等级时,执行第二调整动作,其中该第二调整动作包括有下列步骤:根据该工作等级和该转换表调降该硬件元件的工作频率;以及根据该工作等级和该转换表调降该硬件元件的工作电压,在该将该工作等级与当前执行的工作等级相比较的步骤后,当该工作等级非该当前执行的工作等级时,包括有下列步骤:记录取得的该工作等级并启动计时一既定时间;再次检测该硬件元件的该工作电流;再次根据测得的该工作电流至该转换表中取得相对应的该工作等级;将此次取得的该工作等级与前次取得的该工作等级相比较;当此次取得的该工作等级同于前次取得的该工作等级时,包括有下列步骤:确认该既定时间的计时状态;当达该既定时间时,根据该工作等级和该当前执行的工作等级,执行该第一调整动作和该第二调整动作中之一;以及当未达该既定时间时,返回该再次检测该硬件元件的该工作电流的步骤;以及当此次取得的该工作等级不同于前次取得的该工作等级时,不执行该第一调整动作和该第二调整动作。The invention provides a method for optimizing the performance of a hardware component with adjustable working frequency, which includes the following steps: detecting the working current of the hardware component; obtaining the corresponding working level from the conversion table according to the measured working current ; compare the work level with the currently performed work level; when the work level is higher than the currently performed work level, perform a first adjustment action, wherein the first adjustment action includes the following steps: according to the work level and The conversion table increases the working voltage of the hardware component; and increases the working frequency of the hardware component according to the working level and the conversion table; and when the working level is lower than the currently executed working level, performing a second adjustment action , wherein the second adjustment action includes the following steps: lowering the operating frequency of the hardware component according to the working level and the conversion table; and lowering the operating voltage of the hardware component according to the working level and the conversion table. After the step of comparing the work level with the currently performed work level, when the work level is not the currently performed work level, the following steps are included: record the obtained work level and start timing for a predetermined time; detect the hardware again The working current of the component; again according to the measured working current to the conversion table to obtain the corresponding working level; compare the working level obtained this time with the working level obtained last time; When the work level is the same as the work level obtained last time, it includes the following steps: confirm the timing status of the predetermined time; One of an adjustment action and the second adjustment action; and when the predetermined time has not been reached, return to the step of detecting the operating current of the hardware component again; and when the operating level obtained this time is different from the previous acquisition When the working level is set, the first adjustment action and the second adjustment action are not performed.

本发明还提供了一种可调整工作频率的硬件元件的效能最佳化方法,包括有下列步骤:检测该硬件元件的工作电流;根据测得的该工作电流至转换表中取得相对应的工作等级;将该工作等级与当前执行的工作等级相比较;当该工作等级高于该当前执行的工作等级时,执行第一调整动作,其中该第一调整动作包括有下列步骤:根据该当前执行的工作等级和该转换表将该硬件元件的工作电压调升一等级;以及根据该当前执行的工作等级和该转换表将该硬件元件的工作频率调升一等级;以及当该工作等级低于该当前执行的工作等级时,执行第二调整动作,其中该第二调整动作包括有下列步骤:根据该当前执行的工作等级和该转换表将该硬件元件的工作频率调降一等级;以及根据该当前执行的工作等级和该转换表将该硬件元件的工作电压调降一等级,在该将该工作等级与当前执行的工作等级相比较的步骤后,当该工作等级非该当前执行的工作等级时,包括有下列步骤:记录取得的该工作等级并启动计时一既定时间;再次检测该硬件元件的该工作电流;再次根据测得的该工作电流至该转换表中取得相对应的该工作等级;将此次取得的该工作等级与前次取得的该工作等级相比较;当此次取得的该工作等级同于前次取得的该工作等级时,包括有下列步骤:确认该既定时间的计时状态;当达该既定时间时,根据该工作等级和该当前执行的工作等级,执行该第一调整动作和该第二调整动作中之一;以及当未达该既定时间时,返回该再次检测该硬件元件的该工作电流的步骤;以及当此次取得的该工作等级不同于前次取得的该工作等级时,不执行该第一调整动作和该第二调整动作。The present invention also provides a method for optimizing the performance of a hardware component with an adjustable working frequency, which includes the following steps: detecting the working current of the hardware component; obtaining the corresponding working current from the conversion table according to the measured working current level; compare the work level with the currently performed work level; when the work level is higher than the currently performed work level, perform a first adjustment action, wherein the first adjustment action includes the following steps: according to the current execution According to the working level of the current execution and the conversion table, the working voltage of the hardware component is raised by one level; and the working frequency of the hardware component is raised by one level according to the currently executed working level and the conversion table; and when the working level is lower than When the currently executed work level is used, a second adjustment action is performed, wherein the second adjustment action includes the following steps: according to the currently executed work level and the conversion table, the operating frequency of the hardware component is lowered by one level; and according to The currently executed work level and the conversion table lower the operating voltage of the hardware element by one level, and after the step of comparing the work level with the currently performed work level, when the work level is not the currently performed work Level, including the following steps: record the obtained work level and start timing for a predetermined time; check the working current of the hardware component again; get the corresponding working current in the conversion table according to the measured working current again. Grade; compare the job grade obtained this time with the job grade obtained last time; when the job grade obtained this time is the same as the job grade obtained last time, the following steps are included: Timing state; when the predetermined time is reached, according to the work level and the currently performed work level, perform one of the first adjustment action and the second adjustment action; and when the predetermined time is not reached, return to the again A step of detecting the working current of the hardware component; and when the working level obtained this time is different from the working level obtained last time, not performing the first adjustment action and the second adjustment action.

综合上述,应用本发明,可通过常驻程序(terminate and stay resident;TSR)方式、固件方式或其它方式而执行具有可调整工作频率的硬件元件(例如:处理器、存储器等)的各项参数的调整,及/或执行相应硬件元件的散热元件(例如:风扇等)的运作的调整,以提供较佳的运作状态,且避免额外的电力消耗,进而达到硬件元件效能的最佳化。其中,此处理器可为图形处理器(graphic processing unit;GPU)或中央处理器(central processing unit;CPU)等。Based on the above, the application of the present invention can implement various parameters of hardware elements (such as processors, memory, etc.) Adjustment, and/or the adjustment of the operation of the cooling element (such as: fan, etc.) of the corresponding hardware element, so as to provide a better operating state and avoid extra power consumption, thereby achieving the optimization of the performance of the hardware element. Wherein, the processor may be a graphics processing unit (graphic processing unit; GPU) or a central processing unit (central processing unit; CPU).

有关本发明的特征与实作,兹配合图示作最佳实施例详细说明如下。Regarding the features and implementation of the present invention, the preferred embodiments are described in detail below in conjunction with the drawings.

附图说明 Description of drawings

图1为显示根据本发明第一实施例的可调整工作频率的硬件元件的效能最佳化方法的流程图;FIG. 1 is a flow chart showing a method for optimizing performance of a hardware component with adjustable operating frequency according to a first embodiment of the present invention;

图2A、2B为显示根据本发明的可调整工作频率的硬件元件的效能最佳化方法中调整动作的一实施例的流程图;2A and 2B are flow charts showing an embodiment of an adjustment action in a method for optimizing the performance of a hardware component whose operating frequency can be adjusted according to the present invention;

图3A、3B为显示根据本发明的可调整工作频率的硬件元件的效能最佳化方法中调整动作的另一实施例的流程图;3A and 3B are flow charts showing another embodiment of the adjustment action in the method for optimizing the performance of hardware components with adjustable operating frequency according to the present invention;

图4为显示根据本发明第二实施例的可调整工作频率的硬件元件的效能最佳化方法的流程图;FIG. 4 is a flow chart showing a method for optimizing performance of a hardware component with adjustable operating frequency according to a second embodiment of the present invention;

图5A为显示根据本发明第三实施例的可调整工作频率的硬件元件的效能最佳化方法的流程图;FIG. 5A is a flow chart showing a method for optimizing the performance of a hardware component with adjustable operating frequency according to a third embodiment of the present invention;

图5B为显示根据本发明第四实施例的可调整工作频率的硬件元件的效能最佳化方法的流程图;FIG. 5B is a flow chart showing a method for optimizing performance of a hardware component with adjustable operating frequency according to a fourth embodiment of the present invention;

图6为显示根据本发明第五实施例的可调整工作频率的硬件元件的效能最佳化方法的流程图;FIG. 6 is a flow chart showing a method for optimizing the performance of a hardware component with adjustable operating frequency according to a fifth embodiment of the present invention;

图7为显示根据本发明第六实施例的可调整工作频率的硬件元件的效能最佳化方法的流程图;以及FIG. 7 is a flowchart showing a method for optimizing performance of a hardware component with adjustable operating frequency according to a sixth embodiment of the present invention; and

图8A、8B为显示根据本发明的可调整工作频率的硬件元件的效能最佳化方法中调整动作的又一实施例的流程图。8A and 8B are flow charts showing still another embodiment of the adjustment action in the method for optimizing the performance of hardware components with adjustable working frequency according to the present invention.

具体实施方式 Detailed ways

首先,说明本发明的主要构想,其是利用计算机软件程序来进行计算机配件或接口设备的效能(clock frequency)最佳化的自动调整方法,凡是具有可调整工作频率的硬件元件,均可以应用本发明,以常驻程序(terminate andstay resident;TSR)方式、固件方式或其它方式而执行硬件元件(例如:处理器、存储器等)的各项运作参数(例如:工作频率、工作电压等),且/或执行相应硬件元件的散热元件(例如:风扇等)的运作的调整,进而达到硬件元件效能最佳化。其中,此处理器可为图形处理器(graphic processing unit;GPU)或中央处理器(central processing unit;CPU)等。First of all, the main idea of the present invention is described, which is an automatic adjustment method for optimizing the performance (clock frequency) of computer accessories or interface devices by using computer software programs. This method can be applied to any hardware components with adjustable operating frequency. The invention executes various operating parameters (such as operating frequency, operating voltage, etc.) of hardware components (such as processors, memories, etc.) in the form of resident programs (terminate and stay resident; TSR), firmware, or other methods, and /or execute the adjustment of the operation of the cooling element (for example: fan, etc.) of the corresponding hardware element, so as to achieve the optimization of the performance of the hardware element. Wherein, the processor may be a graphics processing unit (graphic processing unit; GPU) or a central processing unit (central processing unit; CPU).

以下举出具体实施例以详细说明本发明的内容,并以图示作为辅助说明。说明中提及的标号是参照图式标号。Specific embodiments are listed below to describe the content of the present invention in detail, and illustrations are used as auxiliary descriptions. Reference numerals mentioned in the description are reference drawing numerals.

请参照图1,是显示根据本发明一实施例的可调整工作频率的硬件元件的效能最佳化的主要流程,说明如下。Please refer to FIG. 1 , which shows the main process of performance optimization of hardware components with adjustable working frequency according to an embodiment of the present invention, and is described as follows.

于此,会预先建立转换表(步骤100),以应用本发明的计算机软件程序执行时,可参照此转换表进行最佳化调整。此转换表主要是用来记录工作等级、工作电流、工作电压、工作频率和散热元件的运作之间的对应关系,通常会因为硬件的不同以及所采取的定义规格(specification)不同而有所不同。于此虽仅以说明内建有一转换表来记录各项参数(例如:工作等级、工作电流、工作电压、工作频率和散热元件的运作)的对应关系,于实际执行上,亦可通过多个转换表来记录相互对应的各项参数。Herein, a conversion table is established in advance (step 100 ), so that when the computer software program applying the present invention is executed, the conversion table can be referred to for optimal adjustment. This conversion table is mainly used to record the corresponding relationship between the working level, working current, working voltage, working frequency and the operation of the cooling element, usually due to different hardware and different definition specifications (specifications) adopted. . Although it is only described here that there is a built-in conversion table to record the corresponding relationship of various parameters (such as: working level, working current, working voltage, working frequency and the operation of heat dissipation elements), in actual implementation, it can also be implemented through multiple The conversion table is used to record the parameters corresponding to each other.

接着,检测硬件元件的工作电流(步骤200);然后,根据测得的工作电流和转换表取得工作等级(步骤300);确认取得的工作等级是否为当前执行的工作等级(步骤400);当取得的工作等级非当前的工作等级时,则执行调整动作(步骤500),反之,当取得的工作等级为当前的工作等级时,则不执行调整动作。Then, detect the operating current of the hardware element (step 200); then, obtain the operating level (step 300) according to the operating current measured and the conversion table; confirm whether the operating level obtained is the currently executing operating level (step 400); When the obtained work level is not the current work level, the adjustment action is performed (step 500 ), otherwise, when the obtained work level is the current work level, the adjustment action is not performed.

于此,「步骤500」的调整动作,是根据取得的工作等级高于或低于当前的工作等级而逐一进行各项状态的调降或调升。Here, the adjustment action in "step 500" is to lower or increase each state one by one according to whether the obtained work level is higher or lower than the current work level.

于此,调整动作可根据取得的工作等级高于或低于当前的工作等级而分为第一调整动作和第二调整动作。请参照图2A,第一调整动作是指当取得的工作等级高于当前执行的工作等级时,先根据取得的工作等级和转换表调整硬件元件的工作电压(步骤510);然后,根据取得的工作等级和转换表调整硬件元件的工作频率(步骤520)。而第二调整动作是指当取得的工作等级低于当前执行的工作等级时,先根据取得的工作等级和转换表调整硬件元件的工作频率(步骤520);然后,再根据取得的工作等级和转换表调整硬件元件的工作电压(步骤510),如图2B所示。Herein, the adjustment action can be divided into a first adjustment action and a second adjustment action according to whether the obtained work level is higher or lower than the current work level. Please refer to FIG. 2A , the first adjustment action refers to that when the obtained work level is higher than the currently executed work level, first adjust the operating voltage of the hardware element according to the obtained work level and the conversion table (step 510); then, according to the obtained The operating class and conversion table adjusts the operating frequency of the hardware component (step 520). And the second adjustment action refers to that when the obtained work grade is lower than the currently executed work grade, first adjust the working frequency of the hardware element according to the obtained work grade and the conversion table (step 520); then, according to the obtained work grade and the conversion table The conversion table adjusts the operating voltage of the hardware components (step 510), as shown in FIG. 2B.

此外,由于大部分的硬件元件于运作时都会产生大量的热,因此需通过散热元件来协助硬件元件散热,于此,根据本发明的方法亦可对此相应硬件元件的散热元件的运作进行调整;也就是说,针对第一调整动作而言,当取得的工作等级高于当前执行的工作等级时,先根据取得的工作等级和转换表调整散热元件的运作(步骤530);然后,根据取得的工作等级和转换表调整硬件元件的工作电压(步骤510);最后,根据取得的工作等级和转换表调整硬件元件的工作频率(步骤520),如图3A所示。而第二调整动作是指当取得的工作等级低于当前执行的工作等级时,先根据取得的工作等级和转换表调整硬件元件的工作频率(步骤520);再根据取得的工作等级和转换表调整硬件元件的工作电压(步骤510);然后,根据取得的工作等级和转换表调整散热元件的运作(步骤530),如图3B所示。In addition, since most of the hardware components will generate a lot of heat during operation, it is necessary to use cooling elements to assist the hardware components to dissipate heat. Here, according to the method of the present invention, the operation of the cooling elements of the corresponding hardware components can also be adjusted. ; That is to say, for the first adjustment action, when the obtained work level is higher than the currently executed work level, first adjust the operation of the cooling element according to the obtained work level and the conversion table (step 530); then, according to the obtained Adjust the working voltage of the hardware components according to the working level and conversion table (step 510); finally, adjust the working frequency of the hardware components according to the obtained working level and conversion table (step 520), as shown in FIG. 3A. And the second adjustment action refers to when the working grade obtained is lower than the working grade of current execution, first adjust the working frequency of the hardware element according to the working grade obtained and the conversion table (step 520); then according to the obtained working grade and the conversion table Adjust the operating voltage of the hardware components (step 510); then, adjust the operation of the cooling element according to the obtained operating level and conversion table (step 530), as shown in FIG. 3B.

如此一来,只要通过反复不断地动态检查和调整硬件各项参数值,即可使此硬件元件保持于较佳的工作效能。于实际执行上,可于固定时间间隔执行一次「步骤200」、「步骤300」、「步骤400」和/或「步骤500」,来使应用本发明的硬件元件保持于较佳的工作效能。并且,可提供启动功能,以供使用者通过此启动功能输入触发信号,来启动「步骤200」、「步骤300」、「步骤400」和/或「步骤500」的反复执行循环,简单来说,于接收到触发信号(步骤110)时,才启动「步骤200」、「步骤300」、「步骤400」和/或「步骤500」的反复执行循环,如图4所示。In this way, as long as the values of various parameters of the hardware are dynamically checked and adjusted repeatedly, the hardware components can be kept at a better working performance. In actual implementation, "step 200", "step 300", "step 400" and/or "step 500" can be performed once at fixed time intervals to keep the hardware components applying the present invention at better working performance. Moreover, an activation function may be provided for the user to input a trigger signal through the activation function to activate the repeated execution cycle of "step 200", "step 300", "step 400" and/or "step 500". , when a trigger signal is received (step 110), the repeated execution cycle of "step 200", "step 300", "step 400" and/or "step 500" is started, as shown in FIG. 4 .

此外,可预先设定初始的当前执行的工作等级(步骤120),并于每次执行完调整动作后,更新当前执行的工作等级的记录(步骤540),如图5A、图5B所示。此外,当系统开机或重新启动时,可通过执行初始化,将当前执行的工作等级回复到预先设定的初始工作等级(步骤130),接着即可于固定时间间隔反复执行「步骤200」、「步骤300」、「步骤400」和/或「步骤500」,来使应用本发明的硬件元件保持于较佳的工作效能,如图6所示。In addition, an initial currently-executed work level can be preset (step 120), and the record of the currently-executed work level can be updated (step 540) after each adjustment action is performed, as shown in FIG. 5A and FIG. 5B . In addition, when the system is turned on or restarted, the currently executed work level can be restored to the preset initial work level by performing initialization (step 130), and then "step 200", "step 200", " Step 300", "Step 400" and/or "Step 500" to keep the hardware components applying the present invention at better working performance, as shown in FIG. 6 .

其中,当确认取得的工作等级非当前执行的工作等级时,会先记录取得的工作等级并启动计时一既定时间(步骤600),然后循环不断地执行硬件元件的工作电流的检测(步骤210)、根据测得的工作电流和转换表取得工作等级(步骤310),及确认取得的工作等级是否同于前次取得的工作等级(步骤410),当工作等级同于前次取得的工作等级时,确认计时是否达既定时间(步骤700),并于既定时间到达时,才执行调整动作;而当此既定时间内工作等级有变化时,则不执行调整动作,如图7所示。如此一来,即可避免过度频繁执行调整动作。Wherein, when it is confirmed that the obtained work level is not the currently executed work level, the obtained work level will be recorded first and the timer will be started for a predetermined time (step 600), and then the detection of the working current of the hardware components will be continuously performed in a loop (step 210) 1. Obtain the working level (step 310) according to the working current measured and the conversion table, and confirm whether the working level obtained is the same as the previous working level (step 410), when the working level is the same as the previous working level , to confirm whether the timing reaches the predetermined time (step 700), and when the predetermined time is reached, the adjustment action is executed; and when the working level changes within the predetermined time, the adjustment action is not executed, as shown in FIG. 7 . In this way, excessive frequent execution of the adjustment action can be avoided.

举例来说,将本发明应用于显示卡上,可用以调控其GPU和/或存储器的效能,于此,为了方便说明,将工作等级分为闲置(Idle)状态、一般状态和三维(three-dimensional;3D)状态,此时预先建立的转换表中则记录有三种工作等级所对应的工作等级、工作电流、工作电压、工作频率和散热元件的运作。此外,假设预先设定当前执行的工作等级为一般状态,即使用者环境是处于一般运作环境(例如:上网、文书处理或影片播放等状态);当在既定时间内工作电流检测后取得工作等级是于闲置状态时,即使用者环境持续一段时间处于闲置状态(例如:屏幕保护程序执行等状态),则先依据于转换表中闲置状态所对应的工作频率,来调降GPU和/或存储器的工作频率,再依据于转换表中闲置状态所对应的工作电压,来调降GPU和/或存储器的工作电压,然后才依据于转换表中闲置状态所对应的散热元件的运作,而将风扇的转速调降;反之,当在既定时间内工作电流检测后取得工作等级是于3D状态时,即使用者环境持续一段时间处于3D环境(例如:3D游戏或图像处理等状态),则先依据于转换表中3D状态所对应的散热元件的运作,而将风扇的转速调快,再依据于转换表中3D状态所对应的工作电压,来调高GPU和/或存储器的工作电压,然后才依据于转换表中3D状态所对应的工作频率,来调升GPU和/或存储器的工作频率。如此一来,GPU和/或存储器即可随着使用者环境进行动态调整,进而避免额外的电力消耗并提供较佳的效能表现,进而显示卡能提供较佳的效能。For example, applying the present invention to a display card can be used to regulate the performance of its GPU and/or memory. Here, for the convenience of description, the work levels are divided into idle (Idle) state, normal state and three-dimensional (three-dimensional) state. dimensional; 3D) status, at this time, the pre-established conversion table records the corresponding working level, working current, working voltage, working frequency and the operation of the cooling element for the three working levels. In addition, it is assumed that the current working level is pre-set as normal, that is, the user environment is in a normal operating environment (such as: surfing the Internet, document processing, or video playback, etc.); when the working current is detected within a predetermined time, the working level is obtained. When it is in the idle state, that is, the user environment is in the idle state for a period of time (for example: the screen saver is running, etc.), the GPU and/or the memory are first adjusted according to the operating frequency corresponding to the idle state in the conversion table According to the operating frequency corresponding to the idle state in the conversion table, the operating voltage of the GPU and/or the memory is lowered, and then the fan is turned on according to the operation of the cooling element corresponding to the idle state in the conversion table Conversely, when the working level is in the 3D state after detecting the working current within a predetermined period of time, that is, the user environment is in the 3D environment for a period of time (for example: 3D games or image processing, etc.), then first according to According to the operation of the cooling element corresponding to the 3D state in the conversion table, the speed of the fan is increased, and then the operating voltage of the GPU and/or memory is increased according to the operating voltage corresponding to the 3D state in the conversion table, and then According to the operating frequency corresponding to the 3D state in the conversion table, the operating frequency of the GPU and/or the memory is increased. In this way, the GPU and/or the memory can be dynamically adjusted according to the user environment, so as to avoid extra power consumption and provide better performance, so that the graphics card can provide better performance.

再者,此虽然仅以三种工作等级来进行说明,然而于实际应用上,可设计成二种、四种、五种甚至是五种以上的工作等级。并且,于「步骤500」的调整动作可采渐近式的方式进行调整,也就是说,当取得的工作等级高于当前执行的工作等级,第一调整部动作是先根据当前执行的工作等级和转换表将散热元件的运作调升一等级(步骤532);然后,根据当前执行的工作等级和转换表将硬件元件的工作电压调升一等级(步骤512);最后,根据当前执行的工作等级和转换表将硬件元件的工作频率调升一等级(步骤522),如图8A所示。同理,当取得的工作等级低于当前执行的工作等级,则先根据当前执行的工作等级和转换表将硬件元件的工作频率调降一等级(步骤524);再根据当前执行的工作等级和转换表将硬件元件的工作电压调降一等级(步骤514);然后,根据当前执行的工作等级和转换表将散热元件的运作调降一等级(步骤534),如图8B所示。Furthermore, although this is only described with three working levels, in practical applications, it can be designed as two, four, five or even more than five working levels. Moreover, the adjustment action in "step 500" can be adjusted in an asymptotic manner, that is to say, when the obtained work level is higher than the currently executed work level, the first adjustment unit acts first according to the currently executed work level and the conversion table to increase the operation of the cooling element by one level (step 532); then, according to the currently performed work level and the conversion table, the operating voltage of the hardware element is increased by one level (step 512); at last, according to the currently performed work The level and conversion table upscales the operating frequency of the hardware component by one level (step 522), as shown in FIG. 8A. Similarly, when the obtained work level is lower than the currently executed work level, the operating frequency of the hardware element is lowered by one level according to the currently performed work level and the conversion table (step 524); The conversion table lowers the operating voltage of the hardware element by one level (step 514); then, the operation of the cooling element is lowered by one level according to the currently executed operating level and the conversion table (step 534), as shown in FIG. 8B .

举例来说,将本发明应用于显示卡上,可用以调控其GPU和/或存储器的效能,于此,为了方便说明,将工作等级分为第一状态、第二状态、第三状态、第四状态和第五状态,此时预先建立的转换表中则记录有五种工作等级所对应的工作等级、工作电流、工作电压、工作频率和散热元件的运作。此外,假设预先设定当前执行的工作等级为第三状态;当在既定时间内工作电流检测后取得工作等级是于第一状态时,则先依据于转换表中低于第三状态的工作等级(即第二状态)所对应的工作频率,来调降GPU和/或存储器的工作频率,再依据于转换表中低于第三状态的工作等级(即第二状态)所对应的工作电压,来调降GPU和/或存储器的工作电压,然后才依据于转换表中低于第三状态的工作等级(即第二状态)所对应的散热元件的运作,而将风扇的转速调降;反之,当在既定时间内工作电流检测后取得工作等级为第五状态时,则先依据于转换表中高于第三状态的工作等级(即第四状态)所对应的散热元件的运作,而将风扇的转速调快,再依据于转换表中高于第三状态的工作等级(即第四状态)所对应的工作电压,来调高GPU和/或存储器的工作电压,然后才依据于转换表中高于第三状态的工作等级(即第四状态)所对应的工作频率,来调升GPU和/或存储器的工作频率。如此一来,GPU和/或存储器即可随着使用者环境进行动态调整,进而避免额外的电力消耗并提供较佳的效能表现,进而显示卡能提供较佳的效能。For example, applying the present invention to a display card can be used to regulate the performance of its GPU and/or memory. Here, for the convenience of description, the working levels are divided into the first state, the second state, the third state, and the second state. The four states and the fifth state, at this time, the pre-established conversion table records the corresponding working level, working current, working voltage, working frequency and the operation of the cooling element for the five working levels. In addition, it is assumed that the current working level is preset as the third state; when the working level is in the first state after the working current is detected within a predetermined time, then it is based on the working level lower than the third state in the conversion table (i.e. the operating frequency corresponding to the second state) to reduce the operating frequency of the GPU and/or memory, and then based on the operating voltage corresponding to the operating level (i.e. the second state) lower than the third state in the conversion table, to lower the operating voltage of the GPU and/or the memory, and then lower the speed of the fan according to the operation of the cooling element corresponding to the working level lower than the third state (ie, the second state) in the conversion table; otherwise , when the working level is obtained as the fifth state after the working current is detected within a predetermined time, then the fan will be turned on according to the operation of the cooling element corresponding to the working level higher than the third state (that is, the fourth state) in the conversion table According to the working voltage corresponding to the working level (that is, the fourth state) higher than the third state in the conversion table, the working voltage of the GPU and/or memory is increased, and then according to the working voltage higher than the third state in the conversion table The operating frequency corresponding to the operating level of the third state (ie, the fourth state) is used to increase the operating frequency of the GPU and/or the memory. In this way, the GPU and/or the memory can be dynamically adjusted according to the user environment, so as to avoid extra power consumption and provide better performance, so that the graphics card can provide better performance.

虽然本发明以前述的较佳实施例揭露如上,然其并非用以限定本发明,任何本领域技术人员,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明所要求的保护范围须视本说明书所附的权利要求范围所界定者为准。Although the present invention is disclosed above with the above-mentioned preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The scope of protection required by the present invention shall be defined by the scope of claims appended to this specification.

Claims (22)

1.一种可调整工作频率的硬件元件的效能最佳化方法,包括有下列步骤:1. A method for optimizing the performance of hardware components with adjustable operating frequency, comprising the following steps: 检测该硬件元件的工作电流;Detect the operating current of the hardware component; 根据测得的该工作电流至转换表中取得相对应的工作等级;According to the measured working current to obtain the corresponding working level in the conversion table; 将该工作等级与当前执行的工作等级相比较;compare the job level with the currently executing job level; 当该工作等级高于该当前执行的工作等级时,执行第一调整动作,其中该第一调整动作包括有下列步骤:When the work level is higher than the currently executed work level, perform a first adjustment action, wherein the first adjustment action includes the following steps: 根据该工作等级和该转换表调升该硬件元件的工作电压;以及step up the operating voltage of the hardware component according to the operating level and the conversion table; and 根据该工作等级和该转换表调升该硬件元件的工作频率;以及increasing the operating frequency of the hardware component according to the operating level and the conversion table; and 当该工作等级低于该当前执行的工作等级时,执行第二调整动作,其中该第二调整动作包括有下列步骤:When the work level is lower than the currently executed work level, perform a second adjustment action, wherein the second adjustment action includes the following steps: 根据该工作等级和该转换表调降该硬件元件的工作频率;以及reducing the operating frequency of the hardware component according to the operating level and the conversion table; and 根据该工作等级和该转换表调降该硬件元件的工作电压,lowering the operating voltage of the hardware component according to the operating level and the conversion table, 在该将该工作等级与当前执行的工作等级相比较的步骤后,当该工作等级非该当前执行的工作等级时,包括有下列步骤:After the step of comparing the work level with the currently performed work level, when the work level is not the currently performed work level, the following steps are included: 记录取得的该工作等级并启动计时一既定时间;Record the work level obtained and start timing for a predetermined time; 再次检测该硬件元件的该工作电流;Detecting the operating current of the hardware component again; 再次根据测得的该工作电流至该转换表中取得相对应的该工作等级;Obtain the corresponding working level from the conversion table according to the measured working current again; 将此次取得的该工作等级与前次取得的该工作等级相比较;Compare the job grade obtained this time with the job grade obtained last time; 当此次取得的该工作等级同于前次取得的该工作等级时,包括有下列步骤:When the job grade obtained this time is the same as the job grade obtained last time, the following steps are included: 确认该既定时间的计时状态;Confirm the timing status of the predetermined time; 当达该既定时间时,根据该工作等级和该当前执行的工作等级,执行该第一调整动作和该第二调整动作中之一;以及When the predetermined time is reached, one of the first adjustment action and the second adjustment action is performed according to the work level and the currently performed work level; and 当未达该既定时间时,返回该再次检测该硬件元件的该工作电流的步骤;以及When the predetermined time has not been reached, return to the step of detecting the operating current of the hardware component again; and 当此次取得的该工作等级不同于前次取得的该工作等级时,不执行该第一调整动作和该第二调整动作。When the working level obtained this time is different from the working level obtained last time, the first adjustment action and the second adjustment action are not executed. 2.根据权利要求1所述的可调整工作频率的硬件元件的效能最佳化方法,其中该第一调整动作还包括有下列步骤:2. The performance optimization method for hardware components with adjustable operating frequency according to claim 1, wherein the first adjustment action further comprises the following steps: 在该根据该工作等级和该转换表调整该硬件元件的工作电压的步骤前,根据该工作等级和该转换表调整相应该硬件元件的散热元件的运作;以及Before the step of adjusting the working voltage of the hardware component according to the working level and the conversion table, adjusting the operation of the cooling element corresponding to the hardware component according to the working level and the conversion table; and 其中该第二调整动作还包括有下列步骤:Wherein the second adjustment action also includes the following steps: 在该根据该工作等级和该转换表调整该硬件元件的工作电压的步骤后,根据该工作等级和该转换表调整相应该硬件元件的散热元件的运作。After the step of adjusting the working voltage of the hardware component according to the working level and the conversion table, the operation of the cooling element corresponding to the hardware component is adjusted according to the working level and the conversion table. 3.根据权利要求2所述的可调整工作频率的硬件元件的效能最佳化方法,其中该散热元件的运作为风扇的转速。3. The method for optimizing the performance of a hardware component with adjustable working frequency according to claim 2, wherein the cooling component operates as the speed of a fan. 4.根据权利要求1所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:4. The performance optimization method for hardware components with adjustable working frequency according to claim 1, further comprising the following steps: 在该检测该硬件元件的工作电流的步骤前,建立该转换表,其中该转换表至少记录有多个该工作等级,以及每一该工作等级所对应的该工作电流、该工作电压、该工作频率和该散热元件的运作。Before the step of detecting the operating current of the hardware component, the conversion table is established, wherein the conversion table at least records a plurality of the operating levels, and the operating current, the operating voltage, and the operating current corresponding to each of the operating levels. frequency and operation of the cooling element. 5.根据权利要求1所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:5. The performance optimization method for hardware components with adjustable working frequency according to claim 1, further comprising the following steps: 在该检测该硬件元件的工作电流的步骤前,设定初始的该当前执行的工作等级。Before the step of detecting the working current of the hardware component, an initial working level of the current execution is set. 6.根据权利要求4所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:6. The performance optimization method for hardware components with adjustable working frequency according to claim 4, further comprising the following steps: 在执行该第一调整动作和执行该第二调整动作中之一后,依据取得的该工作等级更新该当前执行的工作等级的记录。After executing one of the first adjustment action and the second adjustment action, the record of the currently executed work level is updated according to the acquired work level. 7.根据权利要求1所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:7. The performance optimization method for hardware components with adjustable working frequency according to claim 1, further comprising the following steps: 在该检测该硬件元件的工作电流的步骤前,接收触发信号,以触发该检测该硬件元件的工作电流的步骤的执行。Before the step of detecting the operating current of the hardware component, a trigger signal is received to trigger the execution of the step of detecting the operating current of the hardware component. 8.根据权利要求1所述的可调整工作频率的硬件元件的效能最佳化方法,其中该硬件元件为处理器。8. The method for optimizing performance of a hardware component with adjustable working frequency according to claim 1, wherein the hardware component is a processor. 9.根据权利要求8所述的可调整工作频率的硬件元件的效能最佳化方法,其中该处理器为图形处理器。9. The performance optimization method for hardware components with adjustable working frequency according to claim 8, wherein the processor is a graphics processor. 10.根据权利要求8所述的可调整工作频率的硬件元件的效能最佳化方法,其中该处理器为中央处理器。10. The method for optimizing performance of hardware components with adjustable working frequency according to claim 8, wherein the processor is a central processing unit. 11.根据权利要求1所述的可调整工作频率的硬件元件的效能最佳化方法,其中该硬件元件为存储器。11. The method for optimizing performance of a hardware component with adjustable working frequency according to claim 1, wherein the hardware component is a memory. 12.一种可调整工作频率的硬件元件的效能最佳化方法,包括有下列步骤:12. A method for optimizing the performance of hardware components with adjustable operating frequency, comprising the following steps: 检测该硬件元件的工作电流;Detect the operating current of the hardware component; 根据测得的该工作电流至转换表中取得相对应的工作等级;According to the measured working current to obtain the corresponding working level in the conversion table; 将该工作等级与当前执行的工作等级相比较;compare the job level with the currently executing job level; 当该工作等级高于该当前执行的工作等级时,执行第一调整动作,其中该第一调整动作包括有下列步骤:When the work level is higher than the currently executed work level, perform a first adjustment action, wherein the first adjustment action includes the following steps: 根据该当前执行的工作等级和该转换表将该硬件元件的工作电压调升一等级;以及increasing the operating voltage of the hardware element by one level according to the currently executed operating level and the conversion table; and 根据该当前执行的工作等级和该转换表将该硬件元件的工作频率调升一等级;以及increasing the operating frequency of the hardware component by one level according to the currently executed operating level and the conversion table; and 当该工作等级低于该当前执行的工作等级时,执行第二调整动作,其中该第二调整动作包括有下列步骤:When the work level is lower than the currently executed work level, perform a second adjustment action, wherein the second adjustment action includes the following steps: 根据该当前执行的工作等级和该转换表将该硬件元件的工作频率调降一等级;以及downgrade the operating frequency of the hardware component by one level according to the currently executed operating level and the conversion table; and 根据该当前执行的工作等级和该转换表将该硬件元件的工作电压调降一等级,lowering the operating voltage of the hardware element by one level according to the currently executed working level and the conversion table, 在该将该工作等级与当前执行的工作等级相比较的步骤后,当该工作等级非该当前执行的工作等级时,包括有下列步骤:After the step of comparing the work level with the currently performed work level, when the work level is not the currently performed work level, the following steps are included: 记录取得的该工作等级并启动计时一既定时间;Record the work level obtained and start timing for a predetermined time; 再次检测该硬件元件的该工作电流;Detecting the operating current of the hardware component again; 再次根据测得的该工作电流至该转换表中取得相对应的该工作等级;Obtain the corresponding working level from the conversion table according to the measured working current again; 将此次取得的该工作等级与前次取得的该工作等级相比较;Compare the job grade obtained this time with the job grade obtained last time; 当此次取得的该工作等级同于前次取得的该工作等级时,包括有下列步骤:When the job grade obtained this time is the same as the job grade obtained last time, the following steps are included: 确认该既定时间的计时状态;Confirm the timing status of the predetermined time; 当达该既定时间时,根据该工作等级和该当前执行的工作等级,执行该第一调整动作和该第二调整动作中之一;以及When the predetermined time is reached, one of the first adjustment action and the second adjustment action is performed according to the work level and the currently performed work level; and 当未达该既定时间时,返回该再次检测该硬件元件的该工作电流的步骤;以及When the predetermined time has not been reached, return to the step of detecting the operating current of the hardware component again; and 当此次取得的该工作等级不同于前次取得的该工作等级时,不执行该第一调整动作和该第二调整动作。When the working level obtained this time is different from the working level obtained last time, the first adjustment action and the second adjustment action are not executed. 13.根据权利要求12所述的可调整工作频率的硬件元件的效能最佳化方法,其中该第一调整动作还包括有下列步骤:13. The performance optimization method for hardware components with adjustable operating frequency according to claim 12, wherein the first adjustment action further comprises the following steps: 在该根据该当前执行的工作等级和该转换表将该硬件元件的工作电压调升一等级的步骤前,根据该当前执行的工作等级和该转换表将相应该硬件元件的散热元件的运作调升一等级;以及Before the step of increasing the operating voltage of the hardware element by one level according to the currently executed work level and the conversion table, adjusting the operation of the cooling element of the corresponding hardware element according to the currently executed work level and the conversion table move up a level; and 其中该第二调整动作还包括有下列步骤:Wherein the second adjustment action also includes the following steps: 在该根据该当前执行的工作等级和该转换表将该硬件元件的工作电压调降一等级的步骤后,根据该当前执行的工作等级和该转换表将相应该硬件元件的散热元件的运作调降一等级。After the step of lowering the operating voltage of the hardware element by one level according to the currently executed work level and the conversion table, adjusting the operation of the cooling element of the corresponding hardware element according to the currently executed work level and the conversion table Down a grade. 14.根据权利要求13所述的可调整工作频率的硬件元件的效能最佳化方法,其中该散热元件的运作为风扇的转速。14. The method for optimizing performance of a hardware component with adjustable working frequency according to claim 13, wherein the heat dissipation component operates at the speed of a fan. 15.根据权利要求12所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:15. The method for optimizing the performance of hardware components with adjustable operating frequency according to claim 12, further comprising the following steps: 在该检测该硬件元件的工作电流的步骤前,建立该转换表,其中该转换表至少记录有多个该工作等级,以及每一该工作等级所对应的该工作电流、该工作电压、该工作频率和该散热元件的运作。Before the step of detecting the operating current of the hardware component, the conversion table is established, wherein the conversion table at least records a plurality of the operating levels, and the operating current, the operating voltage, and the operating current corresponding to each of the operating levels. frequency and operation of the cooling element. 16.根据权利要求12所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:16. The method for optimizing the performance of hardware components with adjustable operating frequency according to claim 12, further comprising the following steps: 在该检测该硬件元件的工作电流的步骤前,设定初始的该当前执行的工作等级。Before the step of detecting the working current of the hardware component, an initial working level of the current execution is set. 17.根据权利要求16所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:17. The method for optimizing the performance of hardware components with adjustable working frequency according to claim 16, further comprising the following steps: 在执行该第一调整动作和执行该第二调整动作中之一后,依据取得的该工作等级更新该当前执行的工作等级的记录。After executing one of the first adjustment action and the second adjustment action, the record of the currently executed work level is updated according to the obtained work level. 18.根据权利要求12所述的可调整工作频率的硬件元件的效能最佳化方法,还包括有下列步骤:18. The method for optimizing the performance of hardware components with adjustable operating frequency according to claim 12, further comprising the following steps: 在该检测该硬件元件的工作电流的步骤前,接收触发信号,以触发该检测该硬件元件的工作电流的步骤的执行。Before the step of detecting the operating current of the hardware component, a trigger signal is received to trigger the execution of the step of detecting the operating current of the hardware component. 19.根据权利要求12所述的可调整工作频率的硬件元件的效能最佳化方法,其中该硬件元件为处理器。19. The method for optimizing performance of a hardware component with adjustable working frequency according to claim 12, wherein the hardware component is a processor. 20.根据权利要求19所述的可调整工作频率的硬件元件的效能最佳化方法,其中该处理器为图形处理器。20. The method for optimizing the performance of hardware components with adjustable working frequency according to claim 19, wherein the processor is a graphics processor. 21.根据权利要求19所述的可调整工作频率的硬件元件的效能最佳化方法,其中该硬件元件为中央处理器。21. The method for optimizing performance of a hardware component with adjustable working frequency according to claim 19, wherein the hardware component is a central processing unit. 22.根据权利要求12所述的可调整工作频率的硬件元件的效能最佳化方法,其中该硬件元件为存储器。22. The method for optimizing the performance of a hardware component with adjustable working frequency according to claim 12, wherein the hardware component is a memory.
CNB2005101277953A 2005-12-07 2005-12-07 Method for optimizing performance of hardware element capable of adjusting working frequency Active CN100461117C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101277953A CN100461117C (en) 2005-12-07 2005-12-07 Method for optimizing performance of hardware element capable of adjusting working frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101277953A CN100461117C (en) 2005-12-07 2005-12-07 Method for optimizing performance of hardware element capable of adjusting working frequency

Publications (2)

Publication Number Publication Date
CN1979433A CN1979433A (en) 2007-06-13
CN100461117C true CN100461117C (en) 2009-02-11

Family

ID=38130611

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101277953A Active CN100461117C (en) 2005-12-07 2005-12-07 Method for optimizing performance of hardware element capable of adjusting working frequency

Country Status (1)

Country Link
CN (1) CN100461117C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI723332B (en) * 2019-01-22 2021-04-01 華碩電腦股份有限公司 Computer system management method and computer system

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI597599B (en) * 2012-06-05 2017-09-01 威盛電子股份有限公司 Graphics processing unit and management method thereof
CN110308784A (en) * 2019-04-30 2019-10-08 东莞恒创智能科技有限公司 CPU, GPU based on Nvidia TX2 combine frequency modulation energy-saving optimization method
US20210124378A1 (en) * 2019-10-23 2021-04-29 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Cooling based on hardware activity patterns
CN113009999B (en) * 2019-12-20 2024-11-29 华为技术有限公司 Power adjustment method and device for processor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1448845A (en) * 2002-03-28 2003-10-15 华邦电子股份有限公司 Execution Performance Adjustment Method and Device Applicable to Electronic Devices
US20040027867A1 (en) * 2002-08-12 2004-02-12 Barr Andrew H Management of a memory subsystem
CN1180343C (en) * 2001-04-06 2004-12-15 华邦电子股份有限公司 Device and method for automatically measuring stable working frequency
CN1573707A (en) * 2003-05-15 2005-02-02 三星电子株式会社 Method of testing hard disk drive

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1180343C (en) * 2001-04-06 2004-12-15 华邦电子股份有限公司 Device and method for automatically measuring stable working frequency
CN1448845A (en) * 2002-03-28 2003-10-15 华邦电子股份有限公司 Execution Performance Adjustment Method and Device Applicable to Electronic Devices
US20040027867A1 (en) * 2002-08-12 2004-02-12 Barr Andrew H Management of a memory subsystem
CN1573707A (en) * 2003-05-15 2005-02-02 三星电子株式会社 Method of testing hard disk drive

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI723332B (en) * 2019-01-22 2021-04-01 華碩電腦股份有限公司 Computer system management method and computer system
US11106266B2 (en) 2019-01-22 2021-08-31 Asustek Computer Inc. Computer system management for selecting a first algorithm based on a third data type and a second algorithm based on a target value

Also Published As

Publication number Publication date
CN1979433A (en) 2007-06-13

Similar Documents

Publication Publication Date Title
US7500122B2 (en) Efficiency optimization method for hardware devices with adjustable clock frequencies
TWI443504B (en) Multi-core processor system, dynamic power management method thereof and control apparatus thereof
USRE47658E1 (en) Heat dissipation system for computers
TWI518586B (en) Coprocessor and system performance and power management technology
TWI438615B (en) Power management method and device thereof
KR101471303B1 (en) Device and method of power management for graphic processing unit
JP4422017B2 (en) Method and apparatus for providing a separate power management state
WO2007103051A2 (en) Method and apparatus for using dynamic workload characteristics to control cpu frequency and voltage scaling
US9310872B2 (en) Processor frequency mainly depending on a target frame rate while processing a graphics application
US10860085B2 (en) Modified sleep state graphics processing system
US20110264929A1 (en) Processor performance state optimization
EP2972826B1 (en) Multi-core binary translation task processing
CN110851267A (en) Power management in multiple processor computing devices
CN100461117C (en) Method for optimizing performance of hardware element capable of adjusting working frequency
US12430140B2 (en) Per-lane power management of bus interconnects
TWI539405B (en) Graphics processing system and power gating method thereof
JP6093036B2 (en) Cyclic activity alignment
US8713337B2 (en) Power management method for reducing power of host when turning off main monitor and computer system applying the same
JP2004164530A (en) Battery condition reading method by operation system of portable computer
CN1588273A (en) Power management system for computer systems
TWI342478B (en)
TW201828291A (en) Electronic apparatus and power management method thereof
WO2024093491A1 (en) Performance regulation method and electronic device
TWI401559B (en) Data processing system and regulating method thereof
Akramullah Power Consumption by Video Applications

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant