Deciding which type of destage to perform based on the prioritization between operational performance and maintaining drive life

By calculating performance and drive life scores for different destage types, the method optimizes data transfer performance and extends drive longevity in storage systems by selecting the most suitable destage operation based on customer preferences.

JP7556656B2Active Publication Date: 2024-09-26INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2022561139
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-04-14
Filing Date
2021-03-25
Publication Date
2024-09-26
Estimated Expiration
2041-03-25

AI Technical Summary

Technical Problem

In storage systems with multiple servers, determining the optimal type of destage operation to balance operational performance and preserve drive life is challenging, as existing methods do not effectively consider factors affecting both performance and drive durability.

Method used

A method is introduced to calculate performance-based and drive life-based scores for different destage types, such as full stride, strip, and individual track destage, using factors like I/O operations, bandwidth, parity lock contention, and flash wear level to determine the most suitable destage type based on customer preferences.

Benefits of technology

This approach optimizes both data transfer performance and drive longevity by selecting the appropriate destage type, enhancing storage controller operations and extending the lifespan of flash drives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556656000020
    Figure 0007556656000020
  • Figure 0007556656000024
    Figure 0007556656000024
  • Figure 0007556656000017
    Figure 0007556656000017
Patent Text Reader

Abstract

A first score corresponding to a full-stride destage, a second score corresponding to a strip destage, and a third score corresponding to an individual track destage are calculated, the first score, the second score, and the third score being calculated for a group of input / output (I / O) operations based on a first metric and a second metric, the first metric being configured to affect data transfer performance and the second metric being configured to affect drive life. A determination of a destage type to perform is made based on the first score, the second score, and the third score.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Embodiments relate to determining the type of destage to perform based on prioritization between operational performance and preserving drive life. [Background technology]

[0002] In a given storage system environment, a storage controller (or storage controller complex) may include multiple storage servers coupled together that allow host computing systems to perform input / output (I / O) operations with storage devices controlled by the storage controller, where the host computing systems are referred to as hosts.

[0003] A storage controller may include two or more servers, where each server may be referred to as a node, storage server, processor complex, central processor complex (CPC), or central electronics complex (CEC). Each server may have multiple processor cores, and the servers may share the workload of the storage controller. In a two server configuration of a storage controller, also referred to as a dual server based storage controller, in the event of a failure of one of the two servers, the other non-failed server may take over the operations previously performed by the failed server.

[0004] Data written from the host can be stored in the cache of the storage controller, and at an appropriate time, the data stored in the cache can be destaged (i.e., moved or copied) to the storage device. Data can also be staged (i.e., moved or copied) from the storage device to the cache of the storage controller. The storage controller can respond to a read I / O request from the host from the cache if the data for the read I / O request is available in the cache, otherwise the data can be staged from the storage device to the cache to respond to the read I / O request. A write I / O request from the host causes data corresponding to the write to be written to be written to the cache, and then at an appropriate time, the written data can be destaged from the cache to the storage device. Because the storage capacity of the cache is relatively small compared to the storage capacity of the storage device, data can be destaged from the cache periodically to generate empty storage space in the cache. Data can be written and read much faster from the cache compared to reading and writing from the storage device.

[0005] In computer data storage, data stripping is the technique of logically segmenting data, such as a sequential file, and storing the resulting segments on different physical storage devices, such as disks. A segment of sequential data that is written to or read from a disk before the operation continues on the next disk is usually called a chunk, stride, or stripe unit, and multiple logical groups of them that form a single stripped operation are called strips or stripes.

[0006] Stripping is used across disks in redundant array of independent disks (RAID) storage. RAID is a data storage virtualization technique that combines multiple physical disk drive components into one or more logical units for the purposes of data redundancy and performance. Data is distributed across the drives in one of several ways, referred to as RAID levels, depending on the level of redundancy and performance required. Different schemes or data distribution layouts are named by the word "RAID" followed by a number, for example RAID0 or RAID1. Each scheme or RAID level provides a different balance between the key goals of reliability, availability, performance, and capacity. RAID levels greater than RAID0 provide protection against unrecoverable sector read errors in addition to accommodating the failure of an entire physical drive through parity information maintained about the stored data. A strip is a term that refers to a single disk and a predefined number of contiguously addressable blocks within that disk. A stripe works in the context of a RAID set and is a set of strips that spans across all the drives in the RAID set. Summary of the Invention

[0007] Provided are methods, systems, and program products, where a first score corresponding to a full-stride destage, a second score corresponding to a strip destage, and a third score corresponding to an individual track destage are calculated, the first score, the second score, and the third score being calculated for a group of input / output (I / O) operations based on a first metric and a second metric, the first metric being configured to affect data transfer performance and the second metric being configured to affect drive life, and a determination of a type of destage to perform is made based on the first score, the second score, and the third score.

