[go: up one dir, main page]

CN101231551A - Multiprocessor system and efficiency adjusting method thereof - Google Patents

Multiprocessor system and efficiency adjusting method thereof Download PDF

Info

Publication number
CN101231551A
CN101231551A CNA200710008123XA CN200710008123A CN101231551A CN 101231551 A CN101231551 A CN 101231551A CN A200710008123X A CNA200710008123X A CN A200710008123XA CN 200710008123 A CN200710008123 A CN 200710008123A CN 101231551 A CN101231551 A CN 101231551A
Authority
CN
China
Prior art keywords
processing unit
processing units
control unit
mentioned
processing
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.)
Granted
Application number
CNA200710008123XA
Other languages
Chinese (zh)
Other versions
CN101231551B (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.)
Asustek Computer Inc
Original Assignee
Asustek Computer Inc
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 Asustek Computer Inc filed Critical Asustek Computer Inc
Priority to CN200710008123.XA priority Critical patent/CN101231551B/en
Publication of CN101231551A publication Critical patent/CN101231551A/en
Application granted granted Critical
Publication of CN101231551B publication Critical patent/CN101231551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

A multiprocessor system and a performance adjusting method thereof are provided, wherein a plurality of processing units of the multiprocessor system at least comprise a first processing unit and a second processing unit, and the performance adjusting method comprises the following steps: first, the loads of the processing units are detected to obtain a plurality of corresponding detection results. Then, it is judged whether or not the load is concentrated on one of the processing units based on the detection results. Finally, if the load is concentrated on the first processing unit, the power supply of the first processing unit is increased or the efficiency of the first processing unit is improved.

Description

多处理器系统及其效能调整方法 Multi-processor system and its performance adjustment method

技术领域 technical field

本发明涉及一种多处理器系统的技术,且特别涉及一种多处理器系统及其效能调整方法。The invention relates to a technology of a multiprocessor system, and in particular to a multiprocessor system and a performance adjustment method thereof.

背景技术 Background technique

请参照图1,其所示为已知多处理器系统的示意图。多处理器系统100一般组设在计算机装置的主机板上,且这种多处理器系统100通常包括两颗以上的中央处理单元(CPU),例如:第一处理单元110及第二处理单元120,以及分别供应电源至这些处理单元110,120的第一电压调节模块(VoltageRegulator Module,VRM)VR1及第二电压调节模块VR2。Please refer to FIG. 1 , which is a schematic diagram of a known multi-processor system. The multiprocessor system 100 is generally assembled on the motherboard of a computer device, and this multiprocessor system 100 usually includes more than two central processing units (CPU), such as: a first processing unit 110 and a second processing unit 120 , and respectively supply power to the first voltage regulator module (Voltage Regulator Module, VRM) VR1 and the second voltage regulator module VR2 of these processing units 110, 120.

目前的电压调节模块均能够适应处理单元的核心电压准位需求来调整输出电压。例如,第一电压调节模块VR1可依据第一处理单元110中相关的接脚状态变化而形成动态电压识别码(Voltage Identification Code,简称VID),来产生相对应的电压(Vcorel)给第一处理单元110。藉此,第一处理单元110处于不同运作负载时,都可由第一电压调节模块VR1得到适当的电源供应,以增加处理效能或避免无谓的功耗。相类似地,第二电压调节模块VR2也以同样方式独立供电至第二处理单元120,遂不赘述。All current voltage regulation modules can adjust the output voltage according to the core voltage level requirement of the processing unit. For example, the first voltage regulation module VR1 can generate a dynamic voltage identification code (Voltage Identification Code, VID for short) according to the state change of the related pins in the first processing unit 110, so as to generate a corresponding voltage (Vcorel) for the first processing unit 110. Unit 110. In this way, when the first processing unit 110 is under different operating loads, it can obtain proper power supply from the first voltage regulation module VR1, so as to increase processing performance or avoid unnecessary power consumption. Similarly, the second voltage regulation module VR2 also independently supplies power to the second processing unit 120 in the same manner, so details are not repeated here.

此外,市场上也开发出具备了多级工作模式的处理器,可在正常模式(C0-Active)、暂停模式(C1-Halt)、频率停止模式(C2-Stop Clock)、深度睡眠模式(C3-Deep Sleep)、及超深睡眠模式(C4-Deeper Sleep)之间切换,以适应系统负载情形来自动改变处理器的核心频率及工作电压。甚者,许多桌上型与笔记本计算机更应用EIST(Enhanced Intel Speed-StepTechnology)技术(增强型超深睡眠技术),来改善系统高热及高耗电问题。其它如CPU Throttling或其它计算机大厂针对CPU的相关效能调整技术便不赘述。In addition, processors with multi-level working modes have also been developed on the market, which can be in normal mode (C0-Active), pause mode (C1-Halt), frequency stop mode (C2-Stop Clock), deep sleep mode (C3 -Deep Sleep), and ultra-deep sleep mode (C4-Deeper Sleep) to automatically change the core frequency and operating voltage of the processor to adapt to the system load situation. What's more, many desktop and notebook computers use EIST (Enhanced Intel Speed-Step Technology) technology (enhanced ultra-deep sleep technology) to improve the system's high heat and high power consumption problems. Other related performance adjustment technologies such as CPU Throttling or other major computer manufacturers for CPU will not be described in detail.

然而众所周知,即使在目前双CPU或多核心处理器的硬件水平下,能对应支持的软件程序仍属少见。例如游戏开发者碍于程序设计难度,几乎仍全以单执行绪(Single Thread)的方式来撰写游戏程序,造成多处理器系统100只会使用一颗处理单元(如第一处理单元110)来执行计算机游戏软件,而未被使用的第二处理单元120则处于闲置。或者,即使上述这些处理单元110,120都分配到处理量相当的运算数据,却往往由于程序在写作或编译时并未针对多处理器架构做最佳化处理,以至于数据间仍具有关连性而非完全独立。此时,第二处理单元120可能需等待接收第一处理单元110的输出结果才能开始执行所负责的运算,即上述这些处理单元110,120无法同时完全发挥运算能力。尽管上述这些处理单元110,120理论上具备倍数于单处理器的运算能力,但遭遇上述运算瓶颈时,系统整体效能的提升仍有所局限,无法表现出预期中相较单处理器的多处理器运算优势。However, as we all know, even at the current hardware level of dual-CPU or multi-core processors, it is still rare to have correspondingly supported software programs. For example, due to the difficulty of program design, game developers almost still write game programs in a single thread (Single Thread) manner, causing the multiprocessor system 100 to use only one processing unit (such as the first processing unit 110) to The computer game software is executed while the unused second processing unit 120 is idle. Or, even if the above-mentioned processing units 110, 120 are allocated with a considerable amount of computing data, often because the program is not optimized for the multi-processor architecture when it is written or compiled, so that the data still has correlation rather than completely independent. At this time, the second processing unit 120 may have to wait for the output result of the first processing unit 110 before starting to perform the calculation it is responsible for, that is, the above-mentioned processing units 110 and 120 cannot fully exert their computing capabilities at the same time. Although the above-mentioned processing units 110, 120 theoretically have the computing power that is multiples of that of a single processor, when encountering the above-mentioned computing bottleneck, the improvement of the overall performance of the system is still limited, and it cannot show the expected multi-processing compared with a single processor. machine computing advantages.

