TW201435562A - Server system and power management method thereof - Google Patents

Server system and power management method thereof Download PDF

Info

Publication number
TW201435562A
TW201435562A TW102109238A TW102109238A TW201435562A TW 201435562 A TW201435562 A TW 201435562A TW 102109238 A TW102109238 A TW 102109238A TW 102109238 A TW102109238 A TW 102109238A TW 201435562 A TW201435562 A TW 201435562A
Authority
TW
Taiwan
Prior art keywords
server module
power consumption
module
server
power
Prior art date
Application number
TW102109238A
Other languages
Chinese (zh)
Other versions
TWI566081B (en
Inventor
Po-Wen Huang
Chi-Jung Lo
Cheng-Chieh Yeh
Original Assignee
Mitac Int Corp
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 Mitac Int Corp filed Critical Mitac Int Corp
Priority to TW102109238A priority Critical patent/TWI566081B/en
Publication of TW201435562A publication Critical patent/TW201435562A/en
Application granted granted Critical
Publication of TWI566081B publication Critical patent/TWI566081B/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

Disclosed is a server system, comprising a first server module, a first power distribution module, a second server module, a second power distribution module, and a power module. Each of the first server module and the second server module includes a first processing unit and a second processing unit. The first power distribution module is electrically connected to the first server module and the power module, and supplies power to the first server module. The second power distribution module is electrically connected to the second server module and the power module, and supplies power to the second server module. Power consumption upper limit threshold and power consumption lower limit threshold of the first server module or the second server module can be setup respectively. Alternatively, total power consumption upper limit threshold and total power consumption lower limit threshold of both can be setup such that adjustment procedure of power consumption value can be carried out in accordance with the thresholds.

Description

伺服器系統及其電源管理方法 Server system and power management method thereof

本發明是有關於一種伺服器系統及其電源管理方法,特別是指一種可對伺服器系統中的各個伺服器模組分別進行電源管理的伺服器系統及其電源管理方法。 The invention relates to a server system and a power management method thereof, in particular to a server system capable of separately managing power of each server module in a server system and a power management method thereof.

隨著網際網路與雲端運算(cloud computing)之普及,提供上述服務的伺服器系統於執行效能與電力節約之要求亦與日俱增。一般而言,伺服器系統均包含多個伺服器模組,並藉由該等伺服器模組同步執行多筆運算,以滿足使用者的效能需求。以中華民國公告號第M413895號專利為例,該案揭露一種機架式伺服器(rack-mounted server),該機架式伺服器包含一機殼、多個裝設於機殼內且便於卸除的伺服器模組(server module),以及安裝於機殼內且提供該等伺服器模組所需電力的電源供應模組。 With the popularity of the Internet and cloud computing, the requirements for performance and power savings in server systems that provide these services are increasing. In general, the server system includes a plurality of server modules, and the plurality of operations are simultaneously executed by the server modules to meet the performance requirements of the user. Taking the Republic of China Announcement No. M413895 as an example, the case discloses a rack-mounted server, which includes a casing, a plurality of devices mounted in the casing, and is convenient for unloading. A server module is included, and a power supply module installed in the casing and providing power required by the server modules.

上述機架式伺服器的電源管理通常是由使用者設定其中一個伺服器模組為主(master)伺服器模組,其他伺服器模組則為從(slave)伺服器模組,並通過主伺服器模組對所有伺服器模組進行功耗目標值設定,讓各個伺服器模組運作時依據其功耗目標值調整運作效能,以達到伺服器的電源管理目的。但是以目前的電源管理方法來說,使用 者透過主伺服器模組進行功耗目標值設定時,只能將所有的伺服器模組設定為相同的功耗目標值(例如所有伺服器模組的功耗目標值都設定為100瓦),且無法得知各個伺服器模組運作時的實際功耗,因此無法依據各個伺服器模組的實際功耗設定其功耗目標值,而缺乏對各個伺服器模組進行電源管理的彈性。此外,由於前述功耗目標值之設定及電源管理是由主伺服器模組執行,當主伺服器模組故障或維修時,便無法對各個從伺服器模組進行電源管理,而影響伺服器系統的可靠性。 The power management of the above rack server is usually set by the user to one of the server modules as the master server module, and the other server modules are the slave server modules and pass the master. The server module sets the power consumption target value for all server modules, so that each server module adjusts the operating efficiency according to the power consumption target value when operating, so as to achieve the power management purpose of the server. But in the current power management method, use When setting the power consumption target value through the main server module, all server modules can only be set to the same power consumption target value (for example, the power consumption target value of all server modules is set to 100 watts) The actual power consumption of each server module is not known, so the power consumption target value cannot be set according to the actual power consumption of each server module, and the flexibility of power management for each server module is lacking. In addition, since the foregoing power consumption target value setting and power management are performed by the main server module, when the main server module is faulty or repaired, power management of each slave server module cannot be performed, and the server is affected. System reliability.

因此,本發明之目的,即在提供一種具有較佳電源管理彈性與可靠性的伺服器系統。 Accordingly, it is an object of the present invention to provide a server system having better power management flexibility and reliability.

於是,本發明伺服器系統,配合一遠端電腦或一操控裝置運作,並包含一傳輸介面、一第一伺服器模組、一第一電源分配模組、一第二伺服器模組、一第二電源分配模組及一電源模組。 Therefore, the server system of the present invention operates in conjunction with a remote computer or a control device, and includes a transmission interface, a first server module, a first power distribution module, a second server module, and a The second power distribution module and a power module.

該傳輸介面係電連接於該遠端電腦或該操控裝置。該第一伺服器模組電連接於該傳輸介面,並包括一用於訊號處理的第一處理單元。該第一電源分配模組電連接且提供電力於該第一伺服器模組,並包括一計算該第一伺服器模組之功率消耗值的第一功率偵測器。該第二伺服器模組電連接於該傳輸介面,並包括一用於訊號處理的第二處理單元。該第二電源分配模組電連接且提供電力於該第二伺服器模組,並包括一計算該第二伺服器模組之功率消 耗值的第二功率偵測器。該電源模組電連接且提供電力於該第一電源分配模組與該第二電源分配模組。 The transmission interface is electrically connected to the remote computer or the control device. The first server module is electrically connected to the transmission interface and includes a first processing unit for signal processing. The first power distribution module is electrically connected and provides power to the first server module, and includes a first power detector that calculates a power consumption value of the first server module. The second server module is electrically connected to the transmission interface and includes a second processing unit for signal processing. The second power distribution module is electrically connected and provides power to the second server module, and includes a power consumption calculation for the second server module A second power detector that consumes power. The power module is electrically connected and provides power to the first power distribution module and the second power distribution module.

其中,該第一伺服器模組的第一處理單元或該第二伺服器模組的第二處理單元可透過該傳輸介面,接收由該遠端電腦或該操控裝置發出的一設定指令,並依據該設定指令設定其功耗上限門檻值;該第一伺服器模組的第一處理單元或該第二伺服器模組的第二處理單元還於接收一偵測指令後,依據其功耗上限門檻值調節其功率消耗值,使該第一伺服器模組或該第二伺服器模組個別的功率消耗值不超過其功耗上限門檻值。 The first processing unit of the first server module or the second processing unit of the second server module can receive a setting command sent by the remote computer or the operating device through the transmission interface, and Setting a power consumption upper threshold according to the setting instruction; the first processing unit of the first server module or the second processing unit of the second server module further receives a detection instruction according to the power consumption thereof The upper threshold value adjusts the power consumption value such that the individual power consumption value of the first server module or the second server module does not exceed the power consumption upper threshold.

較佳地,該第一伺服器模組的第一處理單元或該第二伺服器模組的第二處理單元還依據該設定指令設定其功耗下限門檻值,並於接收該偵測指令後,依據該功耗下限門檻值個別調節其功率消耗值,使該第一伺服器模組或該第二伺服器模組個別的功率消耗值趨於與其功耗下限門檻值相符。 Preferably, the first processing unit of the first server module or the second processing unit of the second server module further sets a power consumption lower threshold according to the setting instruction, and after receiving the detection instruction, The power consumption value is individually adjusted according to the power consumption lower threshold, so that the individual power consumption values of the first server module or the second server module tend to match the power consumption lower threshold.

較佳地,該第一伺服器模組的第一處理單元還可接收由該遠端電腦或該操控裝置發出的另一設定指令,並依據該設定指令設定該第一伺服器模組與該第二伺服器模組兩者的總功耗上限門檻值;該第一伺服器模組的第一處理單元還可於接收另一偵測指令後,依據一順位規則令其本身或該第二伺服器模組調節其個別的功率消耗值,使該第一伺服器模組與該第二伺服器模組的功率消耗值的加總值不超過該總功耗上限門檻值。 Preferably, the first processing unit of the first server module can further receive another setting command sent by the remote computer or the operating device, and set the first server module according to the setting command. a total power consumption threshold of the second server module; the first processing unit of the first server module may further determine itself or the second according to a rank rule after receiving another detection command The server module adjusts its individual power consumption value such that the sum of the power consumption values of the first server module and the second server module does not exceed the total power consumption upper threshold.

較佳地,該第一伺服器模組的第一處理單元還可接收由該遠端電腦或該操控裝置發出的另一設定指令,並依據該設定指令設定該第一伺服器模組與該第二伺服器模組兩者的總功耗下限門檻值;該第一伺服器模組的第一處理單元還可於接收另一偵測指令後,依據一順位規則令其本身或該第二伺服器模組調節其個別的功率消耗值,使該第一伺服器模組與該第二伺服器模組的功率消耗值的加總值趨於與該總功耗下限門檻值相符。 Preferably, the first processing unit of the first server module can further receive another setting command sent by the remote computer or the operating device, and set the first server module according to the setting command. a total power consumption threshold threshold of the second server module; the first processing unit of the first server module may further cause itself or the second according to a rank rule after receiving another detection command The server module adjusts its individual power consumption values such that the sum of the power consumption values of the first server module and the second server module tends to coincide with the total power consumption lower threshold.

進一步來說,該第一伺服器模組或該第二伺服器模組是藉由其第一處理單元或第二處理單元的運作時脈的升降,以調節功率消耗值。 Further, the first server module or the second server module adjusts the power consumption value by the ups and downs of the operation clocks of the first processing unit or the second processing unit.

本發明的另一目的,在提供一種供前述伺服器系統執行的電源管理方法。 Another object of the present invention is to provide a power management method for execution by the aforementioned server system.

於是,本發明電源管理方法,包含以下步驟:(A)該第一伺服器模組接收一設定指令,並依據該設定指令設定一總功耗上限門檻值;(B)若該第一伺服器模組接收一偵測指令,則該第一伺服器模組發出一讀取指令至該電源模組,且隨後接收由該電源模組回傳的一總功率消耗值,該總功率消耗值係該第一伺服器模組與該第二伺服器模組個別的功率消耗值的加總值;(C)該第一伺服器模組執行該總功率消耗值與該總功耗上限門檻值的比對,若該總功率消耗值大於該總功耗上限門檻值,則執行步驟(D);及(D)該第一伺服器模組依據一順位規則,令該第一伺服器模組或該第二伺服器模組藉由其處理單元之運作時脈的調降以 調節其個別的功率消耗值,使該總功率消耗值不超過該總功耗上限門檻值。 Therefore, the power management method of the present invention includes the following steps: (A) the first server module receives a setting command, and sets a total power consumption upper threshold according to the setting instruction; (B) if the first server When the module receives a detection command, the first server module sends a read command to the power module, and then receives a total power consumption value returned by the power module, and the total power consumption value is The sum of the individual power consumption values of the first server module and the second server module; (C) the first server module performs the total power consumption value and the total power consumption threshold Comparing, if the total power consumption value is greater than the total power consumption upper threshold, performing step (D); and (D) the first server module according to a rank rule, the first server module or The second server module is controlled by the clock of the processing unit of the processing unit Adjust its individual power consumption value so that the total power consumption value does not exceed the total power consumption upper threshold.

較佳地,於步驟(A)該第一伺服器模組還依據該設定指令設定一小於該總功耗上限門檻值的總功耗下限門檻值,且於步驟(D)後還包含:步驟(E)該第一伺服器模組依據該順位規則,令其本身或該第二伺服器模組藉由其處理單元之運作時脈的升降以調節個別的功率消耗值,使該總功率消耗值趨於與該總功耗下限門檻值相符;及步驟(F)若該第一伺服器模組接收一中斷指令,則該第一伺服器模組結束其本身或該第二伺服器模組的功率消耗值的調節程序。 Preferably, in the step (A), the first server module further sets a total power consumption lower threshold value that is less than the total power consumption upper threshold value according to the setting instruction, and further includes: a step after the step (D) (E) the first server module adjusts the individual power consumption value by adjusting the operating clock of the processing unit by itself or the second server module according to the order rule, so that the total power consumption is The value tends to coincide with the total power consumption lower threshold; and step (F) if the first server module receives an interrupt command, the first server module ends itself or the second server module The adjustment procedure of the power consumption value.

較佳地,該伺服器系統還包含一第一電源分配模組及一第二電源分配模組,該第一伺服器模組的功率消耗值是由該第一電源分配模組的一第一功率偵測器讀取,且該第二電源分配模組的功率消耗值是由該第二電源分配模組的一第二功率偵測器讀取。 Preferably, the server system further includes a first power distribution module and a second power distribution module, wherein the power consumption value of the first server module is a first of the first power distribution module The power detector reads, and the power consumption value of the second power distribution module is read by a second power detector of the second power distribution module.

本發明還提出另一種電源管理方法,該方法包含以下步驟:(A)該第一伺服器模組或該第二伺服器模組接收一設定指令,並依據該設定指令設定一功耗上限門檻值;(B)若該第一伺服器模組或該第二伺服器模組接收一偵測指令,則發出一讀取指令至對應的第一電源分配模組或第二電源分配模組,並接收其回傳的一功率消耗值;(C)該接收偵測指令的第一伺服器模組或第二伺服器模組執行其功率消耗值與其功耗上限門檻值的比對,若該功率消耗值大 於該總功耗上限門檻值,則執行步驟(D);及(D)該接收偵測指令的第一伺服器模組或第二伺服器模組依據其功耗上限門檻值,藉由其處理單元之運作時脈的調降以調整其功率消耗值,使該功率消耗值不超過該功耗上限門檻值。 The present invention further provides another power management method, the method comprising the following steps: (A) the first server module or the second server module receives a setting command, and sets a power consumption upper threshold according to the setting instruction. (B) if the first server module or the second server module receives a detection command, issuing a read command to the corresponding first power distribution module or the second power distribution module, And receiving a power consumption value of the backhaul; (C) the first server module or the second server module receiving the detection command performs a comparison between the power consumption value and the power consumption upper threshold value, if Large power consumption value In the total power consumption upper threshold, step (D) is performed; and (D) the first server module or the second server module receiving the detection command is based on the upper limit threshold of the power consumption, The operating clock of the processing unit is adjusted to adjust its power consumption value so that the power consumption value does not exceed the power consumption upper threshold.

較佳地,於步驟(A)該接收設定指令的第一伺服器模組或第二伺服器模組還依據該設定指令,設定一小於該功耗上限門檻值的功耗下限門檻值;且於步驟(D)之後還包含:步驟(E)該接收偵測指令的第一伺服器模組或第二伺服器模組藉由其處理單元之運作時脈的升降以調節其功率消耗值,使該功率消耗值趨於與該功耗下限門檻值相符;及步驟(F)若該第一伺服器模組或該第二伺服器模組接收一中斷指令,則結束其功率消耗值的調節程序。 Preferably, the first server module or the second server module that receives the setting command in step (A) further sets a lower power consumption threshold value that is less than the power consumption upper threshold value according to the setting instruction; After the step (D), the method further includes: step (E) wherein the first server module or the second server module that receives the detection command adjusts the power consumption value of the operating clock of the processing unit to adjust the power consumption value thereof. And causing the power consumption value to coincide with the power consumption lower threshold value; and step (F), if the first server module or the second server module receives an interrupt instruction, ending adjustment of the power consumption value thereof program.

本發明之功效在於:伺服器系統可個別設定伺服器模組的功耗上限門檻值與功耗下限門檻值,或設定所有伺服器模組的總功耗上限門檻值與總功耗下限門檻值,而依據上述門檻值由各個伺服器模組進行功率消耗值的調節程序,而提升電源管理的便利性,並提升電源管理的可靠性。 The effect of the invention is that the server system can individually set the power consumption upper threshold value and the power consumption lower threshold value of the server module, or set the total power consumption upper threshold value and the total power consumption lower threshold value of all server modules. According to the above threshold value, the power consumption value adjustment program is performed by each server module, thereby improving the convenience of power management and improving the reliability of power management.

1‧‧‧伺服器系統 1‧‧‧Server system

10‧‧‧傳輸介面 10‧‧‧Transport interface

11‧‧‧第一伺服器模組 11‧‧‧First server module

111‧‧‧第一處理單元 111‧‧‧First Processing Unit

12‧‧‧第一電源分配模組 12‧‧‧First power distribution module

121‧‧‧第一功率偵測器 121‧‧‧First Power Detector

13‧‧‧第二伺服器模組 13‧‧‧Second Server Module

131‧‧‧第二處理單元 131‧‧‧Second processing unit

14‧‧‧第二電源分配模組 14‧‧‧Second power distribution module

141‧‧‧第二功率偵測器 141‧‧‧Second power detector

15‧‧‧第三伺服器模組 15‧‧‧ third server module

151‧‧‧第三處理單元 151‧‧‧ Third Processing Unit

16‧‧‧第三電源分配模組 16‧‧‧ Third power distribution module

161‧‧‧第三功率偵測器 161‧‧‧ Third Power Detector

17‧‧‧第四伺服器模組 17‧‧‧4th server module

171‧‧‧第四處理單元 171‧‧‧fourth processing unit

18‧‧‧第四電源分配模組 18‧‧‧ Fourth power distribution module

181‧‧‧第四功率偵測器 181‧‧‧fourth power detector

19‧‧‧電源模組 19‧‧‧Power Module

191‧‧‧供電單元 191‧‧‧Power supply unit

2‧‧‧遠端電腦 2‧‧‧Remote computer

3‧‧‧操控裝置 3‧‧‧Control device

S1~S9‧‧‧流程步驟 S1~S9‧‧‧ Process steps

F1~F9‧‧‧流程步驟 F1~F9‧‧‧ Process steps

本發明之其他的特徵及功效,將於參照圖式的較佳實施例詳細說明中清楚地呈現,其中:圖1是一系統方塊圖,說明本發明伺服器系統的較佳實施例;圖2是一流程圖,說明本發明電源管理方法的執行流程 ;及圖3是一流程圖,說明本發明電源管理方法的另一執行流程。 Other features and advantages of the present invention will be apparent from the detailed description of the preferred embodiments illustrated in the accompanying drawings in which: FIG. 1 is a system block diagram illustrating a preferred embodiment of the server system of the present invention; Is a flow chart illustrating the execution flow of the power management method of the present invention And FIG. 3 is a flow chart illustrating another execution flow of the power management method of the present invention.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚地呈現。 The foregoing and other technical aspects, features and advantages of the present invention will be apparent from the following description of the preferred embodiments.

參閱圖1,為本發明伺服器系統1的較佳實施例。本實施例中,伺服器系統1是以2U-4 node的機架式伺服器(rack-mounted server)為例進行說明。所謂的「U」是指伺服器機殼之厚度單位,每一單位的「U」為1.75英吋,約為44.45釐米,因此2U是指機架式伺服器的厚度約為88.9釐米。「Node」(節點)則是指機架式伺服器內含的伺服器模組,因此4 node是指該伺服器包含4個可獨立運作的伺服器模組。但在本發明的其他實施態樣中,伺服器系統1也可以是刀鋒型伺服器(blade server)等不同類型的伺服器,且伺服器的尺寸與內含伺服器模組的數量可依需要而調整,不以上述內容為限。 Referring to Figure 1, a preferred embodiment of a server system 1 of the present invention is shown. In the present embodiment, the server system 1 is described by taking a 2U-4 node rack-mounted server as an example. The so-called "U" refers to the thickness unit of the servo casing. The "U" of each unit is 1.75 inches, which is about 44.45 centimeters. Therefore, the 2U means that the thickness of the rack server is about 88.9 cm. "Node" refers to the server module included in the rack server. Therefore, the 4 node means that the server contains four independently operable server modules. However, in other embodiments of the present invention, the server system 1 may also be a different type of server such as a blade server, and the size of the server and the number of the server modules included may be as needed. Adjustments are not limited to the above.

具體來說,本發明伺服器系統1可配合一遠端電腦2或一操控裝置3進行操控運作,並包含一傳輸介面10、一第一伺服器模組11、一第一電源分配模組12、一第二伺服器模組13、第二電源分配模組14、一第三伺服器模組15、一第三電源分配模組16、一第四伺服器模組17、一第四電源分配模組18及一電源模組19。 Specifically, the server system 1 of the present invention can be operated with a remote computer 2 or a control device 3, and includes a transmission interface 10, a first server module 11, and a first power distribution module 12. a second server module 13, a second power distribution module 14, a third server module 15, a third power distribution module 16, a fourth server module 17, and a fourth power distribution The module 18 and a power module 19.

傳輸介面10包括通用序列傳輸埠(USB)、網路傳輸埠、基本輸入輸出傳輸埠及影像傳輸埠等各式類型的傳輸埠(圖中均未繪製),以供遠端電腦2透過網際網路與伺服器系統1進行資料交換,或提供顯示螢幕、鍵盤、滑鼠等操控裝置3連接。 The transmission interface 10 includes various types of transmission ports (not shown in the figure), such as universal serial transmission (USB), network transmission, basic input/output transmission, and image transmission, for the remote computer 2 to access the Internet. The road exchanges data with the server system 1, or provides a display device 3 such as a screen, a keyboard, a mouse, and the like.

第一伺服器模組11、第二伺服器模組13、第三伺服器模組15與第四伺服器模組17即為前述機架式伺服器的4個節點(4 node),且各包括一用於訊號處理的第一處理單元111、第二處理單元131、第三處理單元151及第四處理單元171。此處,該等處理單元111、131、151、171係指各個伺服器模組11、13、15、17的中央處理器(central processing unit,CPU),但處理單元111、131、151、171還可以進一步包含伺服器模組11、13、15、17中的各式控制晶片,而不以中央處理器為限。此外,上述伺服器模組11、13、15、17還分別包括主機板、記憶體、硬碟等組件,但是為了簡化後續說明內容,圖1中並未一一繪製。 The first server module 11, the second server module 13, the third server module 15, and the fourth server module 17 are four nodes (4 nodes) of the rack server, and each A first processing unit 111, a second processing unit 131, a third processing unit 151, and a fourth processing unit 171 for signal processing are included. Here, the processing units 111, 131, 151, and 171 refer to central processing units (CPUs) of the respective server modules 11, 13, 15, and 17, but the processing units 111, 131, 151, and 171 It is also possible to further include various control chips in the server modules 11, 13, 15, 17 without being limited to the central processing unit. In addition, the server modules 11, 13, 15, and 17 respectively include components such as a motherboard, a memory, a hard disk, and the like, but are not drawn one by one in FIG. 1 in order to simplify the subsequent description.

第一電源分配模組12、第二電源分配模組14、第三電源分配模組16與第四電源分配模組18電連接於電源模組19,其分別將電源模組19的電力分配、提供於第一伺服器模組11、第二伺服器模組13、第三伺服器模組15與第四伺服器模組17,且各具有一對應計算第一伺服器模組11、第二伺服器模組13、第三伺服器模組15與第四伺服器模組17運作時的功率消耗值的第一功率偵測器121、第二功率偵測器141、第三功率偵測器161與第四功率偵測 器181。也就是說,透過功率偵測器121、141、161、181的讀值顯示,使用者可以分別監控伺服器模組11、13、15、17於特定運作狀態下的電力消耗。此外,上述功率偵測器121、141、161、181對伺服器模組11、13、15、17偵測的功率消耗值還可以儲存為資料檔案,以供使用者查驗,或供伺服器系統1執行自動管理程序時參考。 The first power distribution module 12, the second power distribution module 14, the third power distribution module 16, and the fourth power distribution module 18 are electrically connected to the power module 19, which respectively distributes the power of the power module 19. Provided in the first server module 11, the second server module 13, the third server module 15, and the fourth server module 17, and each has a corresponding calculation first server module 11, second The first power detector 121, the second power detector 141, and the third power detector of the power consumption values when the server module 13, the third server module 15, and the fourth server module 17 operate 161 and fourth power detection 181. That is to say, through the read value display of the power detectors 121, 141, 161, and 181, the user can separately monitor the power consumption of the server modules 11, 13, 15, 17 in a specific operating state. In addition, the power consumption values detected by the power detectors 121, 141, 161, and 181 on the server modules 11, 13, 15, and 17 can also be stored as data files for the user to check, or for the server system. 1 Refer to when performing the automatic management program.

電源模組19包含一供電單元191,可將交流電源轉換為直流電源以提供伺服器模組11、13、15、17運用,並可計算伺服器模組11、13、15、17運作時的總功率消耗值。此處,該總功率消耗值係為伺服器模組11、13、15、17個別的功率消耗值的加總值。舉例來說,若伺服器模組11、13、15、17運作時的功率消耗值分別是110瓦、100瓦、95瓦與105瓦,則該電源模組19顯示的總功率消耗值即為410瓦。 The power module 19 includes a power supply unit 191 for converting AC power to DC power to provide operation of the server modules 11, 13, 15, and 17, and calculating the operation of the server modules 11, 13, 15, and 17 Total power consumption value. Here, the total power consumption value is the sum of the individual power consumption values of the server modules 11, 13, 15, and 17. For example, if the power consumption values of the server modules 11, 13, 15, 17 are 110 watts, 100 watts, 95 watts, and 105 watts, respectively, the total power consumption value displayed by the power module 19 is 410 watts.

一般來說,上述伺服器系統1的操作是由使用者透過遠端電腦2或操控裝置3,將其中一個伺服器模組設定為主(master)伺服器模組,其他伺服器模組則設定為從(slave)伺服器模組,並主要由主伺服器模組進行伺服器系統1的操控程序。於後續段落中,本實施例將以第一伺服器模組11作為主伺服器模組,第二伺服器模組13、第三伺服器模組15與第四伺服器模組17作為從伺服器模組的架構為例,進行伺服器系統1的電源管理方法的說明。但是依使用者需要,主伺服器模組與從伺服器模組的設定可對應調整,不以特定的實施方式為限。 Generally, the operation of the server system 1 is performed by the user through the remote computer 2 or the control device 3, and one of the server modules is set as the master server module, and the other server modules are set. The servo system 1 is controlled by the slave server module and mainly by the master server module. In the following paragraphs, the first server module 11 is used as the main server module, and the second server module 13, the third server module 15 and the fourth server module 17 are used as slave servos. The architecture of the module is taken as an example to describe the power management method of the server system 1. However, according to the needs of the user, the settings of the master server module and the slave server module can be adjusted accordingly, and are not limited to the specific implementation manner.

以下參照圖1及圖2,說明本發明伺服器系統1的第一種電源管理方法。 Hereinafter, a first power management method of the server system 1 of the present invention will be described with reference to FIGS. 1 and 2.

步驟S1:第一伺服器模組11(主伺服器模組)的第一處理單元111接收使用者藉由遠端電腦2或操控裝置3發出的一設定指令,並依據該設定指令設定所有伺服器模組11、13、15、17的總功耗上限門檻值或總功耗下限門檻值。該總功耗上限門檻值與總功耗下限門檻值係為一目標設定值,供伺服器模組11、13、15、17依據上述門檻值調節其總功率消耗值。舉例來說,總功耗上限門檻值可設定為400瓦,總功耗下限門檻值則設定為390瓦,但上述門檻值的設定可視需要而對應調整,不以此處揭露的數值為限。 Step S1: The first processing unit 111 of the first server module 11 (the main server module) receives a setting command sent by the user via the remote computer 2 or the control device 3, and sets all the servos according to the setting command. The total power consumption threshold or the total power threshold threshold of the modules 11, 13, 15, and 17. The total power consumption upper threshold and the total power lower threshold are a target set value, and the server modules 11, 13, 15, 17 adjust the total power consumption value according to the threshold value. For example, the total power consumption upper threshold can be set to 400 watts, and the total power lower threshold is set to 390 watts, but the above threshold settings can be adjusted as needed, and are not limited to the values disclosed herein.

步驟S2:第一伺服器模組11的第一處理單元111判斷是否進一步接收由使用者發出的偵測指令。若判斷結果為已接收,則執行步驟S3;若判斷結果為未接收,則進一步等候偵測指令的發送。 Step S2: The first processing unit 111 of the first server module 11 determines whether to further receive the detection command issued by the user. If the result of the determination is that it has been received, step S3 is performed; if the result of the determination is not received, the transmission of the detection command is further awaited.

步驟S3:第一伺服器模組11的第一處理單元111發出一讀取指令至電源模組19,令電源模組19回傳伺服器模組11、13、15、17的總功率消耗值。 Step S3: The first processing unit 111 of the first server module 11 sends a read command to the power module 19, so that the power module 19 returns the total power consumption value of the server modules 11, 13, 15, and 17. .

步驟S4、S5:第一伺服器模組11的第一處理單元111進行伺服器模組11、13、15、17的總功率消耗值與總功耗上限門檻值的比對,若當下的總功率消耗值大於總功耗上限門檻值,則進一步執行步驟S6;若比對結果為否,則重新執行步驟S3。 Steps S4, S5: The first processing unit 111 of the first server module 11 compares the total power consumption value of the server modules 11, 13, 15, 17 with the total power consumption threshold, if the current total If the power consumption value is greater than the total power consumption upper threshold, step S6 is further performed; if the comparison result is negative, step S3 is re-executed.

步驟S6:假設伺服器模組11、13、15、17的總功率消耗值為410瓦,大於總功耗上限門檻值設定的400瓦,因此第一伺服器模組11的第一處理單元111依據一由使用者制定的順位規則,令該順位規則設定的伺服器模組11、13、15、17執行其處理單元111、131、151、171的運作狀態降階程序,以降低總功率消耗值,且隨後重新執行總功率消耗值的讀取與比對程序。 Step S6: It is assumed that the total power consumption value of the server modules 11, 13, 15, 17 is 410 watts, which is greater than 400 watts set by the total power consumption upper threshold, so the first processing unit 111 of the first server module 11 According to a ranking rule set by the user, the server modules 11, 13, 15, 17 set by the order rule execute the operating state reduction program of the processing units 111, 131, 151, and 171 to reduce the total power consumption. The value, and then re-execute the reading and comparison procedure of the total power consumption value.

以下藉由英特爾(Intel)製造的中央處理器(CPU)為例,說明處理單元111、131、151、171的降階程序與昇階程序。具體來說,前述的中央處理器具有P-state(performance state)與T-state(throttling state)等運作狀態,且能依據伺服器所需的性能表現或電力節約需求而調整運作階級。以P-state來說,該狀態可分為多個運作階級(例如從第0階至第13階),且中央處理器的性能表現(運作時脈)與電力需求會隨第0階至第13階依序下降。也就是說,運作階級降階後,中央處理器會以較慢的運作時脈進行資料運算,且耗費的電力較少。因此,於本步驟中令處理單元111、131、151、171執行降階指令後,可節省電力的消耗,而降低總功率消耗值。 The following is a description of the reduced-order program and the upgraded program of the processing units 111, 131, 151, and 171 by taking a central processing unit (CPU) manufactured by Intel as an example. Specifically, the foregoing central processing unit has an operating state such as a P-state (performance state) and a T-state (throttling state), and can adjust the operating class according to the performance required by the server or the power saving requirement. In the case of P-state, the state can be divided into multiple operating classes (for example, from the 0th to the 13th order), and the performance of the central processor (operation clock) and power demand will vary from the 0th to the The 13th order descends sequentially. That is to say, after the operating class is reduced, the central processing unit performs data calculation with a slower operating clock and consumes less power. Therefore, after the processing units 111, 131, 151, and 171 are executed in this step, the power consumption is saved, and the total power consumption value is reduced.

降階程序雖然可以達成電力節約的目的,但也會使執行降階程序的處理單元111、131、151、171運算效能下降,因此必須透過一機制維持維持性能表現與電力節約的平衡點。本實施例中,伺服器系統1是藉由一順位規則以達成此目的。 Although the reduced-order procedure can achieve the purpose of power saving, it also reduces the performance of the processing units 111, 131, 151, and 171 that perform the reduced-order procedure. Therefore, it is necessary to maintain a balance between maintaining performance and power saving through a mechanism. In this embodiment, the server system 1 is achieved by a ranking rule.

具體來說,使用者可依照伺服器模組11、13、15、17個別的性能表現或電力節約需求,分別設定其降階程序的執行順序。例如在各個伺服器模組11、13、15、17中,其資料處理量由大而小依序為第一伺服器模組11、第三伺服器模組15、第四伺服器模組17及第二伺服器模組13,也就是說第一伺服器模組11的第一處理單元111需要發揮最佳的執行效能,第二伺服器模組13的第二處理單元131可以最簡約的執行效能執行運算。 Specifically, the user can set the execution order of the reduced order program according to the individual performance or power saving requirements of the server modules 11, 13, 15, and 17. For example, in each of the server modules 11, 13, 15, and 17, the data processing amount is the first server module 11, the third server module 15, and the fourth server module 17 in large order. And the second server module 13, that is, the first processing unit 111 of the first server module 11 needs to perform optimal performance, and the second processing unit 131 of the second server module 13 can be the most compact. Perform performance execution operations.

因此,如果使用者以執行效能為優先考量,則上述中央處理器的降階程序應是以第二伺服器模組13最優先執行,第一伺服器模組11為最後執行,也就是說使用者可將該順位規則設定成第二伺服器模組13最優先執行降階程序、第四伺服器模組17次之、第三伺服器模組15再次之,第一伺服器模組11則最後執行。如此,依照效能、電力節約或其他條件設定該順位規則,可確保伺服器系統1於電力節約的同時,亦提供充分的運算效能。 Therefore, if the user prioritizes execution performance, the reduced-order procedure of the central processing unit should be executed with the highest priority of the second server module 13, and the first server module 11 is executed last, that is, used. The order rule can be set such that the second server module 13 performs the step-down procedure with the highest priority, the fourth server module 17 times, the third server module 15 again, and the first server module 11 Finally executed. In this way, setting the order rule according to performance, power saving or other conditions can ensure that the server system 1 provides sufficient computing performance while saving power.

此外,由於上述功耗降階程序會不斷反覆執行,直到總功率消耗值不高於總功耗上限門檻值為止。所以,較佳地,在此連續的功耗降階程序中,處理單元111、131、151、171的運作階級每降一階,就會等候一段時間,直到伺服器系統1處於穩定狀態後再執行下一個降階程序,以確保伺服器系統1的穩定運作。 In addition, since the power consumption reduction procedure described above is repeatedly executed until the total power consumption value is not higher than the total power consumption upper threshold. Therefore, preferably, in this continuous power consumption reduction procedure, the operating level of the processing units 111, 131, 151, and 171 will wait for a period of time after each step of the operation, until the servo system 1 is in a stable state. Perform the next step-down procedure to ensure stable operation of the server system 1.

而另一方面,處理單元111、131、151、171的昇階步驟類似於降階步驟,所以在此不多作贅述。 On the other hand, the step of increasing the processing units 111, 131, 151, 171 is similar to the step of reducing the steps, so no further details are provided herein.

步驟S7:第一伺服器模組11的第一處理單元111判斷伺服器模組11、13、15、17的總功率消耗值是否小於總功耗下限門檻值,若判斷結果為「是」,則執行步驟S8;若判斷結果為「否」,則重新執行步驟S6,繼續執行處理單元111、131、151、171的降階程序,以降低總功率消耗值。 Step S7: The first processing unit 111 of the first server module 11 determines whether the total power consumption value of the server modules 11, 13, 15, 17 is less than the total power consumption lower threshold, and if the determination result is "Yes", Then, step S8 is performed; if the result of the determination is "NO", step S6 is re-executed, and the step-down procedure of the processing units 111, 131, 151, and 171 is continued to reduce the total power consumption value.

步驟S8:若伺服器模組11、13、15、17的總功率消耗值(例如385瓦)小於總功耗下限門檻值(例如390瓦),表示伺服器系統1尚有足夠的電力額度可供處理單元111、131、151、171提升其運作時脈以提供更佳的性能表現,因此第一伺服器模組11會依據前述順位規則,令其本身或其他伺服器模組13、15、17執行功耗的昇階程序。該昇階程序的具體內容類似步驟S6,會以類似的方式逐漸提升處理單元111、131、151、171的運作時脈,因此在此不多作贅述。 Step S8: If the total power consumption value (for example, 385 watts) of the server modules 11, 13, 15, 17 is less than the total power consumption lower threshold (for example, 390 watts), it indicates that the server system 1 has sufficient power limit. The processing unit 111, 131, 151, 171 enhances its operating clock to provide better performance, so the first server module 11 will itself or other server modules 13, 15 according to the above-mentioned order rule. 17 an upgrade program that performs power consumption. The specific content of the upgrade program is similar to the step S6, and the operation clocks of the processing units 111, 131, 151, and 171 are gradually increased in a similar manner, and thus will not be further described herein.

步驟S9:第一伺服器模組11判斷是否接收由使用者發出的一中斷指令,該指令是使用者欲結束伺服器系統1的自動電源管理流程時,透過遠端電腦2或操控裝置3所發出。因此,若第一伺服器模組11收到該中斷指令,則伺服器系統1會停止上述電源管理程序。另一方面,若第一伺服器模組11未接收該中斷指令,則重新執行步驟S7,以判斷要執行昇階或降階程序。 Step S9: The first server module 11 determines whether an interrupt command issued by the user is received, and the command is used by the remote computer 2 or the control device 3 when the user wants to end the automatic power management process of the server system 1. issue. Therefore, if the first server module 11 receives the interrupt command, the server system 1 stops the power management program. On the other hand, if the first server module 11 does not receive the interrupt instruction, step S7 is re-executed to determine whether to perform an ascending or descending procedure.

綜上所述,本發明的第一種電源管理方法,是由使用者透過遠端電腦2藉由網際網路對第一伺服器模組 11(主伺服器模組)發出指令,或是藉由本地端的操控裝置3對第一伺服器模組11進行操控。第一伺服器模組11接收上述設定指令、偵測指令或中斷指令後,其本身會執行對應的程序,並對伺服器模組13、15、17(從伺服器模組)發出控制指令,使伺服器模組13、15、17執行其應遵循的程序。 In summary, the first power management method of the present invention is that the first server module is accessed by the user through the remote computer 2 via the Internet. 11 (the main server module) issues an instruction, or the first server module 11 is operated by the local control device 3. After receiving the setting command, the detecting command or the interrupt command, the first server module 11 executes the corresponding program itself and issues a control command to the server modules 13, 15, and 17 (from the server module). The server modules 13, 15, 17 are caused to execute the program they should follow.

進一步來說,此種電源管理方式是透過第一伺服器模組11設定伺服器模組11、13、15、17的總功耗上限門檻值與總功耗下限門檻值,並於伺服器模組11、13、15、17的總功率消耗值超過其總功耗上限門檻值時,先令伺服器模組11、13、15、17依據順位規則個別調降其功率消耗值,並依據總功耗下限門檻值的設定,使伺服器系統1的總功率消耗值趨於與總功耗下限門檻值相符,以達到電源管理的效果,並兼顧伺服器系統1的性能表現。此外,由於此方法可由使用者分別設定伺服器模組11、13、15、17功耗調節的順位規則,因此具有優良的管理彈性。再者,當第一伺服器模組11保養維修或故障時,使用者可設定其他伺服器模組13、15、17模組作為主伺服器模組,而能同樣地執行上述電源管理方法。 Further, the power management mode is to set the total power consumption upper threshold value and the total power consumption lower threshold value of the server modules 11, 13, 15, and 17 through the first server module 11, and in the server mode. When the total power consumption value of the groups 11, 13, 15, and 17 exceeds the total power consumption threshold, the servo modules 11, 13, 15, and 17 are individually adjusted to reduce the power consumption value according to the order rule, and according to the total The setting of the power consumption lower threshold value makes the total power consumption value of the servo system 1 tend to match the total power consumption lower threshold value to achieve the power management effect and the performance of the server system 1 is considered. In addition, since the method can separately set the order rule of the power consumption adjustment of the server modules 11, 13, 15, and 17, respectively, the method has excellent management flexibility. Moreover, when the first server module 11 is repaired or repaired, the user can set other server modules 13, 15, and 17 as the main server module, and the power management method can be similarly executed.

以下參照圖1及圖3,說明本發明伺服器系統1的第二種電源管理方法。此方法與前述第一種電源管理方法的差別在於,使用者是直接對各個伺服器模組11、13、15、17設定個別的功耗上限門檻值與功耗下限門檻值,讓各個伺服器模組11、13、15、17分別執行其電源管理程序 ,因此不是透過總功耗上限門檻值與總功耗下限門檻值對伺服器模組11、13、15、17進行的總功率消耗值的總管制。具體來說,該第二種電源管理方法包含以下步驟: Next, a second power management method of the server system 1 of the present invention will be described with reference to Figs. 1 and 3. The difference between this method and the first power management method is that the user directly sets individual power consumption upper thresholds and power lower thresholds for each server module 11, 13, 15, and 17 to allow each server. Modules 11, 13, 15, and 17 perform their power management procedures Therefore, it is not the total control of the total power consumption value of the server modules 11, 13, 15, 17 through the total power consumption threshold and the total power threshold. Specifically, the second power management method includes the following steps:

步驟F1:第一伺服器模組11(主伺服器模組)或任一伺服器模組13、15、17(從伺服器模組)接收由使用者發出的設定指令,並根據該設定指令設定其功耗上限門檻值或功耗下限門檻值。例如,使用者可指定第一伺服器模組11的功耗上限門檻值為105瓦,且其功耗下限門檻值為95瓦。類似地,其他伺服器模組13、15、17也可以由使用者逕行設定其功耗門檻值。 Step F1: The first server module 11 (main server module) or any of the server modules 13, 15, 17 (from the server module) receives a setting command issued by the user, and according to the setting instruction Set its power cap threshold or power lower threshold. For example, the user can specify that the power consumption upper threshold of the first server module 11 is 105 watts, and the power consumption lower threshold is 95 watts. Similarly, other server modules 13, 15, 17 can also be set by the user to set their power consumption threshold.

步驟F2:任一伺服器模組11、13、15、17判斷其本身是否接收一偵測指令,若判斷結果為「是」,則僅由接收該偵測指令的伺服器模組11、13、15、17執行步驟F3;若判斷結果為「否」,則等候後續指令。 Step F2: any of the server modules 11, 13, 15, 17 determines whether it receives a detection command itself. If the determination result is "Yes", only the server modules 11 and 13 that receive the detection command are received. Steps F3 are executed, 15, and 17; if the result of the determination is "No", the subsequent instructions are awaited.

步驟F3、F4:接收偵測指令的伺服器模組11、13、15、17發出一讀取指令至其對應的電源分配模組12、14、16、18,以讀取其當下運作的功率消耗值,並進一步進行功率消耗值與功耗上限門檻值或功耗下限門檻值的比對。 Steps F3 and F4: The server modules 11, 13, 15, and 17 that receive the detection command issue a read command to their corresponding power distribution modules 12, 14, 16, 18 to read the power of their current operation. The value is consumed, and the power consumption value is further compared with the power consumption upper threshold or the lower power threshold.

步驟F5:接收偵測指令的伺服器模組11、13、15、17判斷其功率消耗值是否大於功耗上限門檻值,若判斷結果為「是」則執行步驟F6,否則重新執行步驟F3。 Step F5: The server module 11 , 13 , 15 , 17 receiving the detection command determines whether the power consumption value is greater than the power consumption upper threshold. If the determination result is “Yes”, the step F6 is performed; otherwise, the step F3 is performed again.

以下為了簡化說明內容,均以第一伺服器模組11為例進行說明,但是其他伺服器模組13、15、17的電源 管理執行方式亦與其相同。 Hereinafter, in order to simplify the description, the first server module 11 will be described as an example, but the power supplies of other server modules 13, 15, and 17 are as follows. The management execution method is also the same.

步驟F6:接收偵測指令的伺服器模組11、13、15、17執行其處理單元111、131、151、171的功耗的降階程序。舉例來說,假設第一伺服器模組11的功率消耗值為110瓦,大於其功耗上限門檻值(105瓦),因此其第一處理單元111必須執行降階程序以減少功耗,且必須反覆執行其功率消耗值的讀取、比對及降階程序,直到功率消耗值小於功耗下限門檻值(例如為95瓦)為止。 Step F6: The server modules 11, 13, 15, and 17 that receive the detection command perform a reduced-order procedure of the power consumption of the processing units 111, 131, 151, and 171. For example, assuming that the power consumption value of the first server module 11 is 110 watts, which is greater than its power consumption upper threshold (105 watts), its first processing unit 111 must perform a reduced-order procedure to reduce power consumption, and Reads, alignments, and reduced-order programs of their power consumption values must be repeated until the power consumption value is less than the power-down threshold (for example, 95 watts).

步驟F7、F8:接收偵測指令的伺服器模組11、13、15、17比對其功率消耗值是否小於其功耗下限門檻值。若其功率消耗值小於其功耗下限門檻值,則執行功耗的昇階程序。若為相反的判斷結果,則執行步驟F6。 Steps F7 and F8: The server module 11, 13, 15, 17 receiving the detection command has a power consumption value smaller than its power consumption lower threshold. If its power consumption value is less than its power lower limit threshold, an upgrade procedure for power consumption is performed. If it is the opposite judgment result, step F6 is performed.

假設於某次降階程序結束後,第一伺服器模組11的功率消耗值降為90瓦,與其功耗下限門檻值(95瓦)相比尚有5瓦的電力供應額度,因此第一伺服器模組11的第一處理單元111可對應執行其昇階程序,以提升其運作效能。 It is assumed that after the end of a certain step-down procedure, the power consumption value of the first server module 11 is reduced to 90 watts, and there is a power supply limit of 5 watts compared with the power consumption threshold (95 watts), so the first The first processing unit 111 of the server module 11 can perform its upgrade procedure correspondingly to improve its operational efficiency.

步驟F9:若任一伺服器模組11、13、15、17接收由使用者發出的中斷指令,則其停止上述電源管理流程。若未接收該中斷指令,則執行步驟F7,而使其功率消耗值穩定地調整至與功耗下限門檻值相符。 Step F9: If any of the server modules 11, 13, 15, 17 receives an interrupt command issued by the user, it stops the power management process. If the interrupt command is not received, step F7 is executed, and its power consumption value is stably adjusted to match the power consumption lower threshold.

如上所述,本發明伺服器系統1的第二種電源管理方法是由使用者直接對各個伺服器模組11、13、15、17進行功耗設定及電源管理程序,因此具有最大的管理彈 性,且無需擔心第一伺服器模組11(主伺服器模組)失效時會影響其他伺服器模組13、15、17的電源管理,而提供較佳的可靠性。 As described above, the second power management method of the server system 1 of the present invention is that the user directly performs power consumption setting and power management procedures for each of the server modules 11, 13, 15, and 17, thus having the largest management bullet. And there is no need to worry about the power management of the other server modules 13, 15, 17 when the first server module 11 (main server module) fails, and provide better reliability.

要特別說明的是,於上述說明內容中,此兩種電源管理方法雖然都由使用者對伺服器模組11、13、15、17發出設定指令或偵測指令,但是本發明的伺服器系統1也可以設定為由伺服器系統1自動設定總功耗上限門檻值、總功耗下限門檻值、功耗上限門檻值、功耗下限門檻值等目標設定值。 It should be particularly noted that, in the above description, both of the power management methods are issued by the user to the server module 11, 13, 15, 17 to set a command or detect the command, but the server system of the present invention 1 It can also be set to the target setting value such as the total power consumption upper threshold value, the total power consumption lower threshold value, the power consumption upper threshold value, and the power consumption lower threshold value automatically set by the server system 1.

舉例來說,第一伺服器模組11可參考電源模組19提供的總功率消耗值的歷史資料自動設定上述總功耗上限門檻值或總功耗下限門檻值,例如計算伺服器系統1於特定時間內的總功率消耗值的平均值,並以該平均值的90%的數值作為總功耗上限門檻值,且以該平均值的70%的數值作為總功耗下限門檻值。另一方面,伺服器模組11、13、15、17也可依據電源分配模組12、14、16、18提供的功率消耗值的歷史資料,個別自動設定其功耗上限門檻值與功耗下限門檻值。完成上述自動設定程序後,伺服器系統1即可依據上述門檻值自動執行電源管理程序。 For example, the first server module 11 can automatically set the total power consumption upper threshold or the total power lower threshold by referring to the historical data of the total power consumption value provided by the power module 19, for example, the computing server system 1 The average value of the total power consumption value for a specific time, and the value of 90% of the average value is taken as the total power consumption upper limit threshold value, and the value of 70% of the average value is taken as the total power consumption lower limit threshold value. On the other hand, the server modules 11, 13, 15, and 17 can also automatically set the upper limit threshold and power consumption of the power consumption according to the historical data of the power consumption values provided by the power distribution modules 12, 14, 16, and 18. The lower threshold is the threshold. After completing the above automatic setting procedure, the server system 1 can automatically execute the power management program based on the above threshold value.

此外,上述內容所述的功耗調節方法雖然是由各個伺服器模組11、13、15、17的處理單元111、131、151、171執行其運作階級的昇階或降階程序以達成,但是其功耗調節方法也可以藉由伺服器模組11、13、15、17中的記憶體、硬碟等組件的電源管理而達成,不以前述揭露的內 容為限。 In addition, the power consumption adjustment method described in the above is achieved by the processing units 111, 131, 151, and 171 of the respective server modules 11, 13, 15, and 17 performing the step-up or step-down procedure of the operating class thereof. However, the power consumption adjustment method can also be achieved by power management of components such as memory and hard disk in the server modules 11, 13, 15, and 17, which are not disclosed above. Tolerance is limited.

綜上所述,使用者可透過上述兩種方法對本發明的伺服器系統1進行電源管理。由於該兩種方法可以對個別的伺服器模組11、13、15、17進行電源功耗管理或設定,因此具有良好的管理彈性及靈活性。此外,上述管理方法並非僅能透過第一伺服器模組11(主伺服器模組)執行,必要時還可由其他伺服器模組13、15、17代替第一伺服器模組11,因此具有優良的可靠性。再者,由於使用者可在遠處透過遠端電腦2對伺服器系統1進行管理操控,且前述管理方法可由使用者手動操作或設定為由伺服器系統1自動執行,其設定值可儲存於伺服器系統1中以便隨時存取,因此能增進使用者於操作上的便利性。故本發明伺服器系統1及其電源管理方法,確實能達成本發明的目的。 In summary, the user can perform power management on the server system 1 of the present invention through the above two methods. Since the two methods can perform power consumption management or setting on individual server modules 11, 13, 15, and 17, they have good management flexibility and flexibility. In addition, the foregoing management method is not only executable by the first server module 11 (main server module), and may be replaced by other server modules 13, 15, 17 instead of the first server module 11 if necessary, thus having Excellent reliability. Furthermore, since the user can manage the server system 1 remotely through the remote computer 2, and the foregoing management method can be manually operated by the user or set to be automatically executed by the server system 1, the set value can be stored in The server system 1 is accessed at any time, thereby improving the user's convenience in operation. Therefore, the server system 1 of the present invention and its power management method can achieve the object of the present invention.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the patent application scope and patent specification content of the present invention, All remain within the scope of the invention patent.

F1~F9‧‧‧流程步驟 F1~F9‧‧‧ Process steps

Claims (10)

一種伺服器系統,配合一遠端電腦或一操控裝置運作,包含:一傳輸介面,電連接於該遠端電腦或該操控裝置;一第一伺服器模組,電連接於該傳輸介面,並包括一用於訊號處理的第一處理單元;一第一電源分配模組,電連接且提供電力於該第一伺服器模組,並包括一計算該第一伺服器模組之功率消耗值的第一功率偵測器;一第二伺服器模組,電連接於該傳輸介面,並包括一用於訊號處理的第二處理單元;一第二電源分配模組,電連接且提供電力於該第二伺服器模組,並包括一計算該第二伺服器模組之功率消耗值的第二功率偵測器;及一電源模組,電連接且提供電力於該第一電源分配模組與該第二電源分配模組,其中,該第一伺服器模組的第一處理單元或該第二伺服器模組的第二處理單元可透過該傳輸介面,接收由該遠端電腦或該操控裝置發出的一設定指令,並依據該設定指令設定其功耗上限門檻值;該第一伺服器模組的第一處理單元或該第二伺服器模組的第二處理單元還於接收一偵測指令後,依據其功耗上限門檻值調節其功率消耗值,使該第一伺服器模組或該第二伺服器模組個別的功率消耗值不超過其功耗上限門檻值。 A server system, configured to operate with a remote computer or a control device, comprising: a transmission interface electrically connected to the remote computer or the control device; a first server module electrically connected to the transmission interface, and a first processing unit for signal processing, a first power distribution module electrically connecting and providing power to the first server module, and including a power consumption value for calculating the first server module a first power detector; a second server module electrically connected to the transmission interface and including a second processing unit for signal processing; and a second power distribution module electrically connected and providing power to the a second server module, and a second power detector for calculating a power consumption value of the second server module; and a power module electrically connecting and providing power to the first power distribution module and The second power distribution module, wherein the first processing unit of the first server module or the second processing unit of the second server module can receive the remote computer or the control through the transmission interface Device issued Setting a command, and setting a power consumption upper threshold according to the setting command; after the first processing unit of the first server module or the second processing unit of the second server module receives a detection command, The power consumption value is adjusted according to the power consumption upper threshold, so that the individual power consumption value of the first server module or the second server module does not exceed the power consumption upper threshold. 如請求項1所述之伺服器系統,其中,該第一伺服器模組的第一處理單元或該第二伺服器模組的第二處理單元還依據該設定指令設定其功耗下限門檻值,並於接收該偵測指令後,依據該功耗下限門檻值個別調節其功率消耗值,使該第一伺服器模組或該第二伺服器模組個別的功率消耗值趨於與其功耗下限門檻值相符。 The server system of claim 1, wherein the first processing unit of the first server module or the second processing unit of the second server module further sets a lower power threshold value according to the setting instruction. And after receiving the detection instruction, adjusting the power consumption value according to the power consumption lower threshold value, so that the individual power consumption value of the first server module or the second server module tends to be its power consumption The lower threshold is the same. 如請求項1所述之伺服器系統,其中,該第一伺服器模組的第一處理單元還可接收由該遠端電腦或該操控裝置發出的另一設定指令,並依據該設定指令設定該第一伺服器模組與該第二伺服器模組兩者的總功耗上限門檻值;該第一伺服器模組的第一處理單元還可於接收另一偵測指令後,依據一順位規則令其本身或該第二伺服器模組調節其個別的功率消耗值,使該第一伺服器模組與該第二伺服器模組的功率消耗值的加總值不超過該總功耗上限門檻值。 The server system of claim 1, wherein the first processing unit of the first server module can further receive another setting command sent by the remote computer or the operating device, and set according to the setting instruction. a total power consumption threshold of the first server module and the second server module; the first processing unit of the first server module may further receive another detection command according to a The order rule causes the second server module to adjust its individual power consumption value so that the sum of the power consumption values of the first server module and the second server module does not exceed the total power The upper limit is used. 如請求項1所述之伺服器系統,其中,該第一伺服器模組的第一處理單元還可接收由該遠端電腦或該操控裝置發出的另一設定指令,並依據該設定指令設定該第一伺服器模組與該第二伺服器模組兩者的總功耗下限門檻值;該第一伺服器模組的第一處理單元還可於接收另一偵測指令後,依據一順位規則令其本身或該第二伺服器模組調節其個別的功率消耗值,使該第一伺服器模組與該第二伺服器模組的功率消耗值的加總值趨於與該總功耗下限門檻值相符。 The server system of claim 1, wherein the first processing unit of the first server module can further receive another setting command sent by the remote computer or the operating device, and set according to the setting instruction. a total power consumption threshold of the first server module and the second server module; the first processing unit of the first server module may further receive another detection command according to a The order rule causes the second server module to adjust its individual power consumption value, so that the sum of the power consumption values of the first server module and the second server module tends to be the total The power consumption threshold is the same. 如請求項1至4中任一項所述之伺服器系統,其中,該第一伺服器模組或該第二伺服器模組是藉由其第一處理單元或第二處理單元的運作時脈的升降,以調節功率消耗值。 The server system according to any one of claims 1 to 4, wherein the first server module or the second server module is operated by the first processing unit or the second processing unit The pulse is raised and lowered to adjust the power consumption value. 一種電源管理方法,應用於一伺服器系統,該伺服器系統包含一第一伺服器模組、一第二伺服器模組及一電源模組,該方法包含以下步驟:(A)該第一伺服器模組接收一設定指令,並依據該設定指令設定一總功耗上限門檻值;(B)若該第一伺服器模組接收一偵測指令,則該第一伺服器模組發出一讀取指令至該電源模組,且隨後接收由該電源模組回傳的一總功率消耗值,該總功率消耗值係該第一伺服器模組與該第二伺服器模組個別的功率消耗值的加總值;(C)該第一伺服器模組執行該總功率消耗值與該總功耗上限門檻值的比對,若該總功率消耗值大於該總功耗上限門檻值,則執行步驟(D);及(D)該第一伺服器模組依據一順位規則,令該第一伺服器模組或該第二伺服器模組藉由其處理單元之運作時脈的升降以調節其個別的功率消耗值,使該總功率消耗值不超過該總功耗上限門檻值。 A power management method is applied to a server system, the server system comprising a first server module, a second server module and a power module, the method comprising the following steps: (A) the first The server module receives a setting command, and sets a total power consumption threshold value according to the setting command; (B) if the first server module receives a detection command, the first server module issues a Reading a command to the power module, and then receiving a total power consumption value returned by the power module, the total power consumption value being an individual power of the first server module and the second server module (C) the first server module performs a comparison between the total power consumption value and the total power consumption upper threshold value, and if the total power consumption value is greater than the total power consumption upper threshold value, Step (D); and (D) the first server module according to a rank rule, the first server module or the second server module is moved by the operating clock of the processing unit To adjust its individual power consumption value so that the total power consumption value does not exceed The total power consumption upper limit threshold. 如請求項6所述之電源管理方法,其中,於步驟(A)該第一伺服器模組還依據該設定指令設定一小於該總功耗上限門檻值的總功耗下限門檻值,且於步驟(D)後還包含: 步驟(E)該第一伺服器模組依據該順位規則,令其本身或該第二伺服器模組藉由其處理單元之運作時脈的升降以調節個別的功率消耗值,使該總功率消耗值趨於與該總功耗下限門檻值相符;及步驟(F)若該第一伺服器模組接收一中斷指令,則該第一伺服器模組結束其本身或該第二伺服器模組的功率消耗值的調節程序。 The power management method of claim 6, wherein the first server module in step (A) further sets a total power consumption lower threshold value that is less than the total power consumption upper threshold value according to the setting instruction, and After step (D), it also contains: Step (E) the first server module adjusts the individual power consumption value by adjusting the operating clock of the processing unit by itself or the second server module according to the order rule, so that the total power is adjusted. The consumption value tends to coincide with the total power consumption lower threshold; and step (F) if the first server module receives an interrupt instruction, the first server module ends itself or the second server module The adjustment procedure for the power consumption value of the group. 如請求項6所述之電源管理方法,其中,該伺服器系統還包含一第一電源分配模組及一第二電源分配模組,該第一伺服器模組的功率消耗值是由該第一電源分配模組的一第一功率偵測器讀取,且該第二電源分配模組的功率消耗值是由該第二電源分配模組的一第二功率偵測器讀取。 The power management method of claim 6, wherein the server system further includes a first power distribution module and a second power distribution module, wherein the power consumption value of the first server module is A first power detector of the power distribution module reads, and the power consumption value of the second power distribution module is read by a second power detector of the second power distribution module. 一種電源管理方法,應用於一伺服器系統,該伺服器系統包含一第一伺服器模組、一第二伺服器模組、一第一電源分配模組、一第二電源分配模組及一電源模組,該方法包含以下步驟:(A)該第一伺服器模組或該第二伺服器模組接收一設定指令,並依據該設定指令設定一功耗上限門檻值;(B)若該第一伺服器模組或該第二伺服器模組接收一偵測指令,則發出一讀取指令至對應的第一電源分配模組或第二電源分配模組,並接收其回傳的一功率消耗值;(C)該接收偵測指令的第一伺服器模組或第二伺服器模組執行其功率消耗值與其功耗上限門檻值的比對, 若該功率消耗值大於該總功耗上限門檻值,則執行步驟(D);及(D)該接收偵測指令的第一伺服器模組或第二伺服器模組依據其功耗上限門檻值,藉由其處理單元之運作時脈的升降以調整其功率消耗值,使該功率消耗值不超過該功耗上限門檻值。 A power management method is applied to a server system, the server system comprising a first server module, a second server module, a first power distribution module, a second power distribution module, and a The power module includes the following steps: (A) the first server module or the second server module receives a setting command, and sets a power consumption upper threshold according to the setting instruction; (B) if Receiving a detection command, the first server module or the second server module sends a read command to the corresponding first power distribution module or the second power distribution module, and receives the returned signal a power consumption value; (C) the first server module or the second server module that receives the detection command performs a comparison between the power consumption value and the power consumption upper threshold value, If the power consumption value is greater than the total power consumption upper threshold, step (D) is performed; and (D) the first server module or the second server module that receives the detection command is based on a power consumption upper threshold The value is adjusted by the rising and falling of the operating clock of the processing unit to adjust the power consumption value so that the power consumption value does not exceed the power consumption upper threshold. 如請求項9所述之電源管理方法,其中,於步驟(A)該接收設定指令的第一伺服器模組或第二伺服器模組還依據該設定指令,設定一小於該功耗上限門檻值的功耗下限門檻值;且於步驟(D)之後還包含:步驟(E)該接收偵測指令的第一伺服器模組或第二伺服器模組藉由其處理單元之運作時脈的升降以調節其功率消耗值,使該功率消耗值趨於與該功耗下限門檻值相符;及步驟(F)若該第一伺服器模組或該第二伺服器模組接收一中斷指令,則結束其功率消耗值的調節程序。 The power management method of claim 9, wherein the first server module or the second server module that receives the setting command in step (A) further sets a threshold less than the power consumption threshold according to the setting command. The power consumption lower threshold value of the value; and after the step (D), the method further comprises: step (E) the first server module or the second server module receiving the detection command by using the processing clock of the processing unit Lifting to adjust its power consumption value such that the power consumption value tends to match the power consumption lower threshold; and step (F) if the first server module or the second server module receives an interrupt command Then, the adjustment procedure of its power consumption value is ended.
TW102109238A 2013-03-15 2013-03-15 Server system and its power management method TWI566081B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102109238A TWI566081B (en) 2013-03-15 2013-03-15 Server system and its power management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102109238A TWI566081B (en) 2013-03-15 2013-03-15 Server system and its power management method

Publications (2)

Publication Number Publication Date
TW201435562A true TW201435562A (en) 2014-09-16
TWI566081B TWI566081B (en) 2017-01-11

Family

ID=51943354

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102109238A TWI566081B (en) 2013-03-15 2013-03-15 Server system and its power management method

Country Status (1)

Country Link
TW (1) TWI566081B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975047A (en) * 2016-04-29 2016-09-28 北京百度网讯科技有限公司 Method and system for adjusting power consumption of cloud data centre
TWI683254B (en) * 2018-08-31 2020-01-21 英業達股份有限公司 Server power saving system and power saving method thereof
CN111665928A (en) * 2019-03-07 2020-09-15 纬颖科技服务股份有限公司 Server system, server device, and power consumption management method for server device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10884469B2 (en) 2018-09-14 2021-01-05 Quanta Computer Inc. Method and system for dynamically allocating and optimizing power resources

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7398401B2 (en) * 2004-03-25 2008-07-08 Intel Corporation Method and apparatus for communicating information from an operating system based environment of a server blade to the chassis management module
EP2391055A1 (en) * 2010-05-25 2011-11-30 Alcatel Lucent A method and systems for operating a communications network based on energy status

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975047A (en) * 2016-04-29 2016-09-28 北京百度网讯科技有限公司 Method and system for adjusting power consumption of cloud data centre
CN105975047B (en) * 2016-04-29 2019-03-01 北京百度网讯科技有限公司 Cloud data center regulating power consumption method and system
TWI683254B (en) * 2018-08-31 2020-01-21 英業達股份有限公司 Server power saving system and power saving method thereof
CN111665928A (en) * 2019-03-07 2020-09-15 纬颖科技服务股份有限公司 Server system, server device, and power consumption management method for server device

Also Published As

Publication number Publication date
TWI566081B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
US11822409B2 (en) Controlling operating frequency of a processor
JP5770300B2 (en) Method and apparatus for thermal control of processing nodes
US20090125737A1 (en) Power Management of an Electronic System
US20220326755A1 (en) Processor core energy management
TWI564684B (en) Generic host-based controller latency method and apparatus
US9401141B2 (en) Computer system having voice-control function and voice-control method
TW201339820A (en) Adaptive voltage scaling using a serial interface
TWI566081B (en) Server system and its power management method
KR20150070315A (en) Total platform power control
US9405351B2 (en) Performing frequency coordination in a multiprocessor system
TW201403312A (en) Managing the operation of a computing system
US9377833B2 (en) Electronic device and power management method
EP2972660B1 (en) Controlling power supply unit power consumption during idle state
CN205450908U (en) Common type rack -mounted server based on godson 3A 2000
US10528109B2 (en) System and method for determining power loads
US8806254B2 (en) System and method for creating and dynamically maintaining system power inventories
US10466770B2 (en) Operating voltage regulators in an information handling system
US11669429B2 (en) Configuration cluster-based performance optimization of applications in an information handling system (IHS)
US20210181823A1 (en) Proactive control of electronic device cooling
CN107924331B (en) Techniques for flexible and dynamic frequency dependent telemetry
Geng Design of Energy‐Efficient IT Equipment

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees