Patent application title:

Non-volatile caching for sequence of data

Publication number:

-

Publication date:
Application number:

14/526,134

Filed date:

2014-10-28

✅ Patent granted

Patent number:

US 9,123,382 B1

Grant date:

2015-09-01

PCT filing:

-

PCT publication:

-

Examiner:

Tan X Dinh

Adjusted expiration:

2034-10-28

Smart Summary: A data storage device (DSD) uses both a fast memory type called Non-Volatile Semiconductor Memory (NVSM) and a slower disk for storing data. When data needs to be stored or read, the device checks how big the data is. If the data size is small, it goes directly into the NVSM for quick access. If the data size is large, part of it is stored in the NVSM while the rest goes onto the disk. This method helps make the best use of the faster NVSM while still accommodating larger data sizes. 🚀 TL;DR

Abstract:

Operation of a Data Storage Device (DSD) including a Non-Volatile Semiconductor Memory (NVSM) and at least one disk. A size value is determined corresponding to a sequence of data to be read from or stored in the DSD. If the size value is less than a threshold value, the sequence of data is stored in the NVSM. If the size value is greater than the threshold value, a first portion of the sequence of data is stored in the NVSM and at least a remaining portion of the sequence of data is stored on the at least one disk. The threshold value is based on at least a preparation time for accessing data from the at least one disk and a throughput value of the NVSM for storing data in or retrieving data from the NVSM.

Inventors:

Assignee:

Applicant:

Interested in similar patents?

Get notified when new applications in this technology area are published.

Classification:

G11B20/10 »  CPC main

Signal processing not specific to the method of recording or reproducing; Circuits therefor Digital recording or reproducing

G11B27/36 »  CPC further

Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel Monitoring, i.e. supervising the progress of recording or reproducing

G11B2020/10842 »  CPC further

Signal processing not specific to the method of recording or reproducing; Circuits therefor; Digital recording or reproducing; Copying or moving data from one record carrier to another wherein not all recorded data are copied or moved

G11B21/02 IPC

Head arrangements not specific to the method of recording or reproducing Driving or moving of heads

Description

BACKGROUND

Data storage systems are often used to record data onto or to reproduce data from a storage media. Some data storage systems include multiple types of storage media. In the case of a Solid-State Hybrid Drive (SSHD), the SSHD may include a rotating magnetic disk for storing data and a Non-Volatile Semiconductor Memory (NVSM), such as a Solid-State Drive (SSD), a flash memory, and/or a NAND memory utilized in addition to the disk.

In such SSHDs, the NVSM can act as a cache for storing a copy of data that can be quickly accessed from the NVSM. However, the size of the NVSM is often limited due to a higher cost of the NVSM as compared to the disk. Thus, there is often a need to make efficient use of the NVSM.

BRIEF DESCRIPTION OF THE DRAWINGS

The features and advantages of the embodiments of the present disclosure will become more apparent from the detailed description set forth below when taken in conjunction with the drawings. The drawings and the associated descriptions are provided to illustrate embodiments of the disclosure and not to limit the scope of what is claimed.

FIG. 1 is a block diagram depicting a Data Storage Device (DSD) according to an embodiment.

FIG. 2A is a conceptual diagram illustrating the storage of a sequence of data in a non-volatile cache according to an embodiment.

FIG. 2B is a conceptual diagram illustrating the storage of a first portion of a sequence of data in a non-volatile cache and the storage of at least a remaining portion of the sequence of data on at least one disk according to an embodiment.

FIG. 3 is a flowchart for a caching process according to an embodiment.

FIG. 4 is a flowchart for a data access process according to an embodiment.

DETAILED DESCRIPTION

In the following detailed description, numerous specific details are set forth to provide a full understanding of the present disclosure. It will be apparent, however, to one of ordinary skill in the art that the various embodiments disclosed may be practiced without some of these specific details. In other instances, well-known structures and techniques have not been shown in detail to avoid unnecessarily obscuring the various embodiments.

System Overview

FIG. 1 shows system 100 according to an embodiment that includes host 101 and Data Storage Device (DSD) 106. System 100 can be, for example, a computer system (e.g., server, desktop, mobile/laptop, tablet, smartphone, etc.) or other electronic device such as a Digital Video Recorder (DVR). In this regard, system 100 may be a stand-alone system or part of a network. Those of ordinary skill in the art will appreciate that system 100 and DSD 106 can include more or less than those elements shown in FIG. 1 and that the disclosed processes can be implemented in other environments.

In the example embodiment of FIG. 1, DSD 106 includes both Non-Volatile Semiconductor Memory (NVSM) 142 and disk 134 for storing data. In this regard, DSD 106 can be considered a Solid-State Hybrid Drive (SSHD) in that it includes both solid-state Non-Volatile Memory (NVM) media and magnetic disk NVM media. In other embodiments, each of disk 134 or NVSM 142 may be replaced by multiple Hard Disk Drives (HDDs) or multiple Solid-State Drives (SSDs), respectively, so that DSD 106 includes pools of HDDs or SSDs.

DSD 106 includes controller 120 which comprises circuitry such as one or more processors for executing instructions and can include a microcontroller, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), hard-wired logic, analog circuitry and/or a combination thereof. In one implementation, controller 120 can include a System on a Chip (SoC).

Host interface 126 is configured to interface DSD 106 with host 101 and may interface according to a standard such as, for example, PCI express (PCIe), Serial Advanced Technology Attachment (SATA), or Serial Attached SCSI (SAS). As will be appreciated by those of ordinary skill in the art, host interface 126 can be included as part of controller 120.

In the example of FIG. 1, disk 134 is rotated by a spindle motor (not shown). DSD 106 also includes head 136 connected to the distal end of actuator 130, which is rotated by Voice Coil Motor (VCM) 132 to position head 136 in relation to disk 134. Controller 120 can control the position of head 136 and the rotation of disk 134 using VCM control signal 30 and SM control signal 34, respectively.

As appreciated by those of ordinary skill in the art, disk 134 may form part of a disk pack with additional disks radially aligned below disk 134. In addition, head 136 may form part of a head stack assembly including additional heads with each head arranged to read data from and write data to a corresponding surface of a disk in a disk pack.

Disk 134 includes a number of radial spaced, concentric tracks for storing data on a surface of disk 134. The tracks on disk 134 may be grouped together into zones of tracks with each track divided into a number of sectors that are spaced circumferentially along the tracks.

In addition to disk 134, the NVM media of DSD 106 includes NVSM 142 for storing data. While the description herein refers to solid-state memory generally, it is understood that solid-state memory may comprise one or more of various types of memory devices such as flash integrated circuits, Chalcogenide RAM (C-RAM), Phase Change Memory (PC-RAM or PRAM), Programmable Metallization Cell RAM (PMC-RAM or PMCm), Ovonic Unified Memory (OUM), Resistance RAM (RRAM), NAND memory (e.g., Single-Level Cell (SLC) memory, Multi-Level Cell (MLC) memory, or any combination thereof), NOR memory, EEPROM, Ferroelectric Memory (Fe RAM), Magnetoresistive RAM (MRAM), other discrete NVM chips, or any combination thereof.

As shown in FIG. 1, NVSM 142 includes non-volatile cache 18 which can store copies of data stored on disk 134 for quicker access to the data. In some implementations, non-volatile cache 18 may also store data that is not stored on disk 134. In this regard, data can often be accessed quicker from non-volatile cache 18 than from disk 134 since there is often latency in accessing data from disk 134. Latencies in accessing data from disk 134 can include, for example, the time it takes to position head 136 over a particular portion of disk 134, to rotate or spin up disk 134 to an operational speed, or to exit a low power or standby mode of DSD 106.

As discussed in more detail below, by storing a portion or all of a sequence of data in non-volatile cache 18, it is ordinarily possible to improve the performance of DSD 106 in servicing read commands from host 101 since the data stored in non-volatile cache 18 can often be accessed quicker than data stored on disk 134. In addition, a size value of the sequence of data can be used to determine how much of the sequence of data to store in non-volatile cache 18 to ordinarily make more efficient use of non-volatile cache 18 as discussed below.

In FIG. 1, volatile memory 140 can include, for example, a Dynamic Random Access Memory (DRAM), which can be used by DSD 106 to temporarily store data. Data stored in volatile memory 140 can include data read from NVM media (e.g., disk 134 or NVSM 142), data to be written to NVM media, instructions loaded from a firmware of DSD 106 for execution by controller 120, or data used in executing a firmware. In this regard, such firmware can include instructions for execution by controller 120 to implement the data caching and data access processes discussed below. The firmware may also be stored on NVM such as NVSM 142 or disk 134.

