Leaf Directory Name Cache Configuration Tutorial

Describes how to configure the cache for Leaf Directories in the FAT file system.

Before you start, you must:

The available size of the leaf directory name cache is customisable. The customisation enables the licensees to balance between the memory and performance of a system. A typical leaf directory name cache entry requires 10 bytes to 0.5 Kilobytes. The available memory for the cache is configured in the estart.txt file by specifying the number of entries to be cached in each drive. The developers must configure each drive available on the device.

To add the number of leaf directory names to be cached in the estart.txt file, do the following:

  1. Open the estart.txt file

  2. Create an entry for a drive

  3. Add the number of recently used files to be cached in the leaf directory name cache for a drive. For example, if 32 most recently used leaf directory names must be cached for drive <code>D:\</code>, then add the following entry in the estart.txt file.
    Note: The default value is 1. Even if there is no entry created in the estart.txt, the file server remembers the last visited entry created in the estart.txt, the file server remembers the last visited file. The recommended maximum value for the leaf directory name cache is 32.

  4. Repeat the steps 2 and 3 for other drives

  5. Save and close the estart.txt file

  6. Build the ROM

32 most recently used leaf directory names will be cached in the leaf directory name cache for drive D: