Check patentability & draft patents in minutes with Patsnap Eureka AI!

Disk defragmentation method, device and host

A technology of defragmentation and disk fragmentation, which is applied in the computer field and can solve problems such as excessive disk fragmentation

Active Publication Date: 2018-10-30
CHENGDU HUAWEI TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, during the disk space allocation process, there may be data blocks of other files between the discrete data blocks of the source file, such as Figure 1B As shown, blk1, blk7, blk9, blk11 and blk13 are data blocks of other files; according to the existing disk defragmentation method (disk defragmentation is carried out to the data blocks of a single file) Figure 1C As shown, it can be seen that there is still a lot of disk fragmentation on the disk

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
  • Disk defragmentation method, device and host
  • Disk defragmentation method, device and host
  • Disk defragmentation method, device and host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0084] Normally, an object refers to a file or a container used to store data in the system. The data block of the management object (obj for short) needs to add some metadata management information. For example, the data block of the management object needs to add at least one indirect block and at least one object management structure block (the...

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 present invention provide a disk defragmentation method, device, and host. The method includes: judging the degree of fragmentation of the first disk area according to the first space management object; if it is determined that the degree of fragmentation of the first disk area reaches If the degree of fragmentation is preset, write the data blocks of each object corresponding to the defragmentation sub-area into continuous disk space according to the first space management object, and write the data blocks of each object into continuous disk space The metadata generated during the space is written into the continuous space; wherein, the defragmentation sub-area is less than or equal to the first disk area; the defragmentation sub-area is released; it can be seen that the fragmentation is performed according to the space management information A section of continuous free space in the first disk area can be obtained after defragmenting the sub-area, which improves the efficiency of defragmenting the disk.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a disk defragmentation method, device and host. Background technique [0002] As the disk capacity increases, the file system takes longer and longer, and the fragmented space on the disk becomes more and more. For mechanical disks, sequential read and write can give full play to its performance, but more and more disk fragments bring more and more discrete IO, causing the head to jump back and forth, resulting in a sharp decline in read and write performance. [0003] Figure 1A It is a schematic diagram of the existing disk defragmentation method, Figure 1B for the physical view of the object before defragmentation, Figure 1C A physical view of an object after defragmentation for an existing disk. In the prior art, disk defragmentation is performed in the following manner: 1) judging whether the number of continuous data blocks included in a certain source f...

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 Patents(China)
IPC IPC(8): G06F12/02G06F3/06
CPCG06F3/0644G06F12/0253
Inventor 丁敬文
Owner CHENGDU HUAWEI TECH
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