This option on Win can make SSD performance worse by several times!

SSDs have a strategic choice on the Windows Device Manager. Different settings will have different effects. Many people may not have noticed the difference in this part. Today, some people ask Xiao Bian how to optimize SSD. Xiao Bian thinks of this matter. Today we just talk about the performance difference brought about by this setting.

001

Find the disk drive in Device Manager ( Win+X Select Device Manager ), double-click on its own SSD in the drop-down menu, switch the tab to "Strategy" and you will see the "Write" that Xiaobian said. Into the Cache Strategy". This option of turning on and off means that when the SSD executes a write instruction, whether the written data is written to the cache or written to the NAND flash memory is reported to the system. What kind of difference does that have? Let's take a look at the difference by first running a few minutes.

002

When we checked the "Enable Write Cache on Device" checkbox, we used it as a benchmark test result and compared it for a moment. This time the SSD writes data to a write cache, and the entire write process ends.

003

Then, on this basis, check the next item “Turn off Windows writes on the device to tell the cache buffer to refresh”. Run the test again and notice that the write performance has been further improved, especially on 4K-64KThrd. This Xiao Bian wants to say in particular that checking this option means that your disk cache policy is “write back”; unchecked then the disk cache policy is “read ahead”. Turning on refresh also involves two strategies that have an impact on performance. One is to write to both the cache and the disk, that is, the write-through mode; the other is that the buffer is used for read-ahead, that is, read-only mode; the shutdown is ignored. .

As for why the test software cannot test the read performance improvement caused by the read-only mode, the reason is that read-ahead is an optimization strategy of Windows, the highest priority is Ring 0, and the test software is generally based on the Ring 3 layer; on the other hand, the pre-reading is The system guesses what files to use and loads them in advance. The test software is called without regular data. The system has no way to predict the preload, so it cannot be reflected.

004

Finally, we unchecked “enable write caching on the device”, and at this time we can see that the write performance has dropped significantly, even to an unacceptable level. This is because the write data is completely written into the NAND flash memory at this time, and the whole write process is reported to the system, which greatly impairs the performance of the disk.

005

As you can see, how large this write cache is, so try to enable this option if possible. However, it should be noted that in the "Turn off the Windows Write Cache Buffer Refresh on the device", if it is not the pursuit of the best read and write performance, it is best not to check the effect. In the event of a sudden situation, such as power failure, or even crashing, the data will be lost.

006

Switch & Socket

Switch & Socket,Sockets And Switches,Brass Plug Sockets,Light Switches And Sockets

WENZHOU TENGCAI ELECTRIC CO.,LTD , https://www.tengcaielectric.com

Posted on