Cache Settings

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

When enabled, MinIO AIStor caches the metadata of accessed objects to node memory on PUT and GET requests. When the available memory reaches capacity, MinIO 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 MinIO 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, MinIO 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. MinIO AIStor divides the allowed memory equally among all of the drives on the node.

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

MinIO 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, MinIO AIStor limits that node’s cache to 25% of its memory.