WO2023228375A1 - 電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム - Google Patents

電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム Download PDF

Info

Publication number
WO2023228375A1
WO2023228375A1 PCT/JP2022/021617 JP2022021617W WO2023228375A1 WO 2023228375 A1 WO2023228375 A1 WO 2023228375A1 JP 2022021617 W JP2022021617 W JP 2022021617W WO 2023228375 A1 WO2023228375 A1 WO 2023228375A1
Authority
WO
WIPO (PCT)
Prior art keywords
power efficiency
task
importance
metrics
application
Prior art date
Application number
PCT/JP2022/021617
Other languages
English (en)
French (fr)
Inventor
義人 伊藤
Original Assignee
日本電信電話株式会社
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 日本電信電話株式会社 filed Critical 日本電信電話株式会社
Priority to PCT/JP2022/021617 priority Critical patent/WO2023228375A1/ja
Publication of WO2023228375A1 publication Critical patent/WO2023228375A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring

Definitions

  • the present invention relates to a power efficiency calculation device, a power efficiency calculation method, a power efficiency calculation system, and a program that calculate power efficiency for application processing.
  • DCeP Data Center energy Productivity
  • DCeP power efficiency
  • work output a portion of energy consumed by Power consumption
  • power consumption Total Energy Consumed to Perform that Work.
  • power consumption Total Energy Consumed to Perform that Work
  • M is the number of tasks started during the evaluation window
  • V i is the normalization coefficient obtained by summing the numerical values of the tasks
  • U i (t, T) is the number of tasks started for each task.
  • ⁇ t'' is the elapsed time from task initiation to completion
  • ⁇ T'' is the absolute time of task completion.
  • Non-Patent Document 2 in HPC (High Performance Computing) data centers, "Useful Work Produced” (work output amount) is defined as the energy consumed when various applications process, and the result of calculating DCeP is Are listed.
  • all tasks are treated equally without considering the weight of each application type or the importance of processing between tasks.
  • Non-Patent Document 3 "Useful Work Produced” (work output amount) is defined as the number of times two types of applications are executed within a certain period of time (Useful Computational Units), and each is executed using a weighting coefficient (1:0.08). The number of executions is normalized.
  • Non-Patent Documents 1 to 3 do not define a method for setting weights based on each application type, the importance of processing between tasks, etc. in DCeP calculation.
  • the number of executions of an application is determined as the processing amount of a task, and the power efficiency is calculated as the sum of two types of tasks (task A, task B).
  • the power efficiency will reflect only the result of task A. Therefore, even if task B is an important process, it is not considered.
  • the present invention has been made in view of these points, and an object of the present invention is to calculate power efficiency that reflects the importance of applications and tasks.
  • a power efficiency calculation device is a power efficiency calculation device that calculates power efficiency by executing an application installed on a group of physical servers, and the physical server group is configured to execute one or more tasks.
  • the power efficiency calculation device is equipped with one or more applications for calculating power efficiency from the physical server group, which is an evaluation index necessary for power efficiency calculation, and includes the amount of task execution and the power consumption of the physical server group.
  • a metrics collection unit that collects and stores it in a metrics collection DB in a storage unit, acquires the task execution amount stored in the metrics collection DB, and uses the task execution amount measured at each predetermined measurement time
  • a task execution amount normalization unit that determines a normalization coefficient for each task of each application, and sets an importance group for each application and each task based on a predetermined importance group setting logic, and an importance group setting unit that sets a weight according to the importance of each importance group of each of the tasks, and a metrics collection unit that acquires the metrics of a predetermined evaluation period collected by the metrics collection unit;
  • Regarding the amount of task execution included normalize the amount of task execution using the normalization coefficient for each task of each application, and calculate the normalized amount of task execution and the importance of each application and each task.
  • a power efficiency calculation unit that calculates a total amount of work results using the weight of the degree group, and calculates power efficiency from the power consumption included in the metrics and the total amount of work results.
  • FIG. 2 is a diagram showing a formula for calculating “Useful Work Produced” (amount of work results) according to the present embodiment.
  • FIG. 3 is a diagram for explaining a formula for calculating “Useful Work Produced” (amount of work results) according to the present embodiment.
  • 1 is a diagram showing the overall configuration of a power efficiency calculation system including a power efficiency calculation device according to the present embodiment.
  • FIG. 3 is a diagram showing, for each task, the maximum number of requests processed within a certain period collected by the power efficiency calculation device according to the present embodiment.
  • 2 is a flowchart showing the flow of processing executed by the power efficiency calculation device according to the present embodiment.
  • FIG. 2 is a hardware configuration diagram showing an example of a computer that implements the functions of the power efficiency calculation device according to the present embodiment.
  • FIG. 2 is a diagram for explaining problems in conventional power efficiency calculations that do not consider weights between applications or tasks.
  • this embodiment a mode for carrying out the present invention (hereinafter referred to as "this embodiment") will be described. First, an overview of the power efficiency calculation device 1 (see FIG. 3 described later) according to this embodiment will be explained.
  • the power efficiency calculation device 1 is a device that calculates power efficiency in consideration of the importance of one or more applications (Apps) and one or more tasks executed by the applications.
  • DCeP power efficiency
  • weighting coefficients are defined for applications and tasks in calculating "Useful Work Produced" (work result amount) for calculating DCeP (power efficiency).
  • a "task” refers to a series of processes in which a certain application starts (by receiving information inside the device), starts processing a request, and ends, or an application in a running state. refers to a series of processes from receiving a request from an external source, starting processing, and sending a completion notification back to the request source.
  • the power efficiency calculation device 1 executes "Useful Work Produced” (work result amount) in the above equation (1) using multiple applications, as shown in equation (3) in FIG. Calculated as the total amount of task execution for all measurement targets. Note that one or more types of tasks are executed in one application. Further, the weighting coefficients are defined as “application weighting coefficient: W” and “task weighting coefficient: V”.
  • the power efficiency calculation device 1 uses two methods for determining weights: (1) normalization of task execution amount and (2) group classification based on importance.
  • Normalization of task execution amount calculates the task execution amount C ij TA completed in the assessment window TA for each of multiple tasks including multiple applications by the task execution amount C ij TA completed in a certain amount of time. Normalize by dividing by ij T0 . This is to calculate power efficiency that does not depend on the amount of task execution, such as the number of times a task is processed (for example, the number of requests processed).
  • the normalized task amount C ij is expressed by equation (4) in FIG.
  • the importance groups of applications are classified into a number less than or equal to the number of types of target applications, and a weighting coefficient is defined for each importance group.
  • Each application is previously assigned to an importance group according to its importance.
  • tasks are classified into a number equal to or less than the number of target task types, and a weighting coefficient is defined for each importance group.
  • Each task is assigned to an importance group in advance according to its importance. To calculate the task amount of the application, the weighting coefficient of the application is multiplied by the weighting coefficient of the task.
  • the power efficiency calculation device 1 calculates the importance of applications and tasks, regardless of the amount of processing, regarding the "Useful Work Produced" (amount of work produced) of an application that has multiple applications or multiple tasks.
  • DCeP power efficiency
  • FIG. 3 is a diagram showing the overall configuration of a power efficiency calculation system 1000 including the power efficiency calculation device 1 according to the present embodiment.
  • the power efficiency calculation system 1000 is configured to include, for example, a physical server group 30 configured by a data center or the like, and a power efficiency calculation device 1 communicatively connected to the physical server group 30.
  • a virtualization infrastructure is constructed and operated on a physical server, and one or more applications 3 are installed in a virtual machine (VM) or a container on a virtual OS to execute processing. ing. Each application 3 realizes a service by executing one or more tasks.
  • the power efficiency calculation device 1 collects metrics, which are evaluation indicators necessary for calculating DCeP (power efficiency), from the physical server group 30, and calculates the power efficiency in consideration of the importance of applications and tasks.
  • DCeP power efficiency
  • the power efficiency calculation device 1 includes a control section 10, an input/output section 11, and a storage section 12.
  • the input/output unit 11 performs input/output of information with each server of the physical server group 30.
  • the input/output unit 11 includes a communication interface for transmitting and receiving information via a communication line, and an input/output interface for inputting and outputting information between an input device such as a keyboard and an output device such as a monitor (not shown). configured.
  • the storage unit 12 includes a hard disk, flash memory, RAM (Random Access Memory), and the like. This storage unit 12 temporarily stores programs for executing each function of the control unit 10 and information necessary for processing of the control unit 10. The storage unit 12 also collects metrics necessary for calculating DCeP (power efficiency) from each physical server in the physical server group 30, OS (virtual OS), VM, container, application, etc. and stored in a metrics collection database (DB: DataBase) 100.
  • DCeP power efficiency
  • the control unit 10 is in charge of overall processing executed by the power efficiency calculation device 1, and as shown in FIG. It is configured to include an efficiency calculation section 104.
  • the metrics collection unit 101 collects metrics (evaluation indexes such as performance) necessary for power efficiency calculation from the physical server group 30 and stores them in the metrics collection DB 100.
  • the metrics collection unit 101 collects metrics from physical servers, OS (virtual OS), VMs/containers, applications, etc. that make up the physical server group 30 using existing resource monitoring software (for example, Prometheus, etc.). .
  • the metrics collection unit 101 collects information on the number of requests processed as the amount of task execution and power consumption [W] from the physical server group 30, and stores the information in the metrics collection DB 100.
  • the metrics collection unit 101 collects metrics from the physical server group 30 in advance before calculating DCeP (power efficiency) ("advance preparation stage” to be described later), and calculates DCeP (power efficiency). Metrics will also be collected during the operation stage (described later in the "operation stage”).
  • the task execution amount normalization unit 102 determines a normalization coefficient using the task execution amount (for example, the number of requests processed) stored as a metric in the metrics collection DB 100. Specifically, the task execution amount normalization unit 102 acquires information on the amount of task execution (number of requests processed) executed for each task of each application during a certain period (for example, one day), and converts the information into predetermined data. The maximum value of the task execution amount (maximum number of requests processed within the period) in a period (every predetermined measurement time) is extracted for each task of each application. Then, the task execution amount normalization unit 102 determines a value obtained by reciprocating the extracted maximum value of the task execution amount as a normalization coefficient for each task of each application.
  • the task execution amount normalization unit 102 determines the normalization coefficient for each task to be (1/100, 1/200, 1/10). Note that the task execution amount normalization unit 102 sets the task execution amount C ij T0 , which is completed in a certain period of time, in equation (4 ) of FIG. T0 ' is determined as the normalization coefficient.
  • the importance group setting unit 103 sets importance groups regarding applications and tasks based on predetermined importance group setting logic.
  • the importance group setting unit 103 employs, for example, the following three logics as the predetermined importance group setting logic.
  • the importance group setting logic "1” is a "method that uses business-related KPI (Key Performance Indicator)". KPI is an index for performance management evaluation of sales.
  • the importance group setting unit 103 sets importance groups for applications and tasks using business-related KPIs such as sales and profits for each.
  • the importance group setting unit 103 sets four types of groups in which the sales ranking of each application is the top 5%, 5 to 15%, 15 to 50%, and 50% or less of the total applications. Further, for example, importance groups are set for the number of tasks using the sales ratio of each task as a coefficient. In this way, in the importance group setting logic "1", importance groups of applications and tasks are set using business-related KPIs.
  • the importance group setting logic "2” is a "method that utilizes the functional classification of applications.”
  • the importance group setting unit 103 sets importance groups for applications and tasks using the importance of each functional classification of the application or task.
  • the importance group setting unit 103 sets importance groups in the order of Create ⁇ Update ⁇ Delete ⁇ Read among the Create/Read/Update/Delete controls. do.
  • the importance group setting unit 103 sets importance groups in the order of session establishment, session update, session disconnection, session maintenance, and retransmission processing. In this manner, importance group setting logic "2" sets importance groups according to the functional classification of applications and tasks.
  • the importance group setting logic "3” is a "method that uses application task processing metrics.”
  • the importance group setting unit 103 sets importance groups using metrics related to task processing results of applications.
  • the importance group setting unit 103 selects, for example, the top 5%, 5 to 15% in each of the metrics such as CPU usage rate, memory usage rate, number of requests, task processing TAT (Turn Around Time), and I/O throughput. , 15 to 50%, and 50% or less. In this manner, importance group setting logic "3" uses task processing metrics of the application to set importance groups.
  • the importance group setting unit 103 sets importance groups for applications and tasks using the above-mentioned importance group setting logic, and then calculates a weighting coefficient according to the importance (the higher the importance group, the higher the value). weighting coefficient) is set for each importance group.
  • the power efficiency calculation unit 104 calculates DCeP (power efficiency) using the metrics (for example, the number of requests processed and power consumption) collected by the metrics collection unit 101. Specifically, the power efficiency calculation unit 104 first calculates "Useful Work Produced" (work result amount) using the above equation (3). At this time, the normalized task amount C ij shown in equation (4) is the task execution amount C ij TA that has been completed in the assessment window TA , which is a preset measurement period (predetermined evaluation period). This is the value multiplied by the normalization coefficient calculated by the normalization unit 102.
  • DCeP power efficiency
  • the normalized task amount C ij shown in equation (4) is the task execution amount C ij TA that has been completed in the assessment window TA , which is a preset measurement period (predetermined evaluation period). This is the value multiplied by the normalization coefficient calculated by the normalization unit 102.
  • the application weighting coefficient “W i ” and the task weighting coefficient “V ij ” are the weighting coefficients of each importance group of the application set by the importance group setting unit 103 ⁇ w 0 , w 1 , . . . . , w m ⁇ and weighting coefficients ⁇ v 0 , v 1 , . . . , vn i ⁇ of each group of tasks are used.
  • the power efficiency calculation unit 104 calculates DCeP (power efficiency) using the above equation (1).
  • DCeP power efficiency
  • the value calculated by equation (3) is used.
  • Total Energy Consumed to Perform that Work is the total power consumption consumed by the physical server group 30 in the assessment window T A , which is a preset measurement period (predetermined evaluation period). Use. The total amount of power consumed by the physical server group 30 is calculated by summing the power consumption collected as metrics during a preset measurement period (predetermined evaluation period).
  • FIG. 5 is a flowchart showing the flow of processing executed by the power efficiency calculation device 1 according to the present embodiment.
  • the processing executed by this power efficiency calculation device 1 can be broadly divided into a preliminary preparation stage and an operation stage.
  • the metrics collected in advance from the physical server group 30 are used to calculate the normalization coefficient for the task execution amount, and the importance groups of applications and tasks are set, and the weighting coefficient for each importance group is calculated. Determine.
  • DCeP power efficiency
  • FIG. 3 two applications, App “1” and App “2” are installed on the physical server group 30, and App “1” has one task (Task1-1).
  • An example will be explained in which two tasks (Task2-1, Task2-2) are executed in App "2".
  • the metrics collection unit 101 of the power efficiency calculation device 1 collects metrics (evaluation indexes such as performance) necessary for power efficiency calculation from the physical server group 30 and stores them in the metrics collection DB 100 (step S10).
  • the metrics collection unit 101 collects metrics using, for example, resource monitoring software (Prometheus).
  • the collected metrics include, for example, the number of requests processed as the amount of task execution and power consumption [W].
  • the metrics collection unit 101 may collect metrics by applying a test load to the application 3, for example, or may collect metrics obtained by executing actual request processing. You may.
  • the metrics collection unit 101 outputs information on the task execution amount (number of requests processed) obtained in a certain period (for example, one day) of the collected metrics to the task execution amount normalization unit 102.
  • the task execution amount normalization unit 102 of the power efficiency calculation device 1 determines a normalization coefficient for each task using the acquired task execution amount (number of requests processed) (step S11). For example, the task execution amount normalization unit 102 determines the maximum value of the task execution amount (within a period of The maximum number of requests processed) is extracted for each task of each application (see FIG. 4). Then, the task execution amount normalization unit 102 determines a value obtained by reciprocating the extracted maximum value of the task execution amount as a normalization coefficient for each task of each application. In the example shown in FIG. 4, the task execution amount normalization unit 102 sets the normalization coefficients of Tasks “1-1”, “2-1”, and “2-2” to (1/100, 1/200, 1/ 10).
  • the importance group setting unit 103 of the power efficiency calculation device 1 sets importance groups for applications and tasks based on predetermined importance group setting logic (step S12).
  • This predetermined importance group setting logic is set in advance as a "method that uses business-related KPIs,""a method that uses functional classification of an application,” a “method that uses task processing metrics of an application,” and the like.
  • the importance group setting unit 103 sets a weighting coefficient according to the importance of the set importance group (step S13).
  • the importance group setting unit 103 sets a weighting coefficient that becomes a higher value for an importance group with a higher importance level, as a weighting coefficient according to the importance level for the importance level groups of applications and tasks.
  • the power efficiency calculation unit 104 of the power efficiency calculation device 1 calculates the metrics ( The amount of task execution (number of requests processed, power consumption) is acquired from the metrics collection DB 100, and DCeP (power efficiency) is calculated (step S14). Then, the power efficiency calculation unit 104 repeats the process of calculating this DCeP (power efficiency) every predetermined evaluation period.
  • the power efficiency calculation unit 104 uses the normalization coefficient calculated by the task execution amount normalization unit 102 and the application and task weighting coefficients determined by the importance group setting unit 103 to calculate the above formula. According to (3), "Useful Work Produced" (work result amount) is calculated. In addition, the power efficiency calculation unit 104 calculates the “Total Energy Consumed to Perform that Work” (power consumption amount) in the above equation (1) by calculating the power consumption collected by the metrics collection unit 101 during a predetermined evaluation period (evaluation window: Assessment window T A ). Then, the power efficiency calculation unit 104 uses the calculated "Useful Work Produced” and "Total Energy Consumed to Perform that Work” to calculate DCeP (power efficiency).
  • the power efficiency calculation device 1 calculates the amount of work performed by one or more applications and the tasks of the applications, without depending on the mere amount of processing of the applications. It can be calculated as a quantitative value that reflects the degree of The power efficiency calculation device 1 can calculate power efficiency that reflects the importance of applications and tasks.
  • the power efficiency calculation device 1 is realized, for example, by a computer 900 having a configuration as shown in FIG.
  • FIG. 6 is a hardware configuration diagram showing an example of a computer 900 that implements the functions of the power efficiency calculation device 1 according to the present embodiment.
  • the computer 900 includes a CPU (Central Processing Unit) 901, a ROM (Read Only Memory) 902, a RAM 903, an HDD (Hard Disk Drive) 904, an input/output I/F (Interface) 905, a communication I/F 906, and a media I/F 907.
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM 903 Random Access Memory
  • HDD Hard Disk Drive
  • I/F Interface
  • the CPU 901 operates based on a program stored in the ROM 902 or HDD 904, and is controlled by the control unit 10 (FIG. 3).
  • the ROM 902 stores a boot program executed by the CPU 901 when the computer 900 is started, programs related to the hardware of the computer 900, and the like.
  • the CPU 901 controls an input device 910 such as a mouse or a keyboard, and an output device 911 such as a display or printer via an input/output I/F 905.
  • the CPU 901 acquires data from the input device 910 via the input/output I/F 905 and outputs the generated data to the output device 911.
  • the HDD 904 stores programs executed by the CPU 901 and data used by the programs.
  • the communication I/F 906 receives data from other devices via a communication network (for example, NW (Network) 920) and outputs it to the CPU 901, and also sends data generated by the CPU 901 to other devices via the communication network. Send to device.
  • NW Network
  • the media I/F 907 reads the program or data stored in the recording medium 912 and outputs it to the CPU 901 via the RAM 903.
  • the CPU 901 loads a program related to target processing from the recording medium 912 onto the RAM 903 via the media I/F 907, and executes the loaded program.
  • the recording medium 912 is an optical recording medium such as a DVD (Digital Versatile Disc) or a PD (Phase change rewritable disk), a magneto-optical recording medium such as an MO (Magneto Optical disk), a magnetic recording medium, a semiconductor memory, or the like.
  • the CPU 901 of the computer 900 realizes the functions of the power efficiency calculation device 1 by executing a program loaded onto the RAM 903. Furthermore, data in the RAM 903 is stored in the HDD 904 .
  • the CPU 901 reads a program related to target processing from the recording medium 912 and executes it. In addition, the CPU 901 may read a program related to target processing from another device via a communication network (NW 920).
  • the power efficiency calculation device is a power efficiency calculation device 1 that calculates power efficiency by executing an application 3 installed in a physical server group 30, and the physical server group 30 includes one or more One or more applications 3 that execute tasks are installed, and the power efficiency calculation device 1 calculates the amount of task execution and the consumption of the physical server group 30, which is an evaluation index necessary for power efficiency calculation, from the physical server group 30.
  • a metrics collection unit 101 that collects metrics including power and stores them in a metrics collection DB 100 in the storage unit 12, acquires the task execution amount stored in the metrics collection DB 100, and executes the tasks measured at every predetermined measurement time.
  • the task execution amount normalization unit 102 determines the normalization coefficient for each task of each application 3 using the amount, and sets the importance group for each application 3 and each task based on a predetermined importance group setting logic. and obtains the metrics for a predetermined evaluation period collected by the importance group setting unit 103 that sets weights according to the importance of the importance group of each application 3 and the importance group of each task, and the metrics collection unit 101.
  • the task execution amount is normalized using the normalization coefficient for each task of each application 3, and the normalized task execution amount and each of the applications 3 and each of the tasks are a power efficiency calculation unit 104 that calculates a total amount of work results using the weight of each importance group, and calculates power efficiency from the power consumption included in the metrics and the total amount of work results. It is characterized by
  • the power efficiency calculation device 1 calculates the amount of work performed by one or more applications and the tasks of the applications, without depending on the mere amount of processing of the applications. It can be calculated as a quantitative value that reflects the degree of Therefore, the power efficiency calculation device 1 can calculate power efficiency that reflects the importance of applications and tasks.
  • the task execution amount normalization unit 102 extracts the maximum value of the task execution amount measured at each predetermined measurement time for each task of each application 3, and It is characterized in that a value obtained by reciprocating the maximum value of the execution amount is determined as a normalization coefficient for each task of each application 3.
  • the power efficiency calculation device 1 can determine the normalization coefficient so as not to depend on the amount of task execution (processing amount) for each task of each application, and can normalize the amount of task execution.
  • the power efficiency calculation device 1 is characterized in that the predetermined importance group setting logic is a logic that sets the importance group using KPI (Key Performance Indicator) including sales of each of the application 3 and the task. do.
  • KPI Key Performance Indicator
  • the power efficiency calculation device 1 can use the KPI to set importance groups for applications and tasks, and set weighting coefficients for each importance group.
  • the power efficiency calculation device 1 is characterized in that the predetermined importance group setting logic is a logic that sets importance groups using functional classifications of applications 3 and tasks.
  • the power efficiency calculation device 1 can use the functional classification of the application 3 and the task to set the importance group of the application 3 and the task, and set the weighting coefficient of each importance group.
  • the power efficiency calculation device 1 is characterized in that the predetermined importance group setting logic is a logic that sets importance groups using metrics collected from task processing results of each application 3.
  • the power efficiency calculation device 1 can use the task processing results of each application 3 to set the importance groups of the applications 3 and tasks, and set the weighting coefficients of each importance group.
  • Power efficiency calculation device 3
  • Application (App) 10
  • Control unit 11
  • Input/output unit 12
  • Storage unit 30
  • Physical server group 100
  • Metrics collection DB 101
  • Metrics collection unit 102
  • Task execution amount normalization unit 103
  • Importance group setting unit 104
  • Power efficiency calculation unit 1000 Power efficiency calculation system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

電力効率計算装置(1)は、物理サーバ群(30)からメトリクスを収集するメトリクス収集部(101)と、各アプリケーション(3)のタスクごとの正規化係数を決定するタスク実行量正規化部(102)と、各アプリケーション(3)および各タスクの重要度グループを設定して重みを決定する重要度グループ設定部(103)と、タスク実行量を正規化係数を用いて正規化し、その正規化したタスク実行量と、アプリケーション(3)およびタスクの重要度グループの重みとを用いてトータルの作業成果量を算出し、電力効率を計算する電力効率計算部(104)とを備える。

Description

電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム
 本発明は、アプリケーション処理についての電力効率を計算する、電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラムに関する。
 これまで、データセンタの電力効率指標は、様々な定義が提唱されている。その中で、特定のアプリケーションをどの程度の電力効率で運用できているかについて、リアルタイムに計測して算出できる指標は、DCeP(Data Center energy Productivity)に限られる(非特許文献1参照)。DCePは、以下の式(1)により定義される。
Figure JPOXMLDOC01-appb-M000001
 DCeP(電力効率)は、「Useful Work Produced」(生成された有用な作業:本明細書では「作業成果量」と称する。)を、「Total Energy Consumed to Perform that Work」(その作業を実行するために消費される総エネルギー:本明細書では「消費電力量」とする。)で割ったものとして定義される。
 また、「Useful Work Produced」(作業成果量)は、以下の式(2)により定義される。
Figure JPOXMLDOC01-appb-M000002
 ここで、「M」は、評価ウィンドウ中に開始されたタスク数、「V」は、タスクの数値を合計して得た正規化係数、「U(t,T)」は、各タスクの時間ベースの効用関数、「t」は、タスクの開始から完了までの経過時間、「T」は、タスク完了の絶対時間である。
 非特許文献1において、「Useful Work Produced」(作業成果量)の対象とするタスクには、重み係数を設定し、タスク間の値のバランスを調整することが提案されている。しかしながら、具体的にどのように調整すべきかについては言及がない。また、測定間隔である評価ウィンドウ(Assessment window)については、「タスク実行20回以上の間隔が望ましい」とのみ記載されている。
 また、非特許文献2では、HPC(High Performance Computing)データセンタにおいて、「Useful Work Produced」(作業成果量)を、各種アプリケーションが処理した際に消費したエネルギーとして定義し、DCePを計算した結果が記載されている。ただし、非特許文献2では、アプリケーション種別ごとの重みや、タスク間の処理の重要度は考慮せずに、全タスクを等価に扱っている。
 また、非特許文献3では、「Useful Work Produced」(作業成果量)を一定時間内でのアプリケーション2種類の実行回数(Useful Computational Units)として定義し、重み係数(1:0.08)でそれぞれを実行したときの実行回数を正規化している。
D. Anderson, et al.,"A framework for data center energy productivity." The Green Grid, 2008. A. Grishina, et al.,"DC energy data measurement and analysis for productivity and waste energy assessment," 2018 IEEE International Conference on Computational Science and Engineering (CSE), IEEE, 2018. Landon H. Sego, et al.,"Implementing the data center energy productivity metric,"ACM Journal on Emerging Technologies in Computing Systems (JETC) 8.4 (2012): 1-22.
 上記した非特許文献1~3に記載のDCePの計算においては、アプリケーション種別ごとの重みや、タスク間の処理の重要度は考慮されていない。よって、アプリケーション間や、同一アプリケーション内のタスク間において、処理の重要度やSLA(Service Level Agreement:サービス品質保証)に差がある場合でも、アプリケーション間やタスク間の重みを考慮した処理量(「Useful Work Produced」)を計算できず、適切な電力効率値を算出できないものであった。つまり、非特許文献1~3では、DCePの計算において、アプリケーション種別ごとや、タスク間の処理の重要度等による重みの設定手法が定義されていなかった。
 例えば、図7で示すように、アプリケーションの実行回数をタスクの処理量として定め、2種類のタスク(タスクA,タスクB)の合計で電力効率を計算する。この場合、各タスクの実行回数が単位時間当たり1,000回と1回で、重みを設定しないとすると、電力効率は、ほぼタスクAの結果のみを反映してしまう。よって、タスクBが重要な処理であっても考慮されない結果となる。
 このような点に鑑みて本発明がなされたのであり、本発明は、アプリケーションやタスクの重要度を反映した電力効率を算出することを課題とする。
 本発明に係る電力効率計算装置は、物理サーバ群に搭載されたアプリケーションを実行することによる電力効率を計算する電力効率計算装置であって、前記物理サーバ群には、1つ以上のタスクを実行する1つ以上のアプリケーションが搭載されており、前記電力効率計算装置が、前記物理サーバ群から、電力効率計算に必要な評価指標であり、タスク実行量および前記物理サーバ群の消費電力を含むメトリクスを収集し、記憶部内のメトリクス収集DBに保存するメトリクス収集部と、前記メトリクス収集DBに保存された前記タスク実行量を取得し、所定の測定時間ごとに計測されたタスク実行量を用いて、各前記アプリケーションのタスクごとの正規化係数を決定するタスク実行量正規化部と、各前記アプリケーションおよび各前記タスクに関する重要度グループの設定を、所定の重要度グループ設定ロジックに基づき行い、各前記アプリケーションの重要度グループ、各前記タスクの重要度グループそれぞれの重要度に応じた重みを設定する重要度グループ設定部と、前記メトリクス収集部が収集した所定の評価期間のメトリクスを取得し、前記メトリクスに含まれる前記タスク実行量について、各前記アプリケーションのタスクごとの前記正規化係数を用いて、当該タスク実行量を正規化し、その正規化したタスク実行量と、各前記アプリケーションおよび各前記タスクそれぞれの重要度グループの重みとを用いてトータルの作業成果量を算出し、前記メトリクスに含まれる前記消費電力と、前記トータルの作業成果量とから電力効率を計算する電力効率計算部と、を備えることを特徴とする。
 本発明によれば、アプリケーションやタスクの重要度を反映した電力効率を算出することができる。
本実施形態に係る「Useful Work Produced」(作業成果量)の算出式を示す図である。 本実施形態に係る「Useful Work Produced」(作業成果量)の算出式を説明するための図である。 本実施形態に係る電力効率計算装置を含む電力効率計算システムの全体構成を示す図である。 本実施形態に係る電力効率計算装置が収集する一定期間内の最大リクエスト処理数をタスクごとに示す図である。 本実施形態に係る電力効率計算装置が実行する処理の流れを示すフローチャートである。 本実施形態に係る電力効率計算装置の機能を実現するコンピュータの一例を示すハードウェア構成図である。 アプリケーション間やタスク間の重みを考慮しない従来の電力効率の計算における課題を説明するための図である。
 次に、本発明を実施するための形態(以下、「本実施形態」と称する。)について説明する。まず、本実施形態に係る電力効率計算装置1(後記する図3参照)の概要について説明する。
<概要>
 本実施形態に係る電力効率計算装置1は、1つ以上のアプリケーション(App)、そのアプリケーションにより実行される1つ以上のタスクの重要度を考慮した上で、電力効率を計算する装置である。
 電力効率の指標としては、上記した式(1)で示されるDCeP(電力効率)を用いる。また、本実施形態においては、DCeP(電力効率)を算出するための、「Useful Work Produced」(作業成果量)の算出において、アプリケーションとタスクとに重み係数を定義する。
 なお、本実施形態において、「タスク」とは、あるアプリケーションが(装置内部で情報を受け取ることにより)起動してリクエストに対する処理を開始し終了するまでの一連の処理、若しくは、起動状態にあるアプリケーションが外部からのリクエストを受信して処理を開始し完了通知をリクエスト元に返信するまでの一連の処理を意味する。
 また、本実施形態において、電力効率計算装置1は、上記した式(1)の「Useful Work Produced」(作業成果量)を、図1の式(3)で示すように、複数のアプリケーションで実行される測定対象のすべてのタスク実行量の合計値として算出する。なお、1つのアプリケーションにおいて1または複数種類のタスクが実行される。また、重み係数は、「アプリケーションの重み係数:W」と、「タスクの重み係数:V」として定義する。
 また、電力効率計算装置1は、重みの決定手法として、(1)タスク実行量の正規化、(2)重要度によるグループ分類、の2つを用いる。
 (1)「タスク実行量の正規化」では、複数アプリケーションを含む複数タスクそれぞれに対し、それぞれがAssessment window Tで実行完了したタスク量Cij TAを、一定時間で実行完了したタスク実行量Cij T0で割ることで正規化する。これは、タスクの処理回数(例えば、リクエスト処理数)等のタスク実行量に依存しない電力効率を計算するためである。正規化されたタスク量Cijは、図2の式(4)で示される。
 (2)「重要度によるグループ分類」では、アプリケーションとタスクそれぞれについて、重要度グループごとに重み係数を設定する。
 図2の式(5-1)で示すように、アプリケーションの重要度グループ数「m」は、アプリケーションの種別数「M」以下の数であり、「m」個の重要度グループに分類される。アプリケーションの重み係数「Wi」は、アプリケーションの各グループの重み係数{w0, w1, ・・・,wm}として定義される。
 また、図2の式(5-2)で示すように、タスクの重要度グループ数「ni」は、タスクの種別数「Ni」以下の数であり、「ni」個の重要度グループに分類される。タスクの重み係数「Vij」は、タスクの各グループの重み係数{v0, v1, ・・・,vni}として定義される。
 つまり、アプリケーションの重要度グループを、対象とするアプリケーションの種別数以下の数に分類し、その重要度グループ毎に重み係数を定義する。各アプリケーションは、その重要度に従って予め重要度グループに割り当てられる。同様に、タスクに関しても、対象とするタスクの種別数以下の数に分類し、その重要度グループ毎に重み係数を定義する。各タスクは、その重要度に従って予め重要度グループに割り当てられる。当該アプリケーションのタスク量の計算には、アプリケーションの重み係数とタスクの重み係数をかけ合わせて利用する。
 このように、電力効率計算装置1は、複数のアプリケーション、若しくは、複数のタスクを持つアプリケーションの「Useful Work Produced」(作業成果量)について、処理量に依存せず、アプリケーションおよびタスクの重要度を反映したかたちで、DCeP(電力効率)を計算することができる。
 図3は、本実施形態に係る電力効率計算装置1を含む電力効率計算システム1000の全体構成を示す図である。
 電力効率計算システム1000は、例えば、データセンタ等により構成される物理サーバ群30と、当該物理サーバ群30に通信接続される電力効率計算装置1とを含んで構成される。
 物理サーバ群30は、例えば、物理サーバ上に仮想化基盤が構築されて運用されており、仮想OS上の仮想マシン(VM)やコンテナに1つ以上のアプリケーション3が搭載されて処理を実行している。各アプリケーション3は、1つ以上のタスクを実行することによりサービスを実現する。
 電力効率計算装置1は、物理サーバ群30から、DCeP(電力効率)の計算に必要となる評価指標であるメトリクスを収集し、アプリケーションやタスクの重要度を考慮した電力効率の計算を行う。
 以下、電力効率計算装置1が有する機能について具体的に説明する。
 図3で示すように、電力効率計算装置1は、制御部10、入出力部11、記憶部12を備える。
 入出力部11は、物理サーバ群30の各サーバ等との間の情報について入出力を行う。この入出力部11は、通信回線を介して情報の送受信を行う通信インタフェースと、不図示のキーボード等の入力装置やモニタ等の出力装置との間で情報の入出力を行う入出力インタフェースとから構成される。
 記憶部12は、ハードディスクやフラッシュメモリ、RAM(Random Access Memory)等により構成される。
 この記憶部12には、制御部10の各機能を実行させるためのプログラムや、制御部10の処理に必要な情報が一時的に記憶される。また、この記憶部12には、DCeP(電力効率)を算出するために必要となるメトリクスが、物理サーバ群30内の各物理サーバや、OS(仮想OS),VM,コンテナ、アプリケーション等から収集され、メトリクス収集データベース(DB:DataBase)100に格納される。
 制御部10は、電力効率計算装置1が実行する処理の全般を司り、図3で示すように、メトリクス収集部101と、タスク実行量正規化部102と、重要度グループ設定部103と、電力効率計算部104とを含んで構成される。
 メトリクス収集部101は、物理サーバ群30から電力効率計算に必要なメトリクス(性能等の評価指標)を収集し、メトリクス収集DB100に保存する。
 メトリクス収集部101は、物理サーバ群30を構成する、物理サーバ、OS(仮想OS)、VM/コンテナ、アプリケーション等から、既存のリソース監視ソフトウェア(例えば、Prometheus等)を用いて、メトリクスを収集する。
 例えば、メトリクス収集部101は、物理サーバ群30から、タスク実行量としてのリクエスト処理数や、消費電力[W]の情報を収集し、メトリクス収集DB100に保存する。
 なお、メトリクス収集部101は、物理サーバ群30からのメトリクスの収集を、DCeP(電力効率)の計算より前に予め行っておき(後記する「事前準備段階」)、DCeP(電力効率)算出する際(後記する「運用段階」)にもメトリクスの収集を行う。
 タスク実行量正規化部102は、メトリクス収集DB100にメトリクスとして保存されたタスク実行量(例えば、リクエスト処理数)を用いて、正規化係数を決定する。
 具体的には、タスク実行量正規化部102は、一定期間(例えば、1日)において、各アプリケーションのタスクそれぞれで実行されたタスク実行量(リクエスト処理数)の情報を取得し、所定のデータ区間(所定の測定時間ごと)のタスク実行量の最大値(期間内の最大リクエスト処理数)を、各アプリケーションのタスクごとに抽出する。そして、タスク実行量正規化部102は、抽出したタスク実行量の最大値を逆数にした値を、各アプリケーションのタスクごとの正規化係数として決定する。
 ここでは、図4で示すように、例えば期間内の最大リクエスト処理数が、App「1」のTask「1-1」で「100」、App「2」のTask「2-1」で「200」、App「2」のTask「2-2」で「10」であったとする。この場合、タスク実行量正規化部102は、各タスクの正規化係数を、(1/100,1/200,1/10)に決定する。
 なお、タスク実行量正規化部102は、上記した図2の式(4)における、一定時間で実行完了したタスク実行量Cij T0を、期間内の最大リクエスト処理数とし、「1/Cij T0」を正規化係数として決定する。
 図3に戻り、重要度グループ設定部103は、アプリケーションおよびタスクに関する重要度グループの設定を、所定の重要度グループ設定ロジックに基づき行う。
 重要度グループ設定部103は、所定の重要度グループ設定ロジックとして、例えば、以下に示す3つのロジックを採用する。
≪重要度グループ設定ロジック「1」≫
 重要度グループ設定ロジック「1」は、「ビジネス関連KPI(Key Performance Indicator)を利用する手法」である。KPIは、売上高等の業績管理評価のための指標である。
 重要度グループ設定部103は、アプリケーションおよびタスクについて、それぞれの売上、利益などのビジネス関連KPIを用いて重要度グループを設定する。
 例えば、重要度グループ設定部103は、各アプリケーションによる売上の順位が、アプリケーション全体からみて、上位5%、5~15%、15~50%、50%以下、の4種類のグループを設定する。
 また、例えば、各タスクの売上比率を係数として、タスクの数だけ重要度グループを設定する。
 このように、重要度グループ設定ロジック「1」では、ビジネス関連KPIを用いて、アプリケーションおよびタスクの重要度グループを設定する。
≪重要度グループ設定ロジック「2」≫
 重要度グループ設定ロジック「2」は、「アプリケーションの機能分類を利用する手法」である。
 重要度グループ設定部103は、アプリケーションおよびタスクについて、そのアプリケーションやタスクの機能分類それぞれの重要度を用いて重要度グループを設定する。
 重要度グループ設定部103は、例えばリソース制御に関わるアプリケーションの場合において、Create/Read/Update/Deleteの各制御のうち、Create→Update→Delete→Readの順に高い重要度となる重要度グループを設定する。
 また、重要度グループ設定部103は、例えばセッション制御に関わるアプリケーションの場合は、セッション確立、セッション更新、セッション切断、セッション維持、再送処理、の順に高い重要度となる重要度グループを設定する。
 このように、重要度グループ設定ロジック「2」では、アプリケーションやタスクの機能分類に応じて、重要度グループを設定する。
≪重要度グループ設定ロジック「3」≫
 重要度グループ設定ロジック「3」は、「アプリケーションのタスク処理メトリクスを利用する手法」である。
 重要度グループ設定部103は、アプリケーションのタスク処置結果に関するメトリクスを利用して重要度グループを設定する。
 重要度グループ設定部103は、例えば、CPU使用率、メモリ使用率、リクエスト数、タスク処理のTAT(Turn Around Time)、I/Oスループットなどの各々のメトリクスにおいて、上位5%、5~15%、15~50%、50%以下、の4種類のグループを設定する。
 このように、重要度グループ設定ロジック「3」では、アプリケーションのタスク処理メトリクスを利用して、重要度グループを設定する。
 重要度グループ設定部103は、アプリケーションおよびタスクに関する重要度グループの設定を、上記した重要度グループ設定ロジックにより行うと、その重要度に応じた重み係数(重要度が高い重要度グループほど、高い値となる重み係数)を、各重要度グループに設定する。
 電力効率計算部104は、メトリクス収集部101が収集したメトリクス(例えば、リクエスト処理数や消費電力)を用いて、DCeP(電力効率)を算出する。
 具体的には、電力効率計算部104は、まず、上記した式(3)を用いて、「Useful Work Produced」(作業成果量)を算出する。その際、式(4)で示す正規化されたタスク量Cijは、予め設定した測定期間(所定の評価期間)であるAssessment window Tで実行完了したタスク量Cij TAに、タスク実行量正規化部102が算出した正規化係数を乗算した値となる。また、アプリケーションの重み係数「Wi」およびタスクの重み係数「Vij」は、重要度グループ設定部103により設定された、アプリケーションの各重要度グループの重み係数{w0, w1, ・・・,wm}と、タスクの各グループの重み係数{v0, v1, ・・・,vni}とが用いられる。
 そして、電力効率計算部104は、上記した式(1)を用いてDCeP(電力効率)を計算する。ここで、「Useful Work Produced」(作業成果量)は式(3)により算出した値を用いる。また、「Total Energy Consumed to Perform that Work」(消費電力量)は、予め設定した測定期間(所定の評価期間)であるAssessment window Tにおいて、物理サーバ群30で消費されたトータルの消費電力量を用いる。この物理サーバ群30で消費されたトータルの消費電力量は、予め設定した測定期間(所定の評価期間)において、メトリクスとして収集した消費電力を合計等することにより算出する。
<電力効率計算装置の処理>
 次に、電力効率計算装置1が実行する処理の流れについて説明する。
 図5は、本実施形態に係る電力効率計算装置1が実行する処理の流れを示すフローチャートである。
 この電力効率計算装置1が実行する処理は、大きく分けて事前準備段階と運用段階がある。事前準備段階では、物理サーバ群30から事前に収集したメトリクスを用いて、タスク実行量の正規化係数を算出するとともに、アプリケーションおよびタスクの重要度グループを設定し、その重要度グループごとの重み係数を決定する。そして、運用段階では、事前準備段階で算出しておいた、正規化係数や、重要度グループ毎の重み係数を用いて、DCeP(電力効率)の計算を行う。
 なお、ここでは、図3で示すように、物理サーバ群30上に、App「1」とApp「2」の2つのアプリケーションが搭載され、App「1」では、1つのタスク(Task1-1)が実行され、App「2」では、2つのタスク(Task2-1,Task2-2)が実行される例で説明する。
 まず、事前準備段階において、電力効率計算装置1のメトリクス収集部101は、物理サーバ群30から電力効率計算に必要なメトリクス(性能等の評価指標)を収集し、メトリクス収集DB100に保存する(ステップS10)。
 メトリクス収集部101は、例えば、リソース監視ソフトウェア(Prometheus)を用いて、メトリクスを収集する。収集されるメトリクスは、例えば、タスク実行量としてのリクエスト処理数と、消費電力[W]である。
 なお、このメトリクス収集部101による、メトリクスの収集は、例えば、テスト用負荷をアプリケーション3に印加してメトリクスを収集してもよいし、実際のリクエスト処理を実行することより得られたメトリクスを収集してもよい。
 続いて、メトリクス収集部101は、収集したメトリクスのうち、一定期間(例えば1日分)で得られたタスク実行量(リクエスト処理数)の情報を、タスク実行量正規化部102に出力する。
 電力効率計算装置1のタスク実行量正規化部102は、取得したタスク実行量(リクエスト処理数)を用いて、各タスクの正規化係数を決定する(ステップS11)。
 例えば、タスク実行量正規化部102は、取得した1日分のタスク実行量の中で、所定のデータ区間(所定の測定時間ごと、例えば10分間)のタスク実行量の最大値(期間内の最大リクエスト処理数)を、各アプリケーションのタスクごとに抽出する(図4参照)。そして、タスク実行量正規化部102は、抽出したタスク実行量の最大値を逆数にした値を、各アプリケーションのタスクごとの正規化係数として決定する。図4で示す例では、タスク実行量正規化部102は、Task「1-1」,「2-1」,「2-2」の正規化係数を(1/100,1/200,1/10)に決定する。
 次に、電力効率計算装置1の重要度グループ設定部103は、所定の重要度グループ設定ロジックに基づき、アプリケーションおよびタスクの重要度グループを設定する(ステップS12)。
 この所定の重要度グループ設定ロジックは、「ビジネス関連KPIを利用する手法」、「アプリケーションの機能分類を利用する手法」、「アプリケーションのタスク処理メトリクスを利用する手法」等が、予め設定される。
 続いて、重要度グループ設定部103は、設定した重要度グループについて、その重要度に応じた重み係数を設定する(ステップS13)。重要度グループ設定部103は、アプリケーションおよびタスクの重要度グループについて、その重要度に応じた重み係数として、重要度が高い重要度グループほど、高い値となる重み係数を設定する。
 ここで、所定の重要度グループ設定ロジックとして「ビジネス関連KPIを利用する手法」を用いたとする。各アプリケーション3の売上額がApp1/App2=90/10だったとすると、重要度グループ設定部は、App1とApp2の2つの重要度グループを設定した上で、各重要度グループの重み係数を例えば{WAPP1,WAPP2}={0.9,0.1}に決定する。
 また、App1のタスクはTask「1-1」の1つであるので、Task「1-1」の重み係数を{VApp1 Task1}={1}とする。また、タスクについての所定の重要度グループ設定ロジックとして「アプリケーションの機能分類を利用する手法」を用いたとする。そしてApp2のTask「2-1」/Task「2-2」がそれぞれCreate/Deleteに対応する処理だったとすると、重要度グループ設定部103は、App2のタスクの重み係数を例えば{VApp2 Task1,VApp2 Task2}={2,1}に決定する。
 ステップS10~S13までの処理が、事前準備段階で行われる。
 続いて、運用段階での処理を説明する。
 電力効率計算装置1の電力効率計算部104は、実際にDCeP(電力効率)を算出する対象とする所定の評価期間(評価ウィンドウ:Assessment window T)において、メトリクス収集部101が収集したメトリクス(タスク実行量(リクエスト処理数)、消費電力)をメトリクス収集DB100から取得し、DCeP(電力効率)を算出する(ステップS14)。そして、電力効率計算部104は、このDCeP(電力効率)を算出する処理を、所定の評価期間ごとに繰り返す。
 具体的には、電力効率計算部104は、タスク実行量正規化部102が算出した正規化係数と、重要度グループ設定部103が決定した、アプリケーションおよびタスクの重み係数を用いて、上記した式(3)により、「Useful Work Produced」(作業成果量)を算出する。また、電力効率計算部104は、上記した式(1)の「Total Energy Consumed to Perform that Work」(消費電力量)を、メトリクス収集部101が収集した消費電力を所定の評価期間(評価ウィンドウ:Assessment window T)で合計等することにより求める。そして、電力効率計算部104は、算出した「Useful Work Produced」(作業成果量)と「Total Energy Consumed to Perform that Work」(消費電力量)とを用いて、式(1)により、DCeP(電力効率)を算出する。
 このようにすることにより、電力効率計算装置1は、1つ以上のアプリケーションおよびそのアプリケーションのタスクにより実行される作業成果量を、アプリケーションの単なる処理量に依存せずに、そのアプリケーションおよびタスクの重要度を反映したかたちで定量的な数値として算出することができる。そして、電力効率計算装置1は、アプリケーションおよびタスクの重要度を反映した電力効率を計算することができる。
<ハードウェア構成>
 本実施形態に係る電力効率計算装置1は、例えば図6に示すような構成のコンピュータ900によって実現される。
 図6は、本実施形態に係る電力効率計算装置1の機能を実現するコンピュータ900の一例を示すハードウェア構成図である。コンピュータ900は、CPU(Central Processing Unit)901、ROM(Read Only Memory)902、RAM903、HDD(Hard Disk Drive)904、入出力I/F(Interface)905、通信I/F906およびメディアI/F907を有する。
 CPU901は、ROM902またはHDD904に記憶されたプログラムに基づき作動し、制御部10(図3)による制御を行う。ROM902は、コンピュータ900の起動時にCPU901により実行されるブートプログラムや、コンピュータ900のハードウェアに係るプログラム等を記憶する。
 CPU901は、入出力I/F905を介して、マウスやキーボード等の入力装置910、および、ディスプレイやプリンタ等の出力装置911を制御する。CPU901は、入出力I/F905を介して、入力装置910からデータを取得するともに、生成したデータを出力装置911へ出力する。
 HDD904は、CPU901により実行されるプログラムおよび当該プログラムによって使用されるデータ等を記憶する。通信I/F906は、通信網(例えば、NW(Network)920)を介して他の装置からデータを受信してCPU901へ出力し、また、CPU901が生成したデータを、通信網を介して他の装置へ送信する。
 メディアI/F907は、記録媒体912に格納されたプログラムまたはデータを読み取り、RAM903を介してCPU901へ出力する。CPU901は、目的の処理に係るプログラムを、メディアI/F907を介して記録媒体912からRAM903上にロードし、ロードしたプログラムを実行する。記録媒体912は、DVD(Digital Versatile Disc)、PD(Phase change rewritable Disk)等の光学記録媒体、MO(Magneto Optical disk)等の光磁気記録媒体、磁気記録媒体、半導体メモリ等である。
 例えば、コンピュータ900が本実施形態に係る電力効率計算装置1として機能する場合、コンピュータ900のCPU901は、RAM903上にロードされたプログラムを実行することにより、電力効率計算装置1の機能を実現する。また、HDD904には、RAM903内のデータが記憶される。CPU901は、目的の処理に係るプログラムを記録媒体912から読み取って実行する。この他、CPU901は、他の装置から通信網(NW920)を介して目的の処理に係るプログラムを読み込んでもよい。
<効果>
 以下、本発明に係る電力効率計算装置1等の効果について説明する。
 本発明に係る電力効率計算装置は、物理サーバ群30に搭載されたアプリケーション3を実行することによる電力効率を計算する電力効率計算装置1であって、物理サーバ群30には、1つ以上のタスクを実行する1つ以上のアプリケーション3が搭載されており、電力効率計算装置1が、物理サーバ群30から、電力効率計算に必要な評価指標であり、タスク実行量および物理サーバ群30の消費電力を含むメトリクスを収集し、記憶部12内のメトリクス収集DB100に保存するメトリクス収集部101と、メトリクス収集DB100に保存されたタスク実行量を取得し、所定の測定時間ごとに計測されたタスク実行量を用いて、各アプリケーション3のタスクごとの正規化係数を決定するタスク実行量正規化部102と、各アプリケーション3および各タスクに関する重要度グループの設定を、所定の重要度グループ設定ロジックに基づき行い、各アプリケーション3の重要度グループ、各タスクの重要度グループそれぞれの重要度に応じた重みを設定する重要度グループ設定部103と、メトリクス収集部101が収集した所定の評価期間のメトリクスを取得し、メトリクスに含まれるタスク実行量について、各アプリケーション3のタスクごとの正規化係数を用いて、当該タスク実行量を正規化し、その正規化したタスク実行量と、各前記アプリケーション3および各前記タスクそれぞれの重要度グループの重みとを用いてトータルの作業成果量を算出し、メトリクスに含まれる消費電力と、前記トータルの作業成果量とから電力効率を計算する電力効率計算部104と、を備えることを特徴とする。
 このようにすることで、電力効率計算装置1は、1つ以上のアプリケーションおよびそのアプリケーションのタスクにより実行される作業成果量を、アプリケーションの単なる処理量に依存せずに、そのアプリケーションおよびタスクの重要度を反映したかたちで定量的な数値として算出することができる。よって、電力効率計算装置1は、アプリケーションおよびタスクの重要度を反映した電力効率を算出することが可能となる。
 また、電力効率計算装置1において、タスク実行量正規化部102は、所定の測定時間ごとに計測されたタスク実行量のうちの最大値を、各アプリケーション3のタスクごとに抽出し、抽出したタスク実行量の最大値を逆数にした値を、各アプリケーション3のタスクごとの正規化係数として決定すること、を特徴とする。
 このように、電力効率計算装置1は、各アプリケーションのタスクごとのタスク実行量(処理量)の多さに依存しないように正規化係数を決定し、タスク実行量を正規化することができる。
 また、電力効率計算装置1において、所定の重要度グループ設定ロジックは、アプリケーション3およびタスクそれぞれの売上を含むKPI(Key Performance Indicator)を用いて重要度グループを設定するロジックであること、を特徴とする。
 このように、電力効率計算装置1は、KPIを利用して、アプリケーションおよびタスクの重要度グループを設定し、各重要度グループの重み係数を設定することができる。
 また、電力効率計算装置1において、所定の重要度グループ設定ロジックは、アプリケーション3およびタスクの機能分類を用いて重要度グループを設定するロジックであること、を特徴とする。
 このように、電力効率計算装置1は、アプリケーション3およびタスクの機能分類を利用して、アプリケーション3およびタスクの重要度グループを設定し、各重要度グループの重み係数を設定することができる。
 また、電力効率計算装置1において、所定の重要度グループ設定ロジックは、各アプリケーション3のタスク処理結果を収集したメトリクスを用いて重要度グループを設定するロジックであること、を特徴とする。
 このように、電力効率計算装置1は、各アプリケーション3のタスク処理結果を利用して、アプリケーション3およびタスクの重要度グループを設定し、各重要度グループの重み係数を設定することができる。
 なお、本発明は、以上説明した実施形態に限定されるものではなく、多くの変形が本発明の技術的思想内で当分野において通常の知識を有する者により可能である。
 1   電力効率計算装置
 3   アプリケーション(App)
 10  制御部
 11  入出力部
 12  記憶部
 30  物理サーバ群
 100 メトリクス収集DB
 101 メトリクス収集部
 102 タスク実行量正規化部
 103 重要度グループ設定部
 104 電力効率計算部
 1000 電力効率計算システム

Claims (8)

  1.  物理サーバ群に搭載されたアプリケーションを実行することによる電力効率を計算する電力効率計算装置であって、
     前記物理サーバ群には、1つ以上のタスクを実行する1つ以上のアプリケーションが搭載されており、
     前記電力効率計算装置は、
     前記物理サーバ群から、電力効率計算に必要な評価指標であり、タスク実行量および前記物理サーバ群の消費電力を含むメトリクスを収集し、記憶部内のメトリクス収集DBに保存するメトリクス収集部と、
     前記メトリクス収集DBに保存された前記タスク実行量を取得し、所定の測定時間ごとに計測されたタスク実行量を用いて、各前記アプリケーションのタスクごとの正規化係数を決定するタスク実行量正規化部と、
     各前記アプリケーションおよび各前記タスクに関する重要度グループの設定を、所定の重要度グループ設定ロジックに基づき行い、各前記アプリケーションの重要度グループ、各前記タスクの重要度グループそれぞれの重要度に応じた重みを設定する重要度グループ設定部と、
     前記メトリクス収集部が収集した所定の評価期間のメトリクスを取得し、前記メトリクスに含まれる前記タスク実行量について、各前記アプリケーションのタスクごとの前記正規化係数を用いて、当該タスク実行量を正規化し、その正規化したタスク実行量と、各前記アプリケーションおよび各前記タスクそれぞれの重要度グループの重みとを用いてトータルの作業成果量を算出し、前記メトリクスに含まれる前記消費電力と、前記トータルの作業成果量とから電力効率を計算する電力効率計算部と、
     を備えることを特徴とする電力効率計算装置。
  2.  前記タスク実行量正規化部は、所定の測定時間ごとに計測されたタスク実行量のうちの最大値を、各前記アプリケーションのタスクごとに抽出し、抽出したタスク実行量の最大値を逆数にした値を、各前記アプリケーションのタスクごとの前記正規化係数として決定すること、
     を特徴とする請求項1に記載の電力効率計算装置。
  3.  前記所定の重要度グループ設定ロジックは、
     前記アプリケーションおよび前記タスクそれぞれの売上を含むKPI(Key Performance Indicator)を用いて重要度グループを設定するロジックであること、
     を特徴とする請求項1または請求項2に記載の電力効率計算装置。
  4.  前記所定の重要度グループ設定ロジックは、
     前記アプリケーションおよび前記タスクの機能分類を用いて重要度グループを設定するロジックであること、
     を特徴とする請求項1または請求項2に記載の電力効率計算装置。
  5.  前記所定の重要度グループ設定ロジックは、
     各前記アプリケーションのタスク処理結果を収集したメトリクスを用いて重要度グループを設定するロジックであること、
     を特徴とする請求項1または請求項2に記載の電力効率計算装置。
  6.  物理サーバ群に搭載されたアプリケーションを実行することによる電力効率を計算する電力効率計算装置の電力効率計算方法であって、
     前記物理サーバ群には、1つ以上のタスクを実行する1つ以上のアプリケーションが搭載されており、
     前記電力効率計算装置は、
     前記物理サーバ群から、電力効率計算に必要な評価指標であり、タスク実行量および前記物理サーバ群の消費電力を含むメトリクスを収集し、記憶部内のメトリクス収集DBに保存するステップと、
     前記メトリクス収集DBに保存された前記タスク実行量を取得し、所定の測定時間ごとに計測されたタスク実行量を用いて、各前記アプリケーションのタスクごとの正規化係数を決定するステップと、
     各前記アプリケーションおよび各前記タスクに関する重要度グループの設定を、所定の重要度グループ設定ロジックに基づき行い、各前記アプリケーションの重要度グループ、各前記タスクの重要度グループそれぞれの重要度に応じた重みを設定するステップと、
     所定の評価期間に収集したメトリクスを取得し、前記メトリクスに含まれる前記タスク実行量について、各前記アプリケーションのタスクごとの前記正規化係数を用いて、当該タスク実行量を正規化し、その正規化したタスク実行量と、各前記アプリケーションおよび各前記タスクそれぞれの重要度グループの重みとを用いてトータルの作業成果量を算出し、前記メトリクスに含まれる前記消費電力と、前記トータルの作業成果量とから電力効率を計算するステップと、
     を実行することを特徴とする電力効率計算方法。
  7.  1つ以上のタスクを実行する1つ以上のアプリケーションが搭載される物理サーバ群と、前記物理サーバ群に搭載されたアプリケーションを実行することによる電力効率を計算する電力効率計算装置とを備える電力効率計算システムであって、
     前記電力効率計算装置は、
     前記物理サーバ群から、電力効率計算に必要な評価指標であり、タスク実行量および前記物理サーバ群の消費電力を含むメトリクスを収集し、記憶部内のメトリクス収集DBに保存するメトリクス収集部と、
     前記メトリクス収集DBに保存された前記タスク実行量を取得し、所定の測定時間ごとに計測されたタスク実行量を用いて、各前記アプリケーションのタスクごとの正規化係数を決定するタスク実行量正規化部と、
     各前記アプリケーションおよび各前記タスクに関する重要度グループの設定を、所定の重要度グループ設定ロジックに基づき行い、各前記アプリケーションの重要度グループ、各前記タスクの重要度グループそれぞれの重要度に応じた重みを設定する重要度グループ設定部と、
     前記メトリクス収集部が収集した所定の評価期間のメトリクスを取得し、前記メトリクスに含まれる前記タスク実行量について、各前記アプリケーションのタスクごとの前記正規化係数を用いて、当該タスク実行量を正規化し、その正規化したタスク実行量と、各前記アプリケーションおよび各前記タスクそれぞれの重要度グループの重みとを用いてトータルの作業成果量を算出し、前記メトリクスに含まれる前記消費電力と、前記トータルの作業成果量とから電力効率を計算する電力効率計算部と、
     を備えることを特徴とする電力効率計算システム。
  8.  コンピュータを、請求項1または請求項2に記載の電力効率計算装置として機能させるためのプログラム。
PCT/JP2022/021617 2022-05-26 2022-05-26 電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム WO2023228375A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/021617 WO2023228375A1 (ja) 2022-05-26 2022-05-26 電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/021617 WO2023228375A1 (ja) 2022-05-26 2022-05-26 電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム

Publications (1)

Publication Number Publication Date
WO2023228375A1 true WO2023228375A1 (ja) 2023-11-30

Family

ID=88918859

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/021617 WO2023228375A1 (ja) 2022-05-26 2022-05-26 電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム

Country Status (1)

Country Link
WO (1) WO2023228375A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001044994A (ja) * 1999-07-27 2001-02-16 Hitachi Ltd サービス管理システム
JP2011204126A (ja) * 2010-03-26 2011-10-13 Nomura Research Institute Ltd 解析装置、情報処理システムおよび解析方法
US20190073276A1 (en) * 2017-09-06 2019-03-07 Royal Bank Of Canada System and method for datacenter recovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001044994A (ja) * 1999-07-27 2001-02-16 Hitachi Ltd サービス管理システム
JP2011204126A (ja) * 2010-03-26 2011-10-13 Nomura Research Institute Ltd 解析装置、情報処理システムおよび解析方法
US20190073276A1 (en) * 2017-09-06 2019-03-07 Royal Bank Of Canada System and method for datacenter recovery

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SEGO LANDON H., MÁRQUEZ ANDRÉS, RAWSON ANDREW, CADER TAHIR, FOX KEVIN, GUSTAFSON WILLIAM I., MUNDY CHRISTOPHER J.: "Implementing the data center energy productivity metric", ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS (JETC), ACM, 2 PENN PLAZA, SUITE 701 NEW YORK NY 10121-0701 USA, vol. 8, no. 4, 1 October 2012 (2012-10-01), 2 Penn Plaza, Suite 701 New York NY 10121-0701 USA , pages 1 - 22, XP093111204, ISSN: 1550-4832 *

Similar Documents

Publication Publication Date Title
Bhattacharjee et al. Barista: Efficient and scalable serverless serving system for deep learning prediction services
US20190121672A1 (en) Automated capacity provisioning method using historical performance data
CN103999049B (zh) 用于预测虚拟机需求的方法和装置
US7882216B2 (en) Process and methodology for generic analysis of metrics related to resource utilization and performance
US7668703B1 (en) Determining required capacity for a resource
US10353745B1 (en) Assessing performance of disparate computing environments
US10601690B2 (en) Assessing performance of networked computing environments
US20050172291A1 (en) Method and apparatus for utility-based dynamic resource allocation in a distributed computing system
CN109165093A (zh) 一种计算节点集群弹性分配***及方法
Bartalos et al. Green web services: Modeling and estimating power consumption of web services
Limam et al. Data replication strategy with satisfaction of availability, performance and tenant budget requirements
Mekala et al. DAWM: Cost‐Aware Asset Claim Analysis Approach on Big Data Analytic Computation Model for Cloud Data Centre
Issa et al. Using logistic regression to improve virtual machines management in cloud computing systems
Leena Sri et al. An empirical model of adaptive cloud resource provisioning with speculation
Surya et al. Prediction of resource contention in cloud using second order Markov model
Kumar et al. Load balancing algorithm to minimize the makespan time in cloud environment
Willnecker et al. Optimization of deployment topologies for distributed enterprise applications
WO2023228375A1 (ja) 電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム
Lu et al. Host overloading detection based on EWMA algorithm in cloud computing environment
CN115914235A (zh) 负载均衡方法及装置
CN115033377A (zh) 基于集群服务器的服务资源预测方法、装置和电子设备
Ramesh et al. Machine learning for load balancing in cloud datacenters
WO2023228376A1 (ja) 電力効率計算装置、電力効率計算方法、電力効率計算システム、および、プログラム
Cao et al. Novel client-cloud architecture for scalable instance-intensive workflow systems
Liu et al. Probabilistic-based workload forecasting and service redeployment for multi-tenant services

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22943775

Country of ref document: EP

Kind code of ref document: A1