In operation, host interface 126 receives read and write commands from host 101 via host interface 126 for reading data from and writing data to the NVM media of DSD 106. In response to a write command from host 101, controller 120 may buffer the data to be written for the write command in volatile memory 140.

For data to be stored in NVSM 142, controller 120 receives data from host interface 126 or from disk 134, and may buffer the data in volatile memory 140. In one implementation, the data is then encoded into charge values for charging cells (not shown) of NVSM 142 to store the data.

In response to a read command for data stored in NVSM 142, controller 120 in one implementation reads current values for cells in NVSM 142 and decodes the current values into data that can be transferred to host 101. Such data may be buffered by controller 120 before transferring the data to host 101 via host interface 126.

For data to be written to disk 134, read/write channel 124 can encode the buffered data into write signal 32 which is provided to head 136 for magnetically writing data to the surface of disk 134.

In response to a read command for data stored on disk 134, controller 120 positions head 136 via VCM control signal 30 to magnetically read the data stored on the surface of disk 134. Head 136 sends the read data as read signal 32 to read/write channel 124 for decoding, and the data is buffered in volatile memory 140 for transferring to host 101.

Data Caching Examples

FIG. 2A is a conceptual diagram illustrating the storage of a sequence of data in non-volatile cache 18 according to an embodiment. In the example of FIG. 2A, a 1 MB sequence of data is to be stored in or read from the NVM of DSD 106. If the sequence of data is read from disk 134 or is to be stored in NVM of DSD 106, the data caching processes discussed below can determine whether to store all or part of the sequence of data in non-volatile cache 18. As used herein, a sequence of data can refer to data that is associated with a mostly contiguous range of logical addresses such as Logical Block Addresses (LBAs) used by host 101. The sequence of data to be stored in FIG. 2A can form part of one or more write commands received from host 101 or can be data that is being requested from disk 134 by one or more read commands from host 101.

Controller 120 can identify the data as a sequence of data by, for example, using logical addresses for the data that may be indicated in one or more read or write commands. As discussed in more detail below, controller 120 may then determine whether a size value corresponding to the stream of data is less than a threshold value for caching or storing all or a portion of the sequence of data in non-volatile cache 18 of NVSM 142. The size value may relate to an amount of data to be read from or written to NVM, such as a number of bytes, commands, LBAs, or sectors for the sequence of data.

In the example of FIG. 2A, the 1 MB sequence of data is equal to or less than the threshold value. All of the sequence of data is then stored in non-volatile cache 18 as indicated by the arrow in FIG. 2A.

The data stored in non-volatile cache 18 can ordinarily be quickly accessed from non-volatile cache 18 without having to wait for a preparation time or time until DSD 106 is ready to access data from disk 134. The preparation time for accessing data from disk 134 can include one or more of a time for disk 134 to spin up to an operational speed, a time for DSD 106 to awake from a standby or low power mode, or a time to position head 136 over a particular location on disk 134 (i.e., a seek time).

Although FIG. 2A does not show any of the sequence of data being stored on disk 134, in some implementations, a copy of the data sequence is also stored on disk 134 for redundancy.

In some embodiments, host 101 rather than controller 120 can determine where to store the data sequence. In such embodiments, host 101 can execute, for example, driver software that can request information from DSD 106 to steer the data sequence to a particular NVM of DSD 106. Such steering can be accomplished through the use of hinting from host 101 where host 101 can assign different priorities to data to indicate where the data should be stored in DSD 106.

The threshold value can be based on at least the preparation time for disk 134 and a throughput value of NVSM 142 for storing data in or retrieving data from NVSM 142. In one example, the preparation time can be an average seek time for head 136 to access data from disk 134. If NVSM 142 has a throughput of 120 MB per second for a command size of 512 sectors, then a throughput of NVSM 142 can be expressed in terms of 512 byte sectors as 120 MB/second divided by 512 B/sector to yield an equivalent throughput in terms of sectors as 245,760 sectors per second.

If DSD 106 has an average seek time of 13 ms per command, then the equivalent of 3,194.88 sectors could be stored in NVSM 142 during an average seek time of 13 ms (0.013 seconds×245,760 sectors). With a command size of 512 sectors, that would mean that 6.24 commands (3,194.88 sectors/512 sectors per command) could be stored in non-volatile cache 18 during the average seek time of head 136. The threshold value can then be set to 6 commands. In other implementations using the same example characteristics of DSD 106, the threshold value could be set to 3,194 sectors or 1.63 MB (3,194 sectors×512 bytes per sector).

