# US 2008/0313405 A1 · Coherency maintaining device and coherency maintaining method

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

- Number: US 2008/0313405 A1
- Document ID: US20080313405A1
- Status: Published application
- Kind: A1
- Application number: 12/222,726
- Filed: 2008-08-14
- Published: 2008-12-18
- Earliest claimed: 2006-02-14
- Assignees: Fujitsu Limited
- Inventors: Hideki Sakata; Hiroyuki Kojima; Masaki Ukai
- Web page: https://patentgrep.com/patent/US20080313405A1

## CPC

- G06F 12/0817: using directory methods
- G06F 12/0811: with multilevel cache hierarchies
- G06F 12/0822: {Copy directories (local copy tags for implementing a bus snooping protocol G06F12/0831)}
- G06F 12/0864: using pseudo-associative means, e.g. set-associative or hashing
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A second-level cache device stores part of registration information of data for a first-level cache device in a second-level cache-tag unit in association with registration information in a second-level-cache data unit, and stores the registration information of data for the first-level cache device in a first-level cache-tag copying unit. A coherency maintaining processor maintains coherency between the first-level cache device and the second-level cache device based on the information stored in the second-level cache-tag unit and the first-level cache-tag copying unit.

## Claims

### Claim 1

A coherency maintaining device that maintains coherency between a first cache memory and a second cache memory that stores data in the first cache memory, the device comprising:
a first memory unit that has a predetermined number of entries and stores part of registration information of data for the first cache memory; and
a second memory unit that has entries less than the entries of the first memory unit and stores remaining part of the registration information.

### Claim 2 (depends on 1)

The coherency maintaining device according to claim 1, further comprising a coherency maintaining unit that maintains coherency between the first cache memory and the second cache memory, wherein
the part of the registration information stored in the first memory unit includes share information indicating whether data corresponding to a read request received by the second cache memory is shared by a plurality of first cache memories, and
upon receipt of a read request, the coherency maintaining unit acquires the share information of data corresponding to the read request and, when the data is shared, the coherency maintaining unit maintains the coherency based on the remaining part of the registration information stored in the second memory unit.

### Claim 3 (depends on 2)

The coherency maintaining device according to claim 2, wherein the coherency maintaining unit simultaneously accesses the part of the registration information stored in the first memory unit and the remaining part of the registration information stored in the second memory unit based on a physical address and a logical address included in the read request.

### Claim 4 (depends on 1)

The coherency maintaining device according to claim 1, further comprising an error correction unit that, when an error occurs in data stored in the first cache memory, corrects the data having the error based on the remaining part of the registration information stored in the second memory unit.

### Claim 5 (depends on 4)

The coherency maintaining device according to claim 4, wherein, when an error occurs in data stored in the first cache memory, the error correction unit determines whether to delete the data having the error based on the remaining part of the registration information stored in the second memory unit, and deletes the data having the error based on a determination result.

### Claim 6 (depends on 1)

The coherency maintaining device according to claim 1, wherein the first memory unit stores information on registration state of data for the second cache memory in association with the part of the registration information.

### Claim 7 (depends on 6)

The coherency maintaining device according to claim 6, wherein the first memory unit stores information for determining whether there is a hit for a read request, information indicating whether the data stored in the first memory unit is valid, and information for determining whether the data is a synonym in association with the part of the registration information.

### Claim 8 (depends on 2)

The coherency maintaining device according to claim 2, wherein
the part of the registration information stored in the first memory unit is a plurality of bits, and
the coherency maintaining unit determines registration state of data stored in the first cache memory based on the bits to maintain coherency between the first cache memory and the second cache memory.

### Claim 9 (depends on 4)

The coherency maintaining device according to claims 4, wherein
the part of the registration information stored in the first memory unit is a plurality of bits, and
the coherency maintaining unit determines registration state of data stored in the first cache memory based on the bits to maintain coherency between the first cache memory and the second cache memory.

### Claim 10 (depends on 6)

The coherency maintaining device according to claim 6, wherein
the part of the registration information stored in the first memory unit is a plurality of bits, and
the coherency maintaining unit determines registration state of data stored in the first cache memory based on the bits to maintain coherency between the first cache memory and the second cache memory.

### Claim 11

A coherency maintaining method for maintaining coherency between a first cache memory and a second cache memory that stores data in the first cache memory, the method comprising:
storing, in a first memory unit that has a predetermined number of entries, part of registration information of data for the first cache memory; and
storing, in a second memory unit that has entries less than the entries of the first memory unit, remaining part of the registration information.

### Claim 12 (depends on 11)

The coherency maintaining method according to claim 11, further comprising maintaining coherency between the first cache memory and the second cache memory, wherein
the part of the registration information stored in the first memory unit includes share information indicating whether data corresponding to a read request received by the second cache memory is shared by a plurality of first cache memories, and
the maintaining includes acquiring, upon receipt of a read request, the share information of data corresponding to the read request and, when the data is shared, maintaining the coherency based on the remaining part of the registration information stored in the second memory unit.

### Claim 13 (depends on 12)

The coherency maintaining method according to claim 12, wherein the maintaining includes simultaneously accessing the part of the registration information stored in the first memory unit and the remaining part of the registration information stored in the second memory unit based on a physical address and a logical address included in the read request.

### Claim 14 (depends on 11)

The coherency maintaining method according to claim 11, further comprising correcting, when an error occurs in data stored in the first cache memory, the data having the error based on the remaining part of the registration information stored in the second memory unit.
