Klennet Carver cache settings

Klennet Carver first caches data in RAM. RAM is faster than any other storage media, so it is always beneficial to hold at least some part of data in RAM. Then, if the source media is slow (as often happens with memory cards), it maybe beneficial to store a copy of the source data on a hard drive.

Both in-RAM and on-disk cache are limited to the size of the source media. If the entire source is cached, there is no point in using more RAM or disk.

RAM cache (primary)

RAM cache has a minimum size of 1 GB and a maximum size equal to half of the physical memory size.

Disk cache (secondary)

If the entire media fits in RAM cache, secondary cache is disabled as there is no need for it.

You can choose a folder on the drive where the cache is to be put. You may use the root of the drive as a cache location, or you may make a new folder and point there. The location you designate is benchmarked against the source media, and if there is no speed improvement, the location is refused. Once benchmark is complete, you can then adjust how much of disk space you want to be used for cache.

Default caching policy

Use at least 1 GB of RAM for cache. Use 1/4th of physical RAM, or the media size, whichever is smaller. If entire media fits in 1/4th of physical RAM, no secondary caching is attempted. This can easily be the case with smaller memory cards, 2 GB or 4 GB ones.

Then, if the system temporary folder is at least twice as fast as the source media, up to a half of the free space on the system temporary drive is used for the secondary cache.

This is very effective if the source media is a memory card and the system temporary drive is an SSD. When a normal rotation hard drive is used for a temporary drive, the improvement is limited but it is still there.