# US 2003/0079073 A1 · Transaction generator for initialization, rebuild, and verify of memory

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

- Number: US 2003/0079073 A1
- Document ID: US20030079073A1
- Status: Published application
- Kind: A1
- Application number: 09/967,610
- Filed: 2001-09-29
- Published: 2003-04-24
- Earliest claimed: 2001-09-29
- Assignees: Hewlett-Packard Development Company, L.P.
- Inventors: Elizabeth Anne Richard; John Edward Larson; Robert Allan Lester
- Web page: https://patentgrep.com/patent/US20030079073A1

## CPC

- G06F 3/0601: {Interfaces specially adapted for storage systems}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F 11/108: {Parity data distribution in semiconductor storages, e.g. in SSD}
- G06F 11/1092: {Rebuilding, e.g. when physically replacing a failing disk}
- G06F 2211/1052: RAID padding, i.e. completing a redundancy group with dummy data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A transaction generator generates memory transactions identical to processor memory transactions to initialize, rebuild, and verify memory added or replaced during operation of a computer system configured for RAID memory. The transactions read and rewrite the correct value for replaced memory and write a known good value for added memory. Memory writes are verified by a read after the write transaction. The transaction generator is a state machine. A first counter is used for holding memory addresses of the transactions, automatically incrementing after each transaction. A second counter can throttle the generation of transactions by controlling the incrementation speed of the first counter. Transactions generated by the transaction generator have a transaction identifier, selected from a pool of available transaction identifiers. The transactions can complete out of order.

## Claims

### Claim 1

A memory control circuit for controlling a memory controller of a hot swappable memory subsystem of a computer system, the memory control circuit comprising:
a control circuit adapted to generate memory read and write transactions for the memory controller, the control circuit rebuilding memory in memory modules replaced during operation of the computer system by writing to the replaced memory modules based upon data read from the memory controller.

### Claim 2 (depends on 1)

The memory control circuit of claim 1, the control circuit further initializing memory in memory modules added during operation of the computer system.

### Claim 3 (depends on 1)

The memory control circuit of claim 1, the control circuit further initializing memory in memory modules upon booting the computer system.

### Claim 4

A memory control circuit for a computer system, the computer system having a processor and a memory subsystem coupled to the processor, the processor generating memory transactions to the memory subsystem, the memory subsystem having a memory controller and a plurality of memory modules coupled to the memory controller, the memory subsystem adapted for replacing and adding memory modules during operation of the computer system, the transaction generator comprising:
a transaction generator, adapted to generate memory transactions to the memory controller, the memory transactions interpreted by the memory controller identically to memory transactions generated by the processor, the memory transactions comprising:
read transactions; and
write transactions,
wherein the transaction generator generates the memory transactions to rebuild data in memory modules replaced during operation of the computer system.

### Claim 5 (depends on 4)

The memory control circuit of claim 4,
wherein the transaction generator generates write transactions to initialize memory modules.

### Claim 6 (depends on 5)

The memory control circuit of claim 5, wherein the write transactions to initialize memory modules write a predetermined value into the memory modules.

### Claim 7 (depends on 6)

The memory control circuit of claim 6, further comprising a storage location for storing the predetermined value.

### Claim 8 (depends on 5)

The memory control circuit of claim 5, wherein the write transactions initialize memory modules added during operation of the computer system.

### Claim 9 (depends on 5)

The memory control circuit of claim 5, wherein the write transactions initialize memory modules upon booting the computer system.

### Claim 10 (depends on 4)

The memory control circuit of claim 4, wherein the memory transactions can complete out of order.

### Claim 11 (depends on 4)

The memory control circuit of claim 4, further comprising:
a plurality of available transaction identifiers;
the memory transactions comprising:
an address information;
a control information;
a data information; and
a transaction identifier having a number.

### Claim 12 (depends on 11)

The memory control circuit of claim 11, the transaction generator selecting the transaction identifier by selecting a lowest numbered transaction identifier from a plurality of available transaction identifiers not in use.

### Claim 13 (depends on 11)

The memory control circuit of claim 11, further comprising a data circuitry, the data circuitry adapted to store the data information of the read transactions and the write transactions.

### Claim 14 (depends on 4)

The memory control circuit of claim 4, the transaction generator further comprising:
a state machine.

### Claim 15 (depends on 4)

The memory control circuit of claim 4, the transaction generator further comprising:
a throttle circuitry, adapted to throttle generation of read transactions and write transactions by the read circuitry and the write circuitry.

### Claim 16 (depends on 4)

The memory control circuit of claim 4,
wherein the transaction generator converts a read transaction into a write transaction when rebuilding a memory module replaced during operation of the computer system, converting the read transaction into the write transaction upon receipt of data from the memory subsystem responsive to the read transaction corresponding to the memory module replaced.

### Claim 17 (depends on 4)

The memory control circuit of claim 4, further comprising:
an address counter coupled to the transaction generator, the address counter adapted to specify a beginning address for the read transactions and the write transactions, the address counter incremented for each read transaction and each write transaction generated by the transaction generator until a predetermined ending address is reached.

### Claim 18