发明内容 Contents of the invention

有鉴于此,本发明的目的就是提供一种多处理器系统及其效能调整方法,以避免多处理器系统发生负载集中时的运算瓶颈,且能提升系统的总体效能(Throughput Improvement)。In view of this, the object of the present invention is to provide a multi-processor system and its performance adjustment method, so as to avoid the computing bottleneck when the multi-processor system has concentrated load, and can improve the overall performance of the system (Throughput Improvement).

根据本发明的目的,提出一种多处理器系统的效能调整方法,这个多处理器系统包括第一处理单元及第二处理单元。上述效能调整方法包括下述步骤:(a)检测上述这些处理单元的负载,以获得多个相对应的检测结果;(b)根据上述这些检测结果,判断负载是否集中在这些处理单元的其中一个处理单元;以及(c)若负载集中在上述第一处理单元,则提高第一处理单元的供电,或一并提高其运算能力。According to the object of the present invention, a performance adjustment method of a multi-processor system is proposed, and the multi-processor system includes a first processing unit and a second processing unit. The above performance adjustment method includes the following steps: (a) detecting the loads of the above processing units to obtain a plurality of corresponding detection results; (b) judging whether the load is concentrated on one of the processing units according to the above detection results a processing unit; and (c) if the load is concentrated on the above-mentioned first processing unit, increasing the power supply of the first processing unit, or increasing its computing capability at the same time.

在本发明的一实施例中,在步骤(c)中,更包括提高第一处理单元的工作频率或内部倍频。In an embodiment of the present invention, step (c) further includes increasing the operating frequency or internal frequency multiplier of the first processing unit.

在本发明的一实施例中,多处理器系统更包括控制单元及频率产生器,控制单元分别与上述这些处理单元及频率产生器电性连接,且频率产生器并分别与上述这些处理单元电性连接,控制单元通过控制频率产生器来提高第一处理单元的工作频率。In an embodiment of the present invention, the multiprocessor system further includes a control unit and a frequency generator, the control unit is electrically connected to the above processing units and the frequency generator, and the frequency generator is electrically connected to the above processing units respectively. The control unit increases the operating frequency of the first processing unit by controlling the frequency generator.

在本发明的一实施例中,控制单元通过内部集成电路总线(I2C Bus)来控制频率产生器,藉此控制单元便可通过内部集成电路总线来提高第一处理单元的工作频率。In an embodiment of the present invention, the control unit controls the frequency generator through an inter-integrated circuit bus (I 2 C Bus), so that the control unit can increase the operating frequency of the first processing unit through the inter-integrated circuit bus.

在本发明的一实施例中,在步骤(c)中,更包括降低第二处理单元的供电、工作频率、内部倍频、或电源状态。In an embodiment of the present invention, in step (c), it further includes reducing the power supply, operating frequency, internal frequency multiplier, or power state of the second processing unit.

在本发明的一实施例中,在步骤(a)中,是利用硬件监测手段或软件监测手段来检测上述这些处理单元的负载。In an embodiment of the present invention, in step (a), the loads of the above-mentioned processing units are detected by means of hardware monitoring or software monitoring.

根据本发明的目的,提出一种多处理器系统,这个多处理器系统包括多个处理单元、频率产生器、电源供应装置、多个开关单元、及控制单元。上述频率产生器分别电性连接上述这些处理单元,并可分别提供工作频率至上述这些处理单元。上述电源供应装置可分别提供上述这些处理单元所需的电源。上述这些开关单元分别电性连接于电源供应装置及上述这些处理单元之间。上述控制单元分别电性连接上述这些处理单元、频率产生器、及上述这些开关单元,以使得控制单元可藉由控制上述这些开关单元来调整上述电源供应装置提供至上述这些处理单元的电源,且控制单元可藉由控制频率产生器来调整提供至上述这些处理单元的工作频率。According to the object of the present invention, a multi-processor system is proposed, and the multi-processor system includes a plurality of processing units, a frequency generator, a power supply device, a plurality of switching units, and a control unit. The above-mentioned frequency generators are respectively electrically connected to the above-mentioned processing units, and can respectively provide operating frequencies to the above-mentioned processing units. The above-mentioned power supply device can respectively provide the power required by the above-mentioned processing units. The aforementioned switching units are respectively electrically connected between the power supply device and the aforementioned processing units. The control unit is electrically connected to the processing units, the frequency generator, and the switching units, so that the control unit can adjust the power provided by the power supply device to the processing units by controlling the switching units, and The control unit can adjust the operating frequency provided to the above processing units by controlling the frequency generator.

在本发明的一实施例中,控制单元利用硬件监测手段或软件监测手段来检测上述这些处理单元的负载,以获得多个相对应的检测结果。In an embodiment of the present invention, the control unit uses hardware monitoring means or software monitoring means to detect the loads of the aforementioned processing units, so as to obtain a plurality of corresponding detection results.

在本发明的一实施例中,硬件监测手段是利用检测单元来实施,且检测单元分别电性连接上述这些处理单元以及控制单元。In an embodiment of the present invention, the hardware monitoring means is implemented by using a detection unit, and the detection unit is electrically connected to the above-mentioned processing units and the control unit respectively.

在本发明的一实施例中,控制单元依据上述这些检测结果来判断负载是否集中在上述这些处理单元的其中一个处理单元。若负载集中在上述第一处理单元,则控制单元控制上述这些开关单元的操作,来提高第一处理单元的供电。控制单元亦可通过内部集成电路总线控制上述频率产生器,以提高第一处理单元的工作频率。或者,控制单元亦可提高第一处理单元的内部倍频。In an embodiment of the present invention, the control unit judges whether the load is concentrated on one of the above processing units according to the above detection results. If the load is concentrated on the first processing unit, the control unit controls the operations of the switching units to increase the power supply of the first processing unit. The control unit can also control the frequency generator through the inter-integrated circuit bus to increase the operating frequency of the first processing unit. Alternatively, the control unit can also increase the internal frequency multiplier of the first processing unit.

在本发明的一实施例中,上述这些开关单元为晶体管开关。In an embodiment of the present invention, the aforementioned switch units are transistor switches.

在本发明的一实施例中,软件监测手段是利用应用程序或操作系统来读取上述这些处理单元的使用率。In an embodiment of the present invention, the software monitoring means uses an application program or an operating system to read the usage rates of the above processing units.

综上,本发明的有益效果是能够弹性分配多处理器系统中各处理单元所获得的供电量,确保高负载的处理单元能以全速运作来执行运算而缩短运算瓶颈的时间To sum up, the beneficial effect of the present invention is that it can flexibly allocate the power supply obtained by each processing unit in a multi-processor system, ensure that the high-load processing unit can operate at full speed to perform calculations and shorten the time of calculation bottlenecks

为让本发明的上述目的、特征、和优点能更明显易懂,下文特举较佳实施例,并配合附图,作详细说明如下。In order to make the above objects, features, and advantages of the present invention more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.

附图说明 Description of drawings

图1为现有多处理器系统的示意图。FIG. 1 is a schematic diagram of an existing multiprocessor system.

图2为本发明较佳实施例的多处理器系统的示意图。FIG. 2 is a schematic diagram of a multi-processor system according to a preferred embodiment of the present invention.

