Linux does not have disk defragmentation capabilities

Source: Internet
Author: User

The vast majority of computer users are using the Windows system, we all know that when the computer is slow to use, one of the ways is disk defragmentation, but in the Linux system, there is no disk defragmentation of this feature, why do not need disk defragmentation Linux?

This is because Linux and Windows file systems work differently.

Defragmentation is the movement of files to reduce the precision of fragmentation, as much as possible to keep files on the hard disk is continuously stored.

The file system of the Windows system will always have fragments generated when you save the file. And Linux takes a more intelligent way to place files, which scatter files across the disk, with files that have a lot of free space, and even if they are fragmented, the file system moves files in daily use to reduce fragmentation, No specialized defragmenter is required.

What if you want to defragment the Linux system? You need to copy all the files, then empty the partitions, and then copy the files back.

How to detect the extent of Linux fragmentation: View the number of noncontiguous I nodes in the output (non-contiguous inodes)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.