By setting the threshold value based on a preparation time for accessing data from disk 134 and a throughput of NVSM 142, it is ordinarily possible to generally reduce the amount of time to access data from DSD 106 while conserving space in non-volatile cache 18 by not having to store all of a sequence of data in non-volatile cache 18.

FIG. 2B provides an example where the size value corresponding to the sequence of data is greater than the threshold value according to an embodiment. In the example of FIG. 2B, a sequence of data with a size value of 100 MB is to be stored in NVM of DSD 106. In other implementations, the size value could be expressed in terms of sectors, bytes, or commands.

In the example of FIG. 2B, the threshold value is set to 1.63 MB and a first portion of the sequence of data that is equal to the threshold value of 1.63 MB is stored in non-volatile cache 18. At least a remaining portion of the 100 MB sequence of data is stored on disk 134.

In some embodiments, the storing of the first portion in non-volatile cache 18 and the storing of the remaining portion on disk 134 can be synchronized so that the first portion is stored in non-volatile cache 18 during the preparation time for storing the remaining portion on disk 134. However, in some examples, it may be possible to store the remaining portion on disk 134 while the first portion is still being stored in non-volatile cache 18 if head 136 can be positioned within the preparation time.

In the example of FIG. 2B, the full 100 MB of the sequence of data is stored or kept on disk 134 for redundancy or for synchronization purposes when later accessing the sequence of data from both non-volatile cache 18 and disk 134. In other embodiments, only a remaining portion of the sequence of data (i.e., 98.37 MB) or an amount of data between the full amount of 100 MB and the remaining portion of 98.37 MB may be stored on disk 134.

By storing only the first portion of the sequence of data in non-volatile cache 18, it is ordinarily possible to take advantage of the quick random access of NVSM 142 while still conserving space in non-volatile cache 18. The remaining portion of the sequence of data that is stored on disk 134 can then take advantage of the relatively fast access speed of sequential accesses from disk 134 once head 136 is in position. Although random accesses from NVSM 142 may typically be faster than random accesses from disk 134 for random read and write commands, disk 134 can be as fast or even faster than NVSM 142 for sequential reads and writes once head 136 is in position on disk 134. Thus, storing the remaining portion of a sequence of data provides much less of a benefit in terms of speed of access than storing the first portion of the sequence of data.

FIG. 3 is a flowchart for a data caching process that can be performed by controller 120 or host 101 according to an embodiment. In block 302, a threshold value is optionally determined based on a preparation time for accessing data from disk 134 and a throughput value of NVSM 142. Block 302 may be performed once by DSD 106 during operation or may be performed periodically while DSD 106 is in the field as its performance or available data capacity changes. In other embodiments, block 302 may be omitted if the threshold value is preset at the factory without changing the threshold value while DSD 106 is in the field.

In block 304, a size value is determined corresponding to a sequence of data to be read from or written to NVM of DSD 106. The sequence of data may be identified by controller 120 or by host 101 as a range of contiguous or sequential LBAs exceeding a certain number of LBAs. The size value can correspond to an amount of data (e.g., bytes, sectors or LBAs) to be read or written for the sequence of data or a number of queued commands for reading or writing the sequence of data. Controller 120 or host 101 may determine the size value based on information included in one or more read or write commands for the sequence of data such as LBAs included in the one or more commands.

In block 306, controller 120 or host 101 determines whether the size value corresponding to the sequence of data is less than the threshold value. If so, the sequence of data is stored in NVSM 142 in block 308. On the other hand, if the size value is not less than the threshold value, a first portion of the sequence of data is stored in NVSM 142 and at least a remaining portion of the sequence of data is stored on disk 134. As noted above, storing the first portion in non-volatile cache 18 can occur during a preparation time for storing the remaining portion on disk 134. Storing the remaining portion may then occur after the preparation time elapses or, in some cases, may occur during the preparation time if head 136 can be positioned within the preparation time.