图3为本发明较佳实施例的多处理器系统的效能调整方法流程图。FIG. 3 is a flowchart of a performance adjustment method for a multi-processor system according to a preferred embodiment of the present invention.

具体实施方式 Detailed ways

如上所述,在图1中,当负载集中在第一处理单元110时,第二处理单元120可能始终闲置或暂时以省电模式等待第一处理单元110的运算结果;而轮到负载集中于第二处理单元120时,第一处理单元110同样没有对缩短处理时间做出贡献。也就是说,在现阶段缺乏支持多CPU的程序设计下,多处理器系统100的整体效能大幅受限于这些处理单元110,120各别的效能表现,而未能发挥同时多任务处理以提升效能。因此,在未改变软件设计的条件下,提升各别处理单元的效能可为一种改善途径。As mentioned above, in FIG. 1, when the load is concentrated on the first processing unit 110, the second processing unit 120 may always be idle or temporarily wait for the operation result of the first processing unit 110 in power-saving mode; While the second processing unit 120, the first processing unit 110 likewise does not contribute to shortening the processing time. That is to say, under the current lack of programming that supports multiple CPUs, the overall performance of the multi-processor system 100 is greatly limited by the respective performances of these processing units 110, 120, and it fails to perform simultaneous multi-tasking to improve efficacy. Therefore, improving the performance of each processing unit can be an improvement method without changing the software design.

以第一处理单元110为例,传统上可更换使用较高的CPU等级(功耗也较高)来直接提升运算能力,但实际上通常也需要消耗比原本处理器额定功率更高的供电量,高等级的第一处理单元110才能完全以全速运作。然而,若对应的第一电压调节模块VR1供电量不足,便会面临即使搭配多种如前述的效能调节技术也无法使第一处理单元110全速运作的窘境。本发明实施例所提供的多处理器系统可弹性分配其各处理单元所获得的供电量,以确保高负载的处理单元能以全速运作来执行运算而缩短运算瓶颈的时间。同时也无须在电压模块设计时,为了未来可能的CPU升级空间而预留额外电源供应能力。Taking the first processing unit 110 as an example, traditionally, a higher CPU level (with higher power consumption) can be replaced to directly improve the computing power, but in fact, it usually needs to consume a higher power supply than the original rated power of the processor. , the high-level first processing unit 110 can fully operate at full speed. However, if the power supply of the corresponding first voltage regulation module VR1 is insufficient, it will face the dilemma that the first processing unit 110 cannot operate at full speed even with a variety of performance regulation techniques as mentioned above. The multi-processor system provided by the embodiment of the present invention can flexibly allocate the power supply obtained by each processing unit, so as to ensure that the processing unit with high load can operate at full speed to perform calculations and shorten the time of calculation bottlenecks. At the same time, there is no need to reserve additional power supply capacity for possible future CPU upgrade space when designing the voltage module.

请参照图2,其所示为本发明较佳实施例的多处理器系统的示意图。多处理器系统200包括第一处理单元210、第二处理单元220、电源供应装置230、多个开关单元241、242、243、244、控制单元250、频率产生器频率产生器260、及检测单元270。在本实施例中,上述这些处理单元210、220皆为中央处理单元(CPU)。在其它实施例中,检测单元270可以被省略,而改用软件检测手段来实施,有关详细说明,容后再述。Please refer to FIG. 2 , which is a schematic diagram of a multi-processor system according to a preferred embodiment of the present invention. The multiprocessor system 200 includes a first processing unit 210, a second processing unit 220, a power supply device 230, a plurality of switch units 241, 242, 243, 244, a control unit 250, a frequency generator frequency generator 260, and a detection unit 270. In this embodiment, the aforementioned processing units 210 and 220 are all central processing units (CPUs). In other embodiments, the detection unit 270 can be omitted, and instead implemented by software detection means, the detailed description will be described later.

上述频率产生器260分别电性连接上述这些处理单元210、220,且频率产生器260可分别提供工作频率(又称外频)至上述这些处理单元210、220。The frequency generator 260 is electrically connected to the processing units 210 and 220 respectively, and the frequency generator 260 can provide operating frequencies (also called external frequency) to the processing units 210 and 220 respectively.

电源供应装置230用以提供上述这些处理单元210、220所需的电源。在本实施例中,电源供应装置230包括第一电压调节模块231、及第二电压调节模块232,其中第一电压调节模块231及第二电压调节模块232可以分别提供上述这些处理单元210、220所需的电源。值得一提的是,在初始设定下,电源供应装置230如图1所示的方式,第一电压调节模块231提供电源给第一处理单元210,且第二电压调节模块232供电给第二处理单元220。The power supply device 230 is used to provide the power required by the processing units 210 and 220 mentioned above. In this embodiment, the power supply device 230 includes a first voltage regulation module 231 and a second voltage regulation module 232, wherein the first voltage regulation module 231 and the second voltage regulation module 232 can respectively provide the above-mentioned processing units 210, 220 required power supply. It is worth mentioning that, under the initial setting, the power supply device 230 is as shown in FIG. processing unit 220 .

上述开关单元241~244分别电性连接于电源供应装置230及上述这些处理单元210、220间。如图2所示,开关单元241电性连接于第一电压调节模块231及第一处理单元210之间,以控制第一电压调节模块231及第一处理单元210之间的供电路径。开关单元243电性连接于第二电压调节模块232及第一处理单元210之间,以控制第二电压调节模块232及第一处理单元210之间的另一供电路径。开关单元242、244则利用类似开关单元241、243的电性连接方式来分别控制电源供应装置230与第二处理单元220之间的二供电路径。藉此,电源供应装置230产生的电源可经由开关单元241~244所控制的供电路径来输出至上述这些处理单元210、220。The switch units 241 - 244 are electrically connected between the power supply device 230 and the processing units 210 , 220 respectively. As shown in FIG. 2 , the switch unit 241 is electrically connected between the first voltage regulation module 231 and the first processing unit 210 to control the power supply path between the first voltage regulation module 231 and the first processing unit 210 . The switch unit 243 is electrically connected between the second voltage regulation module 232 and the first processing unit 210 to control another power supply path between the second voltage regulation module 232 and the first processing unit 210 . The switch units 242 and 244 respectively control the two power supply paths between the power supply device 230 and the second processing unit 220 by using an electrical connection manner similar to the switch units 241 and 243 . In this way, the power generated by the power supply device 230 can be output to the processing units 210 and 220 through the power supply paths controlled by the switch units 241 - 244 .

控制单元250分别电性连接处理单元210、220、频率产生器260、及开关单元241~244,以使得控制单元250可藉由控制开关单元241~244来调整电源供应装置230提供至处理单元210、220的电源,且控制单元250可藉由控制频率产生器260来调整提供至处理单元210、220的工作频率。The control unit 250 is electrically connected to the processing units 210, 220, the frequency generator 260, and the switch units 241-244, so that the control unit 250 can adjust the power supply device 230 to provide to the processing unit 210 by controlling the switch units 241-244. , 220, and the control unit 250 can adjust the operating frequency provided to the processing units 210, 220 by controlling the frequency generator 260.

也就是说,本实施所提供的控制单元250可以根据各处理单元210、220的负载来控制开关单元241~244,以弹性调整各处理单元210、220所需的供电量或工作频率,其中控制单元250是利用硬件监测手段或软件监测手段来检测处理单元210、220的负载,以获得多个相对应的检测结果。有关如何检测处理单元210、220的负载的说明,容后详述。That is to say, the control unit 250 provided in this embodiment can control the switch units 241-244 according to the load of each processing unit 210, 220, so as to flexibly adjust the power supply or operating frequency required by each processing unit 210, 220, wherein the control The unit 250 detects the loads of the processing units 210 and 220 by means of hardware monitoring or software monitoring, so as to obtain a plurality of corresponding detection results. The description of how to detect the load of the processing units 210 and 220 will be described in detail later.

另外,在本实施例中,值得一提的是,控制单元250可通过如内部集成电路(Inter-integrated Circuit,I2C)总线来控制频率产生器260产生上述这些处理单元210、220的外频频率讯号。在其它实施例中,控制单元250亦可通过其它接口来控制频率产生器260所产生的外频频率讯号。In addition, in this embodiment, it is worth mentioning that the control unit 250 can control the frequency generator 260 to generate the external signals of the above-mentioned processing units 210 and 220 through, for example, an inter-integrated circuit (Inter-integrated Circuit, I 2 C) bus. frequency signal. In other embodiments, the control unit 250 can also control the external frequency signal generated by the frequency generator 260 through other interfaces.

在本实施例中,开关单元241~244以金属氧化物半导体场效接面晶体管(MOSFET)Q1~Q4来实作。在其它实施例中,开关单元241~244亦可使用双载子接面晶体管(BJT)晶体管来实现,或者其它能够利用电压或电流控制的电子开关。由于,以晶体管作为开关电路为一已知的技术,在本说明书中不再赘述。In this embodiment, the switch units 241 - 244 are implemented by MOSFETs Q1 - Q4 . In other embodiments, the switch units 241 - 244 can also be implemented by bipolar junction transistor (BJT) transistors, or other electronic switches that can be controlled by voltage or current. Since it is a known technology to use a transistor as a switch circuit, it will not be repeated in this specification.

在本实施例中,控制单元250为组设于主机板的南桥芯片(South BridgeChip),其可控制第一处理单元210、第二处理单元220、开关单元241~244、及频率产生器260的操作。在其它实施例中,控制单元250亦可为超级输入输出芯片(Super IO Chip)或者其它等效的芯片组。In this embodiment, the control unit 250 is a South Bridge chip (South BridgeChip) assembled on the motherboard, which can control the first processing unit 210, the second processing unit 220, the switch units 241-244, and the frequency generator 260 operation. In other embodiments, the control unit 250 can also be a Super IO Chip or other equivalent chip sets.

相较于已知技术,虽然在初始设定下,上述这些电压调节模块231、232同样分别独立供电至上述这些处理单元210、220,但藉由开关单元241~244的设计,电压调节模块231可供电至第二处理单元220,电压调节模块232也可供电至第一处理单元210。亦即,控制单元250可通过控制开关单元241~244的动作来控制电压调节模块231,232供电至处理单元210、220的路径。Compared with the known technology, although the above-mentioned voltage regulation modules 231 and 232 are also independently powered to the above-mentioned processing units 210 and 220 under the initial setting, but through the design of the switch units 241-244, the voltage regulation module 231 It can supply power to the second processing unit 220 , and the voltage regulation module 232 can also supply power to the first processing unit 210 . That is, the control unit 250 can control the power supply paths of the voltage regulation modules 231 , 232 to the processing units 210 , 220 by controlling the actions of the switch units 241 - 244 .

例如:控制单元250可以控制开关单元243导通(Turn-ON),控制开关单元244关闭(Turn-Off),使得第二电压调节模块232仅供电至第一处理单元210。相类似地,控制单元250可以控制开关单元243关闭,控制开关单元244导通,使得第二电压调节模块232仅供电至第二处理单元220。相类似地,控制单元250可以控制开关单元243导通,控制开关单元244导通,使得第二电压调节模块232同时供电至第一处理单元210与第二处理单元220。相类似地,控制单元250亦可控制开关单元241、242的操作,以控制第一电压调节模块231供电至第一处理单元210及/或第二处理单元220的供电路径。For example: the control unit 250 may control the switch unit 243 to turn on (Turn-ON), and control the switch unit 244 to turn off (Turn-Off), so that the second voltage regulation module 232 only supplies power to the first processing unit 210 . Similarly, the control unit 250 may control the switch unit 243 to turn off, and control the switch unit 244 to turn on, so that the second voltage regulation module 232 only supplies power to the second processing unit 220 . Similarly, the control unit 250 may control the switch unit 243 to be turned on, and control the switch unit 244 to be turned on, so that the second voltage regulation module 232 supplies power to the first processing unit 210 and the second processing unit 220 at the same time. Similarly, the control unit 250 can also control the operation of the switch units 241 , 242 to control the power supply path from the first voltage regulation module 231 to the first processing unit 210 and/or the second processing unit 220 .

如此一来,例如发生负载集中于第一处理单元210的情形时,控制单元250便可因应此情形来适当控制开关单元241~244,以将与低负载的第二处理单元220相对应的电压调节模块232的输出电源部分转供至高负载的第一处理单元210。亦即,上述这些电压调节模块231、232可同时供电给第一处理单元210,以使得第一处理单元210能够获得足够电源,以全速运作。In this way, for example, when the load is concentrated on the first processing unit 210 , the control unit 250 can appropriately control the switch units 241 - 244 in response to the situation, so that the voltage corresponding to the second processing unit 220 with low load The output power of the regulation module 232 is partly diverted to the first processing unit 210 with high load. That is, the above-mentioned voltage regulation modules 231 and 232 can supply power to the first processing unit 210 at the same time, so that the first processing unit 210 can obtain enough power to operate at full speed.

由于处理单元负载越大时,其负载电流也会随之升高,因此,本发明较佳实施例利用一硬件监测手段来检测上述这些处理单元210、220的负载大小,以作为控制单元250调整多处理器系统的效能的依据。在本实施例中,硬件监测手段可以利用检测单元270来实施。As the load of the processing unit increases, its load current will also increase accordingly. Therefore, a preferred embodiment of the present invention uses a hardware monitoring method to detect the load of the above-mentioned processing units 210, 220, as the adjustment of the control unit 250. A measure of the performance of multiprocessor systems. In this embodiment, the hardware monitoring means can be implemented by the detection unit 270 .

上述检测单元270分别电性连接上述这些处理单元210、220的电源输入端、及控制单元250,以检测上述这些处理单元210、220的负载电流或电压,使得控制单元250能够判断上述处理单元210、220之负载。进一步说,检测单元270可以使用多个电压调节模块231、232中的脉宽调变控制器(PWMController)的工作模式或以功率放大器(Operational Amplifier)搭配多个精密电阻实现的比较电路来实施。例如:多处理器系统200可利用脉宽调变控制器的工作周期讯号或阻抗组件的比较电路设计来检测负载电流,并将检测结果输出给控制单元250,以实现利用硬件监测手段来达成监测CPU使用率。The detection unit 270 is electrically connected to the power input terminals of the processing units 210, 220 and the control unit 250 to detect the load current or voltage of the processing units 210, 220, so that the control unit 250 can judge the processing unit 210 , 220 load. Furthermore, the detection unit 270 can be implemented by using the working mode of the PWM controllers (PWMController) in the multiple voltage regulation modules 231, 232 or using a power amplifier (Operational Amplifier) and a comparison circuit implemented with multiple precision resistors. For example: the multiprocessor system 200 can use the duty cycle signal of the pulse width modulation controller or the comparison circuit design of the impedance component to detect the load current, and output the detection result to the control unit 250, so as to realize the monitoring by means of hardware monitoring CPU usage.

