Unlock instant, AI-driven research and patent intelligence for your innovation.

Data writing method and device, storage server and computer readable storage medium

A data writing and data technology, applied in the storage field, can solve the problem of inefficient writing strategy

Active Publication Date: 2020-05-05
HUAZHONG UNIV OF SCI & TECH +1
View PDF7 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Under the ever-changing and diverse cloud workloads, a fixed write strategy is doomed to be inefficient

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
  • Data writing method and device, storage server and computer readable storage medium
  • Data writing method and device, storage server and computer readable storage medium
  • Data writing method and device, storage server and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In typical cloud block storage products, such as Tencent CBS, Ceph (distributed file system), etc., when the client generates a write request, the write data corresponding to the write request is first written into the write buffer, and sequentially recorded in the log file. When the amount of dirty data in the write buffer exceeds a certain threshold, it is submitted to the cache, such as SSD (full name in Chinese: Solid State Drive, full name in English: Solid State Drive) cache, etc. The written data in the cache is asynchronously flushed using the write-back strategy To the back-end hard disk drive (English full name: Hard Disk Drive, English abbreviation: HDD) storage.

[0052]But, the inventor of the present application finds that in the IO (full name in Chinese: input / output, full name in English: Input / Output) log of one month that CBS gathers, 47.09% data only exists write operation, and promptly 47.09% data are Only write data. Users cannot perceive the acce...

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

The invention discloses a data writing method and device, a storage server and a computer readable storage medium, and the method comprises the steps: writing writing data corresponding to a writing request into a writing buffer region when the writing request is received; acquiring historical access data of a data block corresponding to the to-be-brushed data when a data brushing operation of thewrite buffer is triggered; judging whether the to-be-brushed data is write-only data or not based on the historical access data; if yes, writing the to-be-brushed data into a hard disk drive; and ifnot, writing the to-be-brushed data into a cache. According to the data writing method provided by the invention, useless flow written into the cache can be effectively reduced, more space is reservedfor common data in the cache, and the utilization rate of the cache space is improved, so that the reading hit rate of the cache is improved, the reading performance of a storage system is improved,the lowest writing flow of the cache is realized, and the efficiency of a writing strategy is improved.

Description

technical field [0001] The present application relates to the field of storage technology, and more specifically, to a data writing method and device, a storage server, and a computer-readable storage medium. Background technique [0002] When the client generates a write request, the storage server decides whether to load the data to be written into the cache and when to flush the dirty data in the cache to the back-end hard drive according to the write policy. Therefore, write policies have a large impact on system performance, data consistency, and write traffic to cache media. [0003] In the related art, there are three basic writing strategies: write-through strategy (write-through), write-back strategy (write-back) and write-around strategy (write-around). The write-through strategy is to write the data to be written to the cache and the back-end hard disk drive at the same time. The incoming data is directly written to the back-end hard drive, and the miss data is ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0644G06F3/0656G06F3/0676G06N20/00G06F12/0868G06F12/0888G06F2212/502G06F2212/1016G06F2212/154G06F2212/314G06F2212/217G06F3/0604G06F3/0655G06F3/0679
Inventor 张煜周可王桦胡健鹰吉永光
Owner HUAZHONG UNIV OF SCI & TECH