CN108227901A - It is a kind of based on the disk power consumption state switching method sporadicly asked - Google Patents

It is a kind of based on the disk power consumption state switching method sporadicly asked Download PDF

Info

Publication number
CN108227901A
CN108227901A CN201711500046.XA CN201711500046A CN108227901A CN 108227901 A CN108227901 A CN 108227901A CN 201711500046 A CN201711500046 A CN 201711500046A CN 108227901 A CN108227901 A CN 108227901A
Authority
CN
China
Prior art keywords
disk
power consumption
consumption state
sporadicly
asked
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
CN201711500046.XA
Other languages
Chinese (zh)
Other versions
CN108227901B (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 CN201711500046.XA priority Critical patent/CN108227901B/en
Publication of CN108227901A publication Critical patent/CN108227901A/en
Priority to JP2018147287A priority patent/JP2019121343A/en
Application granted granted Critical
Publication of CN108227901B publication Critical patent/CN108227901B/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention discloses a kind of based on the disk power consumption state switching method sporadicly asked, corresponding disk integrated information under first obtaining the historical record sporadicly asked and sporadicly asking every time;Further according to historical record, analyze and determine the regularity of distribution of the fragmentary request in sudden period and non sudden period, with reference to disk integrated information, formulate disk power consumption state switchover policy;When detecting the in magnetic disc i/o mouth first fragmentary request, according to the first fragmentary request, corresponding disk power consumption state switchover policy is performed.Technical solution of the present invention can carry out disk power consumption state switching in time, and raising system is to the response speed sporadicly asked.

Description

It is a kind of based on the disk power consumption state switching method sporadicly asked
Technical field
The present invention relates to field of computer technology more particularly to a kind of based on the disk power consumption state switching side sporadicly asked Method.
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, it is impossible to timely carry out Disk State switching, cause unnecessary disk Energy consumption reduces system performance.
Invention content
The embodiment of the present invention proposes a kind of disk power consumption state switching method based on fragmentary request, can carry out disk in time Power consumption state switches, and raising system is to the response speed sporadicly asked.
The embodiment of the present invention provide it is a kind of based on the disk power consumption state switching method sporadicly asked, including:
Corresponding disk integrated information under obtaining the historical record sporadicly asked and sporadicly asking every time;The disk is comprehensive Information is closed to include:The switching time of utilization ratio of storage resources, system performance and disk;
According to the historical record, analyze and determine that distribution of the fragmentary request in sudden period and non sudden period is advised Rule with reference to the disk integrated information, formulates disk power consumption state switchover policy;The disk power consumption state switchover policy packet It includes:Performance strategy, energy consumption strategy and switching time strategy;
When detecting the in magnetic disc i/o mouth first fragmentary request, according to the described first fragmentary request, corresponding magnetic is performed Disk power consumption state switchover policy.
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.
Further, the performance strategy is under the premise of ensureing that system performance is optimal, by adjusting storage resource The switching time of utilization rate and disk realizes the switching of disk power consumption state.
Further, the energy consumption strategy is under the premise of ensureing that system energy consumption is minimum, by adjusting storage resource The switching time of utilization rate, system performance and disk realizes the switching of disk power consumption state.
Further, the disk power consumption switchover policy is under the premise of the switching time for ensureing disk is optimal, is led to Control utilization ratio of storage resources and system performance are crossed, realizes the switching of disk power consumption state.
Implement the embodiment of the present invention, have the advantages that:
It is provided in an embodiment of the present invention based on the disk power consumption state switching method sporadicly asked, first obtain what is sporadicly asked Corresponding disk integrated information under historical record and every time fragmentary request;Further according to historical record, analyze and determine sporadicly please The regularity of distribution in sudden period and non sudden period is sought, with reference to disk integrated information, formulates the switching of disk power consumption state Strategy;When detecting the in magnetic disc i/o mouth first fragmentary request, according to the first fragmentary request, corresponding disk power consumption is performed State switchover policy.Perception compared with the prior art in face of sporadicly asking is insufficient, and technical solution of the present invention can carry out in time Disk power consumption state switches, and raising system is to the response speed sporadicly asked.
Description of the drawings
Fig. 1 is provided by the invention based on the flow of a kind of embodiment of disk power consumption state switching method sporadicly asked Schematic diagram.
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 provided by the invention based on a kind of embodiment of disk power consumption state switching method sporadicly asked referring to Fig. 1 Flow diagram, the method comprising the steps of 101 to step 103, and each step is specific as follows:
Step 101:Corresponding disk integrated information under obtaining the historical record sporadicly asked and sporadicly asking every time;It should Disk integrated information includes:The switching time of utilization ratio of storage resources, system performance and disk.
Step 102:According to historical record, analyze and determine point of the fragmentary request in sudden period and non sudden period Cloth rule with reference to disk integrated information, formulates disk power consumption state switchover policy;The disk power consumption state switchover policy includes: Performance strategy, energy consumption strategy and switching time strategy.
The regularity of distribution that the technical solution of the present embodiment was sporadicly asked by the non sudden period and its burst period it is latent In relationship, determine fragmentary request and utilization ratio of storage resources, performance, with switching time of the disk between different power consumption states it Between association, so as to clearly sporadicly asking the influence of action opportunity, system performance and energy consumption switched to disk power consumption state.
In the present embodiment, performance strategy is under the premise of ensureing that system performance is optimal, by adjusting storage resource The switching time of utilization rate and disk realizes the switching of disk power consumption state.Energy consumption strategy is is ensureing that system energy consumption is minimum Under the premise of, by adjusting utilization ratio of storage resources, system performance and the switching time of disk, realize the switching of disk power consumption state. Disk power consumption switchover policy be ensure disk switching time be optimal under the premise of, by control utilization ratio of storage resources and System performance realizes the switching of disk power consumption state.
Step 103:When detecting the in magnetic disc i/o mouth first fragmentary request, according to the first fragmentary request, perform corresponding Disk power consumption state switchover policy.
In the present embodiment, the detect in magnetic disc i/o mouth first fragmentary request in step 103, 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.
Therefore it is provided in an embodiment of the present invention based on the disk power consumption state switching method sporadicly asked, first obtain Corresponding disk integrated information under the historical record sporadicly asked and each fragmentary request;Further according to historical record, analysis is simultaneously It determines the regularity of distribution of the fragmentary request in sudden period and non sudden period, with reference to disk integrated information, formulates disk work( Consumption state switchover policy;When detecting the in magnetic disc i/o mouth first fragmentary request, according to the first fragmentary request, perform corresponding Disk power consumption state switchover policy.Perception compared with the prior art in face of sporadicly asking is insufficient, technical solution of the present invention It can carry out disk power consumption state switching in time, raising system is to the response speed sporadicly asked.
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 (6)

  1. It is 1. a kind of based on the disk power consumption state switching method sporadicly asked, which is characterized in that including:
    Corresponding disk integrated information under obtaining the historical record sporadicly asked and sporadicly asking every time;The disk synthesis letter Breath includes:The switching time of utilization ratio of storage resources, system performance and disk;
    According to the historical record, analyze and determine the regularity of distribution of the fragmentary request in sudden period and non sudden period, With reference to the disk integrated information, disk power consumption state switchover policy is formulated;The disk power consumption state switchover policy includes:Property It can strategy, energy consumption strategy and switching time strategy;
    When detecting the in magnetic disc i/o mouth first fragmentary request, according to the described first fragmentary request, corresponding disk work(is performed Consumption state switchover policy.
  2. 2. it is according to claim 1 based on the disk power consumption state switching method sporadicly asked, it is described to detect magnetic disc i/o The first fragmentary request in mouthful, 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.
  3. It is 3. according to claim 2 based on the disk power consumption state switching method sporadicly asked, which is characterized in that described to obtain The legacy system behavior of block number evidence is taken, specially:
    By Trace journal files, the legacy system behavior of block number evidence is obtained.
  4. 4. according to claim 1 based on the disk power consumption state switching method sporadicly asked, the performance strategy be Under the premise of ensureing that system performance is optimal, by adjusting the switching time of utilization ratio of storage resources and disk, disk work(is realized Consumption state switches.
  5. 5. according to claim 1 based on the disk power consumption state switching method sporadicly asked, the energy consumption strategy be It is real by adjusting utilization ratio of storage resources, system performance and the switching time of disk under the premise of ensureing that system energy consumption is minimum Existing disk power consumption state switching.
  6. It is 6. according to claim 1 based on the disk power consumption state switching method sporadicly asked, the disk power consumption switching Strategy is under the premise of the switching time for ensureing disk is optimal, by controlling utilization ratio of storage resources and system performance, in fact Existing disk power consumption state switching.
CN201711500046.XA 2017-12-30 2017-12-30 Disk power consumption state switching method based on sporadic request Active CN108227901B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711500046.XA CN108227901B (en) 2017-12-30 2017-12-30 Disk power consumption state switching method based on sporadic request
JP2018147287A JP2019121343A (en) 2017-12-30 2018-08-04 Method for adjusting prefetch space of disk cache

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711500046.XA CN108227901B (en) 2017-12-30 2017-12-30 Disk power consumption state switching method based on sporadic request

Publications (2)

Publication Number Publication Date
CN108227901A true CN108227901A (en) 2018-06-29
CN108227901B CN108227901B (en) 2020-07-14

Family

ID=62644926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711500046.XA Active CN108227901B (en) 2017-12-30 2017-12-30 Disk power consumption state switching method based on sporadic request

Country Status (2)

Country Link
JP (1) JP2019121343A (en)
CN (1) CN108227901B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032198A (en) * 2000-07-17 2002-01-31 Nec Corp Assembled-type backup device using hard disk drive
US20040128575A1 (en) * 2002-12-27 2004-07-01 Thorsten Schmidt Method for optimizing processor clock frequency in a hard disk drive to minimize power consumption while maximizing performance
US20090199026A1 (en) * 2008-01-31 2009-08-06 Peter Kimmel Saving energy based on storage classes with corresponding power saving policies
CN103049213A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Magnetic disc scheduling method and device
CN103699334A (en) * 2012-09-27 2014-04-02 伊姆西公司 Method and system for managing virtual machine disk
CN104580447A (en) * 2014-12-29 2015-04-29 中国科学院计算机网络信息中心 Spatio-temporal data service scheduling method based on access heat
CN104657316A (en) * 2015-03-06 2015-05-27 北京百度网讯科技有限公司 Server
CN104965674A (en) * 2015-06-08 2015-10-07 暨南大学 Low-energy-consumption disk scheduling method and system based on block association
US20170003904A1 (en) * 2015-06-30 2017-01-05 Acer Incorporated Electronic apparatus and power management method for solid state disk thereof
CN106897132A (en) * 2017-02-27 2017-06-27 郑州云海信息技术有限公司 The method and device of a kind of server task scheduling

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002032198A (en) * 2000-07-17 2002-01-31 Nec Corp Assembled-type backup device using hard disk drive
US20040128575A1 (en) * 2002-12-27 2004-07-01 Thorsten Schmidt Method for optimizing processor clock frequency in a hard disk drive to minimize power consumption while maximizing performance
US20090199026A1 (en) * 2008-01-31 2009-08-06 Peter Kimmel Saving energy based on storage classes with corresponding power saving policies
CN103049213A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Magnetic disc scheduling method and device
CN103699334A (en) * 2012-09-27 2014-04-02 伊姆西公司 Method and system for managing virtual machine disk
CN104580447A (en) * 2014-12-29 2015-04-29 中国科学院计算机网络信息中心 Spatio-temporal data service scheduling method based on access heat
CN104657316A (en) * 2015-03-06 2015-05-27 北京百度网讯科技有限公司 Server
CN104965674A (en) * 2015-06-08 2015-10-07 暨南大学 Low-energy-consumption disk scheduling method and system based on block association
US20170003904A1 (en) * 2015-06-30 2017-01-05 Acer Incorporated Electronic apparatus and power management method for solid state disk thereof
CN106897132A (en) * 2017-02-27 2017-06-27 郑州云海信息技术有限公司 The method and device of a kind of server task scheduling

Also Published As

Publication number Publication date
JP2019121343A (en) 2019-07-22
CN108227901B (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN101419842B (en) Loss equalizing method, apparatus and system for hard disc
CN102508619B (en) Memory system, and method and system for controlling service quality of memory system
CN100468374C (en) Method and apparatus to establish, report and adjust system memory usage
WO2006037091A3 (en) Managing disk storage media
TWI256041B (en) Recording medium, recording device, regeneration device, recording method, and regeneration method
TW200506648A (en) Improved resource allocation techniques
EP1791122A3 (en) Information recording medium, recording apparatus and method for an information recording medium, reproducing apparatus and method for an information recording medium computer program for controlling record or reproduction, and data structure including control signal
CN106776095A (en) SSD solid state hard disc data reliability intelligent detecting methods and detection means
CN102185731B (en) Network health degree testing method and system
JP2008035269A5 (en)
CN101447207A (en) Media recording method and device thereof
WO2005089077A3 (en) Recording medium, and method and apparatus for recording and reproducing data on/from recording medium
EP1643765A4 (en) Information recording medium, information recording device and method, information playback device and method, information recording/playback device and method, information recording program, information playback program, information recording/playback program, and data structure including control s
CN108227901A (en) It is a kind of based on the disk power consumption state switching method sporadicly asked
CN118051190A (en) Data protection method and system for solid state disk
EP1607966A3 (en) Content reproduction apparatus, content reproduction method, content management apparatus, content management method and computer program
CN108170470A (en) SOC system step-by-step write devices
CN112269544A (en) Data processing method, device and equipment and readable storage medium
CN110058810B (en) Disk cleaning method and device for distributed system and distributed system
CN107315546A (en) A kind of method and system of solid state hard disc low-level formatting
CN106775473A (en) The awakening method and device of a kind of hard disk
CN110673788A (en) Data reading method, device and equipment of solid state disk and readable storage medium
CN106547577A (en) A kind of method and apparatus of microcontroller chip burning
JP2019121373A (en) Method for switching disk power consumption based on small request
CN204882750U (en) Smart card power down protection's testing arrangement

Legal Events

Date Code Title Description
PB01 Publication
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

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

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant