摘要 |
A system includes a timer and a control module. The control module: in response to a first request for first data, determines whether the first data is stored in a non-volatile semiconductor memory (NVSM); in response to the first data not being stored in the NVSM, (i) loads the first data from a hard disk drive (HDD) and boots up a computer a first time based on the first data, and (ii) while operating in a learn mode and while loading the first data from the HDD, captures a portion of the first data in the NVSM; in response to the timer indicating an end of a period during which the computer is booted up the first time, ceases the capturing of the first data; and based on the portion of the first data captured in the NVSM during the learn mode, boots up the computer a second time. |
主权项 |
1. A system comprising:
a first interface configured to access a hard disk drive; a second interface configured to access a non-volatile semiconductor memory, wherein the non-volatile semiconductor memory is separate from the hard disk drive; a timer configured to indicate an end of a period during which a computer is booted up; and a control module comprising a first circuit, a first processor, or a second memory, the control module configured to
in response to a first request for first data, determine whether the first data is stored in the non-volatile semiconductor memory,in response to the first data not being stored in the non-volatile semiconductor memory, (i) loading the first data from the hard disk drive and booting up the computer a first time based on the first data loaded from the hard disk drive, and (ii) while operating in a learn mode and while loading the first data from the hard disk drive, capturing a first portion of the first data in the non-volatile semiconductor memory,in response to the timer indicating the end of the period during which the computer is booted up the first time, ceasing the capturing of the first data in the non-volatile semiconductor memory,based on the first portion of the first data captured in the non-volatile semiconductor memory during the learn mode, booting up the computer a second time,in response to the first request and prior to accessing the first data from the hard disk drive, attempt to access the first data from the non-volatile semiconductor memory,while attempting to access the first data from the non-volatile semiconductor memory, record a number of cache misses and a number of cache hits, andin response to a ratio of the number of cache misses to the number of cache hits being greater than a threshold, store the first portion of the first data captured during the learn mode in the non-volatile semiconductor memory. |