 |
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.
Windows 7 - Write-Caching - Enable or Disable Write-Caching - Enable or Disable How to Enable or Disable Write-Caching for a Storage Device in Windows 7
Published by Brink
05-18-2009
| Write-Caching - Enable or Disable How to Enable or Disable Write-Caching for a Storage Device in Windows 7  Information Write caching in a connected 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 hard disks or low cost flash memory) can accommodate them. Most devices that use write caching require that power be supplied continuously.
This will show you how to enable write caching to have better performace for a storage device, or disable write caching for quick removal of a storage device without having to use Safely Remove Hardware.  Tip If high data transfer performance is your main concern, you should enable both of these settings in OPTION TWO below: - In the Removal Policy section, select the Better Performance option.
- In the Write-caching policy section, select Enable write caching on the device (if the system hardware and storage device support these features).
 Warning You must be logged into a administrator account to be able to do this tutorial. OPTION ONE
Disable Write Caching for Quick Removal
 Note This option is usually the best choice for storage devices that you are likely to remove from the system frequently, such as USB flash drives, SD, MMC, Compact Flash, or similar memory cards, and other similar externally attached storage devices.
When you select the Quick Removal option, Windows 7 manages commands sent to the device using a method called write-through caching. In write-through caching, the device operates on write commands as if there were no cache. The cache may still provide a small performance benefit, but the emphasis is on treating the data as safely as possible by getting the commands to the storage device. The main benefit is that you can remove the storage device from the system quickly without risking data loss. For example, if a flash drive were to be accidentally pulled out of its port, the data being written to it is much less likely to be lost. 1. Open the Control Panel (icons view), and click on the Device Manager icon. 2. In Device Manger, double click on Disk drives to expand it, then double click on the listed storage device that you want to disable write caching for. (See screenshot below) 3. Click on the Polices tab. Under the upper Removal policy section, select (dot) Quick removal, or check the Turn off Windows write-cache buffer flushing on the device box, and click on OK. (See screenshot below)   4. Click on Yes to restart the computer to apply. (See screenshot below) WARNING: This will restart the computer immediately. You should save and close anything else that you are working on first.
OPTION TWO
Enable Write Caching for Better Performance
 Note This option is usually the best choice for storage devices that must provide the highest possible performance and that you intend to not remove from the system frequently, such as internal hard disk drives. If you choose this option and the device is disconnected from the system before all of the data is written to it (such as if you remove a USB flash drive), you could lose data. When using this option for a storage device (ex: USB flash drive), you must use Safely Remove Hardware to disconnect the device safely to prevent possible data loss.
When you select the Better Performance option, Windows 7 uses a method known as write-back caching. In this method, the storage device itself is allowed to determine whether using the high-speed cache will save time completing the write commands. If it will, the device signals to the computer that the data has been stored successfully even though the data may not actually be present in the storage device yet (such as the hard disk or flash memory). This method markedly increases the throughput of storage operations, which are often a major bottleneck for system performance overall. However, if the power supplied to the device (ex: external hard drive) fails for any reason, any data still in the cache (that the computer system believes is safely stored) could be lost.
By default, Windows 7 uses cache flushing. This means that the system will periodically instruct the storage device to write all data waiting in the cache to the storage device. When you select Enable write caching on this device, you turn can turn off these periodic commands to transfer the data. Not all devices support all of these features. 1. Open the Control Panel (icons view), and click on the Device Manager icon. 2. In Device Manger, double click on Disk drives to expand it, then double click on the listed storage device that you want to enable write caching for. (See screenshot below) 3. Click on the Polices tab. Under the upper Removal policy section, select (dot) Better performance. (See screenshots below) NOTE: By default, Enable write caching on the device is also checked. If not, then check it as well.  4. To Turn Off Windows Write-cache Buffer Flushing on the Device WARNING: To Prevent data loss. Do not check this option unless the storage device has a separate power supply that allows the device to flush it's buffer in case of a power failure.A) Select (check) the Turn off Windows write-cache buffer flushing on the device box. (See screenshots above) 5. Click on OK. (See screenshot below step 3) 6. Click on Yes to restart the computer to apply. (See screenshot below) WARNING: This will restart the computer immediately. You should save and close anything else that you are working on first.
That's it,
Shawn |  Published by | | Administrator Join Date: Oct 2008 Location: Texas Posts: 37,001 | |
 Tutorial Tools | | | | | | | | | |
