Enhance Performance
KeyView is designed for optimal performance out of the box. However, there are some parameters that you can adjust to improve performance specifically for your system.
File Caching
To reduce the frequency of I/O operations, and consequently improve performance, the KeyView readers load file data into memory. The readers then read the data from the cache rather than the physical disk. You can configure the amount of memory used for file caching through the formats_e.ini
file. Generally, when you increase the memory, performance improves.
By default, KeyView uses a maximum of 1 MB of memory for each thread. If the file data is larger than 1 MB, up to 1 MB of data is cached and the data beyond 1 MB is read from disk. The minimum amount of memory that can be used for file caching is 64 KB.
To determine a reasonable value, divide the maximum amount of memory you want KeyView to use for file caching by the total number of threads. For example, if you want KeyView to use a maximum of 50 MB of memory and have 10 threads, set the value to 5 MB.
To modify the memory allocated for file caching, change the value for the following parameter in the [DiskCache]
section of the formats_e.ini
file:
DiskCacheSize=1024
The value is in kilobytes. If this parameter is not set or is set to 0
(zero), the minimum value of 64 KB is used.
The formats_e.ini
file is in the directory install\OS\bin
, where install
is the path name of the Export installation directory and OS
is the name of the operating system.