# US 2015/0149663 A1 · System and Method for Providing Performance Sampling in a Computing System

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

- Number: US 2015/0149663 A1
- Document ID: US20150149663A1
- Status: Published application
- Kind: A1
- Application number: 14/088,090
- Filed: 2013-11-22
- Published: 2015-05-28
- Earliest claimed: 2013-11-22
- Assignees: NetApp, Inc.
- Applicants: NetApp, Inc.
- Inventors: Joseph Weihs
- Web page: https://patentgrep.com/patent/US20150149663A1

## CPC

- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3096: {wherein the means or processing minimize the use of computing system or of computing system component resources, e.g. non-intrusive monitoring which minimizes the probe effect: sniffing, intercepting, indirectly deriving the monitored data from other directly available data}
- G06F 11/348: {Circuit details, i.e. tracer hardware}
- G06F 2201/81: Threshold
- G06F 2201/88: Monitoring involving counting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method performed by a computer system, the method including maintaining a plurality of work-based counters, each of the work-based counters being associated with a respective functional entity of a plurality of functional entities, in response to determining that a first one of the work-based counters has reached a threshold, sampling a performance data of a first functional entity associated with the first one of the work-based counters, and presenting the sampled performance data to an analysis tool separate from an operating system of the computer system.

## Claims

### Claim 1

A computer program product having a computer readable medium tangibly recording computer program logic for monitoring performance of a computer system, the computer system in communication with a performance management tool, the computer program product comprising:
code to collect performance data from a plurality of functional entities in the computer system; and
code to send at least a subset of the performance data to the management tool in accordance with a work-based counter of the computer system.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the work-based counter comprises:
a counter of a number of operations performed by at least one of the functional entities;
a counter of a throughput parameter of at least one of the functional entities.

### Claim 3 (depends on 2)

The computer program product of claim 2, wherein the throughput parameter includes an amount of data processed by the at least one functional entity; and
wherein the operations include read operations, write operations and metadata operations.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the code to collect performance data comprises:
code to sample performance counters, associated with the plurality of functional entities, according to the work-based counter.

### Claim 5 (depends on 1)

The computer program product of claim 1, wherein the code to collect performance data comprises:
code to sample performance counters, associated with the plurality of functional entities, according to a system clock; and
code to filter the sampled performance counters by the work-based counter to eliminate ones of the sampled performance counters from a functional entity that has not reached a threshold number of operations.

### Claim 6 (depends on 1)

The computer program product of claim 1, wherein code to collect performance data comprises:
code to monitor a plurality of operations counters, each of the operations counters corresponding to a respective one of the objects, each operation counter tracking a number of read and write operations for its respective functional entity; and
code to discern that a first one of the operations counters has reached a threshold number of operations; and
code to sample performance data for a functional entity associated with the first one of the operations counters.

### Claim 7 (depends on 6)

The computer program product of claim 6, wherein the code to send at least a subset of the performance data comprises:
code to send the performance data, for the functional entity associated with the first one of the operations counters, to the management tool.

### Claim 8 (depends on 1)

The computer program product of claim 1, wherein the code to collect performance data and the code to send at least a subset of the performance data is run in a storage operating system.

### Claim 9 (depends on 1)

The computer program product of claim 1, wherein the functional entities include one or more of storage volumes, logical storage volumes, storage drive aggregates, and network nodes.

### Claim 10

A method performed by a computer system, the method comprising:
maintaining a plurality of work-based counters, each of the work-based counters being associated with a respective functional entity of a plurality of functional entities;
in response to determining that a first one of the work-based counters has reached a threshold, sampling a performance data of a first functional entity associated with the first one of the work-based counters; and
presenting the sampled performance data to an analysis tool separate from an operating system of the computer system.

### Claim 11 (depends on 10)

The method of claim 10, wherein the first one of the work-based counters tracks a number of storage operations performed by the first functional entity.

### Claim 12 (depends on 10)

The method of claim 10, wherein the first one of the work-based counters tracks an amount of throughput of the first functional entity.

### Claim 13 (depends on 10)

The method of claim 10, wherein the method is performed by a storage operating system that runs on a cluster of storage controllers.

### Claim 14 (depends on 10)

The method of claim 10, wherein the plurality of functional entities include one or more of storage volumes, logical storage volumes, storage drive aggregates, and storage network nodes.

### Claim 15 (depends on 10)

The method of claim 10, wherein the first functional entity comprises a logical volume that is implemented on a plurality of physical storage drives, and wherein the sampled performance data includes response times for the plurality of physical storage drives.

### Claim 16

A storage controller in a storage system, the storage controller comprising:
a processor; and
a memory accessible by the processor and storing computer-readable instructions, the processor performing the following actions by executing the instructions:
tracking a workload parameter of a storage volume, the workload parameter indicating an amount of work performed by the storage volume;
sampling performance data of the storage volume; and
transferring the sampled performance data to a monitoring tool separate from the storage controller, wherein the transferring is performed at a time determined by the workload parameter.

### Claim 17 (depends on 16)

The storage controller of claim 16, wherein sampling the performance data of the storage volume comprises:
performing the sampling according to a system clock, wherein sampling is performed for a plurality of storage volumes in the storage system, the plurality including the storage volume; and
discarding performance data for ones of the storage volumes that have not reached a threshold workload level.

### Claim 18 (depends on 16)

The storage controller of claim 16, wherein sampling performance data of the storage volume is performed in response to determining that the workload parameter has reached a threshold.

### Claim 19 (depends on 16)

The storage controller of claim 16, wherein the workload parameter indicates a throughput of the storage volume.

### Claim 20 (depends on 16)

The storage controller of claim 16, wherein workload parameter indicates a number of storage operations performed by the storage volume.
