Accessing a storage medium using dynamic read statistics
AssigneeMicrosoft Corporation
InventorsHakuro Matsuda, John M. Harding
Life of this patent
Estimating the term…
Abstract
A method and system for accessing a storage medium that factors in read statistics of previous reads of the storage medium is provided. An access system tracks read statistics generated from previous attempts to read data of the storage medium, which may be stored on a per-unit basis. When the access system receives a request to read data of the storage device, the access system may generate a read plan for the read based on analysis of the read statistics. A read plan may specify the initial speed of the attempt to read the data. The access system uses the read statistics to help reduce the time needed to read a unit of data from the storage medium.
Claims20
A method in a device for accessing a storage medium, the method comprising:
- receiving a request to retrieve a unit of data from the storage medium;
- providing read statistics generated from previous attempts to access the same unit of data from the storage medium, the read statistics generated from attempts to read units of data of the storage medium when servicing read requests, the read statistics being tracked on a per-unit of data basis, the read statistics for a unit of data indicating, for each of a plurality of attempted reads to service a read request for the unit of data, a read speed of the attempted read and whether the attempted read was successful;
- generating a read plan for the unit of data based on the provided read statistics, the read plan indicating a number of attempts at each of a plurality of read speeds;
- and
- attempting to read the data using the generated read plan by attempting to read the unit of data at each read speed of the read plan for the indicated number of attempts starting with the fastest read speed until an attempt is successful.
A computer-readable storage device containing instructions for controlling a device to read a disc storage medium, by a method comprising:
- for each read of a unit of data from the disc storage medium, storing read statistics on the reading of the unit of data, the read statistics generated from attempts to read the unit of data from the disc storage medium when servicing read requests, the read statistics being tracked on a per-unit of data basis, the read statistics for a unit of data indicating, for each of a plurality of attempted reads to service a read request for the unit of data, a read speed of the attempted read and whether the attempted read was successful;
- receiving a request to read a unit of data;
- and
- attempting to read the unit of data at an initial speed that is derived from the read statistics for the unit of data.
A computer-readable storage device containing instructions for controlling a device to generate a read plan for a storage disc, by a method comprising:
- providing read statistics on the reading of units of data, the read statistics including speed of a successful read of the unit of data, the read statistics generated from attempts to read units of data of the storage disc when servicing read requests, the read statistics being tracked on a per-unit of data basis, the read statistics for a unit of data indicating, for each of a plurality of attempted reads to service a read request for the unit of data, a read speed of the attempted read and whether the attempted read was successful;
- and
- creating a read plan for a unit of data that establishes an initial read speed and a number of attempts at the initial read speed for the unit of data based on the provided read statistics, the number of attempts indicating the number of unsuccessful attempts at the initial read speed before attempting to read the unit of data at a lower read speed.
Dependencies are inferred from the claim text.