4K alignment

  4K-aligned this concept is often linked with SSDs. Bought a piece of solid-state hard drive, installed during the 4K alignment ignored when this small detail, but this is often the small details is important, it affects the life and speed of the hard disk.

  Now look at 4K aligned in the end is what.

First, what is 4K aligned

  Hard disk installed in the operating system, and gives an instruction to the first address, to facilitate computer according to the first activated when the address of an instruction, execute an operating system in the order, the place where the first address in the hard disk boot sector is called.

  Common use the NTFS file system in Windows, but because of its NTFS partition boot sector takes up the track a total of 63 sectors, the real file system after the 63 sectors.

  Computer hard disk drives each sector size of 512 bytes generally, it is calculated in accordance with the sector size of the first 63: 512B × 63 = 32256B

  In order to facilitate the management, the file system will be the hard disk sectors, tracks and compiles the cylinder and defines a cluster as the number of sectors for quick storage, the default is defined as a cluster size of 4096 bytes.

  The key to the place, 32256B ÷ 4096B = 7.875, decimals, 0.875 * 4096 = 3584B, that is, when the file system when dealing with files processed as well as a cluster of non-intact after 4096B 3584B of a cluster of data processing, need to cross two physical units, will have all the data following the displacement, resulting in reduced access speed, and to shorten the service life.

  In simple terms, 4K-aligned 4KB in fact, is to make a step size of data written to avoid writing the next split second part of a cluster of situation occurs.

  To solve this problem, the current method used is sacrifice some space to make a cluster document alignment 4096B, and 4096B = 4k, which is "4K-aligned," the origin.

Second, how to check your computer's hard drive is 4K aligned

  method one:

      win + R -> input msinfo32

            

    

       The red box marked divided by 4096 if it is an integer that is aligned.

  Method Two:

      By "AS SSD Benchmark" tool to verify

      

 

 Third, how to 4K aligned

  method one:

    win8 and above, when the system is installed by default alignment

    

 

   Method Two:

      Simple partition software partition proud plum assistant

      

 

 

  

 

  

  

Guess you like

Origin www.cnblogs.com/zxkwdw/p/11717448.html