Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Synchronized writeback method for disk data

A disk and data technology, applied in the field of write-back I/O scheduling system based on synchronous write, can solve problems such as affecting system performance and wasting disk I/O bandwidth, so as to improve write performance, improve utilization, and avoid write amplification Effect

Active Publication Date: 2016-06-01
SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The reading and writing of the disk is based on the block, usually the size of the block is 4KB. For asynchronous writing, the system can accumulate the modification to a certain extent before writing to the disk. For synchronous writing, write several bytes to the file system. When the data is small, the file system must write 4KB data to the disk, which causes the write amplification of small data, wastes the I / O bandwidth of the disk, and affects the performance of the system

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
  • Synchronized writeback method for disk data
  • Synchronized writeback method for disk data
  • Synchronized writeback method for disk data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0040] The method for encoding user tags and the device for encoding user tags in the embodiments of the present invention will be described below with reference to the accompanying drawings.

[0041] Such as figure 2 As shown, a more coarse-grained logical division is performed on the disk, and a logical structure imageformat is constructed. The disk is divided into several storage zones, each zone preferably has a size of 64MB, and is divided into Z-zone and N-zone. Each storage area zone is preferably composed of 1024 clust...

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 present invention discloses a synchronized writeback method for disk data. The method comprises: setting a write cache space, comparing and acquiring difference calculation results diff of data blocks A and A' that have the same start sector number, and substituting the data block A for the data block A'; assigning a weight value to each difference calculation result diff, and sorting the difference calculation results diff from largest to smallest; when a common data block B requests to be written, controlling to perform compression on the data block B, so as to save partial space, taking and inserting the difference calculation result diff with the largest weight into the partial space, and writing a newly-formed data block B into a Z-cluster whose first block is empty of a disk, and caching the data block B into the write cache space; and when a utilization rate of a write cache reaches a preset threshold, substituting a data block in the write cache for the data block on the disk, and changing the Z-cluster into an N cluster. The method improves an I / O bandwidth utilization rate of the disk, and effectively avoids write amplification of small data.

Description

technical field [0001] The invention relates to the technical field of computer data reading and writing, in particular to a write-back I / O scheduling system based on synchronous writing. Background technique [0002] The smallest logical addressable unit of a file system is a block, and the size of a block is generally 4KB. The smallest addressable unit in a block device is a sector. The sector size of most block devices is 512B, and a block consists of 8 sectors. Physically, a disk consists of many sectors, and logically, a disk consists of many block devices. [0003] The I / O scheduler is a layer of software between the file system and the block storage device. The application creates I / O requests by calling the read / write method or the mmap method, and these requests can be modifications to any location on any file. The file system neither simply submits requests in the order they are received, nor does it store requests to disk as soon as they are received. Instead,...

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/0656
Inventor 刘星江松王洋须成忠
Owner SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products