Configure lookup caching of files placed on network shares
23 June 2005 by Snakefoot | Comment » | Trackback OffThe SMB Redirector keeps a cache of recent accessed files, but by default it only caches short-filenames. If frequently accessing the same network files (Like ex. a database), then performance can be improved by using 8.3 short-filenames. Another solution is to configure the SMB redirector to cache long-filenames.
Note there is a limit for how many file handles the client redirector will keep it in its cache:[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \MRxSmb \Parameters]
InfoCacheLevel = 16 (Default = 1, Disabled = 0, Both Long & Short = 16)
Note WinXP requires SP2 to recognize this registry-key. More Info MS KB Q834350
Note Win2k requires a post SP4 hotfix (Included in the Update Rollup) from Microsoft to recognize this registry-key. More Info MS KB Q843418
Note the client redirector has a scavenger thread, which cleans old file handles from its cache. One can configure how often it should look for old handles to remove (WinXP/Win2k3):[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \LanmanWorkstation \Parameters]
DormantFileLimit = 45 (Default = 45)
More Info MS KB Q890584
Credits www.jsifaq.com[HKEY_LOCAL_MACHINE \SYSTEM \CurrentControlSet \Services \LanmanWorkstation \Parameters]
ScavengerTimeLimit = 30 (Default = Every 10 secs, Min = 10 secs, Max = 120 secs)
More Info MS KB Q816073
More Info MS KB Q890553
Tags:
Category:
Updated: 23 September 2007