另外,值得一提的是,目前安装在计算机上的操作系统通常会内建有工作管理员(Task Manager)提供CPU的负载(或称CPU使用率(CPUUtilization))等信息。此外,使用者也可使用自订的应用程序(Application,AP)来得知CPU负载。因此,在本发明的其它实施例中,多处理器系统200可利用一软件监测手段来监测CPU负载,例如:利用上述操作系统或AP来实时得知CPU使用信息,以判断上述这些处理单元210、20的负载,进而提供适当的电源给上述这些处理单元210、220。In addition, it is worth mentioning that the current operating system installed on the computer usually has a built-in task manager (Task Manager) to provide information such as CPU load (or called CPU utilization (CPUUtilization)). In addition, the user can also use a custom application program (Application, AP) to know the CPU load. Therefore, in other embodiments of the present invention, the multiprocessor system 200 can use a software monitoring method to monitor the CPU load, for example: use the above-mentioned operating system or AP to obtain CPU usage information in real time, so as to determine whether the above-mentioned processing units 210 , 20 loads, and then provide appropriate power to the above-mentioned processing units 210, 220.

举例来说,当第一处理单元210的使用率高于第二处理单元220的使用率达一默认值时,控制单元250便可藉由上述CPU使用信息来判断出负载集中于第一处理单元210的情形,这种情形可能是第一处理单元210执行单一执行绪(Thread)特性的应用程序,或是第二处理器220等待第一处理器210运算结果所导致。此时,控制单元250便可控制开关单元的操作,以使上述这些电压调节模块231、232从原本的初始设定改变为共同输出大部份的电源至第一处理单元210。For example, when the usage rate of the first processing unit 210 is higher than the usage rate of the second processing unit 220 to a default value, the control unit 250 can determine that the load is concentrated on the first processing unit according to the above CPU usage information. 210, this situation may be caused by the first processing unit 210 executing an application program with a single thread (Thread) feature, or the second processor 220 waiting for the operation result of the first processor 210. At this time, the control unit 250 can control the operation of the switch unit, so that the above-mentioned voltage regulation modules 231 , 232 change from the original initial settings to jointly output most of the power to the first processing unit 210 .

综上所述,本发明实施例可以利用硬件监测手段或软件监测手段来检测上述这些处理单元210、220的负载。藉此,控制单元250可依据上述这些处理单元210、220的负载的检测结果来调整电源供应装置230的供电量。在一实施例中,控制单元250可依据上述这些处理单元210、220的负载差异程度来调整电源供应装置230供电给上述这些处理单元210、220的供电量。例如:控制单元250依据上述这些处理单元210、220的负载差异程度来调整第二电压调节模块232输出给第一处理单元210及第二处理单元220的供电比例(例如:控制单元250控制开关单元243、244使用可被控制单元250调整的晶体管组件Q3及Q4的导通电流大小的开关设计),以使低负载的第二处理单元220保持最低限度的运作,同时尽量转移供电给第一处理单元210。To sum up, in the embodiment of the present invention, a hardware monitoring means or a software monitoring means may be used to detect the loads of the processing units 210 and 220 mentioned above. In this way, the control unit 250 can adjust the power supply of the power supply device 230 according to the detection results of the loads of the processing units 210 and 220 mentioned above. In one embodiment, the control unit 250 can adjust the amount of power supplied by the power supply device 230 to the processing units 210 , 220 according to the load difference of the processing units 210 , 220 . For example: the control unit 250 adjusts the power supply ratio output by the second voltage regulation module 232 to the first processing unit 210 and the second processing unit 220 according to the degree of load difference between the above-mentioned processing units 210 and 220 (for example: the control unit 250 controls the switching unit 243, 244 use the switching design of the turn-on current of the transistor components Q3 and Q4 that can be adjusted by the control unit 250), so that the second processing unit 220 with low load can keep the minimum operation, and at the same time transfer the power supply to the first processing unit as much as possible. Unit 210.

为了能够更加理解本发明较佳实施例的效能调整的操作,敬请一并参照图2及图3,其中图3为本发明较佳实施例的多处理器系统的效能调整方法流程图。在步骤S305中,检测单元270检测各个处理单元210、220的负载,以产生至少一个检测结果,检测单元270并将检测结果传送至控制单元250,其中,检测单元270可以利用硬件监测手段或软件监测手段来检测处理单元210、220的负载。In order to better understand the performance adjustment operation of the preferred embodiment of the present invention, please refer to FIG. 2 and FIG. 3 together, wherein FIG. 3 is a flow chart of the performance adjustment method of the multi-processor system according to the preferred embodiment of the present invention. In step S305, the detection unit 270 detects the load of each processing unit 210, 220 to generate at least one detection result, and the detection unit 270 transmits the detection result to the control unit 250, wherein the detection unit 270 can use hardware monitoring means or software Monitoring means to detect the load of the processing units 210,220.

在步骤S310中,控制单元250根据检测结果来判断目前的系统负载是否集中在单一处理单元。亦即,控制单元250根据检测结果来判断第一处理单元210的负载与第二处理单元220的负载的差值是否大于一默认值。举例来说,若第一处理单元210的负载大于第二处理单元220的负载,且其负载差值大于默认值,则控制单元250判断出负载集中在第一处理单元210。在步骤S310中,若控制单元250判断系统负载没有集中在单一处理单元,亦即系统在正常情况下,则控制单元250维持正常操作(上述这些处理单元210、220亦可维持如初始设定)且检测单元270继续检测处理单元210、220的负载。若控制单元250判断系统负载集中在单一处理单元,则执行步骤S 313。In step S310, the control unit 250 determines whether the current system load is concentrated on a single processing unit according to the detection result. That is, the control unit 250 determines whether the difference between the load of the first processing unit 210 and the load of the second processing unit 220 is greater than a default value according to the detection result. For example, if the load of the first processing unit 210 is greater than the load of the second processing unit 220 and the load difference is greater than a default value, the control unit 250 determines that the load is concentrated on the first processing unit 210 . In step S310, if the control unit 250 determines that the system load is not concentrated on a single processing unit, that is, the system is under normal conditions, the control unit 250 maintains normal operation (the above-mentioned processing units 210, 220 can also maintain the initial settings) And the detection unit 270 continues to detect the loads of the processing units 210 and 220 . If the control unit 250 determines that the system load is concentrated on a single processing unit, step S313 is executed.

在步骤S313中,控制单元250可选择组合以下步骤来降低低使用率的处理单元的功率消耗。这些步骤包括:改变其它低使用率处理单元的电源状态(Power State);使低使用率的处理单元进入低耗电的EIST模式;以及选择降低上述低使用率处理单元的工作频率或是内部倍频。In step S313 , the control unit 250 may choose to combine the following steps to reduce the power consumption of the processing unit with low usage. These steps include: changing the power state (Power State) of other processing units with low usage rate; making the processing unit with low usage rate enter the EIST mode with low power consumption; frequency.

举例来说,处理单元210、220的电源状态可包括正常模式(C0-Active)、暂停模式(C1-Halt)、频率停止模式(C2-Stop Clock)、深度睡眠模式(C3-DeepSleep)、及超深睡眠模式(C4-Deeper Sleep)。在本实施例中,处理单元210、220的倍频系数范围约可在1.5到20倍。在步骤S313中,低使用率处理单元例如为第二处理单元220。控制单元250便可将第二处理单元220的电源状态由C0状态改成C1状态,当然在其它实施例中,控制单元250亦可将第二处理单元220的电源状态由较耗电的状态改到其它较省电的状态,例如:C0状态改成C4状态。相类似地,控制单元250亦可将第二处理单元220的内部倍频由高倍数调整为低倍数,例如:由12倍调整到8倍。For example, the power states of the processing units 210, 220 may include normal mode (C0-Active), suspend mode (C1-Halt), frequency stop mode (C2-Stop Clock), deep sleep mode (C3-DeepSleep), and Super deep sleep mode (C4-Deeper Sleep). In this embodiment, the multiplication coefficients of the processing units 210 and 220 may range from 1.5 to 20 times. In step S313 , the low usage rate processing unit is, for example, the second processing unit 220 . The control unit 250 can change the power state of the second processing unit 220 from the C0 state to the C1 state. Of course, in other embodiments, the control unit 250 can also change the power state of the second processing unit 220 from a more power-consuming state to a state of C1. Go to other more power-saving states, for example: change C0 state to C4 state. Similarly, the control unit 250 can also adjust the internal frequency multiplier of the second processing unit 220 from a high multiple to a low multiple, for example, from 12 times to 8 times.

另外,控制单元250可藉由I2C总线来降低低使用率处理单元的工作频率(又称外频)。亦即,控制单元250通过I2C总线来控制频率产生器260,使得频率产生器260输出至低使用率处理单元(例如为第二处理单元220)的工作频率降低。一般来说,处理单元210、220的外频可为50、60、66.6、75、83.3、95、100、112、124、133、...、333MHz等速度。因此,在上述例子中,频率产生器260原本输出至第二处理单元210的工作频率为124MHz,此时控制单元250可控制频率产生器260提供100MHz的工作频率至第二处理单元220。In addition, the control unit 250 can reduce the operating frequency (also known as external frequency) of the low-utilization processing unit through the I2C bus. That is, the control unit 250 controls the frequency generator 260 through the I2C bus, so that the operating frequency output from the frequency generator 260 to the low-utilization processing unit (eg, the second processing unit 220 ) is reduced. Generally speaking, the external frequency of the processing units 210, 220 can be 50, 60, 66.6, 75, 83.3, 95, 100, 112, 124, 133, . . . , 333 MHz and other speeds. Therefore, in the above example, the frequency generator 260 originally outputs a working frequency of 124 MHz to the second processing unit 210 , and the control unit 250 can control the frequency generator 260 to provide a working frequency of 100 MHz to the second processing unit 220 .

继而,在步骤S315中,控制单元250藉由控制开关单元241~244来分配其它低负载(低使用率)处理单元的多余供电至集中负载(高使用率)的处理单元。Then, in step S315 , the control unit 250 distributes the redundant power supply of other processing units with low load (low usage rate) to the processing unit with concentrated load (high usage rate) by controlling the switch units 241 - 244 .

原则上,发生负载集中的处理单元将优先获得最大供电量,而控制单元250并会视负载集中情形来控制其它负载较低的处理单元所对应的电压调节模块、及开关单元241~244,以降低输出至对应处理单元的电源,藉此,发生负载集中的处理单元便可获得较多的电源。如此一来,即可确保高负载的处理单元能以全速运作来执行运算,而缩短负载集中的时间。例如:若控制单元250判断出负载集中在第一处理单元210,则控制单元250可通过控制开关单元241~244的操作来将第二电压调节模块232所提供的大部份电源供给第一处理单元210。In principle, the processing unit with load concentration will first obtain the maximum power supply, and the control unit 250 will control the voltage regulation modules and switch units 241-244 corresponding to other processing units with lower load according to the load concentration situation, so as to The power output to the corresponding processing unit is reduced, so that the processing unit with load concentration can obtain more power. In this way, it is possible to ensure that the high-load processing unit can operate at full speed to perform calculations, thereby shortening the time of load concentration. For example: if the control unit 250 determines that the load is concentrated on the first processing unit 210, the control unit 250 can supply most of the power provided by the second voltage regulation module 232 to the first processing unit by controlling the operation of the switch units 241-244. Unit 210.

值得注意的是,在本实施例中,步骤S313算是配合步骤S315的子流程。在执行步骤S315之前,步骤S313是可以被选择执行的。在其它实施例中,步骤S325、及步骤S330亦可被选择其中一个或成为任意组合来被执行的,而第3图只是显示其中一种执行方式的组合。在其它实施例中,步骤S315被执行后,亦可仅执行步骤S330,再继续执行步骤S335。It should be noted that, in this embodiment, step S313 is regarded as a subroutine coordinating with step S315. Before step S315 is executed, step S313 can be optionally executed. In other embodiments, step S325 and step S330 can also be executed by selecting one of them or in any combination, and FIG. 3 only shows a combination of one of the execution modes. In other embodiments, after step S315 is executed, only step S330 may be executed, and then step S335 is continued.

接下来,将继续说明步骤S325、步骤S335、及其它后续步骤。此外,调整工作频率的方式与原理如下所述。Next, step S325, step S335, and other subsequent steps will be continuously explained. In addition, the method and principle of adjusting the working frequency are as follows.

在步骤S325中,控制单元250藉由I2C总线来提高高使用率处理单元的工作频率(又称外频)。亦即,控制单元250通过I2C总线来控制频率产生器260,使得频率产生器260输出至高使用率处理单元(例如为第一处理单元210)的工作频率提高。例如:频率产生器260原本输出至第一处理单元210的工作频率为124MHz,此时控制单元250控制频率产生器260提供133MHz的工作频率至第一处理单元210。In step S325, the control unit 250 increases the operating frequency (also known as external frequency) of the processing unit with high usage rate through the I 2 C bus. That is, the control unit 250 controls the frequency generator 260 through the I 2 C bus, so that the operating frequency output from the frequency generator 260 to the processing unit with high usage rate (for example, the first processing unit 210 ) increases. For example: the frequency generator 260 originally outputs a working frequency of 124 MHz to the first processing unit 210 , and the control unit 250 controls the frequency generator 260 to provide a working frequency of 133 MHz to the first processing unit 210 .

在步骤S330中,控制单元250提高高使用率处理单元的内部倍频,以改善系统效能。例如:在这个例子中,高使用率处理单元例如为第一处理单元210。控制单元250便可将第一处理单元210的内部倍频由低倍数调整为高倍数,例如:由12倍调整到14倍。In step S330 , the control unit 250 increases the internal frequency multiplier of the high-usage processing unit to improve system performance. For example: in this example, the high-usage processing unit is, for example, the first processing unit 210 . The control unit 250 can then adjust the internal multiplier of the first processing unit 210 from a low multiple to a high multiple, for example, from 12 to 14.