[0008] In an additional embodiment, the first metric configured to affect the performance of data transfers includes I / O operations and bandwidth on a rank, non-volatile storage (NVS) capacity, parity lock contention, holes, and unmodified data in strides.

[0009] In a further embodiment, the second metric configured to affect the drive life includes a wear level of the drive, a write-per-day classification of the drive, and an amount of modified data in a stride.

[0010] In certain embodiments, the full-stride destage is performed in response to determining that the first score is highest among the first score, the second score, and the third score.

[0011] In certain embodiments, the strip-destage is performed in response to determining that the second score is highest among the first score, the second score, and the third score.

[0012] In certain embodiments, the individual track destaging is performed in response to determining that the third score is highest among the first score, the second score, and the third score.

[0013] In a further embodiment, a first weight for the first measure and a second weight for the second measure are retrieved from a configuration data structure, and calculating the first score, the second score, and the third score is based on the first weight provided to a first sub-score calculated based on the first measure and the second weight provided to a second sub-score calculated based on the second measure.

[0014] Reference is now made to the drawings, in which like reference numerals represent corresponding parts throughout. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 illustrates a block diagram of a computing environment including a storage controller coupled to one or more hosts and one or more storage devices in accordance with certain embodiments. [Diagram 2] FIG. 2 depicts a block diagram illustrating destage types that may be performed by a storage controller in accordance with certain embodiments. [Diagram 3] FIG. 3 illustrates a block diagram showing the score types calculated for each destage type according to certain embodiments. [Figure 4] FIG. 4 is a block diagram illustrating factors for a performance-based score according to certain embodiments. [Diagram 5] FIG. 5 is a block diagram illustrating factors for a drive life based score according to certain embodiments. [Figure 6] FIG. 6 illustrates a flowchart for selecting a destage type to perform in accordance with certain embodiments. [Figure 7] FIG. 7 is a flowchart for selecting a destage type to perform in accordance with certain embodiments. [Figure 8] FIG. 8 illustrates a block diagram for scoring based on performance factors according to certain embodiments. [Figure 9] FIG. 9 illustrates a block diagram for scoring based on performance factors according to certain embodiments. [Figure 10] FIG. 10 illustrates a block diagram for scoring based on performance factors according to certain embodiments. [Figure 11] FIG. 11 illustrates a block diagram for scoring based on performance factors according to certain embodiments. [Figure 12]FIG. 12 illustrates a block diagram for scoring based on drive life factors according to certain embodiments. [Figure 13] FIG. 13 illustrates a flowchart for selecting a destage type to perform in accordance with certain embodiments. [Figure 14] FIG. 14 illustrates a block diagram of a cloud computing environment in accordance with certain embodiments. [Figure 15] FIG. 15 illustrates a further detailed block diagram of the cloud computing environment of FIG. 14 in accordance with certain embodiments. [Figure 16] FIG. 16 is a block diagram of a computer system illustrating certain elements that may be included in a storage controller or host described in FIGS. 1-15 in accordance with certain embodiments. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] In the following description, reference is made to the accompanying drawings, which form a part hereof, and which illustrate several embodiments, It is understood that other embodiments may be utilized and structural and operational changes may be made.

[0017] In certain embodiments, the storage controller may perform a full-stride destage or multiple destages that are not full-stride destages (e.g., strip destage or individual track destage) based on various factors that affect destage performance and drive life. In a full-stride destage, all data and parity in an entire stride (or stripe) is written during a destage. In a strip destage, one or more strips are written during a destage. In a track destage, one or more tracks are written during a destage.

[0018] While performing a destage, many factors can affect the performance of the destage and the drive life, where performance refers to how quickly the destage completes and drive life refers to the life expectancy or durability of the drive. Such factors that affect the performance of the destage and the drive life include: 1. Whether the non-volatile storage (NVS) is full; 2. The amount of modified data in a stride; 3. Parity Lock Contention 4.I / O is sequential or not; 5. Whether data is written to disk sequentially or not; 6. Unmodified data already present in the stride or stage need; 7. Bandwidth Usage on Rank 8. Current I / O operations per second (IOPS) on the rank 9. Number of holes in a stride 10. Flash consumption level 11. Driver Write Per Day Classification 12. IOPS numbers for full-stride destage vs. strip destage vs. individual track destage 13. Response times for ranked stage / destage

[0019] Customers may prefer to strike a balance between drive life and performance for the destage operation. In certain embodiments, the storage controller determines whether to perform a full-stride destage or not (e.g., a strip destage or an individual track destage) based on factors that affect performance and based on factors that affect drive life.

[0020] Some factors affect the durability of the drive (i.e., the life of the drive), while others affect performance. Certain customers may prefer performance over drive life, while others may prefer drive life over performance. Certain embodiments calculate separate scores for performance and drive life based on multiple factors, and allow configuration settings to determine which score is preferred for a particular customer.