A computer system adapted for replacing and adding memory during operation of the computer system, comprising:
a processor;
a processor bus coupled to the processor;
a memory subsystem coupled to the processor bus, comprising:
a memory controller coupled to the processor bus, adapted to execute memory transactions generated by the processor;
a plurality of memory modules; and
a memory control circuit coupled to the memory subsystem, comprising:
a transaction generator, adapted to generate memory transactions to the memory controller, the memory transactions interpreted by the memory controller identically to memory transactions generated by the processor, the memory transactions comprising:
read transactions; and
write transactions,
wherein the transaction generator generates the memory transactions to rebuild data in memory modules replaced during operation of the computer system.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the memory transactions can complete out of order, the memory transactions comprising:
an address information;
a control information;
a data information; and
a transaction identifier having a transaction number.

### Claim 20 (depends on 19)

The computer system of claim 19, the transaction generator farther comprising:
circuitry to select a transaction identifier for memory transactions by selecting a lowest unused transaction number.

### Claim 21 (depends on 18)

The computer system of claim 18, the transaction generator comprising:
circuitry to convert a read transaction into a write transaction when rebuilding a memory module replaced during operation of the computer system, modifying the control information after successfully reading the data information, the write transaction writing the memory module with the data information obtained from the memory subsystem by the read transaction.

### Claim 22 (depends on 18)

The computer system of claim 18,
the transaction generator further adapted to generate a verify transaction to the memory controller upon completion of a write transaction; and
circuitry to indicate an error if the verify transaction indicates the memory module was not successfully written by the write transaction.

### Claim 23 (depends on 18)

The computer system of claim 18, the transaction generator further adapted to generate write transactions to initialize memory modules.

### Claim 24 (depends on 23)

The computer system of claim 23,
wherein the memory control circuit initializes the plurality of memory modules upon booting the computer system.

### Claim 25 (depends on 23)

The computer system of claim 23,
wherein the memory control circuit initializes memory modules added during operation of the computer system.

### Claim 26

A memory control circuit in a memory subsystem of a computer system having a processor, the memory subsystem having a memory controller and a plurality of memory modules, the memory subsystem allowing insertion and deletion of memory modules during operation of the computer system, the transaction generator comprising:
means for generating memory transactions, the memory transactions comprising:
read transactions; and
write transactions,
wherein the means for generating memory transactions generates memory transactions to rebuild data in memory modules replaced during operation of the computer system.

### Claim 27 (depends on 26)

The memory control circuit of claim 26, the means for generating comprising:
means for queuing memory transactions generated by the means for generating memory transactions; and
means for ordering the memory transactions generated by the means for queuing.

### Claim 28 (depends on 27)

The memory control circuit of claim 27, the means for ordering selecting and initiating a next memory transaction prior to completion of a previous memory transaction.

### Claim 29 (depends on 27)

The memory control circuit of claim 27, wherein the means for generating generates memory transactions upon booting the computer system to initialize the plurality of memory modules upon booting the computer system.

### Claim 30 (depends on 27)

The memory control circuit of claim 27, wherein the means for generating generates memory transactions upon booting the computer system to initialize memory modules added during operation of the computer system.

### Claim 31

A method of initializing memory modules inserted into a memory subsystem of a computer system during operation of the computer system, comprising the steps of:
determining a range of addresses corresponding to the memory modules to be initialized;
generating write transactions for the memory subsystem, the write transactions writing a predetermined value into the range of addresses determined in the determining step; and
verifying successful completion of the write transactions.

### Claim 32 (depends on 31)

The method of claim 31, the step of determining comprising the steps of:
determining a previous highest address;
determining a new highest address; and
setting a counter value to a first address above the previous highest address;
the step of generating write transactions comprising the steps of:
(a) obtaining the counter value;
(b) generating a write transaction to the memory address of the counter value;
(c) incrementing the counter value; and
(d) if the counter value does not exceed the new highest address, repeating steps (a)-(c).

### Claim 33 (depends on 32)

The method of claim 32, wherein step (c) increments the counter at a predetermined speed, further comprising the step of:
throttling the step of generating write transactions by varying the predetermined speed.

### Claim 34

A method of rebuilding data in memory modules replaced in a memory subsystem of a computer system during operation of the computer system, comprising the steps of:
(a) determining a range of addresses corresponding to the memory modules to be rebuilt;
(b) generating read transactions for the memory subsystem to determine the memory values associated with the range of addresses determined in step (a);
(c) generating write transactions for the memory subsystem, writing the memory values obtained in step (b) to the range of addresses determined in step (b); and
(d) verifying successful completion of the write transactions generated in step (c).

### Claim 35 (depends on 34)

The method of claim 34, step (a) comprising the steps of:
determining a lowest address corresponding to the memory module to be rebuilt;
determining a highest address corresponding to the memory module to be rebuilt;
setting a counter value to the lowest address; step (b) comprising:
obtaining the counter value;
generating a read transaction to read the address of the counter value; step (c) comprising:
converting the read transaction of step (b) to a write transaction; further comprising the steps of:
(e) incrementing the counter value; and
(f) if the counter value does not exceed the highest address, repeating steps (b)-(e).

### Claim 36 (depends on 35)

The method of claim 35, wherein step (e) increments the counter value at a predetermined speed, further comprising the step of:
throttling the rebuilding steps (b)-(e) by varying the predetermined speed.
