# US 2003/0084239 A1 · Hardware acceleration of boot-up utilizing a non-volatile disk cache

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

- Number: US 2003/0084239 A1
- Document ID: US20030084239A1
- Status: Published application
- Kind: A1
- Application number: 10/310,283
- Filed: 2002-12-05
- Published: 2003-05-01
- Earliest claimed: 1999-10-13
- Assignees: Intel Corporation
- Inventors: David C. Stewart
- Web page: https://patentgrep.com/patent/US20030084239A1

## CPC

- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 2212/312: In storage controller
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system includes a nonvolatile memory positioned between a disk controller and a disk drive storing a boot program, in a computer system. Upon an initial boot sequence, the boot program is loaded into a cache in the nonvolatile memory. Subsequent boot sequences retrieve the boot program from the cache. Cache validity is maintained by monitoring cache misses, and/or by monitoring writes to the disk such that a write to a sector held in the cache results in the cache line for that sector being invalidated until such time as the cache is updated. A filter driver is provided to monitor writes to the disk and determine if a cache line is invalidated.

## Claims

### Claim 1

A method comprising:
storing a boot program used by an information-processing system in a nonvolatile memory cache which receives all or a portion of the boot program from a system boot disk;
accessing the boot program stored in the cache by a CPU so that the information-processing system can boot in whole or in part from the cache:
wherein during the initial system boot, the cache is loaded with data from the system boot disk and the loaded data is marked valid,
wherein during boots of the system subsequent to the initial boot, data in the cache is used instead of the corresponding data from the boot disk if the data in the cache is valid,
wherein if boot data is subsequently written to the boot data on the system boot disk, the corresponding data in the cache is marked invalid,
wherein during a system boot subsequent to the initial boot when cache data is marked invalid, the invalid data is replaced with data from the boot disk and the replaced data is marked valid.

### Claim 2 (depends on 1)

The method of claim 1, further including:
holding operating system components in the cache, the components necessary for system boot.

### Claim 3 (depends on 1)

The method of claim 1, further including:
controlling the system boot disk with an IDE controller;
organizing the cache data according to sectors on the system boot disk;
mapping the organized cache data to sectors in the system boot disk holding the boot program.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
providing a data bus that couples the CPU to a cache controller coupled between the bus and the boot disk, wherein the disk cache is coupled to the cache controller.

### Claim 5

A method comprising:
storing a boot program used by an information-processing system in a nonvolatile memory cache which receives all or a portion of the boot program from a system boot disk;
accessing the boot program stored in the cache by a CPU so that the information-processing system can boot in whole or in part from the cache:
wherein the cache is initially marked invalid,
wherein during the initial system boot, the cache is loaded with data from the system boot disk and the loaded data is marked valid,
wherein during boots of the system subsequent to the initial boot, data in the cache is used instead of the corresponding data from the boot disk if the data in the cache is valid, and
wherein cache coherency is maintained by detecting cache misses, and if a miss is detected, the cache is aged, to invalidate all or a portion of the cache data.

### Claim 6 (depends on 5)

The method of claim 5, further including:
controlling the system boot disk with an IDE controller;
organizing the cache data according to sectors on the system boot disk;
mapping the organized cache data to sectors in the system boot disk holding the boot program

### Claim 7 (depends on 5)

The method of claim 5, further including:
holding operating system components in the cache, the components necessary for system boot.

### Claim 8 (depends on 5)

The method of claim 5, wherein the cache is aged in a first-in first-out (FIFO) manner.

### Claim 9

A method comprising:
storing a boot program used by an information-processing system in a nonvolatile memory cache which receives all or a portion of the boot program from a system boot disk;
accessing the boot program stored in the cache by a CPU so that the information-processing system can boot in whole or in part from the cache:
wherein the cache is initially marked invalid,
wherein during the initial system boot, the cache is loaded with data from the system boot disk and the loaded data is marked valid,
wherein during boots of the system subsequent to the initial boot, data in the cache is used instead of the corresponding data from the boot disk if the sector data in the cache is valid,
wherein a filter driver is positioned between the CPU and the system boot disk,
wherein the filter driver has access to all input-output (I/O) requests to the boot disk,
wherein the filter driver has access to a cache map and detect writes to system boot disk data that is also stored in the cache.