[0021] An embodiment calculates scores for full-stride destage, strip destage, and individual track destage for a group of I / O operations based on measures that optimize the lifespan of the flash drives forming the secondary storage and measures that optimize the performance of data transfer, where the measures for drive life include wear levels of the flash drives and write-per-day classification and the amount of modified data in the stride, and the measures for performance include bandwidth on the I / O operations and ranks, NVS storage capacity, parity lock contention, holes, and unmodified data in the stride. Selection of the type of destage to perform is based on the calculated score, which optimizes the drive lifespan of the flash drives and also optimizes the performance of data transfer for the destage. As a result, an improvement in the operation of the storage controller is made. Example embodiments

[0022] 1 illustrates a block diagram of a computing environment 100 including a storage controller 102 having a cache 104 and non-volatile storage (NVS) 106, coupled to one or more hosts 108 and one or more storage devices 110, 112. The one or more storage devices 110, 112 form a RAID-configured storage 114.

[0023] The storage controller 102 allows one or more hosts 108 to perform input / output (I / O) operations with logical storage maintained by the storage controller 102. The physical storage corresponding to the logical storage may be found in one or more of the storage devices 110, 112 or cache 104 of the storage controller 102, or non-volatile storage (NVS) 106, or a combination thereof.

[0024] The storage controller 102 and the hosts 108 may include any suitable computing device currently known in the art, such as a personal computer, a workstation, a server, a mainframe, a handheld computer, a palmtop computer, a telephone device, a network appliance, a blade computer, a processing device, a controller, etc. In certain embodiments, the storage controller 102 includes multiple servers. Multiple servers provide redundancy by allowing an alternate server to provide the functionality of the failed server if one server fails and is unable to recover from it. Each of the multiple servers may be referred to as a processing complex and may include one or more processors or processor cores, or both.

[0025] The storage controller 102 and the one or more hosts 108 may be elements of any suitable network, such as a storage area network, a wide area network, the Internet, an intranet, etc. In certain embodiments, the storage controller 102 and the one or more hosts 108 may be elements in a cloud computing environment.

[0026] The cache 104 and non-volatile storage 106 may be any suitable memory known in the art or developed in the future. The cache 104 and non-volatile storage 106 may be distributed between two servers in a dual server configuration of the storage controller 102. A destage management application 116 implemented in the storage controller 102 in software, hardware, firmware, or any combination thereof may control destage operations from the storage controller 102 to secondary storage, including storage devices 110, 112.

[0027] The multiple storage devices 110, 112 may include any storage device known in the art, for example, the storage device 110 may be a solid state drive (SSD) and the storage device 112 may be a hard disk drive (HDD).

[0028] A configuration data structure 118 can be maintained by the storage controller 102 that provides weights for I / O operation performance (indicated by reference numeral 120) and weights for drive life (indicated by reference numeral 122), where the weights are provided by a customer or administrator or user indicating whether to prioritize drive life over I / O operation performance or whether to prioritize I / O operation performance over drive life, which would be to write to a drive (especially in the case of flash drives such as solid state drives) that would reduce the drive life.

[0029] 2 shows a block diagram 200 illustrating types of destages that may be performed by storage controller 102 with data stored in a RAID configuration, according to certain embodiments. The types of destages include full stride destage 202, strip destage 204, and individual track destage 206.

[0030] In the full stride destage 202, the entire stride is destaged. In the strip destage 204, selected strips are destaged. In the individual track destage 206, selected tracks are destaged. It should be noted that a strip includes multiple tracks.

[0031] 3 shows a block diagram illustrating the score types calculated for each destage type, according to certain embodiments. The score types calculated for each destage type (full stride destage 202, strip destage 204, individual track destage 206) include a performance-based score 302 and a drive life-based score 304. The performance-based score 302 is based on factors that affect disk I / O operations, and the drive life-based score 304 is based on factors that affect the durability (life) of the disk.

