Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for matching space allocation with brushing

A space allocation and matching technology, applied in the computer field, can solve the problems of increasing the number of disk flushes, reducing the write performance, and finding logical blocks, so as to reduce the number of disk flushes and improve the writing performance.

Active Publication Date: 2016-12-14
HUAWEI TECH CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The space allocation module of the existing file system is allocated according to the way of using complete data logical blocks first. In the random overwrite scenario, after a large number of disks are generated, it is often impossible to find logical blocks with full stripes, resulting in poor write performance.
In addition, the space allocation and Cache of the existing file system are isolated, and there is no cooperation between them. As a result, when each executes according to its own strategy, a large number of repeated write IOs will be generated, that is, the number of flashes will be increased. further degrades write performance

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
  • Method and device for matching space allocation with brushing
  • Method and device for matching space allocation with brushing
  • Method and device for matching space allocation with brushing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The embodiment of the present invention provides a method and criterion for the cooperation of space allocation and flash disk, which can make the space allocation of the file system cooperate with the flash of the Cache, thereby improving the writing performance of the file system.

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0039] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, a...

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

An embodiment of the invention discloses a method and a device for matching space allocation with brushing. Space allocation of a file system can be matched with brushing of a Cache, so that the writing performance of the file system is improved. The method includes the steps: receiving a writing IO (input / output) request; determining the size of writing IO according to the writing IO request; allocating at least one logic block matched with the size of the writing IO according to a preset logic block allocation queue; writing data of the IO request into the high-speed Cache according to information of at least one logic block; brushing data in each logic block according to a preset logic block brushing queue.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for space allocation and cooperation of brush disks. Background technique [0002] A file system is a system for storing and organizing user data. The file system provides users with simple and convenient data access. The file system uses the abstract concepts of files and directories to replace the concept of data blocks in storage media such as disks, so that users do not need to care about the storage location of data on the storage media, and only access their data by accessing directories or files. The file system maintains the layout of user data on storage media, that is, manages the distribution and location of file data on storage media. With the growth of the file system life cycle, file data will be continuously added, deleted, modified, and searched. Unreasonable space allocation strategies will lead to more and more fragmentation of free areas on storage...

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): G06F12/0817
CPCG06F12/0817
Inventor 谭春华李劲松
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More