### Claim 10 (depends on 9)

The method of claim 9, further including:
controlling the system boot disk with an IDE controller;
organizing the cache data according to sectors on the system boot disk;
mapping the organized cache data to sectors in the system boot disk holding the boot program.

### Claim 11 (depends on 10)

The method of claim 10, wherein the cache is not updated by the filter driver.

### Claim 12 (depends on 10)

The method of claim 10, further including:
replacing boot data marked invalid in the organized cache during a system boot with data from the sectors in the system boot disk holding the boot program;
marking the replaced cache data as valid.

### Claim 13 (depends on 10)

The method of claim 10, further including:
refreshing cache data during a write operation to the corresponding mapped boot disk sector.

### Claim 14

A method comprising storing a boot program used by a information-processing system in a nonvolatile memory cache which receives all or a portion of the boot program from a system boot disk, the boot program stored in the cache for access by the CPU so that the system can boot in whole or in part from the cache, further wherein the cache is first loaded on an initial system boot and the loaded boot program is marked valid, further wherein the boot program loaded in the cache is used to perform subsequent system boots if the boot program continues to be marked valid.

### Claim 15 (depends on 14)

The method according to claim 14, wherein the system boot disk is a local system boot disk.

### Claim 16 (depends on 14)

The method of claim 14, further wherein the boot program stored in cache is marked invalid when the boot program is modified on the system boot disk.

### Claim 17 (depends on 16)

The method of claim 16, further wherein the boot program is refreshed in the cache and marked valid during the next system boot after the modifying of the boot program on the system boot disk.

### Claim 18 (depends on 14)

The method of claim 14, further wherein the cache is refreshed following a system boot disk write during a system shutdown process.

### Claim 19 (depends on 14)

The method of claim 14, further wherein the cache is refreshed following a system boot disk modification upon the occurrence of an operating system idle event, the operating system executing on the information-processing system.

### Claim 20

An information-processing system comprising:
a CPU;
a boot disk storing a boot program used by the system to boot; and
a nonvolatile memory cache receiving all or a portion of the boot program from the boot disk and storing it for access by the CPU so that the computer system can boot in whole or in part from the cache:
wherein the cache is initially marked invalid,
wherein during the initial system boot, the cache is loaded with data from the boot disk and the loaded data is marked valid,
wherein during boots of the system subsequent to the initial boot, data in the cache is used instead of the corresponding data from the boot disk if the data in the cache is valid,
wherein if boot data is subsequently written to the boot data on the boot disk, the corresponding data in the cache is marked invalid.

### Claim 21 (depends on 20)

The information-processing system of claim 20, wherein during a system boot subsequent to the initial boot when cache data is marked invalid, the invalid data is replaced with data from the boot disk and the replaced data is marked valid.

### Claim 22 (depends on 20)

The information-processing system of claim 20, further including:
a disk controller for controlling the boot disk.

### Claim 23 (depends on 22)

The information-processing system of claim 22, wherein the disk controller is an IDE controller.

### Claim 24 (depends on 20)

The information-processing system of claim 20, further wherein the cache data is organized according to sectors on the boot disk and the organized cache data is mapped to sectors in the system boot disk holding the boot program.

### Claim 25

An information-processing system comprising:
a CPU;
a boot disk storing a boot program used by the system to boot; and
a nonvolatile memory cache receiving all or a portion of the boot program from the boot disk and storing it for access by the CPU so that the system can boot in whole or in part from the cache:
wherein the cache is initially marked invalid,
wherein during the initial system boot, the cache is loaded with data from the system boot disk and the loaded data is marked valid,
wherein during boots of the system subsequent to the initial boot, data in the cache is used instead of the corresponding data from the boot disk if the data in the cache is valid, and
wherein cache coherency is maintainable by detecting cache misses, and if a miss is detected, the cache is aged, to invalidate all or a portion of the cache data.

### Claim 26 (depends on 25)

The information-processing system of claim 25, wherein the cache is aged in a first-in first-out (FIFO) manner.

### Claim 27