[0032] 4 illustrates a block diagram 400 for factoring a performance-based score, according to certain embodiments. Factors for the performance-based score include: 1. Is the NVS full? (Reference number 402) 2. I / O Operations Per Second (IOPS) for Full-Stride Destage vs. Strip Destage vs. Individual Track Destage (Reference #404) 3. Parity Lock Conflict (Reference #406) 4.Is the I / O sequential or not? (Reference number 408) 5. Was the data written to disk sequentially? (Reference number 410) 6. Unmodified data already present in stride or stage need (reference number 412) 7. Bandwidth Usage on Ranks (Ref. 414) 8. The current number of IOPS on the rank (reference number 416); and 9. Number of holes in a stride (reference number 418)

[0033] Further details of each of these performance factors will be described later in this disclosure. Each of the performance factors directly or indirectly affects disk I / O performance during a destage operation.

[0034] 5 illustrates a block diagram 500 illustrating factors for a drive life based score according to certain embodiments. Factors for a drive life based score include: 1. Amount of corrected data in stride (reference number 502) 2. Flash wear level (reference number 504); and 3. Drive Light-Per-Day Classification (Reference Number 506)

[0035] Further details on each of these drive life factors will be described later in this disclosure. Each of the performance factors directly or indirectly affects the drive life during a destage operation.

[0036] 6 illustrates a flowchart 600 for selecting a destage type to perform in accordance with certain embodiments. In certain embodiments, the operations illustrated in FIG. 6 may be performed by a destage management application 116 executing within the storage controller 102.

[0037] Control begins at block 602, where the destaging management application 116 calculates the performance based score 302 and the drive life based score 304 for the full stride destage 202, the strip destage 204, and the individual track destage 206. Control proceeds to block 604, where the destaging management application 116 selects the full stride destage 202, the strip destage 204, and the individual track destage 206 based on the configuration settings made in the configuration data structure 118. For example, if the weighting for performance 120 is greater than the weighting for drive life 122, then the performance based score 302 is weighted more than the drive acceptance based score 304.

[0038] As a result, optimizations for performance and drive life are made based on customer-provided instructions in configuration data structure 118. For example, full-stride destage may be optimal in certain embodiments to adhere to customer-provided instructions, while striped destage or individual track destage may be optimal in other embodiments.

[0039] 7 illustrates a flowchart 700 for selecting a destage type to perform according to one embodiment. In certain embodiments, the operations illustrated in FIG. 7 may be performed by a destage management application 116 executing within the storage controller 102.

[0040] Control begins at block 702 where the process initializes variables FullStrideScore, StripScore, and IndividualTrackScore to 0 and then calculates (at block 704) a performance score for each of the full stride destage, strip destage, and individual track destage based on the performance factors.

[0041] Control also begins at block 706 (in parallel to block 702), where the process initializes FullStrideScore, StripScore, and IndividualTrackScore to 0, and then calculates (at block 708) a drive life score for each of the full stride destage, strip destage, and individual track destage based on the drive life factors.

[0042] Upon completion of blocks 704 and 708, control proceeds to block 710 where the process calculates a weighted full-stride score as follows:

[0043]

number

[0044] PerformanceWeight is the weight 120 for performance and DrivelifeWeight is the weight 122 for drive life provided in the configuration data structure 118 .

[0045] Upon completion of block 710, control proceeds to block 712 where the process calculates the weighted strip score:

[0046]

number

[0047] Upon completion of block 712, control proceeds to block 714 where the process calculates a weighted individual track score as follows:

[0048]

number

[0049] From block 714, control passes to block 716, where the process determines which of WeightedFullStrideScore, WeightedStripScore, and WeightedIndividualTrackScore is highest and uses the corresponding destage mechanism. For example, if WeightedFullStrideScore is highest, then full stride destage is performed.

[0050] Figures 8-11 provide details about the operations shown in block 704 of Figure 7 after initializing FullStrideScore, StripScore and IndividualTrackScore to 0. These scores are incremented in Figures 8-11 which are illustrated in succession. The operations are shown in pseudocode in a self-explanatory manner. Alternative embodiments may calculate the scores in different ways, and those shown in Figures 8-11 are examples.

[0051] FIG. 8 illustrates a block diagram 800 for scoring based on performance factors according to certain embodiments.

[0052] Block 802 describes the performance factor of whether the NVS is full or not via the following pseudocode (shown via reference numeral 402 in FIG. 4 ):

[0053]

number

[0054] Block 804 illustrates a performance factor in number of IOPS for full-stride destage vs. strip destage vs. individual track destage (shown via reference numeral 404 in FIG. 4) with the following pseudo code:

[0055]

number

[0056] FIG. 9 illustrates a block diagram 900 for scoring based on performance factors in accordance with certain embodiments.

[0057] Block 902 describes the parity lock contention performance factor (denoted via reference numeral 406 in FIG. 4) via the following pseudocode:

[0058]

number

[0059] Block 904 describes a performance factor (represented via reference numeral 408 in FIG. 4) whether the I / O is sequential or not, as illustrated in the following pseudo code:

[0060]

number

[0061] Block 906 describes whether the data was written sequentially on disk (indicated via reference numeral 410 in FIG. 4). If the data was previously written sequentially on disk, then it is preferable to perform a full-stride destage. This can be checked by looking at the logical-to-physical mapping of the tracks. If the logical-to-physical mapping is in the same order for all tracks within the stride, then the data was previously destaged as full-stride. The pseudocode is as follows:

[0062]

number

[0063] FIG. 10 shows a block diagram 1000 for scoring based on performance factors according to one embodiment.

[0064] Block 1002 accounts for the unmodified data already present in the stride, or the performance factor that needs to be staged (depicted via reference numeral 412 in FIG. 4). In such a case, if most of the stride is in cache and either modified or unmodified, then not many stages are needed, and this means that a full stride destage is beneficial, followed by a strip and then an individual track. The pseudo code is as follows:

[0065]

number

[0066] An embodiment has thresholds at 25%, 50%, and 75%. These percentages can vary based on the geometry of the RAID array (RAID5, RAID-6, etc.).

[0067] Block 1004 accounts for the performance factor of bandwidth usage on a rank (depicted via reference numeral 414 in FIG. 4). In such a situation, if bandwidth usage is high then destaging in full strides or strips will hurt performance. The pseudo code is as follows:

[0068]

number

[0069] FIG. 11 illustrates a block diagram 1100 for scoring based on performance factors, according to certain embodiments.

[0070] Block 1102 lists the performance factor of the number of IOPS on the current rank (depicted via reference numeral 416 in FIG. 4). If the number of IOPS is high, then full stride is more preferable since it has a smaller number of IOPS for strips vs. individual tracks vs. The pseudo code is as follows:

[0071]

number

[0072] Block 1104 describes a "holes in stride" performance factor (indicated via reference numeral 418 in FIG. 4). For larger hole counts it is better to do a full stride destage, followed by a strip, then individual tracks. The pseudo code is as follows:

[0073]

number

[0074] Figure 12 illustrates a block diagram 1200 of scoring based on drive life factors according to certain embodiments. Figure 12 provides a detailed explanation of the operations shown in block 708 of Figure 7 after initializing FullStrideScore, StripScore, and IndividualTrackScore to 0. These scores are incremented in the operations illustrated in Figure 12, which are subsequently described.

[0075] Block 1202 describes the drive life factor of "Amount of modified data in a stride" (depicted via reference numeral 502 in FIG. 5). If the amount of modified data is high, then a full stride is preferred, followed by strip destage, then individual tracks. The pseudo code is as follows:

[0076]

number

[0077] Block 1204 describes the drive life factor of "flash wear level" (denoted via reference numeral 504 in FIG. 5). If the flash wear level is high then it is beneficial to just destage modified data. The pseudo code is as follows:

[0078]

number

[0079] Block 1206 describes the drive life factor of the “drive write-per-day classification” (depicted via reference numeral 506 in FIG. 5). The higher the write-per-day classification, the more data there is that can be destaged without wearing out the flash. If the write-per-day classification is high, it is better to do a full-stride destage. The pseudo code is as follows:

[0080]

number

[0081] 13 illustrates a flowchart for selecting a destage type to perform according to certain embodiments. In certain embodiments, the operations illustrated in FIG. 13 may be performed by a destage management application 116 executing within the storage controller 102.

[0082] Control begins at block 1300 with calculating a first score corresponding to a full stride destage, a second score corresponding to a strip destage, and a third score corresponding to an individual track destage, where the first score, the second score, and the third score are calculated for a group of input / output (I / O) operations based on a first measure and a second measure, where the first measure is configured to affect data transfer performance and the second measure is configured to affect drive life.

[0083] From block 1302, control proceeds to block 1304, which determines a type of destage to perform based on the first score, the second score, and the third score. In one embodiment, the type of destage to perform is determined to be a full stride destage in response to determining that the first score is highest among the first score, the second score, and the third score. In certain embodiments, the type of destage to perform is determined to be a strip destage in response to determining that the second score is highest among the first score, the second score, and the third score. In certain embodiments, the type of destage to perform is determined to be an individual track destage in response to determining that the third score is highest among the first score, the second score, and the third score.

[0084] In additional embodiments, the first metric configured to affect data transfer performance includes I / O operations and rank bandwidth, non-volatile storage (NVS) capacity, parity lock contention, and holes and unmodified data within a stride, and the second metric configured to affect drive life includes drive wear level, drive write-per-day classification, and amount of modified data within a stride.

[0085] In one embodiment, the first weight 120 for the first measure and the second weight 122 for the second measure are retrieved from the configuration data structure 118. Calculating the first score, the second score and the third score is based on a first weight given to a first sub-score calculated based on the first measure and a second weight given to a second sub-score calculated based on the second measure.

[0086] Although the embodiments described in Figures 1-13 show fixed increments for the variables FullStrideScore, StripScore and IndividualTrackScore, in alternative embodiments, other increments can be used. For example, instead of increments 1 and 2, alternative embodiments can have X and Y increments, respectively, where X and Y are natural numbers and Y is greater than X. Similarly, the fixed percentages shown in the embodiments can be different in alternative embodiments. There are other parameters that are assigned fixed representative values ​​in the embodiments, and these parameters can be different in alternative embodiments.

[0087] 1-13 thus illustrate certain embodiments that determine the type of destage to perform in accordance with the performance weights and drive life weights provided in configuration data structure 118. Cloud Computing Environment

[0088] Cloud computing is a service delivery model for on-demand network access with the convenience of accessing a shared pool of rapidly provisioned and open configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) with minimal administrative effort or interaction with a service provider.

