Cache Settings

This page documents environment variables for configuring AIStor to use drive-level cache for frequently accessed objects.

When enabled, AIStor caches the metadata of accessed objects to node memory on PUT and GET requests. When the available memory reaches capacity, AIStor ejects the oldest last-accessed object from the cache. This keeps the most frequently accessed objects in the cache.

Cache configuration settings control fundamental AIStor behavior and functionality. Test configuration changes in a lower environment, such as DEV or QA, before applying to production.

Enable

Set to on to use the drive cache feature.

By default, AIStor Cache is not enabled.

Size

The amount of a node’s memory in megabytes for the drives on the node share for object cache. AIStor divides the allowed memory equally among all of the drives on the node.

If not specified, AIStor allows the node to use 25% of its memory for the cache.

AIStor does not allow a node to use more than 25% of its memory for the cache. If the value specified exceeds 25% of a node’s memory, AIStor limits that node’s cache to 25% of its memory.