Write policy control method and apparatus

A strategy control and strategy technology, applied in the field of communication, can solve the problems of data loss, affecting the storage performance of the storage system, and inability to take into account the reliability of storage performance and data, and achieve the effect of improving storage performance.

Active Publication Date: 2015-11-18
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Among them, when the storage system uses the write-back method to process the write request, the storage performance of the storage system will be higher, but when an abnormal state occurs in the storage system, it may cause problems such as data loss
However, if the storage system uses the write-through method to process write requests, although the reliability of the storage is improved, it will affect the storage performance of the storage system.
Therefore, the write strategy of the existing storage system for processing write requests cannot balance storage performance and data reliability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Write policy control method and apparatus
  • Write policy control method and apparatus
  • Write policy control method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The embodiment of the present application provides a write policy control method and device to dynamically control the write policy for processing write requests based on the occupancy ratio of the cache in the storage system, which is conducive to taking into account the performance and reliability of the storage system in the process of processing write requests sex.

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0056] Firstly, a writing policy control method of the embodiment of the present application is introduced...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Embodiments of the application provide a write policy control method and apparatus. The method comprises: obtaining the occupation ratio of caches in a storage system at current moment; and if determining that a preset policy triggering condition is currently met based on the occupation ratio of the caches, controlling the storage system to process a write policy of a write request into a target write policy, wherein the target write policy is a write policy converted under the triggering effect of the policy triggering condition. The method and the apparatus can give consideration to the data storage reliability and storage performance of the storage system.

Description

technical field [0001] The present application relates to the technical field of communication, and more specifically relates to a write policy control method and device. Background technique [0002] Currently, the storage system has two write strategies for processing write requests: write back and write through. Among them, write back means that after the write request reaches the cache of the storage system, a write success signal will be returned to the host of the storage system; Return a write success signal to the host. [0003] Wherein, when the storage system uses the write-back method to process the write request, the storage performance of the storage system will be higher, but when an abnormal state occurs in the storage system, problems such as data loss may be caused. However, if the storage system uses the write-through method to process write requests, although the storage reliability is improved, the storage performance of the storage system will be affec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/06G06F12/08
CPCG06F3/06
Inventor 朱焱吴进会
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products