Set the cache-retention policy for Flash Pool local tiers (aggregates)
You can assign cache-retention policies to volumes in Flash Pool local tiers (aggregates). Data in volumes with a high cache-retention policy remains in cache longer and data in volumes with a low cache-retention policy is removed sooner. This increases performance of your critical workloads by making high priority information accessible at a faster rate for a longer period of time.
You should know whether your system has any conditions that might prevent the cache-retention policy from having an impact on how long your data remains in cache.
Use the CLI in advanced privilege mode to perform the following steps:
-
Change the privilege setting to advanced:
set -privilege advanced
-
Verify the volume's cache-retention policy:
By default the cache retention policy is “normal”.
-
Set the cache-retention policy:
ONTAP Version
Command
ONTAP 9.0, 9.1
priority hybrid-cache set volume_name read-cache=read_cache_value write-cache=write_cache_value cache-retention-priority=cache_retention_policy
Set
cache_retention_policy
tohigh
for data that you want to remain in cache longer. Setcache_retention_policy
tolow
for data that you want to remove from cache sooner.ONTAP 9.2 or later
volume modify -volume volume_name -vserver vserver_name -caching-policy policy_name.
-
Verify that the volume's cache-retention policy is changed to the option you selected.
-
Return the privilege setting to admin:
set -privilege admin