This inventive concept relates to multi-streaming, and more particularly to enhancing multi-streaming to support Quality of Service attributes.
Multi-streaming Solid State Drives (SSDs) allow smart placement of incoming data to minimize the effect of internal Garbage Collection (GC) and reduce write amplification. Multi-streaming is achieved by adding a simple tag (stream ID) to each write request. Based on this tag, the SSD may group data into common erase blocks. To make use of multi-stream, data within the same stream should have at least one common attribute, for example, data life cycle.
But SSDs in general, and multi-streaming SSDs in particular, do not directly support Quality of Service (QoS) attributes. It is up to the host computer to provide support for any QoS attributes of streams and the software that generate stream requests.
A need remains for a way to improve the performance of multi-streaming devices to satisfy QoS attributes.
Reference will now be made in detail to embodiments of the inventive concept, examples of which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth to enable a thorough understanding of the inventive concept. It should be understood, however, that persons having ordinary skill in the art may practice the inventive concept without these specific details. In other instances, well-known methods, procedures, components, circuits, and networks have not been described in detail so as not to unnecessarily obscure aspects of the embodiments.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first module might be termed a second module, and, similarly, a second module might be termed a first module, without departing from the scope of the inventive concept.
The terminology used in the description of the inventive concept herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the inventive concept. As used in the description of the inventive concept and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The components and features of the drawings are not necessarily drawn to scale.
Quality of Service (QoS) and Bandwidth Management are techniques commonly used to prioritize system and network traffic. Similar concepts may be introduced into Solid State Drives (SSDs) and other storage devices, such that appropriate input/output (I/O) types may utilize SSD and/or storage device resources in more efficiently.
Multi-stream technology has a well-defined framework. Using multi-stream technology, a host may effectively use the SSD by grouping write requests based on data lifetime. This framework may be expanded to include additional attributes including minimum and/or maximum bandwidth, stream priority, and maximum latency or preferred latency consistency level for each stream. These attributes may enable a stream to be used not only in the write operations, but also in read operations.
Each SSD has known limitations in terms of bandwidth and latency. That is, a given SSD has a maximum bandwidth that may be used to send and receive data, and a given SSD has a minimum latency needed to complete an I/O operation. Within these limitations, a host may set a fixed condition for a stream, requesting that the SSD provide certain minimum levels of service for the stream. The SSD may then allocate the remaining resources for other requests or streams. A host may specify a minimum and/or maximum bandwidth, a priority, or a maximum latency for each stream. When requests are sent to the SSD, the SSD may satisfy these requests in any manner that guarantees (or at least delivers a “best try” for) the requested QoS for the stream. If total demand for the SSD exceeds its capability, the SSD may make sure each stream gets its minimum QoS level (or as close as possible), and then use any remaining headroom to service other workload streams with equal or higher priority. This approach may replace the “first come, first served” strategy that is currently used to satisfy I/O requests.
In order to support QoS management, various operations may be enabled or enhanced in the multi-stream framework.
1) Open and Close Stream: Before a host may assign requests to a stream, the stream needs to be opened. When the host has completed I/O with the stream, the host may close the stream. Closing a stream releases any allocated resources back to the SSD.
2) Set Stream Minimum and/or Maximum Bandwidth: This command allows a host to set the minimum bandwidth for the specified stream. By default, a stream should receive as much bandwidth as the SSD may support: the SSD will use its full bandwidth when possible. But a stream has no minimum guaranteed level of service. When a stream sets a minimum bandwidth, the SSD will maintain the specified bandwidth for that stream, and use the remaining bandwidth to service other requests. Similarly, when a stream sets a maximum bandwidth, the SSD will maintain the bandwidth within this maximum limit. The SSD may have either, or both minimum and maximum bandwidth limitations.
3) Set Stream Priority Level: This command allows a host to set the priority level of the specified stream. By default, all streams are considered to have equal priority (the minimum priority level offered by the SSD). This command allows a host to specify a particular priority level for a stream. In an embodiment of the inventive concept, priority level 0 is considered the highest priority level and is always serviced first. Priority level 0 is reserved for requests that require real-time response. Priority level 0 also allows for finer control of latency.
4) Set Stream Maximum Latency: This command allows a host to set the maximum latency for the specified stream. When a stream's priority is set to the highest level (level 0), the SSD may use the maximum latency setting to service requests in a manner that provides better QoS.
5) Reset Stream Attributes: This comment allows a host to reset the attributes for a stream to the default values.
5) Query Stream: The existing multi-stream framework permits a host to query a stream's open/close status. Embodiments of the inventive concept permit the use of additional fields to provide a stream's QoS attribute settings, returning the stream's current minimum and/or maximum bandwidth, priority level, and maximum latency.
In addition to expanding the multi-stream framework, embodiments of the inventive concept may expose new fields, specifying the device's capabilities. These fields may include:
1) Stream QoS Attribute Support: A host may use this field to determine if the SSD supports stream QoS attributes such as bandwidth allocation, priority, and latency.
2) Maximum Bandwidth: A host may use this field to determine the total bandwidth the SSD may support. The bandwidth allocated for each stream, and the sum of all streams' allocated bandwidth, may not exceed this value.
3) Maximum Priority Level: A host may use this field to determine how many levels of stream priorities the SSD may support. In an embodiment of the inventive concept, priority level 0 may be reserved for real-time requests.
4) Minimum Latency: A host may use this field to determine the best latency the SSD may offer. The maximum latency setting for each stream may not be less than this value.
Host 105 may also be connected to a network, such as network 125. Network 125 may be any variety of network, including a wired network or a wireless network, such as 802.11/a/b/g/ac network or a connectivity using Bluetooth® wireless technology. (Bluetooth is a registered trademark of Bluetooth SIG, Inc. in the United States.) Network 125 may also mix different types of networks, including both wired and wireless technology. Network 125 may be a local area network (LAN), a wide area network (WAN), a global network such as the Internet, or some combination thereof. Network 125 may permit other computers to access storage device 120.
In unallocated resources request 315, host 105 may request information about the unallocated resources of storage device 120: storage device 120 may send unallocated resources response 320, providing this information. For example, storage device 120 might be able to support a total bandwidth of 100 megabytes per second (MB/s), but might have already guaranteed some stream a minimum bandwidth of 30 MB/s. In that case, storage device 120 has only 70 MB/s of bandwidth as an unallocated resource—at least, as a resource that may be guaranteed for Quality of Service (QoS) purposes.
In some embodiments of the inventive concept, storage device 120 may only be able to support QoS attributes based on one resource of storage device 120. For example, if bandwidth is currently being used as a QoS attribute for one stream, storage device 120 might be limited to only using bandwidth for QoS attributes for any additional streams. If so, then unallocated resources response 320 (or capabilities response 310) may indicate what resource may currently be used by host 105 for QoS attributes. In this manner, host 105 may ensure that all QoS attributes use the same resource. By including this information in either unallocated resources response 320 or capabilities response 310, the requesting machine may be made aware of how storage device 120 is currently being used. This information may be useful if, for example, storage device 120 is being used as Network Attached Storage (NAS), and therefore may be accessed by multiple computers across network 125 of
Note that there is a difference between unallocated resources for QoS purposes and available resources in terms of active use of storage device 120. For example, at the time storage device 120 sends response 320, storage device 120 might be idle, with no pending transactions. This would mean that, at the moment, storage device 120 currently has its full bandwidth available to any requests. But since storage device 120 has allocated 30 MB/s to some stream, that portion of the bandwidth resource is not available for the host to request for a new stream.
In open stream request 325, host 105 may request that storage device 120 open a new stream. For purposes of identifying the stream, open stream request 325 may include a stream identifier. This stream identifier may be a tag that may be included with write requests, so that storage device 120 may quickly determine what stream the requests belong to. In embodiments of the inventive concept, the stream identifier may also be included in other requests, to help storage device 120 satisfy the QoS attributes of the stream for all requests (not just write requests). Storage device 120 may return a status of open stream request 325 as open stream response 330.
Once the stream has been opened, host 105 may configure storage device 120 with the stream's QoS settings. In configuration request 335, host 105 may specify the QoS attribute for the stream. The QoS attribute may be, for example, a minimum bandwidth to be allocated to the stream, a priority for the stream, or a maximum latency for requests from the stream. But regardless of the resource being allocated, host 105 may not request more of the resource than is currently unallocated. Put another way, the sum of all resource allocations across all streams may not exceed the capabilities of storage device 120. In configuration response 340, storage device 120 may return a status of configuration request 335.
In
Host 105 may also send additional configuration requests, such as configuration request 365. Configuration request 365 may specify a new QoS attribute for the stream. That is, configuration request 365 may change the QoS attribute for the stream from what had been specified in configuration request 335 of
Regardless of the reason why host 105 sends configuration request 365, storage device 120 may send configuration response 370, returning a status of configuration request 365.
Note that
When the stream has been exhausted (that is, there are no further requests associated with the stream), host 105 may send close stream request 375. Storage device 120 may then close the stream and return close stream status 380. Closing the stream releases any resources allocated to the stream, permitting those resources to be used by other streams for QoS purposes.
As mentioned above with reference to
But even in embodiments of the inventive concept where storage device 120 limits QoS attributes to a single resource, that fact does not mean that the resource in question may not be changed. For example, assume that only one stream is currently in use, which has a guaranteed minimum bandwidth for a QoS attribute. If that stream is closed, then there would be no streams with QoS attributes currently in place. A new stream might then be opened, specifying a QoS attribute of a guaranteed maximum latency. At this point, any subsequent streams may have to use latency as a QoS attribute, until that resource is no longer allocated to any streams.
In addition, if only one stream is currently using resources of storage device 120, host 105 may change what resource is used for QoS attribute purposes. For example, assume that only one stream has a QoS attribute, and that stream has specified a guaranteed minimum bandwidth. For whatever reason, host 105 wants to change the QoS attribute for that stream to a guaranteed maximum latency. Since changing the resource used for QoS attribute purposes would not affect any other streams with QoS attributes, host 105 might use configuration request 365 to change the QoS attribute of the stream from one resource to another. Thereafter, any new streams that would want to implement QoS attributes may have to use latency as the resource.
In
While
SSD controller 505 may include host interface 525, flash file system 530, error correcting code 535, and flash interface 540. Host interface 525 may interface with host 105 of
Flash file system 530 may include host interface layer 545, wear leveling 550, and garbage collection 555. Host interface layer 545 may manage information as received from host 105 of
In some embodiments of the inventive concept, regular request queue 605 may store requests that are not associated with a QoS attribute. These requests may be either requests that have no associated stream (that is, requests that are not tagged with a stream ID), or requests associated with a stream that itself does not have a QoS attribute. For example,
But in other embodiments of the inventive concept, a stream that does not explicitly have a QoS attribute may have default QoS attribute 625 applied. For example, requests associated with a stream, even without an explicit QoS attribute, might be considered to have a higher priority than non-stream requests that do not have an associated QoS attribute. In these embodiments of the inventive concept, regular request queue 605 would only store requests that are not associated with a stream, as the default QoS attribute would apply and those requests would be stored in stream request queue 610.
As mentioned above, once requests have been stored in either regular request queue 605 or stream request queue 610, buffer manager 615 may determine the overall order in which requests are processed. To that end, stream QoS scheduler 630 may schedule requests from both regular request queue 605 and stream request queue 610 to satisfy stream QoS attributes 620 for the streams (and to satisfy default QoS attributes 625 for streams that do not explicitly establish QoS attributes). QoS scheduler 630 may use any desired scheduling algorithm to satisfy stream QoS attributes 620, such as weighted fair queueing. QoS scheduler 630 may use different scheduling algorithms, depending on the resources being used in stream QoS attributes 620. For example, QoS scheduler 630 may use one scheduling algorithm when bandwidth 635 (using minimum bandwidth allocations, maximum bandwidth allocations, or a mixture of the two) is the resource in question, another scheduling algorithm when priority 640 is the resource, and a third scheduling algorithm when latency 645 is the resource.
Regardless of the particular scheduling algorithm used, once the requests have been ordered, the requests may be stored in event queue 650. Requests may then be taken out of event queue 650 by flash interface 540 of
If a second stream then requests an additional 25 MB/s of bandwidth 635, host interface layer 545 of
Given the stream QoS attributes that allocate portions 705 and 710 of bandwidth 635, stream QoS scheduler 630 of
By assigning a priority level for each stream, stream QoS scheduler 630 of
In
Note that
For example, in
Now consider the situation where stream 910 issues new request 920. With various requests waiting to be processed, processing the requests in the order in which they arrived might not satisfy the stream QoS attributes. For example, if request 920 is processed after the requests from stream 915 are processed, request 920 might end up with a total latency greater than 50 ms.
To ensure that all the stream QoS attributes are satisfied, stream QoS scheduler 630 of
At block 1020, host 105 of
At block 1030 (
At this point, as shown by dashed arrows 1045 and 1050, various possibilities may occur. In some embodiments of the inventive concept, processing may continue with block 1055, where host 105 of
In
In
At block 1020, host 105 of
At block 1030 (
At this point, as shown by dashed arrow 1130, processing may return to block 1030, permitting host 105 of
In
At block 1330 (
At this point, as shown by dashed line 1345, processing may return to block 1330 for host 105 of
In
The following discussion is intended to provide a brief, general description of a suitable machine or machines in which certain aspects of the inventive concept may be implemented.
The machine or machines may be controlled, at least in part, by input from conventional input devices, such as keyboards, mice, etc., as well as by directives received from another machine, interaction with a virtual reality (VR) environment, biometric feedback, or other input signal. As used herein, the term “machine” is intended to broadly encompass a single machine, a virtual machine, or a system of communicatively coupled machines, virtual machines, or devices operating together. Exemplary machines include computing devices such as personal computers, workstations, servers, portable computers, handheld devices, telephones, tablets, etc., as well as transportation devices, such as private or public transportation, e.g., automobiles, trains, cabs, etc.
The machine or machines may include embedded controllers, such as programmable or non-programmable logic devices or arrays, Application Specific Integrated Circuits (ASICs), embedded computers, smart cards, and the like. The machine or machines may utilize one or more connections to one or more remote machines, such as through a network interface, modem, or other communicative coupling. Machines may be interconnected by way of a physical and/or logical network, such as an intranet, the Internet, local area networks, wide area networks, etc. One skilled in the art will appreciate that network communication may utilize various wired and/or wireless short range or long range carriers and protocols, including radio frequency (RF), satellite, microwave, Institute of Electrical and Electronics Engineers (IEEE) 802.11, Bluetooth®, optical, infrared, cable, laser, etc.
Embodiments of the present inventive concept may be described by reference to or in conjunction with associated data including functions, procedures, data structures, application programs, etc. which when accessed by a machine results in the machine performing tasks or defining abstract data types or low-level hardware contexts. Associated data may be stored in, for example, the volatile and/or non-volatile memory, e.g., RAM, ROM, etc., or in other storage devices and their associated storage media, including hard-drives, floppy-disks, optical storage, tapes, flash memory, memory sticks, digital video disks, biological storage, etc. Associated data may be delivered over transmission environments, including the physical and/or logical network, in the form of packets, serial data, parallel data, propagated signals, etc., and may be used in a compressed or encrypted format. Associated data may be used in a distributed environment, and stored locally and/or remotely for machine access.
Embodiments of the inventive concept may include a tangible, non-transitory machine-readable medium comprising instructions executable by one or more processors, the instructions comprising instructions to perform the elements of the inventive concepts as described herein.
Having described and illustrated the principles of the inventive concept with reference to illustrated embodiments, it will be recognized that the illustrated embodiments may be modified in arrangement and detail without departing from such principles, and may be combined in any desired manner. And, although the foregoing discussion has focused on particular embodiments, other configurations are contemplated. In particular, even though expressions such as “according to an embodiment of the inventive concept” or the like are used herein, these phrases are meant to generally reference embodiment possibilities, and are not intended to limit the inventive concept to particular embodiment configurations. As used herein, these terms may reference the same or different embodiments that are combinable into other embodiments.
The foregoing illustrative embodiments are not to be construed as limiting the inventive concept thereof. Although a few embodiments have been described, those skilled in the art will readily appreciate that many modifications are possible to those embodiments without materially departing from the novel teachings and advantages of the present disclosure. Accordingly, all such modifications are intended to be included within the scope of this inventive concept as defined in the claims.
Embodiments of the inventive concept may extend to the following statements, without limitation:
Statement 1. An embodiment of the inventive concept includes a storage device (120), comprising:
memory (510, 515, 520) on the storage device (120) to store data;
a host interface (525) to receive first requests (345, 350, 415) for a first stream (405) and second requests (420, 425, 430, 435, 440) from a host (105); and
a host interface layer (545) to schedule the first requests (345, 350, 415) and second requests (420, 425, 430, 435, 440) in a manner that may satisfy a first Quality of Service (QoS) attribute (620) for the first stream (405).
Statement 2. An embodiment of the inventive concept includes a storage device (120) according to statement 1, wherein the storage device (120) includes a Solid State Drive (SSD) (120).
Statement 3. An embodiment of the inventive concept includes a storage device (120) according to statement 1, wherein:
the host interface (525) is operative to receive the first requests (345, 350, 415) for the first stream (405) and the second requests (420, 425, 430) for a second stream (410) from the host (105); and
the host interface layer (545) is operative to schedule the first requests (345, 350, 415) and second requests (420, 425, 430) in a manner that may satisfy the first QoS attribute (620) for the first stream (405) and a second QoS attribute (620) for the second stream (410).
Statement 4. An embodiment of the inventive concept includes a storage device (120) according to statement 3, wherein the host interface layer (545) is operative to allocate a first portion (705) of resources (635, 640, 645) of the storage device (120) to process the first requests (345, 350, 415) for the first stream (405) and a second portion (710) of the resources (635, 640, 645) of the storage device (120) to process the second requests (420, 425, 430) for the second stream (410).
Statement 5. An embodiment of the inventive concept includes a storage device (120) according to statement 4, wherein the host interface layer (545) is further operative to allocate a third portion of the resources (635, 640, 645) of the storage device (120) to process third requests (435, 440) from the host (105).
Statement 6. An embodiment of the inventive concept includes a storage device (120) according to statement 1, wherein the host interface layer (545) is operative to allocate a first portion (705) of resources (635, 640, 645) of the storage device (120) to process the first requests (345, 350, 415) for the first stream (405) and a second portion (710) of the resources (635, 640, 645) of the storage device (120) to process the second requests (420, 425, 430, 435, 440).
Statement 7. An embodiment of the inventive concept includes a storage device (120) according to statement 1, wherein the QoS attribute (620) is drawn from a set including a minimum bandwidth (635), a maximum bandwidth (635), a priority (640), and a maximum latency (645).
Statement 8. An embodiment of the inventive concept includes a storage device (120) according to statement 1, wherein the host interface layer (545) includes:
a stream request queue (610) and a regular request queue (605); and
a stream QoS scheduler (630) to schedule the first requests (345, 350, 415) from the stream request queue (610) and the second requests (420, 425, 430, 435, 440) from the regular request queue (605) while satisfying a first Quality of Service (QoS) attribute (620) for the first stream (405).
Statement 9. An embodiment of the inventive concept includes a storage device (120) according to statement 8, wherein the stream QoS scheduler (630) includes a weighted fair queueing scheduler.
Statement 10. An embodiment of the inventive concept includes a method, comprising: receiving (1020) an identifier for a first stream (405) from a host (105) at a storage device (120), the identifier for the first stream (405) identifying a first stream (405);
receiving (1030) a first Quality of Service (QoS) attribute (620) for the first stream (405) from the host (105) at the storage device (120); and
responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405).
Statement 11. An embodiment of the inventive concept includes a method according to statement 10, wherein:
receiving (1020) an identifier for a first stream (405) from a host (105) at a storage device (120) includes receiving (1020) the identifier for the first stream (405) from the host (105) at a Solid State Drive (SSD) (120);
receiving (1030) a first Quality of Service (QoS) attribute (620) for the first stream (405) from the host (105) at the storage device (120) includes receiving (1030) the first QoS attribute (620) for the first stream (405) from the host (105) at the SSD (120); and responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) includes responding (1040) to the first requests (345, 350, 415) for the first stream (405) and the second requests (420, 425, 430, 435, 440) at the SSD (120) in the manner that satisfies the first QoS attribute (620) for the first stream (405).
Statement 12. An embodiment of the inventive concept includes a method according to statement 10, wherein:
the method further comprises:
responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes responding (1125) to the first requests (345, 350, 415) for the first stream (405) and the second requests (420, 425, 430) for the second stream (410) at the storage device (120) in the manner that satisfies the first QoS attribute (620) for the first stream (405) and the second QoS attribute (620) for the second stream (410).
Statement 13. An embodiment of the inventive concept includes a method according to statement 12, wherein responding (1040) to the first requests (345, 350, 415) for the first stream (405) and the second requests (420, 425, 430) for the second stream (410) at the storage device (120) in the manner that satisfies the first QoS attribute (620) for the first stream (405) and the second QoS attribute (620) for the second stream (410) further includes:
allocating (1205) a first portion (705) of resources (635, 640, 645) of the storage device (120) to the first stream (405);
allocating (1205) a second portion (710) of the resources (635, 640, 645) of the storage device (120) to the second stream (410);
using (1215) the first portion (705) of the resources (635, 640, 645) of the storage device (120) to respond to the first requests (345, 350, 415) for the first stream (405); and
using (1215) the second portion (710) of the resources (635, 640, 645) of the storage device (120) to respond to the second requests (420, 425, 430) for the second stream (410).
Statement 14. An embodiment of the inventive concept includes a method according to statement 13, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) further includes using (1220) a remaining portion (715) of the resources (635, 640, 645) of the storage device (120) to respond to third requests (435, 440).
Statement 15. An embodiment of the inventive concept includes a method according to statement 10, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes:
allocating (1205) a first portion (705) of resources (635, 640, 645) of the storage device (120) to the first stream (405);
using (1215) the first portion (705) of the resources (635, 640, 645) of the storage device (120) to respond to the first requests (345, 350, 415) for the first stream (405); and
using (1220) a remaining portion (715) of the resources (635, 640, 645) of the storage device (120) to respond to the second requests (420, 425, 430, 435, 440).
Statement 16. An embodiment of the inventive concept includes a method according to statement 10, wherein the first QoS attribute (620) is drawn from a set including a minimum bandwidth (635), a maximum bandwidth (635), a priority (640), and a maximum latency (645).
Statement 17. An embodiment of the inventive concept includes a method according to statement 10, further comprising:
receiving (1005) a request at the storage device (120) for information about unallocated resources (635, 640, 645) from the host (105) at the storage device (120); and
sending (1010) the information about the unallocated resources (635, 640, 645) about the storage device (120) to the host (105).
Statement 18. An embodiment of the inventive concept includes a method according to statement 17, wherein sending (1010) the information about the unallocated resources (635, 640, 645) from the storage device (120) to the host (105) includes sending (1015) information about capabilities of the storage device (120) to the host (105).
Statement 19. An embodiment of the inventive concept includes a method according to statement 10, wherein receiving (1030) a first Quality of Service (QoS) attribute (620) for the first stream (405) from the host (105) at the storage device (120) includes receiving (1030) a plurality of first Quality of Service (QoS) attributes (620) for the first stream (405) from the host (105) at the storage device (120).
Statement 20. An embodiment of the inventive concept includes a method according to statement 10, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes scheduling (1210) the first requests (345, 350, 415) and the second requests (420, 425, 430, 435, 440) to satisfy the first QoS attribute (620) for the first stream (405).
Statement 21. An embodiment of the inventive concept includes a method according to statement 20, wherein scheduling (1210) the first requests (345, 350, 415) and the second requests (420, 425, 430, 435, 440) to satisfy the first QoS attribute (620) for the first stream (405) includes scheduling (1210) the first requests (345, 350, 415) and the second requests (420, 425, 430, 435, 440) using weighted fair queueing.
Statement 22. An embodiment of the inventive concept includes a method according to statement 10, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes allocating (1205) a minimum bandwidth (635) to satisfying the first requests (345, 350, 415).
Statement 23. An embodiment of the inventive concept includes a method according to statement 10, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes allocating (1205) a maximum bandwidth (635) to satisfying the first requests (345, 350, 415).
Statement 24. An embodiment of the inventive concept includes a method, comprising:
requesting (1305) information about unallocated resources (635, 640, 645) on a storage device (120) by a host (105);
receiving (1310) the information about the unallocated resources (635, 640, 645) on the storage device (120) at the host (105);
determining (1330) a Quality of Service (QoS) attribute (620) for a stream; and
sending (1335) the QoS attribute (620) for the stream from the host (105) to the storage device (120).
Statement 25. An embodiment of the inventive concept includes a method according to statement 24, wherein:
requesting (1305) information about unallocated resources (635, 640, 645) on a storage device (120) includes requesting (1305) the information about unallocated resources (635, 640, 645) on a Solid State Drive (SSD) (120);
receiving (1310) the information about the unallocated resources (635, 640, 645) on the storage device (120) includes receiving (1310) the information about the unallocated resources (635, 640, 645) on the SSD (120); and
sending (1335) the QoS attribute (620) for the stream to the storage device (120) includes sending (1335) the QoS attribute (620) for the stream to the SSD (120).
Statement 26. An embodiment of the inventive concept includes a method according to statement 24, wherein:
requesting (1305) information about unallocated resources (635, 640, 645) on a storage device (120) includes requesting (1315) device capabilities of the storage device (120); and
receiving (1310) the information about the unallocated resources (635, 640, 645) on the storage device (120) includes receiving (1320) the device capabilities of the storage device (120).
Statement 27. An embodiment of the inventive concept includes a method according to statement 24, wherein the QoS attribute (620) is drawn from a set including a minimum bandwidth (635), a maximum bandwidth (635), a priority (640), and a maximum latency (645).
Statement 28. An embodiment of the inventive concept includes a method according to statement 24, wherein sending (1335) the QoS attribute (620) for the stream from the host (105) to the storage device (120) includes sending (1335) a plurality of QoS attributes (620) for the stream from the host (105) to the storage device (120).
Statement 29. An embodiment of the inventive concept includes a method according to statement 24, further comprising:
opening (1325) the stream;
sending (1340) requests (345, 350, 415) for the stream from the host (105) to the storage device (120); and
closing (1350) the stream.
Statement 30. An embodiment of the inventive concept includes an article, comprising a tangible storage medium, said tangible storage medium having stored thereon non-transitory instructions that, when executed by a machine (105), result in:
receiving (1020) an identifier for a first stream (405) from a host (105) at a storage device (120), the identifier for the first stream (405) identifying a first stream (405);
receiving (1030) a first Quality of Service (QoS) attribute (620) for the first stream (405) from the host (105) at the storage device (120); and
responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405).
Statement 31. An embodiment of the inventive concept includes an article according to statement 30, wherein:
receiving (1020) an identifier for a first stream (405) from a host (105) at a storage device (120) includes receiving (1020) the identifier for the first stream (405) from the host (105) at a Solid State Drive (SSD) (120);
receiving (1030) a first Quality of Service (QoS) attribute (620) for the first stream (405) from the host (105) at the storage device (120) includes receiving (1030) the first QoS attribute (620) for the first stream (405) from the host (105) at the SSD (120); and
responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) includes responding (1040) to the first requests (345, 350, 415) for the first stream (405) and the second requests (420, 425, 430, 435, 440) at the SSD (120) in the manner that satisfies the first QoS attribute (620) for the first stream (405).
Statement 32. An embodiment of the inventive concept includes an article according to statement 30, wherein:
said tangible storage medium has stored thereon further non-transitory instructions that, when executed by the machine (105), result in:
Statement 33. An embodiment of the inventive concept includes an article according to statement 32, wherein responding (1040) to the first requests (345, 350, 415) for the first stream (405) and the second requests (420, 425, 430) for the second stream (410) at the storage device (120) in the manner that satisfies the first QoS attribute (620) for the first stream (405) and the second QoS attribute (620) for the second stream (410) further includes:
allocating (1205) a first portion (705) of resources (635, 640, 645) of the storage device (120) to the first stream (405);
allocating (1205) a second portion (710) of the resources (635, 640, 645) of the storage device (120) to the second stream (410);
using (1215) the first portion (705) of the resources (635, 640, 645) of the storage device (120) to respond to the first requests (345, 350, 415) for the first stream (405); and
using (1215) the second portion (710) of the resources (635, 640, 645) of the storage device (120) to respond to the second requests (420, 425, 430) for the second stream (410).
Statement 34. An embodiment of the inventive concept includes an article according to statement 33, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) further includes using (1220) a remaining portion (715) of the resources (635, 640, 645) of the storage device (120) to respond to third requests (435, 440).
Statement 35. An embodiment of the inventive concept includes an article according to statement 30, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes:
allocating (1205) a first portion (705) of resources (635, 640, 645) of the storage device (120) to the first stream (405);
using (1215) the first portion (705) of the resources (635, 640, 645) of the storage device (120) to respond to the first requests (345, 350, 415) for the first stream (405); and
using (1220) a remaining portion (715) of the resources (635, 640, 645) of the storage device (120) to respond to the second requests (420, 425, 430, 435, 440).
Statement 36. An embodiment of the inventive concept includes an article according to statement 30, wherein the first QoS attribute (620) is drawn from a set including a minimum bandwidth (635), a maximum bandwidth (635), a priority (640), and a maximum latency (645).
Statement 37. An embodiment of the inventive concept includes an article according to statement 30, said tangible storage medium having stored thereon further non-transitory instructions that, when executed by the machine (105), result in:
receiving (1005) a request at the storage device (120) for information about unallocated resources (635, 640, 645) from the host (105) at the storage device (120); and
sending (1010) the information about the unallocated resources (635, 640, 645) about the storage device (120) to the host (105).
Statement 38. An embodiment of the inventive concept includes an article according to statement 37, wherein sending (1010) the information about the unallocated resources (635, 640, 645) from the storage device (120) to the host (105) includes sending (1015) information about capabilities of the storage device (120) to the host (105).
Statement 39. An embodiment of the inventive concept includes an article according to statement 30, wherein receiving (1030) a first Quality of Service (QoS) attribute (620) for the first stream (405) from the host (105) at the storage device (120) includes receiving (1030) a plurality of first Quality of Service (QoS) attributes (620) for the first stream (405) from the host (105) at the storage device (120).
Statement 40. An embodiment of the inventive concept includes an article according to statement 30, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes scheduling (1210) the first requests (345, 350, 415) and the second requests (420, 425, 430, 435, 440) to satisfy the first QoS attribute (620) for the first stream (405).
Statement 41. An embodiment of the inventive concept includes an article according to statement 40, wherein scheduling (1210) the first requests (345, 350, 415) and the second requests (420, 425, 430, 435, 440) to satisfy the first QoS attribute (620) for the first stream (405) includes scheduling (1210) the first requests (345, 350, 415) and the second requests (420, 425, 430, 435, 440) using weighted fair queueing.
Statement 42. An embodiment of the inventive concept includes an article according to statement 30, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes allocating (1205) a minimum bandwidth (635) to satisfying the first requests (345, 350, 415).
Statement 43. An embodiment of the inventive concept includes an article according to statement 30, wherein responding (1040) to first requests (345, 350, 415) for the first stream (405) and second requests (420, 425, 430, 435, 440) at the storage device (120) in a manner that satisfies the first QoS attribute (620) for the first stream (405) includes allocating (1205) a maximum bandwidth (635) to satisfying the first requests (345, 350, 415).
Statement 44. An embodiment of the inventive concept includes an article, comprising a tangible storage medium, said tangible storage medium having stored thereon non-transitory instructions that, when executed by a machine (105), result in:
requesting (1305) information about unallocated resources (635, 640, 645) on a storage device (120) by a host (105);
receiving (1310) the information about the unallocated resources (635, 640, 645) on the storage device (120) at the host (105);
determining (1330) a Quality of Service (QoS) attribute (620) for a stream; and
sending (1335) the QoS attribute (620) for the stream from the host (105) to the storage device (120).
Statement 45. An embodiment of the inventive concept includes an article according to statement 44, wherein:
requesting (1305) information about unallocated resources (635, 640, 645) on a storage device (120) includes requesting (1305) the information about unallocated resources (635, 640, 645) on a Solid State Drive (SSD) (120);
receiving (1310) the information about the unallocated resources (635, 640, 645) on the storage device (120) includes receiving (1310) the information about the unallocated resources (635, 640, 645) on the SSD (120); and
sending (1335) the QoS attribute (620) for the stream to the storage device (120) includes sending (1335) the QoS attribute (620) for the stream to the SSD (120).
Statement 46. An embodiment of the inventive concept includes an article according to statement 44, wherein:
requesting (1305) information about unallocated resources (635, 640, 645) on a storage device (120) includes requesting (1315) device capabilities of the storage device (120); and
receiving (1310) the information about the unallocated resources (635, 640, 645) on the storage device (120) includes receiving (1320) the device capabilities of the storage device (120).
Statement 47. An embodiment of the inventive concept includes an article according to statement 44, wherein the QoS attribute (620) is drawn from a set including a minimum bandwidth (635), a maximum bandwidth (635), a priority (640), and a maximum latency (645).
Statement 48. An embodiment of the inventive concept includes an article according to statement 44, wherein sending (1335) the QoS attribute (620) for the stream from the host (105) to the storage device (120) includes sending (1335) a plurality of QoS attributes (620) for the stream from the host (105) to the storage device (120).
Statement 49. An embodiment of the inventive concept includes an article according to statement 44, said tangible storage medium having stored thereon further non-transitory instructions that, when executed by the machine (105), result in:
opening (1325) the stream;
sending (1340) requests (345, 350, 415) for the stream from the host (105) to the storage device (120); and
closing (1350) the stream.
Consequently, in view of the wide variety of permutations to the embodiments described herein, this detailed description and accompanying material is intended to be illustrative only, and should not be taken as limiting the scope of the inventive concept. What is claimed as the inventive concept, therefore, is all such modifications as may come within the scope and spirit of the following claims and equivalents thereto.
This application claims the benefit of U.S. Provisional Patent Application Ser. No. 62/309,446, filed Mar. 16, 2016, which is incorporated by reference herein for all purposes.
Number | Date | Country | |
---|---|---|---|
62309446 | Mar 2016 | US |