# US 2010/0250857 A1 · Cache controlling apparatus, information processing apparatus and computer-readable recording medium on or in which cache controlling program is recorded

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

- Number: US 2010/0250857 A1
- Document ID: US20100250857A1
- Status: Published application
- Kind: A1
- Application number: 12/710,349
- Filed: 2010-02-22
- Published: 2010-09-30
- Earliest claimed: 2009-03-30
- Assignees: Fujitsu Limited
- Inventors: Noriyuki MATSUI
- Web page: https://patentgrep.com/patent/US20100250857A1

## CPC

- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0859: {with reload from main memory}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique for managing a cache memory for temporarily retaining data read out from a main memory so as to be used by a processing section is disclosed. The cache memory is managed using a tag memory and utilized by a write-through method. The cache controlling apparatus includes a supervising section adapted to supervise accessing time to the cache memory, and a refreshing section adapted to read out data on one or more cache lines of the cache memory from the main memory again in response to a result of the supervision by the supervising section and retain the read out data into the cache memory.

## Claims

### Claim 1

A cache controlling apparatus for managing a cache memory for temporarily retaining data read out from a main memory so as to be used by a processing section using a tag memory, and for utilizing said cache memory by a write-through method, comprising:
a supervising section adapted to supervise accessing time to said cache memory; and
a refreshing section adapted to read out data on one or more cache lines of said cache memory from said main memory again in response to a result of the supervision by said supervising section, and retain the read out data into said cache memory.

### Claim 2 (depends on 1)

The cache controlling apparatus as claimed in claim 1, wherein said supervising section includes:
a timestamp issuance section adapted to write, when data is read out from said main memory and retained into said cache memory, a timestamp indicative of retention time of the data on the cache line or lines of said cache memory, which are a retention destination of the data, into said tag memory; and
a comparison section adapted to compare, at a point of time at which it is recognized based on tag information in said tag memory that target data of memory accessing by said processing section is retained in said cache memory, the retention time indicated by the timestamp regarding the cache line or lines which retain the target data and the present time with each other, and output, as a result of the supervision, a result of the comparison regarding whether or not the present time indicates lapse by predetermined time or more than the predetermined time after the retention time, and
where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section reads out the target data on the cache line or lines from said main memory again and retains the read out target data into said cache memory.

### Claim 3 (depends on 1)

The cache controlling apparatus as claimed in claim 1, wherein said supervising section includes:
a timestamp issuance section adapted to write, when data is read out from said main memory and retained into said cache memory, a timestamp indicative of retention time of the data on the cache line or lines of said cache memory, which are a retention destination of the data, into said tag memory; and
a comparison section adapted to compare the retention time indicated by the timestamp regarding each cache line of said cache memory and the present time with each other and output, as a result of the supervision, a result of the comparison regarding whether or not the present time indicates lapse by predetermined time or more than the predetermined time after the retention time, and
where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section reads out the data on the cache line from said main memory again and retains the readout data into said cache memory.

### Claim 4 (depends on 3)

The cache controlling apparatus as claimed in claim 3, wherein, where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section invalidates the cache line.

### Claim 5 (depends on 1)

The cache controlling apparatus as claimed in claim 1, wherein said supervising section includes:
a timestamp issuance section adapted to write, when data is read out from said main memory and retained into said cache memory, a timestamp indicative of retention time of the data on the cache line or lines of said cache memory, which are a retention destination of the data, into said tag memory; and
a comparison section adapted to compare, at a point of time at which it is recognized based on tag information in said tag memory that the target data of memory accessing by said processing section is retained in said cache memory, the retention time indicated by the timestamp regarding the cache line or lines which retain the target data and the present time with each other, and output, as a result of the supervision, a result of the comparison regarding whether or not the present time indicates lapse by predetermined time or more than the predetermined time after the retention time, and
where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section reads out the target data on the cache line or lines from said main memory again and retains the read out target data into said cache memory and then invalidates all cache lines other than the cache line.

### Claim 6 (depends on 1)

The cache controlling apparatus as claimed in claim 1, wherein said supervising section includes:
a time counting section adapted to count time; and
a comparison section adapted to compare the counted time by said time counting section and predetermined time with each other and output, as a result of the supervision, a result of the comparison regarding whether or not the counted time is equal to or longer than the predetermined time, and
where the supervision result from said supervising section indicates that the counted time is equal to or longer than the predetermined time, said refreshing section invalidates all cache lines of said cache memory.

### Claim 7 (depends on 2)

The cache controlling apparatus as claimed in claim 2, wherein said cache memory is a static random access memory, and said refreshing section operates to prevent data in memory cells of said SRAM from being destroyed by a soft error by neutrons.

### Claim 8 (depends on 7)

The cache controlling apparatus as claimed in claim 7, wherein the predetermined time used as a comparison reference by said comparison section is a time interval shorter than data destruct time before the data is destroyed by latchup of a thyristor structure which parasitically exists in a structure of the memory cells and is activated by the neutrons.

### Claim 9 (depends on 8)

The cache controlling apparatus as claimed in claim 8, wherein the data destruct time is calculated based on node charge of the memory cells which retain the data and a resistance value of resistance through which leak current passes in the thyristor structure.

### Claim 10

An information processing apparatus, comprising:
a processing section;
a main memory;
a cache memory adapted to temporarily retain data read out from said main memory so as to be used by said processing section;
a tag memory adapted to manage cache lines of said cache memory; and
a cache controlling section adapted to manage said cache memory using said tag memory and utilize said cache memory by a write-through method; and wherein
said cache controlling section includes:
a supervising section adapted to supervise accessing time to said cache memory; and
a refreshing section adapted to read out data on one or more cache lines of said cache memory from said main memory again and retain the read out data into said cache memory in response to a result of the supervision by said supervising section, and retain the read out data into said cache memory.

