Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Change the Directory Cache Memory Setting

Applies To: Windows Server 2008 R2

Server for NFS maintains a cache of directory information that it can search instead of directories on the physical disk. By default, this cache is configured to use 128 KB of memory per directory that Server for NFS caches. You can change the amount of memory that the directory cache uses by configuring the folder cache size using the command prompt.

Changing the directory cache memory setting

The following procedure describes how to adjust the amount of memory the directory cache uses.

To configure the folder cache size using the command prompt
  1. Open a command prompt with elevated privileges.

    1. Click Start, and then click All Programs.

    2. Point to Accessories, right-click the Command Prompt icon, and then click Run as administrator.

  2. Type the following:

    nfsadmin server [\\ remoteMachineName ] config dircache= size


    Value Description


    The name of the computer you want to configure.


    The size in kilobytes (KB) to set the directory cache to. The default size is 128 KB.

To view the complete syntax for this command, at a command prompt, type:

nfsadmin server /?

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft