CN108170254A - It is a kind of based on the tactful dispatching method sporadicly asked - Google Patents

It is a kind of based on the tactful dispatching method sporadicly asked Download PDF

Info

Publication number
CN108170254A
CN108170254A CN201711500130.1A CN201711500130A CN108170254A CN 108170254 A CN108170254 A CN 108170254A CN 201711500130 A CN201711500130 A CN 201711500130A CN 108170254 A CN108170254 A CN 108170254A
Authority
CN
China
Prior art keywords
sporadicly
asked
request
fragmentary
scheduling strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711500130.1A
Other languages
Chinese (zh)
Other versions
CN108170254B (en
Inventor
魏文国
谢桂园
戴青云
蔡君
赵慧民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Polytechnic Normal University
Original Assignee
Guangdong Polytechnic Normal University
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 Guangdong Polytechnic Normal University filed Critical Guangdong Polytechnic Normal University
Priority to CN201711500130.1A priority Critical patent/CN108170254B/en
Publication of CN108170254A publication Critical patent/CN108170254A/en
Application granted granted Critical
Publication of CN108170254B publication Critical patent/CN108170254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3268Power saving in hard disk drive

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of based on the tactful dispatching method sporadicly asked, the history composite record of cloud storage system is first obtained, is established based on the scheduling strategy Cost Model sporadicly asked;When detecting the in magnetic disc i/o mouth first fragmentary request, according to scheduling strategy Cost Model, judge whether to perform the described first fragmentary request;If it is, perform the first sporadicly request;Otherwise, according to preset scheduling strategy, the first fragmentary request scheduling is given to other disks.Whether technical solution of the present invention performs fragmentary request by Cost Model measurement, under the premise of disk performance is ensured, reduces the energy consumption of disk to the maximum extent.

Description

It is a kind of based on the tactful dispatching method sporadicly asked
Technical field
The present invention relates to field of computer technology more particularly to a kind of based on the tactful dispatching method sporadicly asked.
Background technology
Disk is a kind of carrier for storing computer data, and it can be used repeatedly for the data for being stored in disk. During disk use, either sudden period or non sudden period can all have fragmentary request.Traditional disk exists During in face of sporadicly asking, perceptible aspect Shortcomings fail to timely respond to sporadicly to ask.
Invention content
The embodiment of the present invention proposes a kind of tactful dispatching method based on fragmentary request, in the premise for ensureing disk performance Under, to the maximum extent reduce disk energy consumption.
The embodiment of the present invention provide it is a kind of based on the tactful dispatching method sporadicly asked, including:
The history composite record of cloud storage system is obtained, is established based on the scheduling strategy Cost Model sporadicly asked;It is described History composite record includes:The power consumption state record of utilization ratio of storage resources record, system load record and disk;
When detecting the in magnetic disc i/o mouth first fragmentary request, according to the scheduling strategy Cost Model, judge whether Perform the described first fragmentary request;
If it is, perform the described first fragmentary request;Otherwise, it is fragmentary by described first according to preset scheduling strategy Request scheduling gives other disks.
Further, the history composite record for obtaining cloud storage system, is established based on the scheduling strategy sporadicly asked Cost Model, specially:
According to the history composite record of the cloud storage system of acquisition, the read-write ratio that utilization ratio of storage resources, I/O load is determined The power consumption state of example, the history number sporadicly asked and disk, and the read-write loaded according to the utilization ratio of storage resources, I/O The power consumption state of ratio, the history number sporadicly asked and disk is established based on the scheduling strategy Cost Model sporadicly asked.
Further, it is described according to the scheduling strategy Cost Model, judge whether to perform the described first fragmentary request, tool Body is:
According to the scheduling strategy Cost Model, calculate and perform the described first cost cost sporadicly asked, if described Cost cost is less than predetermined threshold value, it is determined that performs the described first fragmentary request;Sporadicly please otherwise, it determines not performing described first It asks.
Further, the first fragmentary request detected in magnetic disc i/o mouth, specially:
The legacy system behavior of block number evidence is obtained, builds the behavioural analysis mathematical model of the block number evidence;The behavior point Analysis mathematical model has recorded the description information and evaluation mechanism of several sudden access behaviors;The behavioural analysis mathematical model For tracking and the sudden access behavior in forecasting system;
By the behavioural analysis mathematical model, the first fragmentary request in the magnetic disc i/o mouth is detected.
Further, the legacy system behavior for obtaining block number evidence, specially:
By Trace journal files, the legacy system behavior of block number evidence is obtained.
Implement the embodiment of the present invention, have the advantages that:
It is provided in an embodiment of the present invention based on the tactful dispatching method sporadicly asked, the history for first obtaining cloud storage system is comprehensive Record is closed, is established based on the scheduling strategy Cost Model sporadicly asked;It is sporadicly asked when detecting first in magnetic disc i/o mouth When, according to scheduling strategy Cost Model, judge whether to perform the described first fragmentary request;Sporadicly please if it is, performing first It asks;Otherwise, according to preset scheduling strategy, the first fragmentary request scheduling is given to other disks.Zero is faced compared with the prior art The perception of star request is insufficient, and whether technical solution of the present invention performs fragmentary request by Cost Model measurement, is ensureing disk Under the premise of performance, the energy consumption of disk is reduced to the maximum extent.
Description of the drawings
Fig. 1 is a kind of flow diagram of embodiment provided by the invention based on the tactful dispatching method sporadicly asked.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
It is that a kind of flow of embodiment provided by the invention based on the tactful dispatching method sporadicly asked is shown referring to Fig. 1 It is intended to, the method comprising the steps of 101 to step 104, and each step is specific as follows:
Step 101:The history composite record of cloud storage system is obtained, is established based on the scheduling strategy cost mould sporadicly asked Type;History composite record includes:The power consumption state record of utilization ratio of storage resources record, system load record and disk.
In the present embodiment, step 101 is specially:According to the history composite record of the cloud storage system of acquisition, determine to deposit The power consumption state of resource utilization, the read-write ratio of I/O loads, the history number sporadicly asked and disk is stored up, and according to storage Resource utilization, the read-write ratio of I/O loads, the power consumption state of the history number sporadicly asked and disk, are established based on fragmentary The scheduling strategy Cost Model of request.Scheduling strategy Cost Model is used to integrate I/ in measurement system with multi-objective optimization theory The influences of the Multiple factors to scheduling strategy such as the read-write ratio of O loads, number, the different power consumption states of disk sporadicly asked.
Step 102:When detecting the in magnetic disc i/o mouth first fragmentary request, according to scheduling strategy Cost Model, judge Whether first fragmentary request is performed;If it is, perform step 103;Otherwise, step 104 is performed.
In the present embodiment, the detect in magnetic disc i/o mouth first fragmentary request in step 102, specially:Obtain block The legacy system behavior of data, the behavioural analysis mathematical model of structure block data;Behavioural analysis mathematical model has recorded several The description information and evaluation mechanism of sudden access behavior;Behavioural analysis mathematical model is for the burst in tracking and forecasting system Property access behavior;Mathematical model is analyzed by the behavior, detects the first fragmentary request in magnetic disc i/o mouth.
In the present embodiment, the legacy system behavior of block number evidence is obtained, specially:By Trace journal files, block is obtained The legacy system behavior of data.
In the present embodiment, judge whether that performing described first sporadicly please according to scheduling strategy Cost Model in step 102 It asks, specially:According to scheduling strategy Cost Model, calculate and perform the first cost cost sporadicly asked, if cost is at low cost In predetermined threshold value, it is determined that perform the first sporadicly request;Otherwise, it determines the first fragmentary request is not performed.The size of predetermined threshold value It can be configured according to the actual conditions of system.
Step 103:Perform the first sporadicly request.
Step 104:According to preset scheduling strategy, the first fragmentary request scheduling is given to other disks.
In the present embodiment, preset scheduling strategy is the loading condition and utilization ratio of storage resources according to each disk, will First fragmentary request scheduling can also consider to minimum or minimum utilization ratio of storage resources disk is loaded and carry out weight After calculating, it is scheduled to the highest disk of weight.
Therefore it is provided in an embodiment of the present invention based on the tactful dispatching method sporadicly asked, first obtain cloud storage system The history composite record of system is established based on the scheduling strategy Cost Model sporadicly asked;When detecting first in magnetic disc i/o mouth During fragmentary request, according to scheduling strategy Cost Model, judge whether to perform the described first fragmentary request;If it is, perform the One fragmentary request;Otherwise, according to preset scheduling strategy, the first fragmentary request scheduling is given to other disks.Compared to existing skill Art faces the perception sporadicly asked deficiency, and whether technical solution of the present invention performs fragmentary request by Cost Model measurement, Under the premise of ensureing disk performance, the energy consumption of disk is reduced to the maximum extent.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (5)

  1. It is 1. a kind of based on the tactful dispatching method sporadicly asked, which is characterized in that including:
    The history composite record of cloud storage system is obtained, is established based on the scheduling strategy Cost Model sporadicly asked;The history Composite record includes:The power consumption state record of utilization ratio of storage resources record, system load record and disk;
    When detecting the in magnetic disc i/o mouth first fragmentary request, according to the scheduling strategy Cost Model, judge whether to perform Described first fragmentary request;
    If it is, perform the described first fragmentary request;Otherwise, according to preset scheduling strategy, by the described first fragmentary request It is scheduled to other disks.
  2. It is 2. according to claim 1 based on the tactful dispatching method sporadicly asked, which is characterized in that the acquisition cloud storage The history composite record of system is established based on the scheduling strategy Cost Model sporadicly asked, specially:
    According to the history composite record of the cloud storage system of acquisition, determine utilization ratio of storage resources, I/O loads read-write ratio, The history number and the power consumption state of disk sporadicly asked, and the read-write ratio loaded according to the utilization ratio of storage resources, I/O The power consumption state of example, the history number sporadicly asked and disk, is established based on the scheduling strategy Cost Model sporadicly asked.
  3. It is 3. according to claim 1 based on the tactful dispatching method sporadicly asked, which is characterized in that described according to the tune The tactful Cost Model of degree judges whether to perform the described first fragmentary request, specially:
    According to the scheduling strategy Cost Model, calculate and perform the described first cost cost sporadicly asked, if the cost Cost is less than predetermined threshold value, it is determined that performs the described first fragmentary request;Otherwise, it determines the described first fragmentary request is not performed.
  4. It is 4. according to claim 1 based on the tactful dispatching method sporadicly asked, which is characterized in that described to detect disk The first fragmentary request in I/O mouthfuls, specially:
    The legacy system behavior of block number evidence is obtained, builds the behavioural analysis mathematical model of the block number evidence;The behavioural analysis number Learn description information and evaluation mechanism that model has recorded several sudden access behaviors;The behavioural analysis mathematical model is used for Sudden access behavior in tracking and forecasting system;
    By the behavioural analysis mathematical model, the first fragmentary request in the magnetic disc i/o mouth is detected.
  5. It is 5. according to claim 4 based on the tactful dispatching method sporadicly asked, which is characterized in that the acquisition block number evidence Legacy system behavior, specially:
    By Trace journal files, the legacy system behavior of block number evidence is obtained.
CN201711500130.1A 2017-12-30 2017-12-30 strategy scheduling method based on sporadic request Active CN108170254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711500130.1A CN108170254B (en) 2017-12-30 2017-12-30 strategy scheduling method based on sporadic request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711500130.1A CN108170254B (en) 2017-12-30 2017-12-30 strategy scheduling method based on sporadic request

Publications (2)

Publication Number Publication Date
CN108170254A true CN108170254A (en) 2018-06-15
CN108170254B CN108170254B (en) 2019-12-06

Family

ID=62516834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711500130.1A Active CN108170254B (en) 2017-12-30 2017-12-30 strategy scheduling method based on sporadic request

Country Status (1)

Country Link
CN (1) CN108170254B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736725A (en) * 2012-05-18 2012-10-17 华为技术有限公司 Energy-saving hard disk control method and device and central processing unit
CN103106152A (en) * 2012-12-13 2013-05-15 深圳先进技术研究院 Data scheduling method based on gradation storage medium
CN103576835A (en) * 2013-10-30 2014-02-12 华为技术有限公司 Data manipulation method and device for sleep disk
CN103647823A (en) * 2013-12-11 2014-03-19 浪潮电子信息产业股份有限公司 Storage resource scheduling method in cloud computing operating system
CN104580447A (en) * 2014-12-29 2015-04-29 中国科学院计算机网络信息中心 Spatio-temporal data service scheduling method based on access heat
CN104714753A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Data access and storage method and device
CN104965674A (en) * 2015-06-08 2015-10-07 暨南大学 Low-energy-consumption disk scheduling method and system based on block association

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736725A (en) * 2012-05-18 2012-10-17 华为技术有限公司 Energy-saving hard disk control method and device and central processing unit
CN103106152A (en) * 2012-12-13 2013-05-15 深圳先进技术研究院 Data scheduling method based on gradation storage medium
CN103576835A (en) * 2013-10-30 2014-02-12 华为技术有限公司 Data manipulation method and device for sleep disk
CN103647823A (en) * 2013-12-11 2014-03-19 浪潮电子信息产业股份有限公司 Storage resource scheduling method in cloud computing operating system
CN104714753A (en) * 2013-12-12 2015-06-17 中兴通讯股份有限公司 Data access and storage method and device
CN104580447A (en) * 2014-12-29 2015-04-29 中国科学院计算机网络信息中心 Spatio-temporal data service scheduling method based on access heat
CN104965674A (en) * 2015-06-08 2015-10-07 暨南大学 Low-energy-consumption disk scheduling method and system based on block association

Also Published As

Publication number Publication date
CN108170254B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN103399713B (en) The data buffering method of balance dynamic data attemper performance and solid-state disk service life
CN102640120B (en) Management system for calculating storage capacity to be increased/decreased
GB2575600A (en) Automated warehouse design and simulations
CA2541576A1 (en) Information system, load control method, load control program and recor ding medium
CN106776095A (en) SSD solid state hard disc data reliability intelligent detecting methods and detection means
US20090282273A1 (en) Method and System For Data Migration
CN101866271A (en) Security early warning system and method based on RAID
CN107678972A (en) The appraisal procedure and relevant apparatus of a kind of test case
CN109376046A (en) A kind of method for testing hard disk, device, equipment and computer readable storage medium
CN104142855A (en) Dynamic task scheduling method and device
CN113309663B (en) Control method and control device for wind generating set
CN117913830B (en) Resource scheduling method and system for pumped storage power station
CN101394347A (en) Service data management method and system
CN108170254A (en) It is a kind of based on the tactful dispatching method sporadicly asked
CN113722072A (en) Storage system file merging method and device based on intelligent distribution
CN112269544A (en) Data processing method, device and equipment and readable storage medium
CN105227410A (en) Based on the method and system that the server load of adaptive neural network detects
CN110673788A (en) Data reading method, device and equipment of solid state disk and readable storage medium
CN108227901B (en) Disk power consumption state switching method based on sporadic request
CN113222223B (en) Wind control linkage early warning method, system, equipment and storage medium for real-time warehouse
CN105637483A (en) Thread migration method, apparatus and system
CN113220757A (en) Real-time warehouse automatic ETL method, system, equipment and computer storage medium
CN107229519A (en) Method for scheduling task and device
CN108268215A (en) A kind of sudden access recognition methods of disk
CN104794068B (en) A kind of method and device of flush cachings

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510000 No. 293 Shipai Zhongshan Avenue, Tianhe District, Guangzhou City, Guangdong Province

Applicant after: Guangdong Normal University of Technology

Address before: 510665 293 Zhongshan Avenue, Tianhe District, Guangzhou, Guangdong.

Applicant before: Guangdong Technical Normal College

GR01 Patent grant
GR01 Patent grant