Cache Settings
This page documents environment variables for configuring MinIO AIStor to cache frequently accessed objects in node memory.
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
There is no configuration setting for this variable, as these settings apply at server startup.
Set to on to use the cache.
By default, MinIO AIStor Cache is not enabled.
Size
There is no configuration setting for this variable, as these settings apply at server startup.
The amount of a node’s memory to use for the object cache, specified with a unit (MiB, GiB, MB, GB). A value without a unit is read as bytes.
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.