The use of solid state drives or devices (SSDs) instead of other storage media such as random access memory to store data presents some challenges, especially when that data is frequently updated. For instance, SSDs store data in blocks. To write data to a block, the block is first erased and then the new data is written to the block. However, a block can only be erased a limited number of times before wearing out. Thus, SSDs that are used to store data that changes frequently can quickly wear out. Wear leveling is used to distribute data writes among the blocks so that blocks do not fail prematurely, thereby extending the lifetime of SSDs. Nevertheless, each SSD will eventually wear out, some quicker than others.
In a cloud-based or storage-as-a-service (SaaS) environment, for example, storage service providers (SSPs) provide storage space and related services to customers (e.g., individuals, companies, and businesses). SSDs may be allocated on the fly depending on workload and other variables such as quality-of-service. The SSPs charge a fee (e.g., a monthly rate) based on the amount of drive space allocated to and/or used by the customer.
SSPs provide their services for profit and are therefore interested in improving the return on investment on the SSDs they purchase and implement as part of those services.
Embodiments according to the invention introduce a tiered pricing schedule that places a higher fee on workloads that include more write operations, in contrast to conventional models of charging customers a fee that is based on the amount of storage space allocated and/or used. Therefore, in embodiments according to the invention, the fee charged to a customer for using an SSD considers the workload placed on the SSD by the customer. In an embodiment, the workload is measured in terms of the number of writes to the SSD performed for the customer.
For example, a workload for customer A may require more write operations to an SSD than a workload for customer B, and therefore customer A is expending a greater proportion of the SSD's lifetime for the reasons discussed above. However, if customers A and B are using the same amount of storage space on the SSD then, according to conventional pricing models, they would be charged the same amount. Thus, even though the overhead cost attributable to customer A is greater than that of customer B (because customer A is causing the SSD to wear out faster), both customers share the cost equally according to conventional pricing models. To put it another way, the SSP makes less profit off customer A than off customer B under conventional pricing models because both customers pay the same amount but there is more overhead associated with customer A than customer B.
However, using a tiered pricing schedule based on workload (e.g., number of write operations) as disclosed herein, customer A would be charged more and would pay more than customer B. Note that the tiered pricing schedule can be combined with the more traditional pricing model; for example, the amount of the fee charged to a customer can be based on both workload and the amount of drive space allocated and/or used.
In an embodiment according to the invention, a method for determining a utilization-based fee for storing data includes determining a number of write operations for writing a quantity of data to an SSD and determining an amount of a fee based on the number of write operations for writing that quantity of data to the SSD. In an embodiment, a bill based on the amount of the fee is generated and transmitted.
In an embodiment, the number of write operations is a predicted value. In another embodiment, the number of write operations is determined by counting the number of write operations performed while writing the quantity of data to the SSD.
In an embodiment, a lifetime of the SSD is determined (e.g., estimated). In an embodiment, the lifetime is based on the number of blocks in the SSD and the maximum number of write operations per block. The lifetime can be expressed in terms of units of number of write operations. A utilization factor for a particular workload can be determined by dividing the number of write operations in the workload by the lifetime. The value of the utilization factor can then be used to determine the amount of the fee. In an embodiment, the amount of the fee is determined using a tiered pricing schedule that bases the fee on the magnitude of the value of the utilization factor. Accordingly, a larger workload may result in a higher fee.
In such an embodiment, the number of write operations per customer is cumulative per customer per SSD. In other words, the total number of write operations to a particular SSD is counted for each customer. In this manner, a customer's utilization factor can increase over time, perhaps moving the customer to a higher tier in the pricing schedule. Accordingly, a customer that writes data frequently may pay a higher fee, even if the workload (e.g., number of write operations) is small each time data is written.
In summary, embodiments according to the present invention can result in a higher fee being charged for larger workloads (e.g., workloads that require more write operations) and/or for frequent writes. Essentially, a customer that incurs more costs is charged more, thereby maintaining a consistent profit margin across customers. Relative to conventional approaches, SSPs can receive a greater return on investment for each SSD that they deploy.
These and other objects and advantages of the various embodiments of the present invention will be recognized by those of ordinary skill in the art after reading the following detailed description of the embodiments that are illustrated in the various drawing figures.
The accompanying drawings, which are incorporated in and form a part of this specification and in which like numerals depict like elements, illustrate embodiments of the present disclosure and, together with the detailed description, serve to explain the principles of the disclosure.
Reference will now be made in detail to the various embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings. While described in conjunction with these embodiments, it will be understood that they are not intended to limit the disclosure to these embodiments. On the contrary, the disclosure is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the disclosure as defined by the appended claims. Furthermore, in the following detailed description of the present disclosure, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it will be understood that the present disclosure may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the present disclosure.
Some portions of the detailed descriptions that follow are presented in terms of procedures, logic blocks, processing, and other symbolic representations of operations on data bits within a computer memory. These descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. In the present application, a procedure, logic block, process, or the like, is conceived to be a self-consistent sequence of steps or instructions leading to a desired result. The steps are those utilizing physical manipulations of physical quantities. Usually, although not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as transactions, bits, values, elements, symbols, characters, samples, pixels, or the like.
It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present disclosure, discussions utilizing terms such as “receiving,” “accessing,” “sending,” “executing,” “determining,” “writing,” “predicting,” “counting,” “subtracting,” “adding,” “using,” “storing,” “billing,” “generating,” “transmitting,” or the like, refer to actions and processes (e.g., flowcharts 400 and 500 of
Embodiments described herein may be discussed in the general context of computer-executable instructions residing on some form of computer-readable storage medium, such as program modules, executed by one or more computers or other devices. By way of example, and not limitation, computer-readable storage media may comprise non-transitory computer storage media and communication media. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types. The functionality of the program modules may be combined or distributed as desired in various embodiments.
Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, random access memory (RAM), read only memory (ROM), electrically erasable programmable ROM (EEPROM), flash memory (e.g., an SSD or NVMD) or other memory technology, compact disk ROM (CD-ROM), digital versatile disks (DVDs) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and that can accessed to retrieve that information.
Communication media can embody computer-executable instructions, data structures, and program modules, and includes any information delivery media. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RF), infrared and other wireless media. Combinations of any of the above can also be included within the scope of computer-readable media.
In the example of
The system 100 is coupled to or incorporates a solid state drive or device (SSD) 102, which may also be known as a non-volatile memory device (NVMD) or a flash memory device. There can be more than one such device (e.g., SSD) coupled to or included in the system 100; that is, a single host system can be coupled to more than one SSD. The host system 120 and the SSD 102 communicate via a host bus interface (HBI) 105 (e.g., a Peripheral Component Interconnect Express (PCIe) bus).
The SSD 102 includes a controller 104 that may be referred to as the master controller. The SSD 102 also includes a number of storage elements, specifically a chip array 110 that includes a number of dies or chips 106a-106n that are used to store data. In an embodiment, the dies 106a-106n include any practicable number of non-volatile memory elements such as NAND flash elements, and as such the SSD 102 may be referred to as a NAND flash device. Alternatively, the dies may include NOR flash elements. There may be any number of dies 106a-106n. The SSD 102 may include elements other than those shown or described.
The controller 104 can be implemented as an application-specific integrated circuit (ASIC) or field-programmable gate array (FPGA) that is embedded in the SSD 102. In general, the controller 104 includes control circuitry that facilitates reading, writing, erasing, and other operations on, for, and/or using the dies 106a-106n.
In an embodiment, the controller 104 includes or executes a flash translation layer (FTL) to translate logical block addresses from the host system 120 to physical addresses on the SSD 102. The controller 104 also includes or controls a write path 112 and a read path 114. The write path 112 may include a physical layer (PHY) interface and a serializer/deserializer that converts data between the analog and digital domains (from analog to digital, and from digital to analog). The write path 112 may also include a data compression block, an encryption block, and an error correction code (ECC) encoding block. The read path 114 may include an ECC decoding block, a decryption block, and a decompression block. The controller 104 is coupled to the dies 106a-106n via, for example, an Open NAND Interface (ONFI). A chip select signal is used by the controller 104 to locate, address, and/or activate a particular one of the dies 106a-106n.
The client systems 201 and 202 generally represent any type or form of computing device or system. The network 250 generally represents any wired (including optical fiber) or wireless telecommunication or computer network including but not limited to, for example, an intranet, a wide area network (WAN), a local area network (LAN), a personal area network (PAN), a storage area network (SAN), or the Internet. The network architecture 200 can include systems and devices in addition to those shown, including other types of devices such as routers and switches.
The storage systems 211 and 212 can be implemented using a system such as the system 100 of
The enterprise that owns and/or manages the storage systems 211 and 212 is referred to herein as a storage service provider (SSP). In an embodiment, the SSP manages the storage systems 211 and 212 via an SSP system 280. For example, the SSP system 280 can be implemented by the host system 120 of
In use, with reference to
As will be described in further detail below, the amount of the fee that the SSP charges to a customer depends (at least in part) on the size of the workload for that customer. In an embodiment, the size of the workload for a customer is measured by the number of write operations performed per SSD for that customer. For example, the amount of the fee charged to customer A to store data on the SSD 221a is a function of the number of write operations performed to write that data to that SSD, the amount of the fee charged to customer A to store data on the SSD 221k is a function of on the number of write operations performed to write that data to that SSD, and so on, and the same can be said for customer B. Note that the customer workload per SSD can be a cumulative value over the lifetime of the arrangement (e.g., services contract) between the SSP and the customer. That is, for example, the amount of the fee charged to customer A for using the SSD 221a can be based on the total number of writes to that SSD for customer A.
Each of the SSDs 221a-221k and 231a-231m has a maximum number of writes that can be performed per block. The lifetime of an SSD, expressed in units of number of write operations, can be determined (estimated) by summing the maximum number of write operations of all the blocks in the SSD. If the maximum number of writes per block is constant or relatively constant, then the lifetime of the SSD can be determined by multiplying the maximum number of writes per block by the number of blocks.
In an embodiment, the quantity of data to be written to an SSD is analyzed to determine (estimate or predict) the workload (e.g., number of write operations). The estimated workload can then be divided by the lifetime of the SSD to determine a percentage of the lifetime that would be consumed by that workload once it is executed; this percentage (or fraction) is referred to herein as a utilization factor.
In another embodiment, instead of estimating the workload before it is executed as just described, the actual size of the workload is determined during or after execution of the workload. In such an embodiment, a counter can be used to determine the actual size of the workload. The value of the counter before execution of the workload is recorded. During execution of the workload, the counter value is incremented. In an embodiment, the counter is implemented on or by the controller 104 as shown in the example of
In embodiments according to the invention, a tiered pricing schedule is used to determine the amount of the fee to be charged to a customer. In an embodiment, the tiered pricing schedule is a function of the value of the utilization factor. The greater the value of the utilization factor, the higher the amount of the fee.
The above discussion is illustrated by way of the following example (the values in the example are chosen for illustrative purposes only). If an SSD has 300 million blocks and 10,000 writes can be performed per block, then the lifetime of the SSD would be three trillion writes. A workload for customer A that utilizes five million write operations to the SSD results in a utilization factor of 0.000016 percent (%). A workload for customer B that utilizes two million write operations to the SSD would result in a utilization factor of 0.000006 percent. An example of a tiered pricing schedule is given in Table 1.
Thus, in the example above, customer A would be charged a fee in the amount of $125 to execute their workload on the SSD, and customer B would be charged a fee in the amount of $100 to execute their workload on the SSD. Therefore, in general, the amount of the fee is larger for larger workloads.
As noted above, the utilization factor can be a cumulative value per SSD. Thus, for example, each time a workload for a customer is executed on an SSD, the number of writes associated with that workload is added to the number of writes performed to execute previous workloads using that SSD. Thus, the amount of the fee charged to the customer may increase over time. Therefore, a customer that frequently writes data to an SSD (the same SSD) may be charged more to execute a later workload than an earlier one even if the size of the later workload is smaller than the earlier ones. Consequently, a customer that writes data more frequently to an SSD may be charged more than a customer that writes data less frequently to that SSD, independent of the amount of space on the SSD that is allocated to each of the customers. In the example above, if the workload for customer A is executed only one time but customer B updates its data once per day with two million writes per update, then customer B will eventually be charged a higher fee per update than the fee charged to customer A even though customer A may be allocated more space on the SSD than customer B.
The tiered pricing schedule based on workload can be used in combination with a pricing schedule that is based on allocated space, so that customers are charged based on a combination of the two factors. Other factors may also be considered in the price.
In the example embodiment of
In an embodiment, the workload analyzer module 302 determines the size of the workload for a customer. In an embodiment, the workload analyzer module 302 can estimate or predict the size of the workload or determine the actual size of the workload as previously described herein. In another embodiment, the workload analyzer module 302 includes a counter for counting the actual number of write operations included in the workload. In other embodiments, the counter is implemented on or by the controller 104 or the host system 120 of
In an embodiment, the accounting module 304 determines the amount of the fee to be charged to the customer based on information about the size of the workload that is received from the workload analyzer module 302. In such an embodiment, the accounting module 304 can determine a utilization factor for the customer as described above, and can determine the fee amount using a pricing schedule based on the utilization factor. As mentioned above, the utilization factor can be a cumulative value per SSD and per customer, in which case the accounting module 304 can be used to track information needed to determine such a utilization factor.
In an embodiment, the billing module 306 is used to bill the customer the amount of the fee determined by the accounting module 304 and can also be used to record whether or not the bill has been paid. The billing module 306 can determine the amount to be billed based on the amount of the fee determined by the accounting module 304. In determining the amount to be billed, the accounting module 304 and the billing module 306 can work in concert to determine, for example, whether the customer has an outstanding balance, whether the customer is entitled to discounts or rebates, and the like. After the amount to be billed is determined, the billing module 306 can generate a bill and transmit the bill to the customer. The billing module 306 can also calculate a due date, determine whether or not the bill has been paid by the due date, and send out reminders or another bill (e.g., an updated bill that includes more recent fees in addition to the outstanding balance).
In block 402 of
In block 404 of
In block 406 of
In block 408, the customer is billed an amount based on the fee amount. In an embodiment, a bill is generated and transmitted to the customer by the billing module 306 of
In block 502 of
In block 504, the size of the workload associated with writing the data to the SSD is determined. In an embodiment, the number of write operations is determined using the workload analyzer module 302 of
In block 506 of
In block 508 of
All or some of the operations represented by the blocks in the flowcharts 400 and 500 can be implemented as computer-executable instructions residing on some form of non-transitory computer-readable storage medium and performed by a computer system (e.g., the system 280 of
In summary, embodiments according to the present invention can result in a higher fee being charged for larger workloads (e.g., workloads that require more write operations) and/or for frequent writes. Essentially, customers that incur more costs are charged more, thereby maintaining a consistent profit margin across customers. Relative to conventional approaches, SSPs can receive a greater return on investment for each SSD that they deploy.
While the foregoing disclosure sets forth various embodiments using specific block diagrams, flowcharts, and examples, each block diagram component, flowchart step, operation, and/or component described and/or illustrated herein may be implemented, individually and/or collectively, using a wide range of hardware, software, or firmware (or any combination thereof) configurations. In addition, any disclosure of components contained within other components should be considered as examples because many other architectures can be implemented to achieve the same functionality.
The process parameters and sequence of steps described and/or illustrated herein are given by way of example only and can be varied as desired. For example, while the steps illustrated and/or described herein may be shown or discussed in a particular order, these steps do not necessarily need to be performed in the order illustrated or discussed. The various example methods described and/or illustrated herein may also omit one or more of the steps described or illustrated herein or include additional steps in addition to those disclosed.
While various embodiments have been described and/or illustrated herein in the context of fully functional computing systems, one or more of these example embodiments may be distributed as a program product in a variety of forms, regardless of the particular type of computer-readable media used to actually carry out the distribution. The embodiments disclosed herein may also be implemented using software modules that perform certain tasks. These software modules may include script, batch, or other executable files that may be stored on a computer-readable storage medium or in a computing system. These software modules may configure a computing system to perform one or more of the example embodiments disclosed herein. One or more of the software modules disclosed herein may be implemented in a cloud computing environment. Cloud computing environments may provide various services and applications via the Internet. These cloud-based services (e.g., storage as a service, software as a service, platform as a service, infrastructure as a service, etc.) may be accessible through a Web browser or other remote interface. Various functions described herein may be provided through a remote desktop environment or any other cloud-based computing environment.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the disclosure is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the disclosure.
Embodiments according to the invention are thus described. While the present disclosure has been described in particular embodiments, it should be appreciated that the invention should not be construed as limited by such embodiments, but rather construed according to the following claims.
Number | Date | Country | |
---|---|---|---|
Parent | 15065001 | Mar 2016 | US |
Child | 16827597 | US |