JSI Tip 0231 - Disable Network Redirector File Caching.
August 22, 1997
If you receive System process-lost delayed write data or redirector has timed out, you may want to try disabling Network Redirector File Caching, even though this will slow up network I/O. Edit:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRdrParameters
and edit or Add Value name of UseWriteBehind with type REG_DWORD.
0 - Write back caching is not enabled.
1 - Write back caching is enabled, only if UtilizeNTCaching is set to 1.
Edit: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLanmanworkstationparameters
and edit or Add Value name of UtilizeNTCaching with type REG_DWORD.
0 - Data is written directly to the redirector, bypassing the cache.
1 - Lazy write (default) - Data is written to the cache and subsequently flushed to the Redirector.
Setting this value to 0 will insure that the file data is written to the server immediately.
Consider setting UseWriteBehind to a 1 and UtilizeNTCaching to a 1 first. If this doesn't solve your problem, edit or Add Value name of UseAsyncWriteBehind of type REG_DWORD and setting it to 0 to disable the asynchronous variant of write-behind caching. The default, 1, is to use asynchronous write-behind caching. UseAsyncWriteBehind only works when UseWriteBehind and UtilizeNTCaching are set to 1.
Lastly, if you still have a problem, set UtilizeNTCaching to a 0.
You will need to reboot.
NOTE: Write-behind (write-back) caching is an optimizing technique that does not wait for the lazy writer feature of the Cache Manager to flush it to the Redirector. Write-behind caching makes data available to the Redirector sooner, although it increases disk I/O slightly.
About the Author
You May Also Like