### Claim 11 (depends on 10)

The information processing apparatus as claimed in claim 10, wherein said supervising section includes:
a timestamp issuance section adapted to write, when data is read out from said main memory and retained into said cache memory, a timestamp indicative of retention time of the data on the cache line or lines of said cache memory, which are a retention destination of the data, into said tag memory; and
a comparison section adapted to compare, at a point of time at which it is recognized based on tag information in said tag memory that target data of memory accessing by said processing section is retained in said cache memory, the retention time indicated by the timestamp regarding the cache line or lines which retain the target data and the present time with each other, and output, as a result of the supervision, a result of the comparison regarding whether or not the present time indicates lapse by predetermined time or more than the predetermined time after the retention time, and
where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section reads out the target data on the cache line or lines from said main memory again and retains the read out target data into said cache memory.

### Claim 12 (depends on 10)

The information processing apparatus as claimed in claim 10, wherein said supervising section includes:
a timestamp issuance section adapted to write, when data is read out from said main memory and retained into said cache memory, a timestamp indicative of retention time of the data on the cache line or lines of said cache memory, which are a retention destination of the data, into said tag memory; and
a comparison section adapted to compare the retention time indicated by the timestamp regarding each cache line of said cache memory and the present time with each other and output, as a result of the supervision, a result of the comparison regarding whether or not the present time indicates lapse by predetermined time or more than the predetermined time after the retention time, and
where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section reads out the data on the cache line from said main memory again and retains the readout data into said cache memory.

### Claim 13 (depends on 12)

The information processing apparatus as claimed in claim 12, wherein, where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section invalidates the cache line.

### Claim 14 (depends on 10)

The information processing apparatus as claimed in claim 10, wherein said supervising section includes:
a timestamp issuance section adapted to write, when data is read out from said main memory and retained into said cache memory, a timestamp indicative of retention time of the data on the cache line or lines of said cache memory, which are a retention destination of the data, into said tag memory; and
a comparison section adapted to compare, at a point of time at which it is recognized based on tag information in said tag memory that the target data of memory accessing by said processing section is retained in said cache memory, the retention time indicated by the timestamp regarding the cache line or lines which retain the target data and the present time with each other, and output, as a result of the supervision, a result of the comparison regarding whether or not the present time indicates lapse by predetermined time or more than the predetermined time after the retention time, and
where the supervision result from said supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, said refreshing section reads out the target data on the cache line or lines from said main memory again and retains the read out target data into said cache memory and then invalidates all cache lines other than the cache line.

### Claim 15 (depends on 10)

The information processing apparatus as claimed in claim 10, wherein said supervising section includes:
a time counting section adapted to count time; and
a comparison section adapted to compare the counted time by said time counting section and predetermined time with each other and output, as a result of the supervision, a result of the comparison regarding whether or not the counted time is equal to or longer than the predetermined time, and
where the supervision result from said supervising section indicates that the counted time is equal to or longer than the predetermined time, said refreshing section invalidates all cache lines of said cache memory.

### Claim 16 (depends on 11)

The information processing apparatus as claimed in claim 11, wherein said cache memory is a static random access memory, and said refreshing section operates to prevent data in memory cells of said SRAM from being destroyed by a soft error by neutrons.

### Claim 17 (depends on 16)

The information processing apparatus as claimed in claim 16, wherein the predetermined time used as a comparison reference by said comparison section is a time interval shorter than data destruct time before the data is destroyed by latchup of a thyristor structure which parasitically exists in a structure of the memory cells and is activated by the neutrons.

### Claim 18 (depends on 17)

The information processing apparatus as claimed in claim 17, wherein the data destruct time is calculated based on node charge of the memory cells which retain the data and a resistance value of resistance through which leak current passes in the thyristor structure.

### Claim 19

A computer-readable recording medium on or in which a cache controlling program for causing a computer to function as a cache controlling apparatus for managing a cache memory for temporarily retaining data read out from a main memory so as to be used by a processing section using a tag memory and for utilizing the cache memory by a write-through method is recorded, the cache controlling program causing the computer to function as:
a supervising section adapted to supervise accessing time to the cache memory; and
a refreshing section adapted to read out data on one or more cache lines of the cache memory from the main memory again in response to a result of the supervision by the supervising section, and retain the read out data into the cache memory.

### Claim 20 (depends on 19)

The computer-readable recording medium on or in which the cache controlling program is recorded as claimed in claim 19, wherein the cache controlling program causes the computer to function as:
a timestamp issuance section adapted to write, when data is read out from the main memory and retained into the cache memory, a timestamp indicative of retention time of the data on the cache line or lines of the cache memory, which are a retention destination of the data, into the tag memory; and
a comparison section adapted to compare, at a point of time at which it is recognized based on tag information in the tag memory that target data of memory accessing by the processing section is retained in the cache memory, the retention time indicated by the timestamp regarding the cache line or lines which retain the target data and the present time with each other, and output, as a result of the supervision, a result of the comparison regarding whether or not the present time indicates lapse by predetermined time or more than the predetermined time after the retention time, and
when the cache controlling program causes the computer to function as the refreshing section, the cache controlling program causes the computer to function such that, where the supervision result from the supervising section indicates that the present time indicates lapse by the predetermined time or more than the predetermined time after the retention time, the refreshing section reads out the target data on the cache line or lines from the main memory again and retains the read out target data into the cache memory.
