# US 2012/0233409 A1 · Managing shared memory used by compute nodes

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

- Number: US 2012/0233409 A1
- Document ID: US20120233409A1
- Status: Published application
- Kind: A1
- Application number: 13/045,547
- Filed: 2011-03-11
- Published: 2012-09-13
- Earliest claimed: 2011-03-11
- Assignees: Microsoft Corporation
- Inventors: Jonathan Ross; Jork Loeser
- Web page: https://patentgrep.com/patent/US20120233409A1

## CPC

- G06F 12/0837: with software control, e.g. non-cacheable data
- G06F 12/084: with a shared cache
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technology can be provided for managing shared memory used by a plurality of compute nodes. An example system can include a shared globally addressable memory to enable access to shared data by the plurality of compute nodes. A memory interface can process memory requests sent to the shared globally addressable memory from the plurality of processors. A memory write module can be included for the memory interface to allocate memory locations in the shared globally addressable memory and write read-only data to the globally addressable memory from a writing compute node. In addition, a read module for the memory interface can map read-only data in the globally addressable shared memory as read-only for subsequent accesses by the plurality of compute nodes.

## Claims

### Claim 1

A system for managing shared memory used by a plurality of compute nodes, comprising:
a shared globally addressable memory to enable access to shared data by the plurality of compute nodes;
a memory interface to process memory requests sent to the shared globally addressable memory from the plurality of compute nodes;
a memory write module for the memory interface to allocate memory locations in the shared globally addressable memory and write read-only data to the globally addressable memory from a writing compute node; and
a read module for the memory interface to map read-only data in the globally addressable shared memory as read-only for subsequent accesses by the plurality of compute nodes.

### Claim 2 (depends on 1)

The system as in claim 1, wherein the memory write module publishes access to read-only data for the shared globally addressable memory, wherein read-only access is enabled for the plurality of compute nodes.

### Claim 3 (depends on 1)

The system as in claim 1, wherein read operations of the read-only data in shared globally addressable memory by compute nodes are enabled by fetching read-only data directly from the shared globally addressable memory.

### Claim 4 (depends on 1)

The system as in claim 1, wherein the shared globally addressable memory is mapped as non-cacheable.

### Claim 5 (depends on 4)

The system as in claim 4, wherein writes are written immediately to the shared globally addressable memory.

### Claim 6 (depends on 1)

The system as in claim 1, wherein applications using the shared globally addressable memory use an application program interface (API) of an operating system to enable a writing compute node to write once to the shared globally addressable memory and enable reading compute nodes to read the read-only data an unlimited number of times.

### Claim 7 (depends on 1)

The system as in claim 1, wherein the read module allows compute nodes to cache copies of the read-only memory.

### Claim 8 (depends on 1)

The system as in claim 1, wherein the memory write module can ensure read-only data desired to be shared is current by flushing a write cache of the writing compute node.

### Claim 9 (depends on 1)

The system as in claim 1, wherein the memory interface is a memory driver or an operating system interface.

### Claim 10

A method for managing shared memory used by a plurality of compute nodes, comprising:
allocating memory in a shared globally addressable memory using a memory write module;
writing read-only data to allocated memory of the shared globally addressable memory;
publishing the read-only data as being readable by read compute nodes via the shared globally addressable memory;
mapping shared globally addressable memory for reading by the read compute nodes; and
allowing access to read-only data in the shared globally addressable memory by the read compute nodes.

### Claim 11 (depends on 10)

The method as in claim 10, further comprising flushing writing caches in order to write read-only data to the shared globally addressable memory.

### Claim 12 (depends on 10)

The method as in claim 10, further comprising enabling access to the shared globally addressable memory for writing read-only data by a write compute node using the memory write module.

### Claim 13 (depends on 10)

The method as in claim 10, further comprising mapping the shared globally addressable memory as non-cacheable.

### Claim 14 (depends on 13)

The method as in claim 13, further comprising flushing cache writes immediately to the shared globally addressable memory.

### Claim 15 (depends on 10)

The method as in claim 10, further comprising providing an application program interface (API) of an operating system usable by applications desiring to access the shared globally addressable memory to enable a writing compute node to write once to the shared globally addressable memory and to enable read compute nodes to consume read-only data an unlimited number of times.

### Claim 16 (depends on 10)

The method as in claim 10, further comprising allowing compute nodes to cache copies of the read-only data.

### Claim 17 (depends on 10)

The method as in claim 10, further comprising using a memory interface that is a memory driver or an operating system interface.

### Claim 18

A system for managing shared memory used by a plurality of compute nodes, comprising:
a shared globally addressable memory to enable access to shared data by the plurality of compute nodes;
a memory interface to process requests to the shared globally addressable memory from the plurality of compute nodes;
a memory write module of the memory interface to allocate shared globally addressable memory in the shared globally addressable memory and write read-only data to the globally addressable memory from a writing compute node;
a read module of the memory interface to map read-only data in the globally addressable shared memory as read-cacheable memory and read-only to reading compute nodes; and
a re-write access module to allow the write compute node to restrict access to the read-only data in the shared globally addressable memory while the read-only data is updated.

### Claim 19 (depends on 18)

The system as in claim 18, wherein the re-write notification module can notify the read module that read-only data is not readable until after the read-only data is updated.

### Claim 20 (depends on 18)

The system as in claim 18, wherein the re-write notification module can use a data structure in the shared globally addressable memory for the read-only data to block read access to the read-only data until a re-write update from the write compute node has been completed.