06-17-2009
|
#1 | | |
What happens if the "policies' tab does not show up?
I am running a sans-digital TR5M external box. All hard drives show up in device manager, but none have the policies tab.
| My System Specs | | |
06-17-2009
|
#2 | | Windows 7 Ultimate x64 SP1 |
Hello Swears,
It looks like it may not support being changed with that type of connection. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
07-13-2009
|
#3 | | Windows 7 Professional x64 |
I have heard some people taking about disabling this for SSDs since they don't have a cache. Does anybody know if this would be a good idea - or would it even make a difference? | My System Specs | | System Manufacturer/Model Number Keeps changing - (Custom) OS Windows 7 Professional x64 CPU Intel Core i7 860 Motherboard Gigabyte GA-P55-UD4P Memory 4GB DDR3 Mushkin 1600Mhz @ 7-8-7-20 Graphics Card MSI GTS250 1GB DDR3 Twin Frozr Sound Card Onboard realtek Monitor(s) Displays Samsung SyncMaster 24" P2450 + Samsung 20" 2033 Screen Resolution 1920 X 1080 and 1600 X 900 (#2 system 1440 X 900) Keyboard Gigabyte USB keyboard Mouse Microsoft wireless laser mouse 5000 PSU Corsair 750 HX Modular Case Lancool PC-K62 Cooling Cooler Master TX3 CPU cooler and 4-140mm and 1-120mm case Hard Drives Patriot Inferno 120GB SSD + 3 WD Blue 640GB drives Internet Speed 7 Mb down 1.5 up Other Info System #2: AMD Phenom II X6 1055T (Freezer 7 Pro cooler) - Gigabyte 880GMA-UD2H - WD 500GB Black - 9500GT (1GB) 500W OCZ modular PSU - Antec 200 case. System #3 (LapTop) Core 2 Duo T6670 - 320GB 7200RPM HD - 4GB DDR3 RAM. |
07-13-2009
|
#4 | | Windows 7 Ultimate x64 SP1 |
Hi Nate,
You can give it a try with the write cache enabled and disabled to see how it runs for you, but it was faster with my SSD with it still enabled. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
07-13-2009
|
#5 | | Windows 7 Professional x64 |
Okay, thanks Brink. I think I'll just leave it. The more I read about these things the more I want to keep needless writing off of them. I just want to make it last a long time at these speeds. It's very, very nice to have an SSD with 8GB of 1066 RAM. (looks like you have the same) Thanks again for answering. | My System Specs | | System Manufacturer/Model Number Keeps changing - (Custom) OS Windows 7 Professional x64 CPU Intel Core i7 860 Motherboard Gigabyte GA-P55-UD4P Memory 4GB DDR3 Mushkin 1600Mhz @ 7-8-7-20 Graphics Card MSI GTS250 1GB DDR3 Twin Frozr Sound Card Onboard realtek Monitor(s) Displays Samsung SyncMaster 24" P2450 + Samsung 20" 2033 Screen Resolution 1920 X 1080 and 1600 X 900 (#2 system 1440 X 900) Keyboard Gigabyte USB keyboard Mouse Microsoft wireless laser mouse 5000 PSU Corsair 750 HX Modular Case Lancool PC-K62 Cooling Cooler Master TX3 CPU cooler and 4-140mm and 1-120mm case Hard Drives Patriot Inferno 120GB SSD + 3 WD Blue 640GB drives Internet Speed 7 Mb down 1.5 up Other Info System #2: AMD Phenom II X6 1055T (Freezer 7 Pro cooler) - Gigabyte 880GMA-UD2H - WD 500GB Black - 9500GT (1GB) 500W OCZ modular PSU - Antec 200 case. System #3 (LapTop) Core 2 Duo T6670 - 320GB 7200RPM HD - 4GB DDR3 RAM. |
07-13-2009
|
#6 | | Windows 7 Ultimate x64 SP1 |
You're welcome Nate. I think I'll get working on a optimizing SSD tutorial next. | My System Specs | | System Manufacturer/Model Number Self built custom OS Windows 7 Ultimate x64 SP1 CPU Intel i7-980X 3.3 Ghz (3.48 Ghz OC'd) Motherboard ASUS P6X58D Premium Memory 12 GB (2GBx6) DDR3 PC3-16000 2000 MHz Kingston HyperX Graphics Card Sapphire HD5870 Eyefinity 6 2GB Sound Card Realtek HD Audio ALC889 Integrated Chip Monitor(s) Displays 3x 27" Asus VE278Q Screen Resolution 1920x1080 Keyboard Logitech Cordless Desktop MX 5500 Revolution Mouse Logitech Cordless Desktop MX 5500 Revolution PSU OCZ Series Gold OCZZ1000M 1000W Case Corsair Obsidian 800D Cooling Thermalright Ultra 120 Extreme Copper CPU heat sink w/120 MM Hard Drives 160GB OCZ RevoDrive X2
** 2 x 1TB Samsung HDD HD154UI SATA Internet Speed 50 Mb/s Download and 2 Mb/s Upload Other Info Microsoft LifeCam Cinema
** Lite-On iHBS212 12x BD Writer
** Samsung CLX-3175FW Printer
** Netgear WNDR3800 Router
** Motorola SBG6580 Cable Modem
** 2x APC Back-UPS XS 1500 |
07-13-2009
|
#7 | | Windows 7 Professional x64 |
Oh, that would be my dream. I sure wish there was something out there. They say Windows 7 treats SSDs different but I have seem no evidence of this. I hope the final release does. | My System Specs | | System Manufacturer/Model Number Keeps changing - (Custom) OS Windows 7 Professional x64 CPU Intel Core i7 860 Motherboard Gigabyte GA-P55-UD4P Memory 4GB DDR3 Mushkin 1600Mhz @ 7-8-7-20 Graphics Card MSI GTS250 1GB DDR3 Twin Frozr Sound Card Onboard realtek Monitor(s) Displays Samsung SyncMaster 24" P2450 + Samsung 20" 2033 Screen Resolution 1920 X 1080 and 1600 X 900 (#2 system 1440 X 900) Keyboard Gigabyte USB keyboard Mouse Microsoft wireless laser mouse 5000 PSU Corsair 750 HX Modular Case Lancool PC-K62 Cooling Cooler Master TX3 CPU cooler and 4-140mm and 1-120mm case Hard Drives Patriot Inferno 120GB SSD + 3 WD Blue 640GB drives Internet Speed 7 Mb down 1.5 up Other Info System #2: AMD Phenom II X6 1055T (Freezer 7 Pro cooler) - Gigabyte 880GMA-UD2H - WD 500GB Black - 9500GT (1GB) 500W OCZ modular PSU - Antec 200 case. System #3 (LapTop) Core 2 Duo T6670 - 320GB 7200RPM HD - 4GB DDR3 RAM. |
07-13-2009
|
#8 | | Windows 7 Professional 64-bit |
Mine looks like this:
Looks like half the page is missing. | My System Specs | | System Manufacturer/Model Number self built OS Windows 7 Professional 64-bit CPU Intel E8400 3GHz Motherboard Intel DX48BT2 Memory Kingston PC3-10700H 4Gb Graphics Card XFX Radeon HD 5850 BlackEd. Sound Card Asus Xonar DG Monitor(s) Displays 2x Samsung SM-T220HD 22" Screen Resolution 1680x1050 on two monitors Keyboard Microsoft Comfort Curve USB Mouse Razer Diamondback 3G PSU Thermaltake ToughPower 850w Case Thermaltake Armor Cooling Scythe Mugen II Hard Drives OCZ Vertex 2 120gb 3.5" (OS)
Seagate Momentus XT 500gb
Samsung F3 1Tb (games)
2x Samsung F1 1Tb Internet Speed 8128/443 |
07-13-2009
|
#9 | | Windows 7 Professional x64 |
Mine too Swarfega. I guess I will leave it. I am just concerned about needless write activity on my SSD that I really don't need. I read on some forums that this is needless (on SSDs) since they have no cache. Some have a buffer though. I am confused. I hope I the 2.5 million hour estimated life span is right on mine. | My System Specs | | System Manufacturer/Model Number Keeps changing - (Custom) OS Windows 7 Professional x64 CPU Intel Core i7 860 Motherboard Gigabyte GA-P55-UD4P Memory 4GB DDR3 Mushkin 1600Mhz @ 7-8-7-20 Graphics Card MSI GTS250 1GB DDR3 Twin Frozr Sound Card Onboard realtek Monitor(s) Displays Samsung SyncMaster 24" P2450 + Samsung 20" 2033 Screen Resolution 1920 X 1080 and 1600 X 900 (#2 system 1440 X 900) Keyboard Gigabyte USB keyboard Mouse Microsoft wireless laser mouse 5000 PSU Corsair 750 HX Modular Case Lancool PC-K62 Cooling Cooler Master TX3 CPU cooler and 4-140mm and 1-120mm case Hard Drives Patriot Inferno 120GB SSD + 3 WD Blue 640GB drives Internet Speed 7 Mb down 1.5 up Other Info System #2: AMD Phenom II X6 1055T (Freezer 7 Pro cooler) - Gigabyte 880GMA-UD2H - WD 500GB Black - 9500GT (1GB) 500W OCZ modular PSU - Antec 200 case. System #3 (LapTop) Core 2 Duo T6670 - 320GB 7200RPM HD - 4GB DDR3 RAM. Write-Caching - Enable or Disable problems? All times are GMT -5. The time now is 12:04 PM. |  |