Page 1:Optimizing Precious Solid-State Storage
Page 2:Start By Enabling AHCI (With TRIM)
Page 3:Disable System Restore And Drive Indexing
Page 4:Disable The Page File And Hibernation
Page 5:Disable Prefetch, SuperFetch, And Windows Write-Cache Buffer Flushing
Page 6:Disable SuperFetch (Again), Windows Search, ClearPageFileAtShutdown, And LargeSystemCache
Page 7:Power Settings Adjustment
Page 8:Test Setup And Method
Page 9:Benchmark Results: CrystalDiskMark
Page 10:Reclaiming Storage Capacity
Page 11:Benchmark Results: Iometer
Page 12:Benchmark Results: Iometer Streaming
Page 13:Benchmark Results: 4 KB Random Reads And Writes
Page 14:Benchmark Results: PCMark Vantage Storage Test
Page 15:What's The Deal With Write-Cache Buffer Flushing?
Disable Prefetch, SuperFetch, And Windows Write-Cache Buffer Flushing
Disable Prefetch and SuperFetch
How to disable:
- Type Regedit into the Start menu's Search box
- Select the file path "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SessionManager\Memory Management\PrefetchParameters"
- Right-click on both EnablePrefetcher and EnableSuperfetch
- Select Modify on each of these to change the value from 1 (or 3) to 0
SuperFetch is designed to cache files used often. Given the low access times of SSDs, this option can be disabled. If you installed Windows 7 on an SSD, it should, in fact, be disabled automatically.
Prefetch loads pieces of program files into RAM. By disabling this feature, you free up your system memory.
Disable Windows Write-Cache Buffer Flushing
This is one of those tweaks that isn't universal to all SSDs. In fact, it's not recommended if you own an Intel drive, as it purportedly has a negative impact on performance. If anything, take note of your storage subsystem's performance before and after this alteration to determine if it's something you really want to use or not.
How to disable:
- Right-click Computer in the Start menu, then select Properties
- Select Device Manager
- Select Disk drives
- Right-click your SSD and select Properties
- Under the Polices tab, check the Turn off Windows write-cache buffer flushing on the device box
Per Windows Help, "Write caching in a storage device refers to the use of high-speed volatile memory to collect write commands sent to data storage devices and cache them until the slower storage media (either physical disks or low-cost flash memory) can accommodate them."
In the case of a hard drive, the operating system flushes commands to a disk's on-board cache. That doesn't mean it's safe yet, though. So, it waits for the drive to report back that cached data has been written to the magnetic media. If you're more concerned with performance than the integrity of your data, turning off write-cache buffer flushing skips that extra command to flush the internal RAM buffer.
For a more detailed explanation of flushing and the risks associated with turning it off, check out Microsoft employee Raymond Chen's personal blog post on the topic.
- Optimizing Precious Solid-State Storage
- Start By Enabling AHCI (With TRIM)
- Disable System Restore And Drive Indexing
- Disable The Page File And Hibernation
- Disable Prefetch, SuperFetch, And Windows Write-Cache Buffer Flushing
- Disable SuperFetch (Again), Windows Search, ClearPageFileAtShutdown, And LargeSystemCache
- Power Settings Adjustment
- Test Setup And Method
- Benchmark Results: CrystalDiskMark
- Reclaiming Storage Capacity
- Benchmark Results: Iometer
- Benchmark Results: Iometer Streaming
- Benchmark Results: 4 KB Random Reads And Writes
- Benchmark Results: PCMark Vantage Storage Test
- What's The Deal With Write-Cache Buffer Flushing?