Talk about the optimization of Windows 7 to solid State drive

Source: Internet
Author: User
Tags file system trim

When Microsoft developed Windows Vista, solid-state drives were not so hot, so they were not optimized. Windows 7 is different, Microsoft from the beginning of the solid state hard disk in a key position, and recently through the E7 official blog detailing the new system of the corresponding optimization measures.

First, solid state hard disk performance degradation and trim request operation

Flash blocks, pages, and cells must be erased before they can write new data, so the newly purchased SSD is performing well, but it can feel a performance drop after a long time, before Intel tries to fix it by upgrading the firmware.

Microsoft says they have also observed this phenomenon, but not as badly as everyone thought, in fact, in addition to the benchmarking, the user in the day-to-day operation of the basic feeling is not different.

Of course, manufacturers still have a duty to maximize the maintenance of high performance. Hardware manufacturers first in the solid state hard drive before the factory in advance of its total erasure (similar to the hard drive low-level format), the second is to prepare a dedicated space to store a dense burst of writing, enterprise-class hard disk will even retain up to 50% of the space, in order to maintain a high long-term continuous write speed

Microsoft has also used a "Trim" mechanism in conjunction with solid-state hard disk manufacturers. In Windows 7, if the SSD report supports the trim attribute in the ATA Protocol DataSet Management (DSM) command, the NTFS file system will require the ATA driver to issue a new trim operation instruction to the solid-state drive when the user deletes the file, telling it that the relevant pages can be safely erased. After the solid-state drive gets this instruction, it will not be in a hurry to perform the erasure operation, but to wait until the appropriate opportunity, that is, the time to write again, because the relevant pages can be reused, there is no need to perform erasure operations.

For example, if a 128KB chunk is stored in a 128KB file, if the file is deleted and the trim operation is performed, the SSD can avoid mixing the bytes in the block with the other bytes required for subsequent writes to the block, which can greatly reduce the "wear" of the solid-state drive.

In Windows 7, the trim request is not limited to a delete operation, but also to full integration of partition and volume level commands, file system commands, and System Restore capabilities.

Second, Windows 7 optimization and default behavior brief

On a solid-state hard drive, Windows 7 disables disk defragmentation because the random read operation mechanism for solid-state drives is good, and defragmenting files is no longer helpful.

Windows 7 also disables SuperFetch, ReadyBoost, and startup and program prefetching by default on solid-state hard disks, which are designed for traditional hard disks.

The built-in partition creation tool for Windows 7 also takes into account the characteristics of solid-state drives. Of course, it's best to put the system partition on a solid-state drive.

Third, FAQ

1. Will Windows 7 support trim?

Support. See above.

2. Do you disable defragmentation by default on solid state drives?

Yes. Defragmentation of Windows 7 excludes SSD partitions, and defragmentation ignores it if the hard disk partition has more random read performance than 8mb/s.

8MB/S This indicator is the internal analysis of Microsoft, will be included in the final version of the system. In fact, this regulation is not significant, because solid-state drives are generally in 11-130mb/s, and the test of the 182 traditional hard disk only 6 more than 2mb/s, all others in 0.8-1.6mb/s.

3. Will the SuperFetch be disabled on solid-state drives?

Will, but not absolutely.

Microsoft originally intended to completely disable SuperFetch on the SSD, but encountered a significant performance decline on some systems, and later found that the random writes and erasure operations of the first generation of solid-state drives were too frequent, resulting in extremely slow read speeds, and the opening of SuperFetch and other prefetching techniques Performance is obviously picking up.

4. Does NTFS compress folders and files on solid-state drives?

Compressing files helps to free up free space, however, compression, decompression requires additional CPU resources, in the notebook will also be more power consumption, so it is only suitable for infrequently used files to do this operation, and frequently read and write files and folders do not need to, such as My documents, such as temporary Internet folder.

5. Does Windows Search index differ in solid-state drives?

No.

6. Is BitLocker optimized for solid-state drives?

Yes, on the NTFS file system. BitLocker is read, encrypted, and written for the entire partition, and the NTFS file system helps the solid-state drive optimize this operation through the trim command.

Related Article

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.