Describes how to configure the directory cache in a FAT file system enabled drive.
Before you start, you must:
have the knowledge of the FAT file system
have the knowledge of the directory cache
have the knowledge of the global cache manager.
The developers can configure the directory cache memory with a dynamic range. The memory allocation for directory cache on a drive depends on the available global cache memory. The global cache manager allocates memory to various cache memory on different drives. The directory cache for a drive can be configured with a dynamic range in the estart.txt file. The dynamic range configuration consists of two values :
FAT_DirCacheSizeMin specifies the minimum size of global cache to be allocated to the directory cache on a drive.
FAT_DirCacheSizeMax specifies the maximum size of the global cache to be allocated to the directory cache of a drive.
The minimum size of the directory cache is permanently reserved during the file server startup time. The maximum memory allocation depends on the available system memory and hence not guaranteed under low memory conditions.
The size of the cache memory is specified in Kilobytes. The default value for both the parameters is 128 Kilobytes.
The sample entry for drive D is shown below:
[DriveD] FAT_DirCacheSizeMin 128 FAT_DirCacheSizeMax 256
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.