在步骤S335中,检测单元270继续检测各个处理单元210、220的负载,并将检测结果输出至控制单元250,使得控制单元250可以判断运算瓶颈是否已解决(步骤S340)。若运算瓶颈未解决,则继续执行步骤S335。若运算瓶颈已解决,则执行步骤S345,藉由控制单元250的控制来恢复初始设定,继而继续执行步骤S305。In step S335, the detection unit 270 continues to detect the load of each processing unit 210, 220, and outputs the detection result to the control unit 250, so that the control unit 250 can determine whether the computing bottleneck has been solved (step S340). If the computing bottleneck is not resolved, continue to execute step S335. If the computing bottleneck has been solved, execute step S345, and restore the initial settings through the control of the control unit 250, and then continue to execute step S305.

在其它实施例中,若运算瓶颈未解决,控制单元250亦可判断处理单元之间的负载差值是否大于默认值,若处理单元之间的负载差值是小于默认值(表示负载仍有集中情形,但较调整前有所改善),则可维持对于上述这些处理单元210、220的第一次调整后供电比例,并继续执行步骤S 335。若处理单元之间的负载差值是仍大于默认值,则继续执行步骤S315来再次调整供电比例。例如:由检测单元270的检测结果得知,集中供电给第一处理单元210后其负载没有减少甚至更高,控制单元250便更降低第二电压调节模块232供给第二处理单元220的电源,同时也更提高第二电压调节模块232对第一处理单元210的供电。In other embodiments, if the computing bottleneck is not resolved, the control unit 250 may also determine whether the load difference between the processing units is greater than a default value, if the load difference between the processing units is less than the default value (indicating that the load is still concentrated situation, but improved compared to before adjustment), then the first adjusted power supply ratios for the processing units 210 and 220 mentioned above can be maintained, and step S335 can be continued. If the load difference between the processing units is still greater than the default value, continue to execute step S315 to adjust the power supply ratio again. For example: it is known from the detection result of the detection unit 270 that the load of the centralized power supply to the first processing unit 210 is not reduced or even higher, and the control unit 250 further reduces the power supplied by the second voltage regulation module 232 to the second processing unit 220, At the same time, the power supply of the second voltage regulation module 232 to the first processing unit 210 is further improved.

本发明上述实施例所揭露的多处理器系统及其效能调整方法,能够弹性分配多处理器系统中各处理单元所获得的供电量,确保高负载的处理单元能以全速运作来执行运算而缩短运算瓶颈的时间。The multi-processor system and its performance adjustment method disclosed in the above-mentioned embodiments of the present invention can flexibly allocate the power supply obtained by each processing unit in the multi-processor system, and ensure that the high-load processing unit can operate at full speed to perform calculations and shorten the processing time. The time of computing bottlenecks.

综上所述,虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明。任何所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰。因此,本发明的保护范围当视权利要求书所界定者为准。To sum up, although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the claims.

Claims (17)

1.一种多处理器系统的效能调整方法,上述多处理器系统的多个处理单元至少包括一第一处理单元及一第二处理单元,上述效能调整方法的特征是包括下述步骤:1. A performance adjustment method for a multiprocessor system, wherein a plurality of processing units of the above multiprocessor system at least comprise a first processing unit and a second processing unit, and the above-mentioned performance adjustment method is characterized in comprising the following steps: (a)检测上述这些处理单元的负载,以获得多个相对应的检测结果;(a) Detecting the loads of the aforementioned processing units to obtain a plurality of corresponding detection results; (b)根据上述这些检测结果,判断负载是否集中在上述这些处理单元的其中一个处理单元;以及(b) According to the above-mentioned detection results, determine whether the load is concentrated on one of the above-mentioned processing units; and (c)若负载集中在上述第一处理单元,则提高上述第一处理单元的供电。(c) If the load is concentrated on the first processing unit, increasing the power supply of the first processing unit. 2.根据权利要求1所述的效能调整方法,其特征是:在上述步骤(c)中,更包括提高上述第一处理单元的工作频率或内部倍频。2 . The performance adjustment method according to claim 1 , wherein in the step (c), it further includes increasing the operating frequency or internal frequency multiplier of the first processing unit. 3 . 3.根据权利要求2所述的效能调整方法,其特征是:上述多处理器系统更包括一控制单元及一频率产生器,上述控制单元分别与上述这些处理单元及上述频率产生器电性连接,且上述频率产生器并分别与上述这些处理单元电性连接,上述控制单元通过控制上述频率产生器来提高上述第一处理单元的工作频率。3. The performance adjustment method according to claim 2, wherein said multiprocessor system further comprises a control unit and a frequency generator, and said control unit is electrically connected to said processing units and said frequency generator respectively , and the frequency generator is electrically connected to the processing units respectively, and the control unit increases the operating frequency of the first processing unit by controlling the frequency generator. 4.根据权利要求3所述的效能调整方法,其特征是:上述控制单元通过一内部集成电路总线来控制上述频率产生器。4. The performance adjustment method according to claim 3, wherein the control unit controls the frequency generator through an inter-integrated circuit bus. 5.根据权利要求2所述的效能调整方法,其特征是:在上述步骤(c)中,通过一内部集成电路总线来提高上述第一处理单元的工作频率。5. The performance adjustment method according to claim 2, wherein in the step (c), the operating frequency of the first processing unit is increased through an inter-integrated circuit bus. 6.根据权利要求1所述的效能调整方法,其特征是:在上述步骤(c)中,更包括降低上述第二处理单元的供电、工作频率、内部倍频、或电源状态。6 . The performance adjustment method according to claim 1 , further comprising reducing the power supply, operating frequency, internal frequency multiplier, or power state of the second processing unit in the step (c). 7 . 7.根据权利要求1所述的效能调整方法,其特征是:在上述步骤(a)中,是利用一硬件监测手段或一软件监测手段来检测上述这些处理单元的负载。7. The performance adjustment method according to claim 1, characterized in that: in the step (a), a hardware monitoring means or a software monitoring means is used to detect the loads of the processing units. 8.一种多处理器系统,包括:8. A multiprocessor system comprising: 多个处理单元;multiple processing units; 一频率产生器,分别电性连接上述这些处理单元,并分别提供工作频率至上述这些处理单元;a frequency generator, electrically connected to the above-mentioned processing units respectively, and providing operating frequencies to the above-mentioned processing units respectively; 一电源供应装置,提供上述这些处理单元所需的电源;A power supply device, which provides the power required by the above-mentioned processing units; 多个开关单元,分别电性连接于上述电源供应装置及上述这些处理单元之间;以及a plurality of switch units, respectively electrically connected between the above-mentioned power supply device and the above-mentioned processing units; and 一控制单元,分别电性连接上述这些处理单元、上述频率产生器、及上述这些开关单元,以使得上述控制单元可藉由控制上述这些开关单元来调整上述电源供应装置提供至上述这些处理单元的电源,且上述控制单元可藉由控制上述频率产生器来调整提供至上述这些处理单元的工作频率。A control unit, electrically connected to the above-mentioned processing units, the above-mentioned frequency generator, and the above-mentioned switching units, so that the above-mentioned control unit can adjust the power provided by the above-mentioned power supply device to the above-mentioned processing units by controlling the above-mentioned switching units power supply, and the control unit can adjust the operating frequency provided to the processing units by controlling the frequency generator. 9.根据权利要求8所述的多处理器系统,其特征是:上述控制单元利用一硬件监测手段或一软件监测手段来检测上述这些处理单元的负载,以获得多个相对应的检测结果。9. The multi-processor system according to claim 8, wherein the control unit uses a hardware monitoring means or a software monitoring means to detect the loads of the processing units, so as to obtain a plurality of corresponding detection results. 10.根据权利要求9所述的多处理器系统,其特征是:上述硬件监测手段利用一检测单元实施,且上述检测单元分别电性连接上述这些处理单元以及上述控制单元。10. The multi-processor system according to claim 9, wherein the hardware monitoring means is implemented by a detection unit, and the detection unit is electrically connected to the processing units and the control unit respectively. 11.根据权利要求9所述的多处理器系统,其特征是:上述控制单元依据上述这些检测结果来判断负载是否集中在上述这些处理单元的其中一个处理单元。11. The multi-processor system according to claim 9, wherein the control unit determines whether the load is concentrated on one of the processing units according to the detection results. 12.根据权利要求11所述的多处理器系统,其特征是:上述这些处理单元包括一第一处理单元以及一第二处理单元,若负载集中在上述第一处理单元,则上述控制单元控制上述这些开关单元的操作,来提高上述第一处理单元的供电。12. The multiprocessor system according to claim 11, wherein the processing units include a first processing unit and a second processing unit, and if the load is concentrated on the first processing unit, the control unit controls The operation of the aforementioned switching units is used to increase the power supply of the aforementioned first processing unit. 13.根据权利要求11所述的多处理器系统,其特征是:上述这些处理单元包括一第一处理单元以及一第二处理单元,若负载集中在上述第一处理单元,则上述控制单元控制上述频率产生器,以提高上述第一处理单元的工作频率。13. The multiprocessor system according to claim 11, wherein the processing units include a first processing unit and a second processing unit, and if the load is concentrated on the first processing unit, the control unit controls The above-mentioned frequency generator is used to increase the working frequency of the above-mentioned first processing unit. 14.根据权利要求13所述的多处理器系统,其特征是:上述控制单元通过一内部集成电路总线来控制上述频率产生器。14. The multi-processor system according to claim 13, wherein the control unit controls the frequency generator through an inter-integrated circuit bus. 15.根据权利要求11所述的多处理器系统,其特征是:上述这些处理单元包括一第一处理单元以及一第二处理单元,若负载集中在上述第一处理单元,则上述控制单元提高上述第一处理单元的内部倍频。15. The multiprocessor system according to claim 11, characterized in that: said processing units include a first processing unit and a second processing unit, if the load is concentrated on said first processing unit, said control unit increases The internal frequency multiplier of the above-mentioned first processing unit. 16.根据权利要求8所述的多处理器系统,其特征是:上述这些开关单元为晶体管开关。16. The multi-processor system according to claim 8, wherein said switch units are transistor switches. 17.根据权利要求8所述的多处理器系统,其特征是:上述软件监测手段是利用一应用程序或一操作系统来读取上述这些处理单元的使用率。17. The multi-processor system according to claim 8, wherein the software monitoring means uses an application program or an operating system to read the usage rates of the processing units.
CN200710008123.XA 2007-01-26 2007-01-26 Multi-processor system and its performance adjustment method Active CN101231551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710008123.XA CN101231551B (en) 2007-01-26 2007-01-26 Multi-processor system and its performance adjustment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710008123.XA CN101231551B (en) 2007-01-26 2007-01-26 Multi-processor system and its performance adjustment method

Publications (2)

Publication Number Publication Date
CN101231551A true CN101231551A (en) 2008-07-30
CN101231551B CN101231551B (en) 2014-12-10

Family

ID=39898074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710008123.XA Active CN101231551B (en) 2007-01-26 2007-01-26 Multi-processor system and its performance adjustment method

Country Status (1)

Country Link
CN (1) CN101231551B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104081312A (en) * 2012-04-20 2014-10-01 惠普发展公司,有限责任合伙企业 Voltage regulator control system
CN105022469A (en) * 2014-04-24 2015-11-04 宏达国际电子股份有限公司 Portable electronic device and kernel exchange method thereof
US11126470B2 (en) 2016-12-22 2021-09-21 Industrial Technology Research Institute Allocation method of central processing units and server using the same
CN113641235A (en) * 2021-08-31 2021-11-12 Oppo广东移动通信有限公司 Power supply device, method, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7308591B2 (en) * 2004-12-16 2007-12-11 International Business Machines Corporation Power management of multi-processor servers

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104081312A (en) * 2012-04-20 2014-10-01 惠普发展公司,有限责任合伙企业 Voltage regulator control system
US9851768B2 (en) 2012-04-20 2017-12-26 Hewlett Packard Enterprise Development Lp Voltage regulator control system
CN105022469A (en) * 2014-04-24 2015-11-04 宏达国际电子股份有限公司 Portable electronic device and kernel exchange method thereof
US9715272B2 (en) 2014-04-24 2017-07-25 Htc Corporation Portable electronic device and core swapping method thereof
CN105022469B (en) * 2014-04-24 2018-06-19 宏达国际电子股份有限公司 Portable electronic device and kernel exchange method thereof
US11126470B2 (en) 2016-12-22 2021-09-21 Industrial Technology Research Institute Allocation method of central processing units and server using the same
CN113641235A (en) * 2021-08-31 2021-11-12 Oppo广东移动通信有限公司 Power supply device, method, computer equipment and storage medium

Also Published As

Publication number Publication date
CN101231551B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
TWI342498B (en) Multi-processor system and performance enhancement method thereof
US6298448B1 (en) Apparatus and method for automatic CPU speed control based on application-specific criteria
US8977880B2 (en) Method for managing power supply of multi-core processor system involves powering off main and slave cores when master bus is in idle state
US7437581B2 (en) Method and apparatus for varying energy per instruction according to the amount of available parallelism
US7814485B2 (en) System and method for adaptive power management based on processor utilization and cache misses
TWI402647B (en) Voltage control device, method and computer device capable of dynamically regulating voltage and effectively saving energy
US7134031B2 (en) Performance control within a multi-processor system
CN101578565B (en) Method and apparatus for power throttling a processor in an information handling system
CN101241390B (en) Performance adjustment method of multi-core processor
US20080189569A1 (en) Adjusting performance method for multi-core processor
US20050046400A1 (en) Controlling operation of a voltage supply according to the activity of a multi-core integrated circuit component or of multiple IC components
US10528119B2 (en) Dynamic power routing to hardware accelerators
JP2009520302A (en) Method and apparatus for detecting processor state transitions
EP3770727B1 (en) Technology for managing per-core performance states
US20220197367A1 (en) Hardware and software coordinated cost-aware low power state selection
CN101231551B (en) Multi-processor system and its performance adjustment method
EP4268050A1 (en) Power management for universal serial bus (usb) type-c port
JP2024525376A (en) System and method for controlling current supply in a multiprocessor core system via instruction per cycle reduction - Patents.com
JP2018092551A (en) Information processing device, control method for information processing device, and control program for information processing device
Chip A New DVFS Algorithm Design for Multi-core
CN117555405A (en) Dynamic voltage frequency adjustment method, device, equipment, medium and processor system
CN1474250A (en) Efficiency control method for central processing unit
Zeng et al. Power Management for Idle Time in the Presence of Periodic Interrupt Services

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