Why is the size of the folder larger than the space occupied?

Source: Internet
Author: User

Let's take a look at an example:

You can see that the size and footprint of the file is very large! Don't worry, it's not a virus. This is a thousands of listening lyrics folder. Interested friends can try it for themselves, indeed. What can I do for you? Next, let me explain:

This is related to a hard disk partition concept: clusters. This is the minimum storage unit space for the data on the hard disk. (byte that is the unit of calculation, not the same.) )

If a file is less than a cluster, it still takes up the cluster, and it takes up enough space for the entire cluster. If more than one cluster, it will be scattered on the hard disk storage, which is called disk fragmentation.

For example, a partition is like a big house, a cluster is like a room inside, the person living in the room is the file that we store. The larger the division, the larger the cluster, which is the larger the room, a person living in a big room, will be a waste of space.

For example, in the current hard disk commonly used file system Fat32 case, 50G partition, a cluster has 32KB, if you use to store lyrics, notepad and other small files, will be very wasteful. The lyrics file used in this example is the. lrc file, but it's a few KB sizes.

Improved approach, you can divide the partition smaller, the cluster will be smaller. The best approach is to use the NTFS file system instead to customize the size of the cluster.

If we make all of these lyrics files into a compressed package, we will find that the size and occupancy of the space is almost large. As shown in figure:

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

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.