[0089] An exemplary cloud computing environment 50 is now illustrated with reference to FIG. 14. As illustrated, the cloud computing environment 50 includes one or more cloud computing nodes 10 with which local computing devices used by cloud consumers, such as a personal digital assistant (PDA) or cellular phone 54A, a desktop computer 54B, a laptop computer 54C, or an automobile computer system 54N, or combinations thereof, communicate. The nodes 10 can communicate with each other. They can be physically or virtually grouped in one or more networks, such as the private, community, public, or hybrid clouds described above, or combinations thereof (not shown). This enables the cloud computing environment 50 to provide an infrastructure, platform, or software-as-a-service for cloud consumers to eliminate the need to maintain resources on local computing devices. It will be understood that the types of computing devices 54A-N shown in FIG. 10 are for illustrative purposes only, and that the computing node 10 and cloud computing environment 50 can communicate with any type of computerized device through any type of network, or addressable network connection (e.g., a web browser), or both.

[0090] Referring to Figure 15, a set of functional abstraction layers provided by cloud computing environment 50 (Figure 14) is shown. It should be understood that the components, layers, and functions shown in Figure 15 are intended to be illustrative only, and embodiments of the present invention are not limited thereto.

[0091] The hardware and software layer 60 includes hardware and software components. An example of a hardware component is a mainframe, in one embodiment, an IBM zSeries * A system; a server based on RISC (reduced instruction set computing) architecture, in one embodiment, the IBM pSeries * System; IBM xSeries * System; IBM BladeCenter * systems; storage devices; networks and networking components. An example of a software component is network application server software, in one embodiment IBM WebSphere * application server software; and database software, in one embodiment IBM DB2 * Includes database software.

[0092] The visualization layer 62 provides an abstraction layer from which embodiments of virtual entities, as described below, are provided; virtual servers; virtual storage; virtual networks, including virtual private networks; virtual applications and operating systems; and virtual clients.

[0093] In one embodiment, the management layer 64 may provide the following functions: A resource provider provides dynamic acquisition of computing resources and other resources used to perform tasks within the cloud computing environment. The metering and pricing division provides tracking of costs as resources are utilized within the cloud computing environment and provides billing or invoicing for the consumption of those resources. In one embodiment, these resources may include application software licenses. The security section provides identification and authentication of cloud consumers and tasks as well as protection of data and other resources. The user portal section provides access to the cloud computing environment and system administrators for consumers. The service level management section provides allocation and management of cloud computing resources to meet required service levels. The Service Level Agreement (SLA) Planning and Fulfillment department prepares and acquires cloud computing resources in advance to meet future requirements as per SLA.

[0094] The Workload Layer 66 provides examples of functionality for utilizing a cloud computing environment. Examples of workloads and functionality that may be provided from this layer include: mapping and navigation; software development and lifecycle management; virtual classroom instruction delivery; data analytics processing; transaction processing; and destaging management 68 as shown in Figures 1-15. Additional Example Details

[0095] The described operations may be implemented as a method, apparatus, or computer program product using standard programming and / or engineering techniques to produce software, firmware, hardware, or any combination thereof. Accordingly, aspects of the embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment (such as firmware, persistent software, microcode, etc.), or a combination of software and hardware, all of which may be generally referred to herein as a "circuit," "module," or "system." Additionally, aspects of the embodiments may take the form of a computer program product. A computer program product may include a computer-readable medium (or media) having thereon a computer-readable program for causing a processor to perform an embodiment of the invention.

[0096] A computer readable recording medium may be any tangible device capable of holding and storing a plurality of instructions for use by an instruction execution device. A computer readable medium may be, for example, but not limited to, an electrical recording device, a magnetic recording device, an optical recording device, an electro-magnetic recording device, a semiconductor recording device, or any suitable combination of the above. Non-exhaustive examples of computer readable recording media include the following: portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROMs or flash memories), static random access memories (SRAMs), portable compact disk read-only memories (CD-ROMs), digital versatile disks (DVDs), memory sticks, floppy disks, punch cards, or mechanically encoded devices having protruding structures within grooves that record the instructions, and any suitable combination of the above. As used herein, a computer-readable recording medium is not to be construed as a transitory signal per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves such as wave guides or other communications media (e.g., light pulses passing through fiber optic cable), or electrical signals communicated through wires.

[0097] The computer readable programs described herein can be downloaded from a computer readable recording medium to each computing / processing device, or can be downloaded to an external computer or external recording device via a network, such as the Internet, a local area network, a wide area network, or a wireless network, and combinations thereof. The network can include copper cables, fiber optics, wireless networks, routers, firewalls, switches, gateway computers, and edge servers, and combinations thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions to a computer readable recording medium in each computing / processing device for storage.

