KR20130005492A - Method, apparatus and system for controlling server by changing power mode - Google Patents
Method, apparatus and system for controlling server by changing power mode Download PDFInfo
- Publication number
- KR20130005492A KR20130005492A KR1020110066920A KR20110066920A KR20130005492A KR 20130005492 A KR20130005492 A KR 20130005492A KR 1020110066920 A KR1020110066920 A KR 1020110066920A KR 20110066920 A KR20110066920 A KR 20110066920A KR 20130005492 A KR20130005492 A KR 20130005492A
- Authority
- KR
- South Korea
- Prior art keywords
- mode
- server
- power
- power consumption
- servers
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3209—Monitoring remote activity, e.g. over telephone lines or network connections
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
Abstract
Description
본 발명은 전원 모드 변환을 이용한 서버 제어 방법, 서버 제어 장치 및 서버 제어 시스템에 관한 것으로, 더욱 상세하게는 서버의 전원 모드를 동적으로 제어하는 기술에 관한 것이다.The present invention relates to a server control method, a server control apparatus, and a server control system using power mode conversion, and more particularly, to a technology for dynamically controlling a power mode of a server.
데이터 센터는 ‘전기 먹는 하마’로 불릴 정도로 전력소비량이 많은 곳이다. 데이터 센터 IT 장비의 전력 소비 중 서버가 80%를 차지하는데 이를 낮추는 것이 그린 IT 실현을 위해 절실히 필요하다. 이를 해결하는 방법 중의 하나가 서버들 전력 소모를 최소화하도록 하기 위해, 필요한 경우 일부 서버를 일정시간 오프시키는 부하 분산기를 구현하여 사용하는 것이다.Data centers are so power-hungry that they are called "electric hippos." Servers account for 80 percent of the power consumption of data center IT equipment, and lowering it is critical for green IT. One way to solve this problem is to implement and use a load balancer that turns off some servers for some time, if necessary, in order to minimize server power consumption.
일반적으로 사용할 수 있는 부하 분산기로서 리눅스 가상 서버를 고려해 볼 수 있다. 리눅스 가상 서버(LVS: Linux Virtual Server)는 리눅스를 기반으로 독립된 여러 서버들을 하나의 클러스터로 구성하여 뛰어난 확장성과 가용성을 제공한다. 가상 서버의 구조는 서버 외부에서는 마치 클러스터 서버가 하나의 고성능 서버인 것처럼 보이도록 하고, 실제 서버 내부에서는 사용자의 요청을 스케줄링을 이용하여 처리한다.You can consider Linux virtual servers as a common load balancer. Linux Virtual Server (LVS: Linux Virtual Server) provides excellent scalability and availability by configuring multiple independent servers in a cluster based on Linux. The structure of the virtual server makes the cluster server appear to be a high performance server outside the server, and the user's request is processed using scheduling inside the actual server.
LVS는 사용자(Client)로부터 받은 요청을 처리하는 방식(Packet Forwarding Methods)에 따라 세 가지 방식(NAT: Network Address Translation, Direct Routing, IP Tunneling)이 존재한다. 이러한 방식은 서버가 처리한 요청을 LVS를 통해 사용자에게 전송하는 방식(NAT)과 서버가 직접 사용자에게 보내는 방식(Direct Routing, IP Tunneling)으로 나눌 수 있다.LVS has three methods (NAT: Network Address Translation, Direct Routing, and IP Tunneling) according to the method of processing a request received from a client. This method can be divided into a method of transmitting a server-processed request to a user through LVS (NAT) and a method of directly sending a server to a user (Direct Routing, IP Tunneling).
또한 LVS는 사용자 요청을 실제 서버들로 스케줄링 하는 방식에 따라 8가지 방식(RR: Round-Robin, WRR: Weighted Round-Robin, LC: Least Connection, WLC: Weighted Least Connection, LBLC: Locality-Based Least Connection, LBLCR: Locality-Based Least Connection with Replication, SH: Source Hash, DH: Destination Hash)이 존재한다. 스케줄링 방식은 실제 서버들로 요청을 분산할 때, 순서대로 분산하는 방식(RR, WRR), 가상 서버와 실제 서버와의 연결 개수를 이용해서 분산하는 방식(LC, WLC), 실제 서버들을 몇 개의 단위의 묶어서 분산하는 방식(LBLC, LBLCR) 및 해시를 이용하는 방식(SH, DH)으로 나눌 수 있다.In addition, LVS has eight methods depending on how user requests are scheduled to real servers: Round-Robin, WRR: Weighted Round-Robin, LC: Least Connection, WLC: Weighted Least Connection, LBLC: Locality-Based Least Connection , LBLCR: Locality-Based Least Connection with Replication, SH: Source Hash, DH: Destination Hash). Scheduling method is to distribute requests to real servers in order, to distribute them in order (RR, WRR), to distribute using the number of connections between virtual servers and real servers (LC, WLC), The method can be divided into a method of grouping and distributing units (LBLC, LBLCR) and a method using hashes (SH, DH).
종래의 방법에 따른 서버 전원 제어 시스템은, 부하 분산기에 연결된 다수의 서버의 부하를 측정하는 트래픽 측정 모듈과 다수의 서버에 인가되는 총 부하가 미리 설정된 임계치 이하로 감소하면 부하 분산기의 설정을 변경함으로써 가동중인 서버 가운데 미리 정해진 순서에 따라 어느 하나의 서버에 대하여 부하의 분산을 막는 트래픽 제어 모듈을 포함한다. 또한, 트래픽 제어 모듈에 의하여 부하의 분산이 막힌 서버의 트래픽이 미리 설정된 임계치 이하로 떨어지면 해당 서버에 대하여 서버 종료 신호를 발생시키는 서버 전원 제어 모듈을 더 포함한다.The server power control system according to the conventional method includes changing the configuration of the load balancer when the traffic measuring module for measuring load of a plurality of servers connected to the load balancer and the total load applied to the plurality of servers decreases below a preset threshold. It includes a traffic control module that prevents load distribution to any one server in a predetermined order among the running server. The apparatus may further include a server power control module configured to generate a server termination signal for the server when the traffic of the server whose load is prevented from being distributed by the traffic control module falls below a preset threshold.
그러나, 종래의 서버 전원 제어 시스템은 온/오프시 서버의 상황을 고려하지 않은 채 미리 정해진 순서로만 전원을 제어하므로, 전체적인 서버의 성능을 보장할 수 없으며, 현재의 상황만을 고려하여 상황에 대처하기 때문에 미래의 상황을 예측 및 대처할 수 없고, 갑작스런 요청의 급등(DDoS) 및 급감에 대처하는데 미흡한 문제점이 있다.However, the conventional server power control system controls power only in a predetermined order without considering the situation of the server at the time of on / off, so it is not possible to guarantee the overall performance of the server, and to deal with the situation considering only the current situation. Because of this, it is impossible to predict and cope with the future situation, and there is a problem in that it is insufficient to cope with sudden spikes (DDoS) and sudden drops in requests.
본 발명이 이루고자 하는 기술적인 과제는, 복수의 서버들의 전원을 제어함에 있어서 서버의 트래픽양을 주기적 또는 비주기적으로 감시하여 전원 모드를 변환하는 전원 모드 변환을 이용한 서버 제어 방법, 서버 제어 장치 및 서버 제어 시스템을 제공하기 위한 것이다.The technical problem to be achieved by the present invention is a server control method, a server control device and a server using a power mode conversion to switch the power mode by periodically or aperiodically monitoring the traffic volume of the server in controlling the power of a plurality of servers It is to provide a control system.
본 발명의 일 실시예에 따른 전원 모드 변환을 이용한 서버 제어 방법은 복수의 서버에 대한 트래픽양을 측정하여 상기 복수의 서버의 소비전력을 추정하는 단계와, 상기 복수의 서버의 추정된 소비전력과 미리 설정된 시간 간격마다 상기 소비전력을 추정하여 생성된 소비전력 이력을 비교하여, 상기 복수의 서버의 전원 모드 결정주기를 설정하는 단계와, 상기 설정된 전원 모드 결정주기마다 상기 복수의 서버의 소비전력을 추정하여, 전원 모드가 변환되어야 할 서버를 선택하고, 상기 선택된 서버의 전원 모드를 결정하는 단계와, 상기 결정된 전원 모드에 따라 상기 선택된 서버의 전원 동작을 제어하는 단계를 포함한다.According to an embodiment of the present invention, a server control method using power mode conversion includes estimating power consumption of a plurality of servers by measuring traffic amounts of a plurality of servers, and estimated power consumption of the plurality of servers. Comparing the power consumption history generated by estimating the power consumption at predetermined time intervals, setting power mode determination periods of the plurality of servers, and power consumption of the plurality of servers at each power mode determination period. Estimating, selecting a server to which a power mode is to be converted, determining a power mode of the selected server, and controlling a power operation of the selected server according to the determined power mode.
또한, 상기 전원 모드는 상기 서버에 전원을 공급하는 온 모드, 상기 서버에 공급되는 전원을 차단하는 오프 모드 및 상기 서버에 공급되는 전원을 임시로 차단하는 슬립 모드를 포함할 수 있다.The power mode may include an on mode for supplying power to the server, an off mode for shutting off power supplied to the server, and a sleep mode for temporarily shutting off power supplied to the server.
또한, 상기 복수의 서버의 전원 모드 결정주기를 설정하는 단계는, 제1 시점에서 추정된 상기 서버의 소비전력과 제2 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 최소 소비전력 임계값보다 크고, 미리 설정된 최대 소비전력 임계값보다 작은 경우에는, 상기 제2 시점에서 추정된 상기 서버의 소비전력과 상기 소비전력 이력 중 과거의 제3 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 결정주기 판단값보다 큰경우에는 상기 전원 모드 결정주기를 짧게 설정하고, 상기 결정주기 판단값보다 작은 경우에는 상기 전원 모드 결정주기를 길게 설정할 수 있다.The setting of the power mode determination periods of the plurality of servers may include comparing the power consumption of the server estimated at a first time point with the power consumption of the server estimated at a second time point, and the difference in power consumption may be determined in advance. If it is greater than a predetermined minimum power consumption threshold and less than a predetermined maximum power consumption threshold, the server's power consumption estimated at the second time point and the power consumption history of the server estimated at a third time in the past are estimated. By comparing power consumption, when the difference in power consumption is greater than a predetermined determination period determination value, the power mode determination period may be set short, and when the difference of power consumption is smaller than the determination period determination value, the power mode determination period may be set longer. .
또한, 상기 제1 시점에서 추정된 상기 서버의 소비전력과 상기 제2 시점에서 추정된 상기 서버의 소비전력을 비교하여 소비전력의 차이가 상기 최소 소비전력 임계값보다 작은 경우이거나, 상기 최대 소비전력 임계값보다 큰 경우에는 상기 전원 모드 결정주기를 최소로 설정할 수 있다.In addition, the power consumption of the server estimated at the first time point and the power consumption of the server estimated at the second time point are compared, or the difference in power consumption is smaller than the minimum power consumption threshold, or the maximum power consumption. If it is larger than the threshold value, the power mode determination period may be set to the minimum.
또한, 상기 선택된 서버의 전원 모드를 결정하는 단계는, 상기 설정된 전원 모드 결정주기마다 트래픽양에 따른 서버수를 계산하여 상기 복수의 서버의 전원 모드를 결정할 수 있다.In the determining of the power mode of the selected server, the power mode of the plurality of servers may be determined by calculating the number of servers according to the traffic amount at each set power mode determination period.
또한, 상기 전원 모드 결정주기의 시작 시점에서 계산된 서버 수가 상기 전원 모드 결정주기의 종료 시점에서 계산된 서버 수보다 큰 경우에는, 상기 온 모드로 동작하는 서버를 오프 모드 또는 슬립 모드로 변환할 수 있다.In addition, when the number of servers calculated at the start of the power mode determination period is greater than the number of servers calculated at the end of the power mode determination cycle, the server operating in the on mode may be converted into an off mode or a sleep mode. have.
또한, 상기 오프 모드 또는 슬립 모드로 변환되는 서버는 상기 온 모드로 동작하는 서버 중 트래픽 처리가 가장 적은 순으로 결정할 수 있다.In addition, the server which is converted into the off mode or the sleep mode may determine the least traffic in the server operating in the on mode.
또한, 상기 전원 모드 결정주기가 미리 설정된 결정주기 임계값보다 큰 경우에는 상기 온 모드로 동작하는 서버를 오프 모드로 변환하고, 상기 임계값보다 작은 경우에는 슬립 모드로 변환할 수 있다.In addition, when the power mode determination period is greater than a predetermined determination period threshold, the server operating in the on mode may be converted to the off mode, and when the power mode determination period is smaller than the threshold, the sleep mode may be converted into a sleep mode.
또한, 상기 전원 모드 결정주기의 시작 시점에서 계산된 서버 수가 상기 전원 모드 결정주기의 종료 시점에서 계산된 서버 수보다 작은 경우, 상기 전원 모드 결정주기가 미리 설정된 결정주기 임계값보다 큰 경우에는 상기 오프 모드로 동작하는 서버를 온 모드로 변환하고, 상기 임계값보다 작은 경우에는 상기 슬립 모드로 동작하는 서버를 온 모드로 변환할 수 있다.In addition, when the number of servers calculated at the start of the power mode decision period is less than the number of servers calculated at the end of the power mode decision period, the power is turned off when the power mode decision period is larger than a predetermined decision period threshold. The server operating in the mode may be converted into the on mode, and when the server is smaller than the threshold value, the server operating in the sleep mode may be converted into the on mode.
또한, 상기 제어하는 단계는, 상기 온 모드로 동작하는 복수의 서버를 오프 모드 또는 슬립 모드로 변환하는 경우, 상기 온 모드로 동작하는 서버에 대한 연결요청을 온 모드로 동작하는 다른 서버로 분배하도록 제어하고, 상기 슬립 모드 또는 오프 모드로 동작하는 복수의 서버를 온 모드로 변환하는 경우, 온 모드로 동작하는 다른 서버에 대한 연결요청을 온 모드로 변환된 서버로 분배하도록 제어할 수 있다.The controlling may include distributing a connection request for a server operating in the on mode to another server operating in the on mode when the plurality of servers operating in the on mode are converted into an off mode or a sleep mode. When the plurality of servers operating in the sleep mode or the off mode are converted to the on mode, the controller may control the distribution of connection requests to other servers operating in the on mode to the server converted to the on mode.
본 발명의 다른 실시예에 따른 전원 모드 변환을 이용한 서버 제어 장치는 복수의 서버에 대한 트래픽양을 측정하여 상기 복수의 서버의 소비전력을 추정하는 소비전력 추정부와, 상기 복수의 서버의 추정된 소비전력과 미리 설정된 시간 간격마다 상기 소비전력을 추정하여 생성된 소비전력 이력을 비교하여, 상기 복수의 서버의 전원 모드 결정주기를 설정하는 전원 모드 결정주기 설정부와, 상기 설정된 전원 모드 결정주기마다 상기 복수의 서버의 소비전력 추정하여, 전원 모드가 변환되어야 할 서버를 선택하고, 상기 선택된 서버의 전원 모드를 결정하는 전원 모드 결정부와, 상기 결정된 전원 모드에 따라 상기 선택된 서버의 전원 동작을 제어하는 제어부를 포함한다.According to another aspect of the present invention, a server control apparatus using power mode conversion includes: a power consumption estimator for estimating power consumption of a plurality of servers by measuring traffic amounts of a plurality of servers; A power mode determination cycle setting unit configured to set power mode determination cycles of the plurality of servers by comparing power consumption and power consumption history generated by estimating the power consumption at a predetermined time interval, and for each of the predetermined power mode determination cycles; A power mode determination unit for selecting a server to which a power mode is to be converted and estimating power consumption of the plurality of servers, and controlling a power operation of the selected server according to the determined power mode; It includes a control unit.
본 발명의 다른 실시예에 따른 전원 모드 변환을 이용한 서버 제어 시스템은 복수의 서버와, 상기 복수의 서버로 연결을 요청하는 복수의 클라이언트 단말과, 복수의 서버에 대한 트래픽양을 측정하여 상기 복수의 서버의 소비전력을 추정하는 소비전력 추정부와, 상기 복수의 서버의 추정된 소비전력과 미리 설정된 시간 간격마다 상기 소비전력을 추정하여 생성된 소비전력 이력을 비교하여, 상기 복수의 서버의 전원 모드 결정주기를 설정하는 전원 모드 결정주기 설정부와, 상기 설정된 전원 모드 결정주기마다 상기 복수의 서버의 소비전력을 추정하여, 전원 모드가 변환되어야 할 서버를 선택하고, 상기 선택된 서버의 전원 모드를 결정하는 전원 모드 결정부와, 상기 결정된 전원 모드에 따라 상기 선택된 서버의 전원 동작을 제어하는 제어부를 포함하는 전원 모드 변환을 이용한 서버 제어 장치를 포함한다.According to another aspect of the present invention, a server control system using power mode conversion includes a plurality of servers, a plurality of client terminals requesting a connection to the plurality of servers, and a plurality of servers to measure traffic volume of the plurality of servers. A power consumption mode of the plurality of servers by comparing a power consumption estimating unit estimating power consumption of a server with power consumption history generated by estimating the power consumption at a predetermined time interval with the estimated power consumption of the plurality of servers; A power mode determination period setting unit configured to set a determination period, estimate a power consumption of the plurality of servers at each of the set power mode determination periods, select a server to which a power mode is to be converted, and determine a power mode of the selected server; A power mode determination unit configured to control a power operation of the selected server according to the determined power mode. Included includes a server control device using power mode conversion.
이와 같은 본 발명에 따른 전원 모드 변환을 이용한 서버 제어 방법, 서버 제어 장치 및 서버 제어 시스템은 트래픽의 상황을 고려하여 서버의 전원 모드를 제어할 수 있으며, 갑작스런 요청의 급등(DDoS) 및 급감에 대처할 수 있다. 또한, 네트워크의 트래픽 상황에 맞게 적절한 서버수를 유지함으로써 소비전력 절감을 기대할 수 있으며, 과거의 트래픽양 내역을 기초로 미래의 트래픽양을 예측하여 대비함으로써 서버들의 요청 처리 성능이 보장될 수 있다.The server control method, the server control device and the server control system using the power mode conversion according to the present invention can control the power mode of the server in consideration of the traffic situation, and can cope with sudden spikes (DDoS) and sudden drop of request Can be. In addition, power consumption can be expected by maintaining the appropriate number of servers according to the traffic conditions of the network, and the request processing performance of the servers can be guaranteed by predicting and preparing for future traffic based on past traffic volume details.
도 1은 본 발명의 일 실시예에 따른 전원 모드 변환을 이용한 서버 제어 시스템의 구성도,
도 2는 도 1에 따른 서버 제어 시스템에 포함되는 전원 모드 변환을 이용한 서버 제어 장치의 구성도,
도 3은 도 2에 따른 전원 모드 변환을 이용한 서버 제어 방법의 흐름도,
도 4a, 도 4b는 도 3에 따른 전원 모드 결정주기 설정을 설명하기 위한 예시도이다.1 is a configuration diagram of a server control system using power mode conversion according to an embodiment of the present invention;
2 is a configuration diagram of a server control apparatus using power mode conversion included in the server control system according to FIG. 1;
3 is a flowchart of a server control method using power mode conversion according to FIG. 2;
4A and 4B are exemplary diagrams for describing setting of a power mode determination period according to FIG. 3.
이하, 첨부된 도면들을 참조하여 본 발명의 실시예를 상세하게 설명한다. 사용되는 용어들은 실시예에서의 기능을 고려하여 선택된 용어들로서, 그 용어의 의미는 사용자, 운용자의 의도 또는 판례 등에 따라 달라질 수 있다. 그러므로 후술하는 실시예들에서 사용된 용어의 의미는, 본 명세서에 구체적으로 정의된 경우에는 그 정의에 따르며, 구체적인 정의가 없는 경우는 당업자들이 일반적으로 인식하는 의미로 해석되어야 할 것이다.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The terms used are terms selected in consideration of the functions in the embodiments, and the meaning of the terms may vary depending on the user, the intention or the precedent of the operator, and the like. Therefore, the meaning of the terms used in the following embodiments is defined according to the definition when specifically defined in this specification, and unless otherwise defined, it should be interpreted in a sense generally recognized by those skilled in the art.
도 1은 본 발명의 일 실시예에 따른 전원 모드 변환을 이용한 서버 제어 시스템의 구성도이다.1 is a block diagram of a server control system using power mode conversion according to an embodiment of the present invention.
도 1을 참조하면, 전원 모드 변환을 이용한 서버 제어 시스템은 복수의 클라이언트 단말(100), 서버 제어 장치(200) 및 복수의 서버(300)를 포함한다. 복수의 클라이언트 단말(100)은 네트워크를 통해 복수의 서버(300)로 연결을 요청한다. 복수의 클라이언트 단말(100)과 복수의 서버(300) 간에 네트워크가 형성되어 데이터가 전송되는 과정에서 트래픽이 발생한다. 이 경우, 서버 제어 장치(200)는 클라이언트 단말(100)로부터 서버(300)에 대한 연결 요청을 수신하여 복수의 서버(300)에 부하를 분산함과 동시에 복수의 서버(300)를 개별적으로 전원을 제어한다. 서버 제어 장치(200)는 각 서버(300)에서 발생되는 트래픽양을 측정하여 소비전력을 추정하고, 이를 기초로 특정 서버(300)의 전원 모드를 온/오프/슬립 모드로 제어한다.
Referring to FIG. 1, a server control system using power mode conversion includes a plurality of
이하, 서버 제어 시스템에 포함되는 서버 제어 장치 및 서버 제어 방법에 관하여 도 2 내지 도 3을 참조하여 후술하도록 한다.
Hereinafter, a server control apparatus and a server control method included in a server control system will be described later with reference to FIGS. 2 to 3.
도 2는 도 1에 따른 서버 제어 시스템에 포함되는 전원 모드 변환을 이용한 서버 제어 장치의 구성도이고, 도 3은 도 2에 따른 전원 모드 변환을 이용한 서버 제어 방법의 흐름도이다.FIG. 2 is a configuration diagram of a server control apparatus using power mode conversion included in the server control system of FIG. 1, and FIG. 3 is a flowchart of a server control method using power mode conversion according to FIG. 2.
전원 모드 변환을 이용한 서버 제어 장치(200)는 소비전력 추정부(210), 소비전력 DB(220), 전원 모드 결정주기 설정부(230), 서버 DB(240), 전원 모드 결정부(250), 제어부(270)를 포함한다. 먼저 소비전력 추정부(210)는 클라이언트 단말(100)로부터 복수의 서버에 대한 트래픽양을 측정하여 복수의 서버의 소비전력을 추정한다(S300). 소비전력 추정부(210)는 미리 설정된 시간 동안에 각 서버에 대한 소비전력의 평균 데이터를 소비전력 DB(220)에 저장한다. 소비전력 DB(220)에는 다음의 표 1과 같은 데이터가 저장될 수 있다.The
소비전력 DB(220)에는 표 1과 같이 각 서버에 대한 각 시점에 따른 소비전력과 전체 서버의 소비전력에 대한 소비전력 이력이 저장된다. 소비전력 추정부(210)는 전원 모드 결정주기 설정부(230)의 제어에 의해 미리 설정된 시간 주기마다 복수의 서버에 대한 트래픽양을 측정하여 소비전력을 추정하여 소비전력 DB(220)에 저장한다. 소비전력 DB(220) 에 저장된 소비전력의 평균 데이터는 전원 모드 결정주기 설정부(230)에서 이용된다.The power consumption DB 220 stores power consumption history for each server and power consumption of the entire server, as shown in Table 1 below. The
다음으로, 전원 모드 결정주기 설정부(230)는 소비전력 추정부(210)에서 추정된 복수의 서버의 소비전력을 소비전력 DB(220)에 저장된 미리 설정된 시간 간격마다 상기 소비전력을 추정하여 생성된 소비전력 이력과 비교하여, 복수의 서버의 전원 모드 결정주기를 설정한다(S310). 전원 모드 결정주기 설정부(230)는 소비전력 DB(220)에 저장된 복수의 서버에 대한 소비전력 데이터의 이력에 따라 복수의 서버의 전원 모드 결정주기를 늘리거나 줄임으로써 주기를 조정할 수 있다. 전원 모드 결정주기란 각각의 서버의 전원 모드의 변경 여부에 대한 판단을 하는 시간 주기를 말한다. 즉, 미리 설정된 시간 간격의 시점에서 이전 시점과 현재 시점 사이의 평균값을 복수의 서버에 대한 소비전력으로 추정한다. 전원 모드 결정주기 설정부(230)에서 설정된 데이터는 다음의 표 2와 같은 데이터로 소비전력 DB(220)에 저장되고, 그 이력은 갱신된다.Next, the power mode determination
예를 들어, 1시간을 20분 단위로 3개의 시점으로 나누어 소비전력을 추정할 수 있다. 이 경우, 제1 시점은 ‘1시 20분, 2시 20분, 3시 20분 …’으로 설정되어 소비전력을 추정하고, 제2 시점은 ‘1시 40분, 2시 40분, 3시 40분 …'으로 설정되어 소비전력을 추정하고, 제3 시점은 ‘2시, 3시, 4시 …’으로 설정되어 소비전력을 추정할 수 있다. 이 경우, 1시 1분부터 1시 20분 사이의 소비전력 평균과 소비전력 DB(200)에 저장된 과거의 제 1시점의 값(12시 20분에 갱신된 값)사이의 소비전력 값 중 예외적으로 높거나 작은 소비전력 값을 배제한 값의 평균 값인 대표 값을 소비전력 DB(200)에 제1 시점 값으로 갱신하고, 1시 21분부터 1시40분 사이의 소비 전력 평균과 소비전력 DB(200)에 저장된 과거의 제2 시점의 값(12시 40분에 갱신된 값) 사이의 대표 값을 소비전력 DB(200)에 제2 시점 값으로 갱신하며, 1시 41분부터 2시 사이의 소비전력 평균과 소비전력 DB(200)에 저장된 과거의 제3 시점의 값(1시에 갱신된 값)사이의 대표 값을 소비전력 DB(200)에 제3 시점 값으로 갱신한다.For example, power consumption may be estimated by dividing one hour into three viewpoints in units of 20 minutes. In this case, the first time point is '1:20, 2:20, 3:20'. ', The power consumption is estimated, and the second time point is '40: 40, 2:40, 3:40... ', The power consumption is estimated, and the third time point is' 2, 3, 4 o'clock. ', The power consumption can be estimated. In this case, an exceptional power consumption value between the average power consumption between 1: 1 and 1:20 and the value of the past first point in time stored in the power consumption DB 200 (updated at 12:20) is exceptional. The representative value, which is an average value of values excluding high or small power consumption values, is updated in the
예를 들어, 전원 모드 결정주기 설정부(230)는 현재 시각이 1시 20분인 경우, 1시 1분부터 1시 20분 사이의 소비 전력 평균과 소비전력 DB(200)에 저장된 과거의 제2 시점의 값(12시 40분에 갱신 된 값) 사이의 소비전력의 차이 정도에 따라, 그 차이가 미리 설정된 결정주기 판단값보다 클수록 전원 모드 결정주기를 짧게 설정하며, 그 차이가 결정주기 판단값보다 작을수록 전원 모드 결정 주기를 길게 한다. 이와 같이 서버의 전원 모드 결정주기를 설정하기 위한 시간적 간격(제1 시점과 제2 시점 사이의 시간 간격)은 주기적으로 설정되며, 개별 서버에 대한 전원 모드의 변환여부를 판단하기 위한 전원 모드 결정주기는 상황에 따라 가변적이다. 따라서, 현재의 트래픽 상황과 미래의 예측되는 트래픽 상황을 토대로 능동적으로 전원모드의 결정주기를 조정함으로써, 현재 트래픽 상황에서 최적의 서버수를 유지할 수 있다. 이를 통하여, 클라이언트들의 요청에 응답하는 서버들의 성능을 보장하고, 소비 전력을 줄일 수 있다.For example, when the current time is 1:20, the power mode determination
한편,전원 모드 결정주기 설정부(230)에서 전원 모드 결정주기를 설정하는 방법에는 일반적인 경우와 예외 적인 경우로 구분할 수 있다. 전원 모드 결정주기 설정부(230)는 제1 시점에서 추정된 서버의 소비전력과 제2 시점에서 추정된 서버의 소비전력을 비교하여, 소비전력의 차이를 미리 설정된 최소 소비전력 임계값과 비교하여 트래픽 상황이 일반적인 경우인지 예외적인 경우인지를 구분한다. 최대 소비전력 임계값은 예외적인 요청의 급증(DDos)을 판단하는 기준값이며, 최소 소비전력 임계값은 예외적인 요청의 급감을 판단하는 기준값이다. 소비전력의 차이가 최소 소비전력 임계값보다 크고, 최대 소비전력 임계값보다 작은 경우에는, 트래픽 상황을 일반적인 경우로 판단하여, 제2 시점에서 추정된 서버의 소비전력과 소비전력 이력 중 과거의 제3 시점에서 추정된 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 결정주기 판단값보다 큰경우에는 전원 모드 결정주기를 짧게 설정하고, 소비전력의 차이가 결정주기 판단값보다 작은경우에는 전원 모드 결정주기를 길게 설정할 수 있다. 이 경우, 결정주기 판단값은 전원 모드 결정주기를 증감하는 기준값으로, 그 값은 사용자의 설정에 의해 가변적이다. 이에 따라, 소비전력의 증감을 미리 예상하여 전원 모드 결정주기를 설정할 수 있다.On the other hand, the method of setting the power mode determination period in the power mode determination
한편, 전원 모드 결정주기 설정부(230)는 제1 시점에서 추정된 서버의 소비전력과 제2 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 최소 소비전력 임계값보다 작은 경우이거나, 소비전력의 차이가 미리 설정된 최대 소비전력 임계값보다 큰 경우에는 예외적인 경우로 판단한다. 소비전력의 차이가 예외적인 요청의 급증이나 급감으로 판단된 경우에는 전원 모드 결정 주기를 최소로 설정하여, 예외적인 요청의 급증인 경우에는 신속하게 서버 수를 증가시켜 응답 성능을 보장할 수 있으며, 예외적인 요청의 급감인 경우에는 신속하게 서버의 모드를 오프 또는 슬립 모드로 변환시킴으로써 소비전력의 절감을 기대할 수 있다.On the other hand, the power mode determination
다음으로, 전원 모드 결정부(250)는 설정된 전원 모드 결정주기마다 트래픽양에 따라 추정된 복수의 서버의 소비전력을 이용하여, 전원 모드가 변환되어야 할 서버와 해당 서버의 전원 모드를 결정한다(S320). 전원 모드 결정부(250)는 소비전력 DB(220)에 저장된 복수의 서버에 대한 소비전력을 참조하여 필요한 최소의 서버 수를 설정하고, 전원 모드 결정주기 설정부(230)에서 설정된 전원 모드 결정주기마다 복수의 서버에 대한 소비전력을 참조하여 필요한 최소의 서버 수를 계산한다. 그리고, 각 주기의 소비전력에 따른 서버 수를 비교하여 복수의 서버의 전원 모드를 결정한다.Next, the power
또한, 전원 모드 결정부(250)는 전원 모드 결정주기의 시작 시점에서 계산된 제1 서버 수와 전원 모드 결정주기의 종료 시점에서 계산된 제2 서버 수를 비교하여, 제2 서버수가 제1 서버수보다 적은 경우에는, 온 모드로 동작하는 서버를 오프 모드 또는 슬립 모드로 변환하고, 제2 서버수가 제1 서버수보다 많은 경우에는 오프 모드 또는 슬립 모드로 동작하는 서버를 온 모드로 변환한다. 이 경우, 서버의 전원 모드는 서버의 전원을 공급하는 온 모드, 서버의 전원을 차단하는 오프 모드 및 서버의 전원을 임시로 차단하는 슬립 모드를 포함한다. 슬립 모드는 서버의 전원을 완전히 차단하는 것이 아니라 온 모드 상태의 10% 정도의 전력을 소비하면서 클라이언트 단말(100)과의 연결은 해제된 상태로 설정된다. 서버의 전원 모드를 단순히 온 모드/오프 모드로 설정하는 것에 비해, 슬립 모드를 설정하는 경우에는 온 모드로 변환하는 것을 신속하게 처리할 수 있다.In addition, the power
또한, 전체적인 네트워크 트래픽이 감소함에 따라 서버들에 대한 소비전력이 감소하는 경우, 현재의 전원 모드 결정주기가 평균적인 전원 모드 결정주기보다 길게 설정되는 경우에는 온 모드로 동작하는 서버를 오프 모드로 변환하고, 현재의 전원 모드 결정주기가 평균적인 전원 모드 결정주기보다 짧게 설정되는 경우에는 온 모드로 동작하는 서버를 슬립 모드로 변환한다.In addition, when the power consumption for the servers decreases as the overall network traffic decreases, when the current power mode determination period is set longer than the average power mode determination period, the server operating in the on mode is converted to the off mode. If the current power mode determination cycle is set to be shorter than the average power mode determination cycle, the server operating in the on mode is converted to the sleep mode.
또한, 전체적인 네트워크 트래픽이 증가함에 따라 서버들에 대한 소비전력 증가하는 경우, 현재 설정된 전원 모드 결정주기가 긴 경우에는 오프 모드로 동작하는 서버를 온 모드로 변환하고, 현재 설정된 전원 모드 결정주기가 짧은 경우에는 슬립 모드로 동작하는 서버를 온 모드로 변환한다. 이는 급작스런 트래픽의 증가 또는 감소에는 온 모드로 동작하는 서버를 오프 모드로 변환시키는 것보다 슬립 모드로 변환하는 것이 향후 트래픽의 변동에 신속하게 대처할 수 있기 때문이다. 그러나, 트래픽이 점차적으로 감소하여 소비전력의 차이가 적은 경우에는 온 모드로 동작하는 서버 중 일부를 오프 모드로 변환함으로써 전력 소비를 줄일 수 있다.In addition, when the power consumption for the servers increases as the overall network traffic increases, when the currently set power mode determination period is long, the server operating in the off mode is switched to the on mode, and the currently set power mode determination cycle is short. In this case, the server operating in the sleep mode is switched to the on mode. This is because a sudden increase or decrease in traffic causes the server to operate in sleep mode rather than in off mode to cope with future traffic fluctuations. However, when the traffic is gradually reduced and the difference in power consumption is small, power consumption may be reduced by converting some of the servers operating in the on mode to the off mode.
한편, 전원 모드 결정부(250)는 온 모드로 동작하는 서버 중 일부 서버에 대해 전원 모드의 변환을 결정한 경우, 서버 DB(240)를 참조하여 온 모드로 동작하는 서버 중 트래픽 처리가 가장 적은 순서대로 오프 모드 또는 슬립 모드로 변환할 서버를 결정한다. 이렇게 하는 것이 전체 네트워크 연결에 지장을 최소화할 수 있기 때문이다. 서버 DB(240)는 소비전력 DB(220)와 함께 구성될 수 있으며, 다음의 표 3과 같은 유형의 데이터가 저장된다.On the other hand, when the power
서버 DB(240)에는 표 3에서와 같은 각 서버에 대한 각 시점에 따른 전원 모드 이력이 저장된다. 표 3에서‘제1 판단시점과 제2 판단시점, 제2 판단시점과 제3 판단시점, …, 제 n-1 판단시점과 제n 판단시점'은 전원 모드의 변환을 결정하는 각각의 전원 모드 결정주기의 시작 시점과 종료 시점으로써, 전원 모드 결정주기를 설정하는 시점 사이의 시간인‘제1 시점과 제2 시점 사이, 제2 시점과 제3 시점 사이, …, 제n 시점과 갱신된 제 1시점 사이'를 세분화한 시간 구간으로 설정되며, 전원모드 결정주기의 설정에 따라 판단시점은 가변적이다. 표 3에서 제1 판단시점의 트래픽양에 따른 필요한 서버의 수는 3대이었으나, 제2 판단시점의 트래픽양의 감소에 따라 2대만 필요한 경우, 서버 1 내지 서버 n에서 어느 하나의 서버의 전원 모드를 오프 또는 슬립시킬 필요가 있다. 이 경우에는 각 서버에 대한 트래픽양을 추가로 판단하여 서버 2의 트래픽양이 가장 적은 경우에는 제2 판단시점에서는 서버 2의 전원 모드를 오프 또는 슬립으로 결정하게 된다.The
다음으로, 제어부(270)는 전원 모드 결정부(250)에서 결정된 전원 모드에 따라 전원 모드를 변환하기로 결정된 서버의 전원 동작을 제어한다(S330). 제어부(270)는 서버 DB(240)를 참조하여 현재 온/오프/슬립 모드로 동작하는 서버의 리스트를 파악한다. 또한, 전원 모드 결정부(250)로부터 전원 모드 변환이 결정된 서버의 리스트를 입력받아 해당 서버의 전원 모드를 변환한다.Next, the
또한, 제어부(270)는 모드를 변환하는 경우에는 동작 서버에 대한 부하분산을 조절하거나, 연결요청을 다른 온 모드 동작 서버로 분배하도록 제어한다. 오프 모드 또는 슬립 모드의 서버를 온 모드로 변환하는 경우에는 변환된 상태의 서버에 더 많은 부하 분산을 하여 다른 서버와의 부하량을 균등하게 하며, 신속한 안정화가 필요한 경우에는 다른 서버의 연결을 변환된 서버로 분배한다. 한편, 온 모드의 서버를 오프 또는 슬립 모드로 변환하는 경우에는 서버의 전원을 끄기 전에 부하 분산 리스트에서 제거함으로써 서버의 연결이 완전히 종료되었을 때 서버의 모드 변환을 하며, 빠른 연결 종료가 필요한 경우에는 변환될 서버의 연결을 다른 서버로 분배한다. 이 경우, 다른 서버로 연결을 분배하는 기술은 서버의 부하분산에서 일반적으로 사용되는 기술을 적용할 수 있다.
In addition, when the mode is switched, the
도 4a, 도 4b는 도 3에 따른 전원 모드 결정주기 설정을 설명하기 위한 예시도이다.4A and 4B are exemplary diagrams for describing setting of a power mode determination period according to FIG. 3.
도 4a에서 제1 시점에서 측정된 전력 W1과 제2 시점에서 측정된 전력 W2를 비교하면, 소비전력이 점차 증가하고 있음을 알 수 있다. 이는 현재 복수의 서버에 대한 트래픽이 증가하고 있음을 나타낸다. 이 경우, 현재 설정된 전원 모드 결정주기를 단축시킴으로써 트래픽 증가에 따른 서버 수의 증가를 대비할 수 있다. 제1 시점과 제2 시점의 시간 간격은 전원 모드 결정주기를 설정하는 시간 간격으로써 사용자 설정에 의하여 주기적으로 설정될 수 있다. 그러나, 제1 시점과 제2 시점 사이의 전원 모드 결정주기는 전원 모드 결정주기 설정부(230)에 의해 가변적으로 설정된다. 또한, 제2 시점의 소비전력과 과거의 제3 시점의 소비전력을 비교하여 계산된 소비전력의 차이(W3-W2)가 제1 시점과 제2 시점의 소비전력의 차이(W2-W1) 보다 큰 경우에는 전원 모드 결정주기가 더욱 짧게 설정된다.In FIG. 4A, when the power W1 measured at the first time point is compared with the power W2 measured at the second time point, it can be seen that power consumption is gradually increased. This indicates that traffic to a plurality of servers is currently increasing. In this case, by shortening the currently set power mode determination period, it is possible to prepare for an increase in the number of servers according to the increase in traffic. The time interval between the first time point and the second time point may be periodically set by a user setting as a time interval for setting a power mode determination period. However, the power mode determination period between the first time point and the second time point is variably set by the power mode mode determination
도 4b를 참조하면, 제1 시점에서 측정된 소비전력 W1과 제2 시점에서 측정된 소비전력 W2의 소비전력 차이(W2-W1)가 미리 설정된 임계값 이상인 경우를 나타낸다. 이는 복수의 서버에 예외적인 연결 요청의 급등(DDoS)이 발생한 경우일 수 있다. 전원 모드 결정주기 설정부(230)는 제2 시점과 제3 시점 사이에는 전원 모드 결정주기를 최소로 설정한다. 이는 서버에 대한 갑작스런 연결 요청에 의해 트래픽이 과도하게 증가하여 전체 네트워크를 마비시키는 것을 방지하기 위해, 수시로 전원 모드 결정을 하여 슬립 또는 오프 모드의 서버를 온 모드로 신속하게 변환하게 하기 위함이다. 따라서, 이러한 방식으로 현재의 트래픽 상황을 고려하여 미래의 트래픽 상황을 예측 및 대처할 수 있고, 갑작스런 연결의 급등(DDoS) 및 급감에 대처할 수 있다.
Referring to FIG. 4B, the difference in power consumption W2-W1 between the power consumption W1 measured at the first time point and the power consumption W2 measured at the second time point is greater than or equal to a preset threshold. This may be the case when an exceptional connection request (DDoS) occurs in a plurality of servers. The power mode determination
이와 같은 본 발명에 따른 전원 모드 변환을 이용한 서버 제어 방법, 서버 제어 장치 및 서버 제어 시스템은 서버의 상황을 고려하여 전원 모드를 제어할 수 있으며, 갑작스런 요청의 급등(DDoS) 및 급감에 대처할 수 있다.
The server control method, the server control apparatus and the server control system using the power mode conversion according to the present invention can control the power mode in consideration of the situation of the server, and can cope with sudden spikes (DDoS) and sudden drops of requests. .
이상에서 본 발명은 도면을 참조하면서 기술되는 바람직한 실시예를 중심으로 설명되었지만 이에 한정되는 것은 아니다. 따라서 본 발명은 기재된 실시예로부터 도출 가능한 자명한 변형예를 포괄하도록 의도된 특허청구범위의 기재에 의해 해석되어져야 한다. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, Therefore, the present invention should be construed as a description of the claims which are intended to cover obvious variations that can be derived from the described embodiments.
100 : 클라이언트 단말 200 : 서버 제어 장치
210 : 소비전력 추정부 220 : 소비전력 DB
230 : 전원 모드 결정주기 설정부 240 : 서버 DB
250 : 전원 모드 결정부 270 : 제어부
300 : 서버100: client terminal 200: server control device
210: power consumption estimation unit 220: power consumption DB
230: power mode determination cycle setting unit 240: server DB
250: power mode determination unit 270: control unit
300: server
Claims (21)
상기 복수의 서버의 추정된 소비전력과 미리 설정된 시간 간격마다 상기 소비전력을 추정하여 생성된 소비전력 이력을 비교하여, 상기 복수의 서버의 전원 모드 결정주기를 설정하는 단계;
상기 설정된 전원 모드 결정주기마다 상기 복수의 서버의 소비전력을 추정하여, 전원 모드가 변환되어야 할 서버를 선택하고, 상기 선택된 서버의 전원 모드를 결정하는 단계; 및
상기 결정된 전원 모드에 따라 상기 선택된 서버의 전원 동작을 제어하는 단계를 포함하는 전원 모드 변환을 이용한 서버 제어 방법.Estimating power consumption of the plurality of servers by measuring a traffic amount of the plurality of servers;
Setting power mode determination periods of the plurality of servers by comparing the estimated power consumptions of the plurality of servers with power consumption histories generated by estimating the power consumption at predetermined time intervals;
Estimating power consumption of the plurality of servers at each set power mode determination period, selecting a server to which a power mode is to be converted, and determining a power mode of the selected server; And
And controlling a power operation of the selected server according to the determined power mode.
상기 전원 모드는 상기 서버에 전원을 공급하는 온 모드, 상기 서버에 공급되는 전원을 차단하는 오프 모드 및 상기 서버에 공급되는 전원을 임시로 차단하는 슬립 모드를 포함하는 전원 모드 변환을 이용한 서버 제어 방법.The method of claim 1,
The power mode may include an on mode for supplying power to the server, an off mode for shutting off power supplied to the server, and a sleep mode for temporarily shutting off power supplied to the server. .
상기 복수의 서버의 전원 모드 결정주기를 설정하는 단계는,
제1 시점에서 추정된 상기 서버의 소비전력과 제2 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 최소 소비전력 임계값보다 크고, 미리 설정된 최대 소비전력 임계값보다 작은 경우에는, 상기 제2 시점에서 추정된 상기 서버의 소비전력과 상기 서버의 소비전력 이력 중 과거의 제3 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 결정주기 판단값보다 큰 경우에는 상기 전원 모드 결정주기를 짧게 설정하고, 상기 소비 전력의 차이가 상기 결정주기 판단값보다 작은 경우에는 상기 전원 모드 결정주기를 길게 설정하는 전원 모드 변환을 이용한 서버 제어 방법.The method of claim 1,
Setting the power mode determination period of the plurality of servers,
By comparing the power consumption of the server estimated at a first time point with the power consumption of the server estimated at a second time point, a difference in power consumption is greater than a preset minimum power consumption threshold and greater than a preset maximum power consumption threshold. In a small case, a determination period in which a difference in power consumption is preset by comparing the power consumption of the server estimated at the second time point and the power consumption of the server estimated at a third past time point among the power consumption histories of the server is compared. The method of controlling a server using power mode conversion, wherein the power mode mode is set to be shorter than the determination value, and the power mode mode is set to be longer if the difference in power consumption is smaller than the determination period.
상기 제1 시점에서 추정된 상기 서버의 소비전력과 상기 제2 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 상기 최소 소비전력 임계값보다 작은 경우이거나, 상기 최대 소비전력 임계값보다 큰 경우에는 상기 전원 모드 결정주기를 최소로 설정하는 전원 모드 변환을 이용한 서버 제어 방법.The method of claim 3,
Comparing the power consumption of the server estimated at the first time point with the power consumption of the server estimated at the second time point, the difference in power consumption is smaller than the minimum power consumption threshold or the maximum power consumption threshold. If the value is larger than the value, the server control method using a power mode conversion to set the power mode decision period to a minimum.
상기 선택된 서버의 전원 모드를 결정하는 단계는,
상기 설정된 전원 모드 결정주기마다 트래픽양에 따른 서버수를 계산하여 상기 복수의 서버의 전원 모드를 결정하는 전원 모드 변환을 이용한 서버 제어 방법.The method of claim 2,
Determining a power mode of the selected server,
The server control method using the power mode conversion to determine the power mode of the plurality of servers by calculating the number of servers according to the traffic amount for each set power mode determination period.
상기 전원 모드 결정주기의 시작 시점에서 계산된 서버 수가 상기 전원 모드 결정주기의 종료 시점에서 계산된 서버 수보다 큰 경우에는, 상기 온 모드로 동작하는 서버를 오프 모드 또는 슬립 모드로 변환하는 전원 모드 변환을 이용한 서버 제어 방법.The method of claim 5,
When the number of servers calculated at the start of the power mode determination period is greater than the number of servers calculated at the end of the power mode determination cycle, power mode conversion for converting the server operating in the on mode to the off mode or the sleep mode. Server control method using.
상기 오프 모드 또는 슬립 모드로 변환되는 서버는 상기 온 모드로 동작하는 서버 중 트래픽 처리가 가장 적은 순으로 결정하는 전원 모드 변환을 이용한 서버 제어 방법.The method according to claim 6,
The server is converted to the off mode or sleep mode server control method using the power mode conversion to determine the least traffic processing among the server operating in the on mode.
상기 전원 모드 결정주기가 미리 설정된 결정주기 임계값보다 큰 경우에는 상기 온 모드로 동작하는 서버를 오프 모드로 변환하고, 상기 임계값보다 작은 경우에는 슬립 모드로 변환하는 전원 모드 변환을 이용한 서버 제어 방법.The method according to claim 6,
The server control method using the power mode conversion to convert the server operating in the on mode to the off mode, if the power mode decision period is greater than the predetermined decision period threshold value, and to switch to the sleep mode if less than the threshold value. .
상기 전원 모드 결정주기의 시작 시점에서 계산된 서버 수가 상기 전원 모드 결정주기의 종료 시점에서 계산된 서버 수보다 작은 경우, 상기 전원 모드 결정주기가 미리 설정된 결정주기 임계값보다 큰 경우에는 상기 오프 모드로 동작하는 서버를 온 모드로 변환하고, 상기 임계값보다 작은 경우에는 상기 슬립 모드로 동작하는 서버를 온 모드로 변환하는 전원 모드 변환을 이용한 서버 제어 방법.The method of claim 5,
When the number of servers calculated at the start of the power mode decision period is less than the number of servers calculated at the end of the power mode decision period, the server enters the off mode when the power mode decision period is greater than a predetermined decision period threshold. The server control method using the power mode conversion to convert the operating server to the on mode, and if it is smaller than the threshold value, the server operating in the sleep mode to the on mode.
상기 온 모드로 동작하는 복수의 서버를 오프 모드 또는 슬립 모드로 변환하는 경우, 상기 온 모드로 동작하는 서버에 대한 연결요청을 온 모드로 동작하는 다른 서버로 분배하도록 제어하고, 상기 슬립 모드 또는 오프 모드로 동작하는 복수의 서버를 온 모드로 변환하는 경우, 온 모드로 동작하는 다른 서버에 대한 연결요청을 온 모드로 변환된 서버로 분배하도록 제어하는 전원 모드 변환을 이용한 서버 제어 방법.The method of claim 5, wherein the controlling step,
When the plurality of servers operating in the on mode are converted to the off mode or the sleep mode, the control is performed to distribute a connection request for the server operating in the on mode to another server operating in the on mode, and the sleep mode or off When converting a plurality of servers operating in the on mode, the server control method using the power mode conversion to control to distribute the connection request for the other server operating in the on mode to the server converted to the on mode.
상기 복수의 서버의 추정된 소비전력과 미리 설정된 시간 간격마다 상기 소비전력을 추정하여 생성된 소비전력 이력을 비교하여, 상기 복수의 서버의 전원 모드 결정주기를 설정하는 전원 모드 결정주기 설정부;
상기 설정된 전원 모드 결정주기마다 상기 복수의 서버의 소비전력을 추정하여, 전원 모드가 변환되어야 할 서버를 선택하고, 상기 선택된 서버의 전원 모드를 결정하는 전원 모드 결정부; 및
상기 결정된 전원 모드에 따라 상기 선택된 서버의 전원 동작을 제어하는 제어부를 포함하는 전원 모드 변환을 이용한 서버 제어 장치.A power consumption estimator for estimating power consumption of the plurality of servers by measuring a traffic amount of a plurality of servers;
A power mode determination period setting unit configured to set power mode determination periods of the plurality of servers by comparing the estimated power consumptions of the plurality of servers with power consumption histories generated by estimating the power consumption at predetermined time intervals;
A power mode determination unit which estimates power consumption of the plurality of servers at each set power mode determination period, selects a server to which a power mode is to be converted, and determines a power mode of the selected server; And
And a controller for controlling a power operation of the selected server according to the determined power mode.
상기 전원 모드는 상기 서버에 전원을 공급하는 온 모드, 상기 서버에 공급되는 전원을 차단하는 오프 모드 및 상기 서버에 공급되는 전원을 임시로 차단하는 슬립 모드를 포함하는 전원 모드 변환을 이용한 서버 제어 장치.The method of claim 11,
The power mode may include an on mode for supplying power to the server, an off mode for interrupting power supplied to the server, and a sleep mode for temporarily shutting off power supplied to the server. .
제1 시점에서 추정된 상기 서버의 소비전력과 제2 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 최소 소비전력 임계값보다 크고, 미리 설정된 최대 소비전력 임계값보다 작은 경우에는, 상기 제2 시점에서 추정된 상기 서버의 소비전력과 상기 서버의 소비전력 이력 중 과거의 제3 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 미리 설정된 결정주기 판단값보다 큰 경우에는 상기 전원 모드 결정주기를 짧게 설정하고, 소비전력의 차이가 상기 결정주기 판단값보다 작은 경우에는 상기 전원 모드 결정주기를 길게 설정하는 전원 모드 변환을 이용한 서버 제어 장치.The method of claim 11, wherein the power mode determination period setting unit,
By comparing the power consumption of the server estimated at a first time point with the power consumption of the server estimated at a second time point, a difference in power consumption is greater than a preset minimum power consumption threshold and greater than a preset maximum power consumption threshold. In a small case, a determination period in which a difference in power consumption is preset by comparing the power consumption of the server estimated at the second time point and the power consumption of the server estimated at a third past time point among the power consumption histories of the server is compared. The server control apparatus using the power mode conversion to set the power mode determination period short when the determination value is larger than the determination value, and to set the power mode determination period longer when the difference in power consumption is smaller than the determination period determination value.
상기 제1 시점에서 추정된 상기 서버의 소비전력과 상기 제2 시점에서 추정된 상기 서버의 소비전력을 비교하여, 소비전력의 차이가 상기 최소 소비전력 임계값보다 작은 경우이거나, 최대 소비전력 임계값보다 큰 경우에는 상기 전원 모드 결정주기를 최소로 설정하는 전원 모드 변환을 이용한 서버 제어 장치.The method of claim 13,
Comparing the power consumption of the server estimated at the first time point with the power consumption of the server estimated at the second time point, the difference in power consumption is smaller than the minimum power consumption threshold or the maximum power consumption threshold. If greater, the server control device using a power mode conversion to set the power mode decision period to a minimum.
상기 설정된 전원 모드 결정주기마다 트래픽양에 따른 서버수를 계산하여 상기 복수의 서버의 전원 모드를 결정하는 전원 모드 변환을 이용한 서버 제어 장치.The method of claim 12, wherein the power mode determiner,
Server control apparatus using power mode conversion to determine the power mode of the plurality of servers by calculating the number of servers according to the traffic amount for each set power mode determination period.
상기 전원 모드 결정주기의 시작 시점에서 계산된 서버 수가 상기 전원 모드 결정주기의 종료 시점에서 계산된 서버 수보다 큰 경우에는, 상기 온 모드로 동작하는 서버를 오프 모드 또는 슬립 모드로 변환하는 전원 모드 변환을 이용한 서버 제어 장치.16. The method of claim 15,
When the number of servers calculated at the start of the power mode determination period is greater than the number of servers calculated at the end of the power mode determination cycle, power mode conversion for converting the server operating in the on mode to the off mode or the sleep mode. Server control device using.
상기 오프 모드 또는 슬립 모드로 변환되는 서버는 상기 온 모드로 동작하는 서버 중 트래픽 처리가 가장 적은 순으로 결정하는 전원 모드 변환을 이용한 서버 제어 장치.17. The method of claim 16,
The server control apparatus using the power mode conversion to determine the server is converted to the off mode or sleep mode in the order of least traffic processing among the server operating in the on mode.
상기 전원 모드 결정주기가 미리 설정된 결정주기 임계값보다 큰 경우에는 상기 온 모드로 동작하는 서버를 오프 모드로 변환하고, 상기 임계값보다 작은 경우에는 슬립 모드로 변환하는 전원 모드 변환을 이용한 서버 제어 장치.17. The method of claim 16,
The server control apparatus using the power mode conversion to convert the server operating in the on mode to the off mode, if the power mode decision period is larger than the predetermined decision period threshold, and to switch to the sleep mode if less than the threshold value .
상기 전원 모드 결정주기의 시작 시점에서 계산된 서버 수가 상기 전원 모드 결정주기의 종료 시점에서 계산된 서버 수보다 작은 경우, 상기 전원 모드 결정주기가 미리 설정된 결정주기 임계값보다 큰 경우에는 상기 오프 모드로 동작하는 서버를 온 모드로 변환하고, 상기 임계값보다 작은 경우에는 상기 슬립 모드로 동작하는 서버를 온 모드로 변환하는 전원 모드 변환을 이용한 서버 제어 장치.16. The method of claim 15,
When the number of servers calculated at the start of the power mode decision period is less than the number of servers calculated at the end of the power mode decision period, the server enters the off mode when the power mode decision period is greater than a predetermined decision period threshold. The server control apparatus using a power mode conversion for converting the server to the operating mode, and if the smaller than the threshold value, the server operating in the sleep mode to the on mode.
상기 온 모드로 동작하는 복수의 서버를 오프 모드 또는 슬립 모드로 변환하는 경우, 상기 온 모드로 동작하는 서버에 대한 연결요청을 온 모드로 동작하는 다른 서버로 분배하도록 제어하고, 상기 슬립 모드 또는 오프 모드로 동작하는 복수의 서버를 온 모드로 변환하는 경우, 온 모드로 동작하는 다른 서버에 대한 연결요청을 온 모드로 변환된 서버로 분배하도록 제어하는 전원 모드 변환을 이용한 서버 제어 장치.16. The apparatus of claim 15,
When the plurality of servers operating in the on mode are converted to the off mode or the sleep mode, the control is performed to distribute a connection request for the server operating in the on mode to another server operating in the on mode, and the sleep mode or off When the plurality of servers operating in the mode is converted to the on mode, the server control device using the power mode conversion to control to distribute the connection request to another server operating in the on mode to the server converted to the on mode.
상기 복수의 서버로 연결을 요청하는 복수의 클라이언트 단말; 및
복수의 서버에 대한 트래픽양을 측정하여 상기 복수의 서버의 소비전력을 추정하는 소비전력 추정부와, 상기 복수의 서버의 추정된 소비전력과 미리 설정된 시간 간격마다 상기 소비전력을 추정하여 생성된 소비전력 이력을 비교하여, 상기 복수의 서버의 전원 모드 결정주기를 설정하는 전원 모드 결정주기 설정부와, 상기 설정된 전원 모드 결정주기마다 상기 복수의 서버의 소비전력을 추정하여, 전원 모드가 변환되어야 할 서버를 선택하고, 상기 선택된 서버의 전원 모드를 결정하는 전원 모드 결정부와, 상기 결정된 전원 모드에 따라 상기 선택된 서버의 전원 동작을 제어하는 제어부를 포함하는 전원 모드 변환을 이용한 서버 제어 장치를 포함하는 전원 모드 변환을 이용한 서버 제어 시스템.A plurality of servers;
A plurality of client terminals requesting connection to the plurality of servers; And
A power consumption estimator for estimating power consumption of the plurality of servers by measuring the traffic volume of a plurality of servers; and consumption generated by estimating the power consumption of the plurality of servers and the power consumption at predetermined time intervals. Comparing the power history, the power mode determination period setting unit for setting the power mode determination period of the plurality of servers, the power consumption of the plurality of servers to estimate the power consumption mode for each set power mode determination period, the power mode should be converted And a server control apparatus including a power mode conversion unit for selecting a server and determining a power mode of the selected server, and a control unit controlling a power operation of the selected server according to the determined power mode. Server control system using power mode conversion.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110066920A KR101278878B1 (en) | 2011-07-06 | 2011-07-06 | Method, apparatus and system for controlling server by changing power mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110066920A KR101278878B1 (en) | 2011-07-06 | 2011-07-06 | Method, apparatus and system for controlling server by changing power mode |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20130005492A true KR20130005492A (en) | 2013-01-16 |
KR101278878B1 KR101278878B1 (en) | 2013-06-26 |
Family
ID=47836753
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110066920A KR101278878B1 (en) | 2011-07-06 | 2011-07-06 | Method, apparatus and system for controlling server by changing power mode |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101278878B1 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008225642A (en) | 2007-03-09 | 2008-09-25 | Fujitsu Ltd | Load distribution processing system |
KR101366750B1 (en) * | 2009-09-16 | 2014-02-24 | 한국전자통신연구원 | Method for managing power of the server cluster and the server cluster using the same |
JP4824806B2 (en) | 2009-09-30 | 2011-11-30 | 株式会社野村総合研究所 | Load management apparatus, information processing system, and load management method |
-
2011
- 2011-07-06 KR KR1020110066920A patent/KR101278878B1/en active IP Right Grant
Also Published As
Publication number | Publication date |
---|---|
KR101278878B1 (en) | 2013-06-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7269751B2 (en) | Supplying power to at least one electrical device based on an efficient operating point of a power supply | |
Boru et al. | Energy-efficient data replication in cloud computing datacenters | |
KR102366778B1 (en) | Device for distributing the load and manage the power of virtualization server cluster and method thereof | |
US9568975B2 (en) | Power balancing to increase workload density and improve energy efficiency | |
JP2019533913A (en) | Load balancing optimization method and apparatus based on cloud monitoring | |
US20050272402A1 (en) | Method for rapid port power reduction | |
AU2012291826B2 (en) | Responsive load control method | |
US20130226362A1 (en) | Large Scale Dynamic Power Budget Adjustments for Optimizing Power Utilization in a Data Center | |
US9900164B2 (en) | Dynamic power management | |
EP2590364B1 (en) | Method, apparatus and system for device management | |
US20110252254A1 (en) | Computer system | |
US20140313954A1 (en) | Apparatus and method for saving energy in a communication system supporting multiple interfaces | |
Kliazovich et al. | Energy consumption optimization in cloud data centers | |
US20170308137A1 (en) | System and method for rack over provisioning and intelligent power management | |
Yang et al. | Availability-aware energy-efficient virtual machine placement | |
JP2011239470A (en) | Electric apparatus demand control system | |
WO2014209377A1 (en) | Uninterruptible power supply control | |
KR101278878B1 (en) | Method, apparatus and system for controlling server by changing power mode | |
US9939790B1 (en) | Variable rate rack installation | |
Baccour et al. | Achieving energy efficiency in data centers with a performance-guaranteed power aware routing | |
JP7326808B2 (en) | Negawatt trading support device, negawatt trading system, and negawatt trading method | |
US10199826B2 (en) | System and method for combining load response and energy storage for grid regulation | |
JP5699589B2 (en) | Process allocation device, process allocation system, process allocation method, process allocation program | |
JP6758530B2 (en) | Power distribution system for AC power and DC power | |
KR101340118B1 (en) | Appatarus and method for estimating power consumption |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20170612 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20180618 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20190612 Year of fee payment: 7 |