# US 2013/0086324 A1 · Intelligence for controlling virtual storage appliance storage allocation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0086324 A1
- Document ID: US20130086324A1
- Status: Published application
- Kind: A1
- Application number: 13/250,911
- Filed: 2011-09-30
- Published: 2013-04-04
- Earliest claimed: 2011-09-30
- Assignees: Net App, Inc.
- Inventors: GOKUL SOUNDARARAJAN; Kaladhar Voruganti; Lakshmi Narayanan Bairavasundaram; Priya Sehgal; Vipul Mathur
- Web page: https://patentgrep.com/patent/US20130086324A1

## CPC

- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0813: with a network or matrix configuration
- G06F 12/0888: using selective caching, e.g. bypass
- G06F 2212/2515: being configurable for different purposes, e.g. as cache or non-cache memory
- G06F 2212/284: being distributed
- G06F 2212/301: In special purpose processing node, e.g. vector processor
- G06F 2212/601: Reconfiguration of cache memory
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A change in workload characteristics detected at one tier of a multi-tiered cache is communicated to another tier of the multi-tiered cache. Multiple caching elements exist at different tiers, and at least one tier includes a cache element that is dynamically resizable. The communicated change in workload characteristics causes the receiving tier to adjust at least one aspect of cache performance in the multi-tiered cache. In one aspect, at least one dynamically resizable element in the multi-tiered cache is resized responsive to the change in workload characteristics.

## Claims

### Claim 1

A method in a multi-tiered cache comprising:
detecting, by a cache device controller for a tier of the multi-tiered cache, a change of workload characteristics at the tier of the multi-tiered cache, where at least one of the tiers of the multi-tiered cache includes a dynamically resizable cache element, and wherein each tier is managed by a cache device controller; and
communicating the detected change of workload characteristics from the controller to a different controller of a different tier of the multi-tiered cache to cause the different controller to adjust its caching size and policy in response to the detected changes.

### Claim 2 (depends on 1)

The method of claim 1, wherein detecting the change of workload characteristics comprises detecting one or more of a change in rate of cache miss, ratio of read versus write input/output (I/O) requests, I/O size, or ratio of random to sequential accesses.

### Claim 3 (depends on 1)

The method of claim 1, wherein detecting the change of workload characteristics comprises detecting a change in working set by detecting access to a set of data not already cached.

### Claim 4 (depends on 1)

The method of claim 1, wherein detecting the change of workload characteristics comprises detecting a change in a hierarchically highest tier of cache nearest a client, and further comprising communicating the detected change to a controller of a cache tier of a backend storage server.

### Claim 5 (depends on 1)

The method of claim 1, wherein to adjust the caching size and policy comprises dynamically de-provisioning a virtual storage appliance (VSA) acting as a cache tier to remove at least a portion of a tier of the multi-tiered cache.

### Claim 6 (depends on 1)

The method of claim 1, wherein to adjust the caching size and policy comprises dynamically instantiating a virtual storage appliance (VSA) as a cache tier to increase at least a portion of a tier of the multi-tiered cache.

### Claim 7 (depends on 1)

The method of claim 1, wherein to adjust the caching size and policy comprises changing a pre-fetch policy indicating an amount of read-ahead to perform, or changing a caching policy indicating how long to keep data.

### Claim 8 (depends on 1)

The method of claim 1, wherein to cause the different tier to adjust caching size and policy comprises to adjust caching size and policy in response to the detected changes only if the detected changes are changed by more than a preconfigured threshold.

### Claim 9 (depends on 1)

The method of claim 1, wherein two distinct workloads overlap access to at least a portion of cached data, wherein one of the workloads accesses data through a dynamic cache virtual storage appliance (VSA), and the other workload does not access data through the dynamic cache VSA, and wherein a change in behavior of the workload that does not access data through the dynamic cache VSA causes the dynamic cache VSA to adjust caching size and policy for the other workload.

### Claim 10 (depends on 1)

The method of claim 1, wherein to adjust the caching size and policy comprises adjusting a memory allocation size of the dynamically resizable cache element.

### Claim 11

A storage subsystem comprising:
a storage server having at least one tier of cache;
a dynamic cache virtual storage appliance (VSA) executing in a virtual machine hosted on hardware resources separate from the storage server, the dynamic cache VSA providing a second tier of the cache, the cache being multi-tiered and hierarchical, each tier including a controller to manage the cache tier; and
a communication protocol for cache communication between a controller the first tier of cache at the storage server and a controller of the second tier of cache at the dynamic cache VSA,
wherein at least the first tier of cache at the storage server, or the dynamic cache VSA, or both are dynamically resizable, and
wherein the controllers of the first and second tiers of cache are configured to detect a change of workload characteristics, and to communicate the detected change of workload characteristics to the other controller to cause the other controller to adjust cache size and policy for its cache tier in response to the detected changes.