[0098] The computer readable program instructions for carrying out the operations of the present invention can be either source code or object code written in any combination of programming languages, including assembler instructions, instruction set architecture (ISA) instructions, machine language instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or one or more conventional procedural programming languages, such as Smalltalk®, object oriented programming languages ​​such as C++, the “C” programming language, or similar programming languages. The computer readable program instructions can be executed entirely on the user computer, partially on the user computer as a stand-alone software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer can be connected to the user computer through any type of network, including a local area network (LAN), a wide area network (WAN), or the connection can be to an external computer (e.g., through an Internet service provider). In some embodiments, computer readable program instructions may be executed by electrical circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), and state information of the computer readable program instructions may be used to personalize the electrical circuitry to perform features of the present invention.

[0099] Aspects of the invention described herein have been described with reference to flowchart instructions and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that any combination of flowchart illustrations and / or block diagrams and blocks in the flowchart illustrations and / or block diagrams can be implemented by computer readable program instructions.

[0100] Computer-readable program instructions may be provided to a general-purpose or special-purpose computer or other programmable data processing device to generate a computer processor or machine that, when executed by the computer processor or other programmable data processing device, generates means for implementing the functions / operations specified in the block or blocks of the flowcharts and block diagrams, or combinations thereof. These computer-readable program instructions that direct a computer, programmable data processing device, or other device, or combinations thereof, to function in a particular manner may also be stored on a computer-readable recording medium, and the computer-readable recording medium having instructions stored therein constitutes an article of manufacture containing instructions that implement aspects of the functions / operations specified in the block or blocks of the flowcharts and block diagrams, or combinations thereof.

[0101] The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device and cause a computer implemented process to perform a series of operational steps on the computer, other programmable apparatus, or other device to implement the functions / acts specified in the blocks of the flowcharts and block diagrams or in a combination thereof.

[0102] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this respect, the flowcharts or block diagrams may represent modules, segments, or portions of instructions, which include one or more executable instructions for implementing a particular logical function(s) (or functions). In some alternative implementations, the functions described in the blocks may be performed other than as illustrated. For example, two blocks shown in succession may actually be executed simultaneously, depending on the functionality involved, or the blocks may sometimes be executed in the reverse order. Also, the illustration of the blocks in the block diagrams and / or the illustration of the flowcharts or combinations thereof may be implemented by a system based on special purpose hardware that performs a particular function or operation or executes specific purpose hardware and computer instructions.

[0103] FIG. 16 illustrates a block diagram illustrating certain elements that may be included in a storage controller 102 or a host 108 or other computing device in accordance with certain embodiments. The system 1600 may include a circuit 1602 in certain embodiments including at least a processor 1604. The system 1600 may also include a memory 1606 (e.g., a volatile memory device) and storage 1608. The storage 1608 may include a non-volatile memory device (e.g., EEPROM, ROM, PROM, flash, firmware, programmable logic, etc.), a magnetic disk drive, an optical disk drive, a tape drive, etc. The storage 1608 may include an internal storage device, an attached storage device, or a network accessible storage device, or a combination thereof. The system 1600 may include program logic 1610 including code 1612 that may be loaded into the memory 1606 and executed by the processor 1604 or the circuit 1602. In certain embodiments, the program logic 1610 including code 1612 may be stored in the storage 1608. In certain embodiments, the program logic 1610 may be implemented within the circuit 1602. One or more of the components in system 1600 may communicate via a bus or other coupling or connection 1614. Thus, although Figure 16 illustrates program logic 1610 separate from other elements, program logic 1610 may be implemented in memory 1606 or circuitry 1602, or both.

[0104] Certain embodiments may be directed to methods for distributing computing instructions to a computing system, either by a human or an automated process incorporating computer readable code, where the code combined with the computing system enables it to perform operations of the described embodiments.

[0105] The terms "one embodiment," "embodiment," "embodiments," "this embodiment," "this embodiment plurality," "one or more embodiments," "some embodiments," and "an embodiment" mean "one or more (but not all)" embodiment(s) of the present invention, unless expressly specified otherwise.

[0106] The terms "include," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.

[0107] A numerical listing of items does not imply that any or all of the items are mutually exclusive, unless expressly specified otherwise.

[0108] The terms "a," "an," and "the" mean "one or more," unless expressly specified otherwise.

[0109] Unless explicitly specified otherwise, devices that are in communication with each other need not be in continuous communication with each other. In addition, devices that are in communication with each other may communicate directly or indirectly through one or more intermediary devices.

[0110] A description of an embodiment with several components in communication with each other does not imply a requirement for all such components, to the contrary, a variety of optional components have been described to illustrate the broad and various possible embodiments of the present invention.

[0111] Additionally, although process steps, method steps, algorithms, or the like may be described in a sequential order, such processes, methods, and algorithms may be configured to work in alternative orders. In other words, any order or step order that may be described does not necessarily indicate a requirement that the steps be performed in that order. Process steps may be performed in any order that is practical. Additionally, some steps may be performed simultaneously.

[0112] Where a single device or product is described herein, more than one device / product (whether they cooperate or not) may be used in place of the single device / product. Similarly, where more than one device or product is described herein (whether they cooperate or not), it will be readily recognized that a single device / product can be used in place of the one or more devices or products, or that a different number of devices / products can be used in place of the number shown for a device or program. The functionality or features of a device, or both, may alternatively be implemented by one or more devices not explicitly described as having such functionality / features. Thus, other embodiments of the invention need not include a device per se.

[0113] At least certain operations depicted in the figures depict certain events occurring in a certain order. In alternative embodiments, certain operations may be performed in a different order, modified, or removed. Additionally, steps may be added to the logic described above and adapted to further described embodiments. Additionally, operations described herein may occur sequentially or certain operations may be processed in parallel. Additionally, operations may be performed by a single processing unit or by distributed processing units.

[0114] The above description of various embodiments of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teachings. It is intended that the scope of the invention be limited not to this detailed description, but rather by the claims appended hereto. The above specification, examples, and data provide a complete description of the manufacture and use of the structure of the invention. The scope of the invention resides in the claims appended hereto. * IBM, zSeries, pSeries, xSeries, BladeCenter, WebSphere and DB2 are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide.

Claims

1. 1. A computer system implemented method, the computer system comprising: calculating a first score corresponding to a full-stride destage, a second score corresponding to a strip destage, and a third score corresponding to an individual track destage, the first score, the second score, and the third score being calculated for a group of input / output (I / O) operations based on a first metric and a second metric, the first metric being configured to affect data transfer performance and the second metric being configured to affect drive life; and A determination of a type of destage to be performed is made based on the first score, the second score, and the third score. The method includes:

2. The first metric configured to affect the performance of data transfers includes I / O operations and bandwidth on ranks, non-volatile storage (NVS) capacity, parity lock contention, holes, and unmodified data in strides. The method of claim 1.

3. The second measures configured to affect the drive life include a wear level of the drive, a write-per-day classification of the drive, and an amount of modified data within a stride. The method of claim 2.

4. Furthermore, the computer system performing the full-stride destage in response to determining that the first score is highest among the first score, the second score, and the third score. The method of claim 3 , comprising:

5. Furthermore, the computer system performing the strip destage in response to determining that the second score is the highest among the first score, the second score, and the third score. The method of claim 3 , comprising:

6. Furthermore, the computer system performing the individual track destage in response to determining that the third score is the highest among the first score, the second score, and the third score. The method of claim 3 , comprising:

7. Furthermore, the computer system reading a first weight for the first measure and a second weight for the second measure from a configuration data structure; and calculating the first score, the second score, and the third score based on the first weighting provided to a first sub-score calculated based on the first measure and the second weighting provided to a second sub-score calculated based on the second measure; 2. The method of claim 1, comprising:

8. 1. A system comprising: Memory and a processor coupled to the memory, the processor configured to perform operations, the operations performed by the processor comprising: calculating a first score corresponding to a full-stride destage, a second score corresponding to a strip destage, and a third score corresponding to an individual track destage, the first score, the second score, and the third score being calculated for a group of input / output (I / O) operations based on a first metric and a second metric, the first metric being configured to affect data transfer performance and the second metric being configured to affect drive life; and A determination of a type of destage to be performed is made based on the first score, the second score, and the third score. The system includes:

9. The first metric configured to affect the performance of data transfers includes I / O operations and bandwidth on ranks, non-volatile storage (NVS) capacity, parity lock contention, holes, and unmodified data in strides. The system of claim 8.

10. The second measures configured to affect the drive life include a wear level of the drive, a write-per-day classification of the drive, and an amount of modified data within a stride. The system of claim 9.

11. The operation further comprises: performing the full-stride destage in response to determining that the first score is highest among the first score, the second score, and the third score. The system of claim 10 , comprising:

12. The operation further comprises: performing the strip destage in response to determining that the second score is the highest among the first score, the second score, and the third score. The system of claim 10 , comprising:

13. The operation further comprises: performing the individual track destage in response to determining that the third score is the highest among the first score, the second score, and the third score. The system of claim 10 , comprising:

14. The operation further comprises: Reading a first weight for the first measure and a second weight for the second measure from a configuration data structure. calculating the first score, the second score, and the third score based on the first weighting provided to a first sub-score calculated based on the first measure and the second weighting provided to a second sub-score calculated based on the second measure; The system of claim 8 , comprising:

15. A computer program for causing a computer system to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Write-back method for raid device

    JP2007087094A

  • Storage system for suppressing fault of storage medium group

    JP2008040713A

  • Destage grouping for sequential fast write tracks

    US20150134914A1