Edit File Cache Configuration

Use this page to edit settings for your file cache. The file cache is enabled by default.

The following table describes the fields and buttons on the page. The left column lists the fields and buttons; the right column describes the functionality.

Field or Button
Description

Enable File Cache

Check the box to turn on file cache feature.

Transmit File

Check the box if you want the server to cache open file descriptors for files in the file cache, rather than the file contents.

Hash Table Size

Enter a size. The default size is twice the maximum number of files plus 1. For example, if your maximum number of files is set to 1024, the default hash table size is 2049.

Maximum Age

Enter the maximum age (in seconds) for a valid cache entry. This setting controls how long cached information will continue to be used once a file has been cached. Set the maximum age based on whether the content is updated (existing files are modified) on a regular schedule or not.

Maximum # of Files

Enter a number of files.

Medium File Size Limit

Enter a size in bytes. The contents of "medium" files are cached by mapping the file into virtual memory.) By default this is 537600 (525K).

Small File Size Limit

Enter a size in bytes. The contents of "small" files are cached by allocating heap space and reading the file into it. By default this is 2048 (2K).

Medium File Space

Enter a number in bytes. The medium file space is the size of the virtual memory used to map all medium sized files. By default, this is 10MB.

Small File Space

Enter a number in bytes. The small file space is the size of heap space used for the cache, including heap space used to cache small files. By default, this is set to 1MB for UNIX, 0 for Windows NT.

OK

Saves your entries

Reset

Resets the values on the page to the default values.


Legal Notices
Copyright © 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.