An information-processing system comprising:
a CPU;
a boot disk storing a boot program used by the system to boot; and
a nonvolatile memory cache receiving all or a portion of the boot program from the boot disk and storing it for access by the CPU so that the system can boot in whole or in part from the cache:
wherein the cache is initially marked invalid,
wherein during the initial system boot, the cache is loaded with data from the system boot disk and the loaded data is marked valid,
wherein during boots of the system subsequent to the initial boot, data in the cache is used instead of the corresponding data from the boot disk if the sector data in the cache is valid,
wherein a filter driver is positioned between the CPU and the system boot disk,
wherein the filter driver has access to all input-output (I/O) requests to the boot disk,
wherein the filter driver has access to a cache map and detect writes to system boot disk data that is also stored in the cache.

### Claim 28 (depends on 27)

The information-processing system of claim 27, further including:
a disk controller for controlling the boot disk.

### Claim 29 (depends on 28)

The information-processing system of claim 28, further wherein:
the cache data is organized according to sectors on the boot disk;
the organized cache data is mapped to sectors in the system boot disk holding the boot program

### Claim 30 (depends on 29)

The information-processing system of claim 29, further wherein if a boot disk sector is changed, the corresponding mapped cache data is invalidated, and refreshed with the correct contents during the next boot sequence.

### Claim 31 (depends on 27)

The information-processing system of claim 27, wherein the cache is not updated by the filter driver.

### Claim 32 (depends on 29)

The information-processing system of claim 29, wherein the cache is refreshed during the write operation to the corresponding sector in the boot disk.

### Claim 33

A computer system, comprising:
a CPU;
a boot disk storing a boot program used by the computer system to boot;
a nonvolatile memory disk cache receiving all or a portion of the boot program from the boot disk and storing it for access by the CPU, so that the computer system can boot in whole or in part from the disk cache; and
a controller for controlling the boot disk,
wherein the cache is loaded with data from sectors read during an initial boot sequence,
wherein the loaded cache data is mapped to the data from which it is loaded,
wherein during boots of the system subsequent to the initial boot, sequence sector data in the cache is used instead of the corresponding sector data from the boot disk if the sector data in the cache is valid, and
wherein if data is written to a sector read during the initial boot sequence, the cache line corresponding to the sector is marked invalid.

### Claim 34 (depends on 33)

The computer system of claim 33, further comprising:
a data bus coupled to the CPU; and
a cache controller coupled between the bus and the boot disk,
wherein the disk cache is coupled to the cache controller.

### Claim 35 (depends on 33)

The computer system of claim 33, wherein the computer system operates under the control of an operating system, and wherein the operating system has a boot-time disk footprint size and the cache is sized substantially as large as the size of the footprint.

### Claim 36 (depends on 33)

The computer system of claim 33, wherein the invalid cache is replaced with valid data from the boot disk and the cache marked valid.

### Claim 37 (depends on 33)

The computer system of claim 33, further comprising:
a data bus coupled to the CPU; and
a cache controller coupled between the bus and the boot disk,
wherein the cache is coupled to the cache controller.

### Claim 38

A computer system, comprising:
a CPU;
a boot disk storing a boot program used by the computer system to boot;
a nonvolatile memory cache receiving all or a portion of the boot program from the boot disk and storing it for access by the CPU, so that the computer system can boot in whole or in part from the disk cache;
a controller for controlling the boot disk; and
a filter driver between the CPU and the controller,
wherein the cache is initially marked invalid,
wherein the cache is loaded with data from sectors read during an initial boot sequence,
wherein the loaded cache data is mapped to the data from which it is loaded,
wherein during boots of the system subsequent to the initial boot, data in the cache is used instead of the corresponding data from the boot disk if the data in the cache is valid,
wherein the filter driver has access to all input-output (I/O) requests to the boot disk, and
wherein the filter driver has access to a cache map and can detect writes to the disk which correspond to data in the cache.

### Claim 39 (depends on 38)

The computer system of claim 38, further wherein if the boot disk is changed, the corresponding cache is invalidated, and refreshed with the correct contents during the next boot sequence.

### Claim 40 (depends on 38)

The computer system of claim 38, wherein the cache is not updated by the filter driver.

### Claim 41 (depends on 40)

The computer system of claim 40, wherein the cache is refreshed during the write operation to the corresponding data in the boot disk.
