Position: Home page » Equipment » Mining hard disk unit size

Mining hard disk unit size

Publish: 2021-05-21 17:52:46
1. Mining continuous working time is very long
the performance requirements are not high
it is reasonable to choose the monitoring level of hard disk.
2. I believe everyone can format it. Some careful friends have found that when formatting, there is a parameter to set "allocation unit size" and the general default is 4096 size. What is the meaning of formatting allocation unit size and how appropriate is the allocation unit size? Let's listen to the related knowledge introced by Xiaobian

What does allocation unit size mean

allocation unit, formerly known as cluster. For example, a building is divided into several rooms with the same size. At the same time, each room is given a room number. At this time, the size of each room is the allocation unit. When creating a partition, the option of allocation unit size will appear

each allocation unit can only store one file. The file is divided into several blocks and stored on the disk according to the size of the allocation unit. For example, a 512 byte file takes up 512 bytes of storage space when the allocation unit is 512 bytes; For a 513 byte file, when the allocation unit is 512 bytes, it takes up 1024 bytes of storage space, but when the allocation unit is 4096 bytes, it takes up 4096 bytes of storage space. Generally speaking, the smaller the allocation unit is, the more space is saved, and the larger the allocation unit is, the more reading time is saved, but space is wasted. It seems that a smaller allocation unit can save more space, but it is not. The more blocks a file is divided into, especially when these storage units are scattered, some time will be wasted when reading data. It can be imagined that the time will be wasted when the disk is hard to move for bit by bit of data

what is the appropriate size of allocation unit

Xiaobian suggests to keep the system default value, that is, 4096 unit size

tips: how much is the allocation unit size of SSD< Generally speaking, SSD solid-state storage is 4KB aligned, that is to say, the minimum unit of hard disk operation is 4KB

2. The operating system also has a minimum allocation unit when managing hard disks. The default minimum allocation unit size of NTFS is just 4KB

that's why we have a 4KB proposal, but the multiple of 4KB is OK!
3. U disk generally has three common formats: FAT32, NTFS and exFAT
NTFS partition is the default format for U-disk over 4GB, but this format is very harmful to U-disk, because NTFS partition adopts "log" file system and needs to record detailed read and write operations, which will definitely damage flash disk chip, because it needs to read and write constantly
if you want to save large files, it is recommended to use exFAT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -, For the size of allocation unit, it can be simply said that the larger the value of allocation unit, the faster the reading and writing, but the storage space will be wasted
let's first explain the meaning of "allocation unit size". The so-called allocation unit size is the smallest unit for the system to read and write disks and mobile storage devices. Within the limit speed, the larger the size of the allocation unit, the faster the reading and writing speed, and vice versa. But here we should pay attention to a problem. The larger the unit allocation is, the more space will be wasted. This is just like you take many square pieces of paper of the same size to completely cover a shape. The larger the paper area is, the easier it will be. However, compared with smaller pieces of paper, the edge will have more useless area. The same is true for disk allocation units
it is recommended to use the default value when formatting. The system will adjust it to the most matching default value for you without manual management. After that, select quick format and it will take effect immediately
the latest U disk partition format supports up to 16eb files. 1eb = 1024tb, 1TB = 1024gbexfat is a solution specially developed for flash devices.
4. Theoretically, the larger the value, the faster the disk reading. Setting too large is easy to cause small file storage dissatisfaction, space waste. If you don't care about this, you can set the maximum. My hard disk RAID 0 is set to 128K,
5. Are you wrong about the capacity? It's a 500g hard disk. 50g hard disk is a solid-state 64g hard disk. If 64g solid-state, it depends on what system you install. If XP, it can be divided into two zones, and the C zone also needs 30g. If it's win7 10, don't partition it. After installing the system, there is no extra partition
6. I've tried to set the size of 16K 64K, but I haven't tried. It turns out that the speed is basically the same. How slow should I transfer a file or something? I can't feel how slow it is when I use it normally. Then the remaining space is much less. It's true that there was originally 20g free on disk C. after the change, there was 12g left, because those files far smaller than 16K would occupy a unit
7. Allocation unit, formerly known as cluster. For example, a building is divided into several rooms with the same size. At the same time, each room is given a room number. At this time, the size of each room is the allocation unit. When creating a partition, the option of allocation unit size will appear
each allocation unit can only store one file. The file is divided into several blocks and stored on the disk according to the size of the allocation unit. For example, a 512 byte file takes up 512 bytes of storage space when the allocation unit is 512 bytes; For a 513 byte file, when the allocation unit is 512 bytes, it takes up 1024 bytes of storage space, but when the allocation unit is 4096 bytes, it takes up 4096 bytes of storage space. Generally speaking, the smaller the allocation unit is, the more space is saved, and the larger the allocation unit is, the more reading time is saved, but space is wasted. It seems that a smaller allocation unit can save more space, but it is not. The more blocks a file is divided into, especially when these storage units are scattered, some time will be wasted when reading data. It can be imagined that the time will be wasted when the disk is hard to move for bit by bit of data
therefore, I recommend that you keep the system's default allocation unit size

let's see how you can find a lattice method. If it's a fast format, you can find it back. If it's a slow format, it's gone completely
8. In fact, the default settings are tested. So the default is the best.
9.

In win7, if the hard disk is a solid-state disk, it must be 4K aligned. If it is a mechanical disk, whether the 4K is aligned does not affect the service life, but the performance will be slightly better. Therefore, it can also be 4K aligned

When

4K alignment, the size of allocation unit is 4096

take the commonly used tool software diskgenius as an example, and look at the figure below. Generally, we use the NTFS file system. The following [align to the integer multiple of the following number of sectors] option is checked, and the number of sectors must be 4096. Because 4096 is 4K


10. No waste. Now the files are big
if you set it too small, the speed of reading and writing will slow down
the larger the cell, the faster the speed< So 4096 is more balanced.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750