### Claim 12 (depends on 11)

The storage subsystem of claim 11, wherein at least the controller of the second tier of cache is configured to detect one or more of a change in rate of cache miss, ratio of read versus write input/output (I/O) requests, I/O size, or ratio of random to sequential accesses.

### Claim 13 (depends on 11)

The storage subsystem of claim 11, wherein to adjust the caching size and policy comprises changing a pre-fetch policy indicating an amount of read-ahead to perform, or changing a caching policy indicating how long to keep data.

### Claim 14 (depends on 11)

The storage subsystem of claim 11, wherein the controllers of the first and second tiers of cache are configured to detect a change in workload characteristics only if the detected changes are greater than a threshold.

### Claim 15 (depends on 11)

The storage subsystem of claim 11, wherein the storage server is configured to adjust caching size and policy by de-provisioning a virtual storage appliance acting as a tier of dynamic cache to remove at least a portion of a tier of the multi-tiered cache, or by dynamically instantiating a virtual storage appliance as a tier of dynamic cache to increase at least a portion of a tier of the multi-tiered cache.

### Claim 16 (depends on 11)

The storage subsystem of claim 11, wherein the controllers of the first and second tiers of cache are further configured to receive a communication from a controller of a different tier of the multi-tiered cache indicating detection by the controller of the different tier of a change of workload characteristics at the different, determine from the communication to alter behavior of the multi-tiered cache in response to the detected change, and adjust how caching is performed in the multi-tiered cache in response to the detected changes at the other tier, including adjusting a memory allocation size of the dynamically resizable cache element.

### Claim 17 (depends on 11)

The storage subsystem of claim 11, wherein the controllers of the first and second tiers of cache are configured to adjust the caching size and policy by adjusting a memory allocation size of the dynamically resizable cache element.

### Claim 18

An article of manufacture comprising a computer-readable storage medium having content stored thereon, which when accessed by a computing device causes the computing device to perform operations including:
detecting, by a cache device controller for a tier of the multi-tiered cache, a change of workload characteristics at the tier of the multi-tiered cache, where at least one of the tiers of the multi-tiered cache includes a dynamically resizable cache element, and wherein each tier is managed by a controller;
communicating the detected change of workload characteristics from the controller to a different controller of a different tier of the multi-tiered cache to cause the different controller to adjust its caching size and policy in response to the detected changes, including adjusting a memory allocation size of the dynamically resizable cache element;
receiving a communication by the controller of the tier of the multi-tiered cache from the controller of the different tier indicating detection by the controller of the different tier of a change of workload characteristics at the different tier when the controller of the different tier detects the change of workload characteristic;
determining from the communication to alter behavior of the multi-tiered cache in response to the detected change of workload characteristics; and
adjusting how caching is performed in the multi-tiered cache in response to the detected changes at the different tier.

### Claim 19 (depends on 18)

The article of manufacture of claim 18, wherein detecting the change of workload characteristics comprises detecting one or more of a change in rate of cache miss, ratio of read versus write input/output (I/O) requests, I/O size, or ratio of random to sequential accesses.

### Claim 20 (depends on 18)

The article of manufacture of claim 18, wherein to adjust the caching size and policy comprises changing a pre-fetch policy indicating an amount of read-ahead to perform, or changing a caching policy indicating how tong to keep data.

### Claim 21 (depends on 18)

The article of manufacture of claim 18, wherein to cause the controller of the different tier to adjust caching size and policy comprises to adjust caching size and policy in response to the detected changes only if the detected changes are changed by more than a preconfigured threshold.

### Claim 22 (depends on 18)

The article of manufacture of claim 18, wherein adjusting the caching size and policy comprises adjusting the caching size and policy by de-provisioning a virtual storage appliance acting as a tier of dynamic cache to remove at least a portion of a tier of the multi-tiered cache, or by dynamically instantiating a virtual storage appliance as a tier of dynamic cache to increase at least a portion of a tier of the multi-tiered cache.

### Claim 23 (depends on 18)

The article of manufacture of claim 18, wherein adjusting the caching size and policy comprises adjusting a memory allocation size of the dynamically resizable cache element.
