CN101776946B - Method for controlling power consumption on basis of object-based storage system - Google Patents
Method for controlling power consumption on basis of object-based storage system Download PDFInfo
- Publication number
- CN101776946B CN101776946B CN2010100220944A CN201010022094A CN101776946B CN 101776946 B CN101776946 B CN 101776946B CN 2010100220944 A CN2010100220944 A CN 2010100220944A CN 201010022094 A CN201010022094 A CN 201010022094A CN 101776946 B CN101776946 B CN 101776946B
- Authority
- CN
- China
- Prior art keywords
- power consumption
- object storage
- storage server
- server
- level
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000015572 biosynthetic process Effects 0.000 claims 1
- OVBPIULPVIDEAO-LBPRGKRZSA-N folic acid Chemical compound C=1N=C2NC(N)=NC(=O)C2=NC=1CNC1=CC=C(C(=O)N[C@@H](CCC(O)=O)C(O)=O)C=C1 OVBPIULPVIDEAO-LBPRGKRZSA-N 0.000 claims 1
- 239000003550 marker Substances 0.000 claims 1
- 238000012544 monitoring process Methods 0.000 claims 1
- 230000001105 regulatory effect Effects 0.000 claims 1
- 238000005457 optimization Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
本发明公开了一种基于对象存储系统的功耗控制方法,目的是解决目前功耗控制方法不能根据应用特点进行有效的功耗控制或缺乏对复杂服务请求情况处理的问题。技术方案是固定时间间隔统计服务器利用率,根据每个对象存储服务器的实际利用率调整它的功耗级别;固定时间间隔查看每个对象存储服务器的服务队列长度,根据队列长度及当前功耗级别调整相应服务器的功耗级别;由元数据服务器判断是否出现特定服务请求来实施功耗控制。采用本发明可根据对象存储服务器的实际利用率和服务队列情况对每个对象存储服务器调整功耗级别,满足对象存储服务器对功耗控制的需求,并利用元数据服务器对服务请求的处理,对特定服务请求,提高功耗控制效率。
The invention discloses a power consumption control method based on an object storage system, and aims to solve the problem that the current power consumption control method cannot perform effective power consumption control according to application characteristics or lacks processing of complicated service request situations. The technical solution is to count server utilization at fixed time intervals, and adjust its power consumption level according to the actual utilization of each object storage server; to view the service queue length of each object storage server at fixed time intervals, and to check the service queue length of each object storage server according to the queue length and current power consumption level Adjust the power consumption level of the corresponding server; the metadata server judges whether there is a specific service request to implement power consumption control. By adopting the present invention, the power consumption level of each object storage server can be adjusted according to the actual utilization rate of the object storage server and the condition of the service queue, so as to meet the requirements of the object storage server for power consumption control, and use the metadata server to process the service request, and Specific service requests to improve power consumption control efficiency.
Description
技术领域technical field
本发明涉及计算机系统的功耗控制方法,尤指基于对象存储系统的功耗控制方法。The invention relates to a method for controlling power consumption of a computer system, in particular to a method for controlling power consumption based on an object storage system.
背景技术Background technique
并行存储系统是大规模并行计算机系统中的重要组成部分,对象存储系统是一种并行存储结构。如图1所示,对象存储系统由一个元数据服务器、多个对象存储服务器和多个计算结点通过网络互连构成。元数据服务器和多个对象存储服务器为计算结点提供数据读写、数据存储等文件访问服务。元数据服务器为计算结点提供元数据服务,是对象存储系统所特有的。元数据描述每个文件的所有者、创建时间、修改时间、文件大小以及文件在对象存储系统上的分布等信息。对象存储服务器负责保存文件的具体数据,并在元数据服务器的管理下向计算结点提供文件访问服务。计算结点的文件访问请求首先提交给元数据服务器,获取文件分布信息,然后根据分布信息向相关的对象存储服务器提交访问请求,完成数据读写过程。对象存储系统充分利用高带宽网络以及存储访问的并发性,为并行应用提供较高的数据访问带宽,已广泛应用于世界超级计算机排名前十的计算机系统中。功耗是大规模并行计算机系统设计中的重要问题,而存储系统的功耗占相当比例。随着对象存储系统的广泛应用,基于对象存储系统进行功耗控制有助于降低整个并行计算机系统的功耗。Parallel storage system is an important part of massively parallel computer systems, and object storage system is a parallel storage structure. As shown in Figure 1, an object storage system consists of a metadata server, multiple object storage servers, and multiple computing nodes interconnected through a network. The metadata server and multiple object storage servers provide file access services such as data reading and writing and data storage for computing nodes. The metadata server provides metadata services for computing nodes and is unique to object storage systems. Metadata describes information such as the owner of each file, creation time, modification time, file size, and file distribution on the object storage system. The object storage server is responsible for saving the specific data of the file, and provides file access services to the computing nodes under the management of the metadata server. The file access request of the computing node is first submitted to the metadata server to obtain the file distribution information, and then submits the access request to the relevant object storage server according to the distribution information to complete the data reading and writing process. The object storage system makes full use of the high-bandwidth network and the concurrency of storage access to provide high data access bandwidth for parallel applications, and has been widely used in the top ten computer systems of the world's supercomputers. Power consumption is an important issue in the design of massively parallel computer systems, and the power consumption of storage systems accounts for a considerable proportion. With the wide application of object storage systems, power consumption control based on object storage systems can help reduce the power consumption of the entire parallel computer system.
目前针对存储系统的功耗控制方法有:(1)将暂时不使用的存储设备(例如磁盘)置成休眠状态,降低存储设备的功耗;(2)调整磁盘设备的转速,降低存储设备的功耗;(3)优化数据访问,提高数据访问命中率,减少磁盘寻道及旋转次数;(4)针对数据中心如备份服务器,在没有数据备份任务情况下将备份服务器的功耗级别设成最低;等等。针对设备的功耗控制方法(如前两种方法)以及减少磁盘寻道次数的数据优化方法,不能够获取存储系统中服务请求的变化情况,不能根据应用特点来进行有效的功耗控制。针对数据中心备份服务器的功耗控制方法(如第四种方法)考虑了服务器的忙闲状态,实施了简单的功耗优化,但是该方法不能执行对象存储系统中复杂的服务请求情况下的功耗控制。目前还没有针对对象存储系统的功耗控制方法的公开技术资料。At present, the power consumption control methods for storage systems include: (1) putting temporarily unused storage devices (such as disks) into a sleep state to reduce the power consumption of storage devices; (2) adjusting the speed of disk devices to reduce the power consumption of storage devices. Power consumption; (3) Optimize data access, improve data access hit rate, reduce disk seek and rotation times; (4) For data centers such as backup servers, set the power consumption level of backup servers to 0 when there is no data backup task minimum; etc. The power consumption control methods for devices (such as the previous two methods) and the data optimization method for reducing the number of disk seeks cannot obtain changes in service requests in the storage system, and cannot perform effective power consumption control according to application characteristics. The power consumption control method for the backup server in the data center (such as the fourth method) considers the busy state of the server and implements simple power consumption optimization, but this method cannot perform the functions of complex service requests in the object storage system. consumption control. At present, there is no public technical information on the power consumption control method for the object storage system.
发明内容Contents of the invention
本发明要解决的技术问题是提出一种基于对象存储系统的功耗控制方法,解决目前存储系统功耗控制方法不能根据应用特点来进行有效的功耗控制或缺乏对复杂服务请求情况处理的问题。The technical problem to be solved by the present invention is to propose a power consumption control method based on an object storage system to solve the problem that the current storage system power consumption control method cannot perform effective power consumption control according to application characteristics or lacks the processing of complex service requests .
技术方案为:为对象存储服务器定义多个功耗级别,根据不同的条件调整对象存储服务器的功耗级别,具体包括:(1)固定时间间隔统计服务器利用率,根据每个对象存储服务器的实际利用率调整它的功耗级别;(2)固定时间间隔查看每个对象存储服务器的服务队列长度,根据队列长度及当前功耗级别调整相应服务器的功耗级别;(3)由元数据服务器判断是否出现特定服务请求来实施功耗控制。特定服务请求是指一类需要对象存储服务器以最高功耗级别响应的服务请求,例如大规模作业加载、检查点操作,等等。根据特定服务请求类别将涉及到的对象存储服务器功耗级别调至最高。功耗级别调整通过调节处理器的电压或频率来实现。The technical solution is: define multiple power consumption levels for the object storage server, and adjust the power consumption level of the object storage server according to different conditions, specifically including: (1) Statistical server utilization at fixed time intervals, according to the actual Utilization adjusts its power consumption level; (2) Check the service queue length of each object storage server at fixed time intervals, and adjust the power consumption level of the corresponding server according to the queue length and current power consumption level; (3) Judgment by the metadata server Whether a specific service request occurs to implement power consumption control. A specific service request refers to a class of service requests that require the object storage server to respond at the highest power consumption level, such as large-scale job loads, checkpoint operations, and so on. Adjust the power consumption level of the involved object storage server to the highest level according to the specific service request category. Power consumption level adjustment is achieved by adjusting the voltage or frequency of the processor.
具体技术方案为:The specific technical solutions are:
对于包含1个元数据服务器和N个对象存储服务器的对象存储系统,N为正整数,每个对象存储服务器支持m级功耗级别1,2,...,m,每级的功耗分别为P1,P2,...,Pm,满足P1<P2<...<Pm,每级功耗对应的服务器基准利用率分别为U1,U2,...,Um,满足U1<U2<...<Um。服务器基准利用率是指和多级功耗P1,P2,...,Pm对应的服务器利用率值,功耗级别越高,服务器基准利用率也越高,由功耗控制方法根据功耗级别预先设置。For an object storage system that includes 1 metadata server and N object storage servers, N is a positive integer, and each object storage server supports m-level
第一步、初始化对象存储系统的功耗控制相关参数,包括以下步骤:The first step is to initialize the parameters related to power consumption control of the object storage system, including the following steps:
1.1初始化功耗控制间隔时间tinterval,取值范围为5~10分钟;1.1 Initialize the power consumption control interval t interval , the value range is 5 to 10 minutes;
1.2初始化功耗级别数m,取值范围为3~5;1.2 Initialize the number of power consumption levels m, the value range is 3 to 5;
1.3初始化m级服务器基准利用率U1,U2,...,Um。基准利用率的设置方法为:设置U1值,取值范围为10%~20%,设置Um值,取值范围为70%~80%。设置Uk值, 1.3 Initialize m-level server benchmark utilization ratios U 1 , U 2 , . . . , U m . The method for setting the benchmark utilization rate is as follows: set the value of U 1 with a range of 10% to 20%, and set the value of U m with a range of 70% to 80%. Set Uk value,
1.4初始化服务请求队列长度阈值Lth,取值范围为10~20;1.4 Initialize the service request queue length threshold L th , with a value range of 10 to 20;
1.5初始化功耗控制时间t,t=0。1.5 Initialize power consumption control time t, t=0.
第二步、启动功耗控制,包括以下步骤:The second step is to start power consumption control, including the following steps:
2.1启动元数据服务器和N个对象存储服务器,并将所有对象存储服务器的功耗级别设置成最高级别m;2.1 Start the metadata server and N object storage servers, and set the power consumption level of all object storage servers to the highest level m;
2.2启动功耗实时监控器,监控N个对象存储服务器的实际功耗值;2.2 Start the power consumption real-time monitor to monitor the actual power consumption values of N object storage servers;
2.3启动时间t开始计数;2.3 Starting time t starts counting;
2.4一边等待计算结点的服务请求,一边开始功耗控制。2.4 Start power consumption control while waiting for the service request from the computing node.
第三步、当接收到关闭功耗控制请求时,执行第十二步,否则执行第四步。In the third step, the twelfth step is executed when the request for disabling the power consumption control is received; otherwise, the fourth step is executed.
第四步、每隔时间tint erval启动一次功耗控制。判断t=tint erval是否成立,若成立,则执行第五步;若不成立,执行第十步;In the fourth step, the power consumption control is started every interval t interval . Judging whether t=t interval is established, if established, then execute the fifth step; if not established, execute the tenth step;
第五步、统计在过去tint erval时间内N个对象存储服务器的实际利用率u1,u2,...,uN,对象存储服务器的实际利用率通过调用操作系统接口获取。如果第i个(1≤i≤N)对象存储服务器正在响应特定服务请求,则ui=Um;The fifth step is to count the actual utilization rates u 1 , u 2 , . If the i-th (1≤i≤N) object storage server is responding to a specific service request, then u i =U m ;
第六步、根据对象存储服务器的实际利用率和基准利用率来调节功耗级别。如果第i个对象存储服务器满足ui<U1,1≤i≤N,则将第i个对象存储服务器的功耗级别设置为1;如果ui≥Um,则将第i个对象存储服务器的功耗级别设置为m;对于满足Uk≤ui<Uk+1(k=1,2,...,m-1)的利用率ui,则将第i个对象存储服务器的功耗级别设置为k。The sixth step is to adjust the power consumption level according to the actual utilization rate and the baseline utilization rate of the object storage server. If the i-th object storage server satisfies u i < U 1 , 1≤i≤N, set the power consumption level of the i-th object storage server to 1; if u i ≥ U m , set the i-th object storage The power consumption level of the server is set to m; for the utilization rate u i satisfying U k ≤ u i < U k+1 (k=1, 2, ..., m-1), the i-th object is stored in the server The power consumption level of is set to k.
第七步、查看N个对象存储服务器的服务请求队列,记录其队列长度l1,l2,...,lN。Step 7: Check the service request queues of the N object storage servers, and record the queue lengths l 1 , l 2 , . . . , l N .
第八步、如果li>Lth且第i个对象存储服务器的功耗级别低于m,执行第九步;否则执行第十步;
第九步、将该对象存储服务器的功耗级别调高一级,以满足未来的大量服务请求操作的快速响应。The ninth step is to increase the power consumption level of the object storage server by one level, so as to meet the fast response of a large number of service request operations in the future.
第十步、元数据服务器对计算结点发送来的服务请求进行监控,判断是否为特定服务请求,如是,执行第十一步;否则执行第三步。In the tenth step, the metadata server monitors the service request sent by the computing node, and judges whether it is a specific service request, and if so, executes the eleventh step; otherwise, executes the third step.
第十一步、向对象存储服务器发送消息,将对应对象存储服务器的功耗级别设置到最高m,同时标记该对象存储服务器正在响应特定服务请求,执行第三步。In the eleventh step, send a message to the object storage server, set the power consumption level of the corresponding object storage server to the highest m, and mark that the object storage server is responding to a specific service request, and execute the third step.
第十二步、关闭对象存储系统的功耗控制服务。
与现有技术相比,采用本发明可达到以下技术效果:Compared with the prior art, adopting the present invention can achieve the following technical effects:
1.可根据对象存储服务器的实际利用率和服务队列情况对每个对象存储服务器调整功耗级别,满足对象存储服务器对功耗控制的需求;1. The power consumption level of each object storage server can be adjusted according to the actual utilization rate and service queue of the object storage server to meet the requirements of the object storage server for power consumption control;
2.利用元数据服务器对服务请求的处理,对特定服务请求,例如大规模作业加载和检查点操作,提前向对象存储服务器发送消息,调节功耗级别,减少功耗级别调节的滞后,提高功耗控制效率。2. Use the metadata server to process service requests. For specific service requests, such as large-scale job loading and checkpoint operations, send messages to the object storage server in advance to adjust the power consumption level, reduce the lag of power consumption level adjustment, and improve performance. consumption control efficiency.
附图说明Description of drawings
图1是对象存储系统的结构图。Figure 1 is a structural diagram of an object storage system.
图2是本发明的总流程图。Figure 2 is a general flow chart of the present invention.
具体实施方案specific implementation plan
图2是本发明的总流程图。Figure 2 is a general flow chart of the present invention.
步骤1)、初始化对象存储系统的功耗控制相关参数;Step 1), initialize the power consumption control related parameters of the object storage system;
步骤2)、启动功耗控制;Step 2), start power consumption control;
步骤3)、当接收到关闭功耗控制请求时,则执行步骤12),否则执行步骤4);Step 3), when receiving the request to close the power consumption control, then perform step 12), otherwise perform step 4);
步骤4)、判断t=tint erval是否成立,是,则执行步骤5);否则执行步骤10);Step 4), judge whether t=t interval is set up, if yes, then perform step 5); otherwise perform step 10);
步骤5)、统计在过去tint erval时间内N个对象存储服务器的实际利用率u1,u2,...,uN;Step 5), counting the actual utilization rates u 1 , u 2 , ..., u N of the N object storage servers in the past t interval time;
步骤6)、根据对象存储服务器的实际利用率和基准利用率来调节功耗级别;Step 6), adjusting the power consumption level according to the actual utilization rate and the baseline utilization rate of the object storage server;
步骤7)、查看N个对象存储服务器的服务请求队列,记录其队列长度l1,l2,...,lN;Step 7), check the service request queues of N object storage servers, and record the queue lengths l 1 , l 2 , ..., l N ;
步骤8)、如果li>Lth且第i个对象存储服务器的功耗级别低于m,执行步骤9);否则执行步骤10);Step 8), if l i >L th and the power consumption level of the i-th object storage server is lower than m, execute step 9); otherwise execute step 10);
步骤9)、将该对象存储服务器的功耗级别调高一级;Step 9), increasing the power consumption level of the object storage server by one level;
步骤10)、元数据服务器对计算结点发送来的服务请求进行监控,判断是否为特定服务请求,是,则执行步骤11);否则执行步骤3);Step 10), the metadata server monitors the service request sent by the computing node, and judges whether it is a specific service request, if yes, execute step 11); otherwise execute step 3);
步骤11)、向对象存储服务器发送消息,将对应对象存储服务器的功耗级别设置到最高m,同时标记该对象存储服务器正在响应特定服务请求,执行步骤3);Step 11), send a message to the object storage server, set the power consumption level of the corresponding object storage server to the highest m, and mark that the object storage server is responding to a specific service request, and perform step 3);
步骤12)、关闭对象存储系统的功耗控制服务。Step 12), closing the power consumption control service of the object storage system.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010100220944A CN101776946B (en) | 2010-01-20 | 2010-01-20 | Method for controlling power consumption on basis of object-based storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010100220944A CN101776946B (en) | 2010-01-20 | 2010-01-20 | Method for controlling power consumption on basis of object-based storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101776946A CN101776946A (en) | 2010-07-14 |
CN101776946B true CN101776946B (en) | 2011-06-15 |
Family
ID=42513424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010100220944A Expired - Fee Related CN101776946B (en) | 2010-01-20 | 2010-01-20 | Method for controlling power consumption on basis of object-based storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101776946B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103135731A (en) * | 2013-02-05 | 2013-06-05 | 联宝(合肥)电子科技有限公司 | Method and device for intelligent power supply control for portable computer |
WO2016061766A1 (en) | 2014-10-22 | 2016-04-28 | 华为技术有限公司 | Service flow control method, controller and system in object-based storage system |
CN104765572B (en) * | 2015-03-25 | 2017-12-19 | 华中科技大学 | The virtual storage server system and its dispatching method of a kind of energy-conservation |
CN112817746B (en) * | 2021-01-15 | 2023-01-10 | 浪潮电子信息产业股份有限公司 | A CPU power adjustment method, device, equipment and readable storage medium |
-
2010
- 2010-01-20 CN CN2010100220944A patent/CN101776946B/en not_active Expired - Fee Related
Non-Patent Citations (3)
Title |
---|
刘勇鹏,卢凯,刘勇燕,武林平,陈娟.高性能计算机处理器功耗特征的评测与分析.《计算机工程与科学》.2009,第31卷(第11期),102-105. * |
易会站,陈娟,杨学军,刘喆.基于语法树的实时动态电压调节低功耗算法.《软件学报》.2005,第16卷(第10期),1726-1734. * |
董勇,陈娟.并行存储系统的功耗优化.《计算机工程与科学》.2009,第31卷(第11期),54-57. * |
Also Published As
Publication number | Publication date |
---|---|
CN101776946A (en) | 2010-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7739388B2 (en) | Method and system for managing data center power usage based on service commitments | |
CN102868763B (en) | The dynamic adjusting method that under a kind of cloud computing environment, virtual web application cluster is energy-conservation | |
CN106250305B (en) | Self-adaptive control method for data acquisition period of monitoring system in cloud computing environment | |
CN104636197B (en) | A kind of evaluation method of data center's virtual machine (vm) migration scheduling strategy | |
CN105677000B (en) | The system and method for dynamic voltage frequency adjustment | |
CN102404399B (en) | Fuzzy dynamic allocation method for cloud storage resource | |
CN103078933B (en) | A kind of method and apparatus determining data migration time | |
CN103581313B (en) | Connection establishment method for processing equipment and cluster server and processing equipment | |
CN105159775A (en) | Load balancer based management system and management method for cloud computing data center | |
CN104820630A (en) | System resource monitoring device based on business variable quantity | |
CN109117280B (en) | Electronic device and method and storage medium for limiting inter-process communication | |
CN106603618A (en) | Cloud platform-based application auto scaling method | |
BR112016010801B1 (en) | METHOD AND SYSTEM OF TRAFFIC CONTROL BETWEEN A NUMBER OF ELECTRONIC DEVICES AND ONE OR MORE SERVICES | |
CN103970641A (en) | Equipment expansion method based on capacity prediction technology | |
CN103345415A (en) | Terminal energy-saving method and device for management timer | |
CN101776946B (en) | Method for controlling power consumption on basis of object-based storage system | |
CN102339233A (en) | Cloud computing centralized management platform | |
WO2017114180A1 (en) | Component logical threads quantity adjustment method and device | |
CN104598778A (en) | Authority scheduling method and device | |
CN109117279B (en) | Electronic device and method and storage medium for limiting inter-process communication | |
Séguéla et al. | Comparing energy-aware vs. cost-aware data replication strategy | |
CN112114650A (en) | A power consumption control method, apparatus, device and readable storage medium | |
CN101458555A (en) | Method for adjusting clock period and calculating system | |
CN118939433A (en) | A method, device and electronic device for adjusting cluster nodes | |
CN108170522A (en) | A kind of cloud computing virtual machine (vm) migration control method based on dynamic threshold |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110615 Termination date: 20160120 |
|
EXPY | Termination of patent right or utility model |