As discussed above, some implementations may only store the remaining portion of the sequence of data on disk 134. Other implementations may store more than the remaining portion or may store all of the sequence of data on disk 134 with a backup copy of the first portion. Storing more than the remaining portion on disk 134 can allow for redundancy or for synchronization when switching between accessing the first portion from NVSM 142 and the remaining portion from disk 134.

Data Access Examples

FIG. 4 is a flowchart for a data access process that can be performed by controller 120 according to an embodiment. In block 402, a request (e.g., one or more read commands) is received from host 101 to access a sequence of data that was previously partially stored in non-volatile cache 18 of NVSM 142 and partially stored on disk 134. Controller 120 may use a mapping table or other addressing scheme to identify the locations where the first portion and the remaining portion are stored in DSD 106. In one such implementation, LBAs from a read command for the sequence of data can be used to identify physical addresses such as Physical Block Addresses (e.g., PBAs) indicating physical locations for the data in NVSM 142 or disk 134.

In block 404, controller 120 reads the first portion of the sequence of data from non-volatile cache 18 of NVSM 142 during the preparation time to read the remaining portion from disk 134. As discussed above, the preparation time can include an average time to access data from disk 134 including a seek time to position head 136 over disk 134, a time to spin up disk 134 to an operational speed, or a time to access data after a low power or standby state of DSD 106.

In block 406, controller 120 prepares to read at least the remaining portion of the sequence of data from disk 134 while the first portion is read in block 404. Controller 120 may prepare to read at least the remaining portion by, for example, controlling actuator 130 to move head 136 into position for reading or spinning up disk 134.

In block 408, controller 120 controls head 136 to read at least the remaining portion of the sequence of data from disk 134. As noted above, more than the remaining portion may be read from disk 134 so that the reading of the remaining portion can be synchronized with the reading of the first portion from NVSM 142.

By using the foregoing data access process, it is ordinarily possible to improve an overall data access time for DSD 106 since the first portion can be accessed quickly from NVSM 142 without any of the mechanical latency associated with accessing data from disk 134. In addition, by accessing the remaining portion from disk 134 the available data capacity of non-volatile cache 18 can be conserved without incurring much delay since head 136 is typically ready to access the remaining portion from disk 134 with a relatively fast sequential reading from disk 134.

Other Embodiments

Those of ordinary skill in the art will appreciate that the various illustrative logical blocks, modules, and processes described in connection with the examples disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. Furthermore, the foregoing processes can be embodied on a computer readable medium which causes a processor or computer to perform or execute certain functions.

To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, and modules have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Those of ordinary skill in the art may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.

The various illustrative logical blocks, units, modules, and controllers described in connection with the examples disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.

The activities of a method or process described in connection with the examples disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The steps of the method or algorithm may also be performed in an alternate order from those provided in the examples. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable media, an optical media, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC).

The foregoing description of the disclosed example embodiments is provided to enable any person of ordinary skill in the art to make or use the embodiments in the present disclosure. Various modifications to these examples will be readily apparent to those of ordinary skill in the art, and the principles disclosed herein may be applied to other examples without departing from the spirit or scope of the present disclosure. The described embodiments are to be considered in all respects only as illustrative and not restrictive and the scope of the disclosure is, therefore, indicated by the following claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.

Claims

What is claimed is:

1. A Data Storage Device (DSD), comprising:

at least one disk for storing data;

at least one head for reading data from or storing data on the at least one disk;

a Non-Volatile Semiconductor Memory (NVSM) for storing data; and

a controller configured to:

determine a size value corresponding to a sequence of data to be read from or stored in the DSD;

if the size value is less than a threshold value, store the sequence of data in the NVSM; and

if the size value if greater than the threshold value, store a first portion of the sequence of data in the NVSM and control the at least one head to store at least a remaining portion of the sequence of data on the at least one disk;

wherein the threshold value is based on at least:

a preparation time for accessing data on the at least one disk, and

a throughput value of the NVSM for storing data in or retrieving data from the NVSM.

2. The DSD of claim 1, wherein the size value corresponds to an amount of data to be read from or stored in the DSD.

3. The DSD of claim 1, wherein the size value corresponds to a number of queued commands for reading data from or storing data in the DSD.

4. The DSD of claim 1, wherein the size value of the first portion of the sequence of data is equal to the threshold value.

5. The DSD of claim 1, wherein the first portion of the sequence of data is stored in both the at least one disk and the NVSM.

