# US 2021/0286728 A1 · Cache and i/o management for analytics over disaggregated stores

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

- Number: US 2021/0286728 A1
- Document ID: US20210286728A1
- Status: Published application
- Kind: A1
- Application number: 17/337,280
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2019-10-01
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Virajith Jalaparti; Sriram S. Rao; Christopher W. Douglas; Ashvin Agrawal; Avrilia Floratou; Ishai Menache; Srikanth Kandula; Mainak Ghosh; Joseph Naor
- Web page: https://patentgrep.com/patent/US20210286728A1

## CPC

- G06F 12/0862: with prefetch
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 12/0891: using clearing, invalidating or resetting means
- H04L 67/1097: 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]
- H04L 67/62: Establishing a time schedule for servicing the requests
- G06F 2212/502: using adaptive policy
- G06F 2212/6024: History based prefetching
- G06F 2212/6028: Prefetching based on hints or prefetch instructions
- H04L 67/06: specially adapted for file transfer, e.g. file transfer protocol [FTP]
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods, systems, apparatuses, and computer program products are provided for prefetching data. A workload analyzer may identify job characteristics for a plurality of previously executed jobs in a workload executing on a cluster of one or more compute resources. For each job, identified job characteristics may include identification of an input dataset and an input bandwidth characteristic for the input dataset. A future workload predictor may identify future jobs expected to execute on the cluster based at least on the identified job characteristics. A cache assignment determiner may determine a cache assignment that identifies a prefetch dataset for at least one of the future jobs. A network bandwidth allocator may determine a network bandwidth assignment for the prefetch dataset. A plan instructor may instruct a compute resource of the cluster to load data to a cache local to the cluster according to the cache assignment and the network bandwidth assignment.

## Claims

### Claim 1

A system for prefetching data, comprising:
one or more processors; and
one or more memory devices that store program code configured to be executed by the one or more processors, the program code comprising:
a workload analyzer configured to identify a plurality of previously executed jobs in a workload executing on one or more compute resources;
a future workload predictor configured to identify a plurality of future jobs expected to execute on the one or more compute resources based at least on the previously executed jobs;
a cache assignment determiner configured to determine a cache assignment that identifies a prefetch dataset for at least one of the future jobs;
a network bandwidth allocator configured to determine a network bandwidth assignment for the prefetch dataset; and
a plan instructor configured to instruct a compute resource of the one or more compute resources to load data to a cache according to the cache assignment and the network bandwidth assignment.

### Claim 2 (depends on 1)

The system of claim 1, wherein the future workload predictor is configured to identify the plurality of future jobs expected to execute on the one or more compute resources for a planning window.

### Claim 3 (depends on 1)

The system of claim 1, wherein the cache assignment comprises a prefetch schedule, the prefetch schedule identifying a start time at which the prefetch dataset set should be obtained.

### Claim 4 (depends on 3)

The system of claim 3, wherein the prefetch schedule further identifies a time at which the prefetch dataset should be evicted from the cache.

### Claim 5 (depends on 1)

The system of claim 1, wherein the prefetch dataset is stored on one or more data stores located remotely from the one or more compute resources.

### Claim 6 (depends on 1)

The system of claim 1, wherein the workload analyzer is configured to identify job characteristics for each of the plurality of previously executed jobs offline from a workload production.

### Claim 7 (depends on 1)

The system of claim 1, wherein the cache manager further comprises:
a file block determiner configured to:
identify a file contained within each prefetch dataset, and
identify a location of the file as one or more blocks of a data store; and
wherein the plan instructor is configured to instruct the compute resource of the one or more compute resources to load data to the cache by obtaining the one or more blocks for the prefetch dataset according to the cache assignment and the network bandwidth assignment.

### Claim 8 (depends on 1)

The system of claim 1, wherein the network bandwidth allocator is further configured to allocate a total available network bandwidth between the prefetch dataset and a non-prefetch dataset, the non-prefetch dataset comprising a dataset designated for obtaining during execution of one of the future jobs.

### Claim 9

A method for prefetching data, comprising:
identifying a plurality of previously executed jobs in a workload executing on one or more compute resources;
identifying a plurality of future jobs expected to execute on the one or more compute resources based at least on the previously executed jobs;
determining a cache assignment that identifies a prefetch dataset for at least one of the future jobs;
determining a network bandwidth assignment for the prefetch dataset; and
instructing a compute resource of the one or more compute resources to load data to a cache according to the cache assignment and the network bandwidth assignment.

### Claim 10 (depends on 9)

The method of claim 9, wherein said identifying the plurality of future jobs comprises identifying the plurality of future jobs expected to execute on the one or more compute resources for a planning window.

### Claim 11 (depends on 9)

The method of claim 9, wherein the cache assignment comprises a prefetch schedule, the prefetch schedule identifying a start time at which the prefetch dataset set should be obtained.

### Claim 12 (depends on 11)

The method of claim 11, wherein the prefetch schedule further identifies a time at which the prefetch dataset should be evicted from the cache.

### Claim 13 (depends on 9)

The method of claim 9, wherein the prefetch dataset is stored on one or more data stores located remotely from the one or more compute resources.

### Claim 14 (depends on 9)

The method of claim 9, further comprising:
identifying job characteristics for each of the plurality of previously executed jobs offline from a workload production.

### Claim 15 (depends on 9)

The method of claim 9, wherein said determining the network bandwidth assignment comprises allocating a total available network bandwidth between the prefetch dataset and a non-prefetch dataset, the non-prefetch dataset comprising a dataset designated for obtaining during execution of one of the future jobs.

### Claim 16 (depends on 9)

The method of claim 9, further comprising:
instructing the compute resource to load data to the cache according to at least one of an updated cache assignment or an updated network bandwidth assignment.

### Claim 17

A computer-readable memory having computer program code recorded thereon that when executed by at least one processor causes the at least one processor to perform a method comprising:
identifying a plurality of previously executed jobs in a workload executing on one or more compute resources;
identifying a plurality of future jobs expected to execute on the one or more compute resources based at least on the previously executed jobs;
determining a cache assignment that identifies a prefetch dataset for at least one of the future jobs;
determining a network bandwidth assignment for the prefetch dataset; and
instructing a compute resource of the one or more compute resources to load data to a cache according to the cache assignment and the network bandwidth assignment.

### Claim 18 (depends on 17)

The computer-readable memory of claim 17, wherein the cache assignment comprises a prefetch schedule, the prefetch schedule identifying a start time at which the prefetch dataset set should be obtained.

### Claim 19 (depends on 18)

The computer-readable memory of claim 18, wherein the prefetch schedule further identifies a time at which the prefetch dataset should be evicted from the cache.

### Claim 20 (depends on 17)

The computer-readable memory of claim 17, wherein said determining the network bandwidth assignment comprises:
allocating a total available network bandwidth between the prefetch dataset and a non-prefetch dataset, the non-prefetch dataset comprising a dataset designated for obtaining during execution of one of the future jobs.