6. The DSD of claim 1, wherein if the sequence of data is accessed after storing the first portion of the sequence of data in the NVSM and storing the at least a remaining portion of the sequence of data on the at least one disk, the controller is further configured to:

read the first portion of the sequence of data from the NVSM during the preparation time for accessing data from the at least one disk, and

prepare to read the at least a remaining portion of the sequence of data from the at least one disk while the first portion of the sequence of data is read from the NVSM.

7. The DSD of claim 1, wherein the controller is further configured to synchronize reading or storing the first portion of the sequence of data in the NVSM with reading or storing the at least a remaining portion of the sequence of data on the at least one disk.

8. The DSD of claim 1, wherein the controller is further configured to store the sequence of data in the NVSM if the size value equals the threshold value.

9. The DSD of claim 1, wherein the controller is further configured to store the first portion of the sequence of data in the NVSM and control the at least one head to store the at least a remaining portion of the sequence of data on the at least one disk if the size value equals the threshold value.

10. A method of operating a Data Storage Device (DSD) including a Non-Volatile Semiconductor Memory (NVSM) and at least one disk, the method comprising:

determining a size value corresponding to a sequence of data to be read from or stored in the DSD;

if the size value is less than a threshold value, storing the sequence of data in the NVSM; and

if the size value is greater than the threshold value, storing a first portion of the sequence of data in the NVSM and storing at least a remaining portion of the sequence of data on the at least one disk;

wherein the threshold value is based on at least:

a preparation time for accessing data from the at least one disk, and

a throughput value of the NVSM for storing data in or retrieving data from the NVSM.

11. The method of claim 10, wherein the size value corresponds to an amount of data to be read from or stored in the DSD.

12. The method of claim 10, wherein the size value corresponds to a number of queued commands for reading data from or storing data in the DSD.

13. The method of claim 10, wherein the size value of the first portion of the sequence of data is equal to the threshold value.

14. The method of claim 10, wherein the first portion of the sequence of data is stored in both the at least one disk and the NVSM.

15. The method of claim 10, wherein if the sequence of data is accessed after storing the first portion of the sequence of data in the NVSM and storing the at least a remaining portion of the sequence of data on the at least one disk, the method further comprises:

reading the first portion of the sequence of data from the NVSM during the preparation time for accessing data from the at least one disk, and

preparing to read the at least a remaining portion of the sequence of data from the at least one disk while the first portion of the sequence of data is read from the NVSM.

16. The method of claim 10, further comprising synchronizing reading or storing the first portion of the sequence of data in the NVSM with reading or storing the at least a remaining portion of the sequence of data on the at least one disk.

17. The method of claim 10, further comprising storing the sequence of data in the NVSM if the size value equals the threshold value.

18. The method of claim 10, further comprising storing the first portion of the sequence of data in the NVSM and storing the at least a remaining portion of the sequence of data on the at least one disk if the size value equals the threshold value.

19. A host in communication with a Data Storage Device (DSD) including at least one disk for storing data and a Non-Volatile Semiconductor Memory (NVSM) for storing data, the host comprising:

an interface for communicating with the DSD; and

a processor configured to:

determine a size value corresponding to a sequence of data to be read from or written to the DSD;

if the size value is less than a threshold value, store the sequence of data in the NVSM; and

if the size value is greater than the threshold value, store a first portion of the sequence of data in the NVSM and at least a remaining portion of the sequence of data on the at least one disk;

wherein the threshold value is based on at least:

a preparation time for accessing data from the at least one disk, and

a throughput value of the NVSM for storing data in or retrieving data from the NVSM.

20. The host of claim 19, wherein the size value corresponds to an amount of data to be read from or written to the DSD.

21. The host of claim 19, wherein the size value corresponds to a number of queued commands for reading data from or writing data to the DSD.

22. The host of claim 19, wherein the size value of the first portion of the sequence of data is equal to the threshold value.

23. The host of claim 19, wherein the first portion of the sequence of data is stored in both the at least one disk and the NVSM.

24. The host of claim 19, wherein the processor is further configured to store the sequence of data in the NVSM if the size value equals the threshold value.

25. The host of claim 19, wherein the processor is further configured to store the first portion of the sequence of data in the NVSM and store the at least a remaining portion of the sequence of data on the at least one disk if the size value equals the threshold value.

Resources

Images & Drawings included:

Sources:

Recent applications in this class:

Recent applications for this Assignee: