Multi-tier storage
By using the MTSS manager to copy hot data across storage pools in a multi-level storage system, the problem of being unable to upgrade data areas between storage pools in the existing technology is solved, achieving more efficient storage resource utilization and performance optimization.
Patent Information
- Application Number
- CN202010730049.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-27
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-07-27
AI Technical Summary
Existing multi-tier storage systems cannot upgrade or downgrade data areas between storage pools, resulting in an imbalanced storage system and inability to effectively migrate hot data to faster tiers, resulting in a waste of storage resources.
Monitor I/O operations in the storage pool through the MTSS manager, generate heat maps, identify candidate areas and copy hot data across storage pools to faster tiers with available space, maintaining cross-pool mapping to ensure transparent upgrade and downgrade of data.
It realizes cross-storage pool data area upgrades, optimizes storage resource utilization, avoids the problem of data areas being blocked from being upgraded due to hierarchical space limitations, and improves system efficiency and performance.
Smart Images

Figure CN112445425B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to multi-tier storage, and more particularly, to a multi-tier storage system. Background Art
[0002] A storage system is a system used by a computer to perform reading and writing of data. Data can be read from and written to different types of storage devices (e.g., hard disk drives, solid-state drives, flash memory, etc.). Each type of storage device provides different advantages and challenges in terms of access, latency, and other criteria. A multi-tier storage system (MTSS) may include multiple types of storage devices that are clustered into multiple tiers based on access speed. To improve efficiency, an MTSS may store relatively frequently accessed data on a tier with relatively faster access storage devices. In addition, an MTSS may store relatively less frequently accessed data on a tier with relatively slower access storage devices. Summary of the invention
[0003] An embodiment of a technology for a multi-tier storage system is disclosed. The technology includes identifying a candidate extent in a first tier of a first storage pool of a multi-tier storage system (MTSS). The candidate extent is blocked from upgrading due to space limitations on the second tier. The technology also includes identifying a second tier of a second storage pool. The second tier provides faster input-output (I / O) operations than those provided by the first tier. Additionally, the second pool includes available space for storing the candidate extent. The technology also includes copying the candidate extent to the second tier of the second storage pool. The technology also includes generating a cross-pool mapping. The cross-pool mapping maps from a first address of the candidate extent in the first tier of the first storage pool to a second address of the copied candidate extent in the second tier of the second storage pool.
[0004] Other aspects of the disclosure relate to systems and computer program products having functionality similar to that discussed above with respect to computer-implemented methods.This summary is not intended to illustrate every aspect, every implementation, and / or every embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] The accompanying drawings included in this application are incorporated into the specification and form a part of the specification. The accompanying drawings illustrate embodiments of the present disclosure and, together with the specification, are used to explain the principles of the present disclosure. The accompanying drawings are only illustrations of certain embodiments and do not limit the present disclosure.
[0006] Figure 1 is a block diagram of a multi-tier storage system (MTSS) according to some embodiments of the present disclosure.
[0007] Figure 2A is a block diagram of an MTSS pool of multi-tier storage before copying according to some embodiments of the present disclosure.
[0008] Figure 2B is a block diagram of an MTSS pool of multi-tier storage after copying according to some embodiments of the present disclosure.
[0009] Figure 3A is a block diagram representing an example of a read (READ) operation from a system for multi-tier storage according to some embodiments of the present disclosure.
[0010] Figure 3B is a block diagram illustrating an example of a WRITE operation with replication in a system for multi-tier storage according to some embodiments of the present disclosure.
[0011] Figure 3C is a block diagram illustrating an example of having invalid write operations in a system for multi-tier storage according to some embodiments of the present disclosure.
[0012] Figure 4 is a flow chart of an example method for MTSS according to some embodiments of the present disclosure.
[0013] Figure 5 is a flow chart of an example method for MTSS according to some embodiments of the present disclosure.
[0014] Figure 6 is a flow chart of an example method for MTSS according to some embodiments of the present disclosure.
[0015] Figure 7 is a block diagram of an example MTSS manager according to some embodiments of the present disclosure.
[0016] Although the present disclosure is suitable for various modifications and alternative forms, the details thereof have been shown in the drawings by way of example and will be described in detail. However, it should be understood that it is not intended to limit the present disclosure to the specific embodiments described. On the contrary, it is intended to cover all modifications, equivalent forms and alternative forms that fall within the spirit and scope of the present disclosure. DETAILED DESCRIPTION
[0017] Some storage control systems provide a multi-tiered storage mechanism in which data is stored on multiple types of storage media based on criteria such as access, frequency of use, security, and data recovery requirements. In terms of security, sensitive data may be stored in relatively high-speed solid-state drives (SSDs) along with frequently accessed data. In contrast, infrequently accessed data (for which higher response times may be more tolerable) may be stored in a slower performing tier on large capacity drives. The cost per gigabyte of storage is relatively high for faster performing storage devices (such as SSDs), while the cost is relatively low for slower performing drives.
[0018] More specifically, for example, a multi-tiered storage system (MTSS) calculates a thermal value for data that takes into account the above criteria. Thus, the MTSS can use a predetermined threshold thermal value to determine in which tier any particular portion of the data is stored. Portions of data are referred to herein as zones and grains of zones. Using thermal values in this manner, the MTSS can store relatively high-access data to a faster-performing tier when a predetermined threshold for the associated tier is reached. In contrast, the MTSS can move data zones with lower thermal values, i.e., relatively fewer accesses (e.g., where access includes read or write operations), to a slower-performing tier when a predetermined threshold for the associated tier is reached.
[0019] In MTSS, at least two tiers may be available, wherein the first tier may provide a relatively fast response time (and relatively less storage capacity), while the other tiers may provide a relatively slow response time (and relatively more storage capacity). Although a storage device with a faster response time may be more expensive than a storage device with a slower response time, the capacity of a relatively faster storage device may be less than the capacity of a relatively slower storage device. Therefore, MTSS moves data with a relatively high heat value (hot data) to a faster tier, and moves data with a relatively low heat value (cold data) to a slower tier. The process of moving data to a faster tier is referred to herein as promotion. On the contrary, the process of moving data to a slower tier is referred to herein as demotion. MTSS may perform a zone promotion process and a zone demotion process using a copy operation, which is executed without knowing the application that is using the data. In this way, user transparency may be maintained. User transparency refers to the fact that the location and management of data are transparent (invisible) to the application (user) that is using the data. In this way, data movement is also invisible to the user. Since solid-state drives (SSDs) are faster than hard disk drives (HDDs), MTSS can provide dynamic relocation of data across tiers based on data usage by placing hot data (i.e., data with high IO density and low response time requirements) on SSDs. Conversely, MTSS can use HDDs for cold or cooler data that is accessed at a lower rate and / or sequentially.
[0020] In addition to storing data in tiers, MTSS can also organize tiers into pools. Therefore, data can be promoted and demoted across multiple tiers in a data pool. Consider two pools in a storage system, namely pool 1 and pool 2. Each of these pools can include two tiers, such as two different types of disks on which the tiered feature is enabled. In this case, a computer application can actively use pool 1 for read / write I / O operations. (This may occur in a storage system where volumes in one pool are accessed more often than volumes in other pools that are used for some different purpose and may be accessed less frequently). Since pool 1 is accessed more frequently than pool 2, the heat map of the zone in pool 1 contains a higher (i.e., hotter) heat value. A heat map can map the access count of an I / O operation to each zone in a storage pool. In this case, the access frequency of the zone in pool 2 is lower than that of the zone in pool 1. In other words, the heat map in pool 2 can have a relatively lower heat value than the heat map in pool 1. Because the zones of pool 1 are accessed more frequently and contain larger heat values, more data zones can meet their threshold heat values for upgrading in pool 1. Since faster tier storage space is more expensive, the storage capacity in the upper tier of any pool may be limited. Therefore, in pool 1, even if there are potentially more data zones in the slower tier space that can meet their threshold heat values for upgrading, the faster tier space can be filled. However, because the faster tier is full, such upgrade candidates cannot be upgraded to the faster tier due to space limitations at the faster tier. Therefore, upgrading these upgrade candidates to the faster tier can be delayed or rejected, thereby providing slower tier performance characteristics for the I / O operations of these upgrade candidates. However, because pool 2 is accessed less frequently, the faster tier space of pool 2 may not be fully utilized. In this way, MTSS cannot utilize the faster tier in pool 2 because there may be fewer zones in pool 2 that have experienced enough heat in I / O operations to meet the threshold for moving to the faster tier.
[0021] However, the current system does not support cross-pool promotion or demotion. Therefore, storage extents are not promoted between pools (i.e., extents cannot be moved directly from pool 1 to pool 2). As such, even if they are candidates for promotion, they may be left in the slower tier of pool 1, and there is free space in the faster tier of pool 2. As such, this situation can represent an imbalance at the storage system level, where extents in pool 1 are struggling to be promoted, while the faster tier of pool 2 has free and unused space due to the lower frequency of I / O operations in pool 2.
[0022] Therefore, in an embodiment of the present disclosure, candidate extents that are blocked from being upgraded in one storage pool can be upgraded across storage pools. More specifically, when data extents meet upgrade conditions, these candidate extents can be upgraded to a faster tier even if there is not enough free space in their own storage pool. Specifically, such candidate extents can be upgraded to a faster tier of a different storage pool that has free space.
[0023] Now refer to Figure 1 , which is a block diagram of a multi-tier storage system (MTSS) 100 according to some embodiments of the present disclosure. MTSS 100 includes a network 102, a multi-tier storage device 104, an MTSS manager 106, and a host 108. Network 102 may be one or more computer communication networks, including wired and / or wireless local area networks and / or wide area networks (WANs). For example, the WAN may include the Internet. Multi-tier storage devices 104, MTSS manager 106, and host 108 may communicate via network 102.
[0024] The multi-tiered storage device 104 may include actual data storage devices of the MTSS 100, such as SSDs, HDDs, flash storage devices, etc. The multi-tiered storage device 104 may be a block-level storage system, and the data storage devices may be organized into pools 110. For efficiency reasons, it may be useful to organize storage devices into pools 110 when running a relatively large number of computer applications. The pool 110 of storage devices may include a variety of types, from relatively fast storage devices to relatively slow storage devices. According to an embodiment of the present disclosure, each pool 110 may be organized into a plurality of tiers 112-1 to 112-n. Tiers 112 are individually referred to herein as, for example, tier 112-1, and are collectively referred to as, for example, tier 112. Tier 112-1 may represent a relatively fastest tier. Conversely, in a storage pool 110 having n tiers 112, tier 112-n may represent a relatively slowest tier.
[0025] The monitor 114 may monitor I / O operations to zones across the storage pools 110 in the multi-tier storage device 104 to generate a heat map 118 for each data zone. The host 108 may be a computer application that uses the multi-tier storage device 104 for data of the computer application. In this manner, the MTSS manager 106 may identify upgrade candidate zones that may be blocked from upgrade in its own storage pool 110. In addition, the MTSS manager 106 may identify a faster tier in a different storage pool that has available space and upgrade the blocked candidate zones to the faster tier in the different storage pool. The MTSS manager 106 includes the monitor 114, the relocator 116, the heat map 118, and an application programming interface (API) 120.
[0026] The monitor 114 may monitor I / O operations performed for each data extent in the storage pool 110. The monitor 114 may be a heat value monitoring daemon that updates the extent heat value for each I / O operation performed on the storage pool 110. The heat value information is also used to determine extent promotion and demotion across the tiers 112 of the pool 110.
[0027] The relocator 116 can identify relatively frequently accessed (hot) data areas based on access heat temperature (access counters updated on each I / O operation). Therefore, the relocator 116 promotes the hot data areas to SSDs to achieve high throughput, low latency and / or I / O operations per second (IOPS) energy saving characteristics.
[0028] More specifically, the monitor 114 may generate a heat map 118 of the extents stored in the multi-tier storage device 104 across the storage pools 110. In addition, the relocator 116 may periodically evaluate the heat map 118 for each storage pool 110 and identify candidate extents for promotion and demotion. Thus, when a candidate extent meets its promotion or demotion threshold, the relocator 116 may move the candidate extent across the tiers 112. These periodic evaluation and promotion / demotion techniques are referred to herein as promotion cycles.
[0029] According to an embodiment of the present disclosure, the MTSS manager 106 can detect an imbalance in I / O operations across storage pools 110 of available space in faster performing tiers 112. In addition, the MTSS manager 106 can identify extent upgrade candidates in each pool 110 that have met a thermal threshold for upgrade but are still awaiting upgrade due to space constraints in the upgrade tier.
[0030] More specifically, the relocator 116 may identify candidate extents in a slower tier that have met an upgrade threshold but cannot be upgraded. In addition, the relocator 116 may determine whether there is available space for the candidate extents in a faster tier 112 in another storage pool 110 and copy the candidate extents to the faster tier 112 in the other storage pool 110. In this way, the original copy of the extents may be kept intact because the MTSS manager 106 may not move extents across pools. Therefore, the MTSS manager 106 copies the extents to a faster executing tier of an adjacent pool. Additionally, the MTSS manager 106 may maintain a mapping from addresses in the original tier to addresses in the new faster tier. In addition, the MTSS manager 106 may update the heat map 118 for the copied extents. For example, "Heat Map Example 1" shows a heat map 118 before extents 4 and 5 are copied to a peer pool:
[0031] E1 E2 E3 E4 E5 E6 E7 E8 E4_copy E5_Copy 101 100 103 104 123 132 73 12 NA NA
[0032] Heatmap Example 1
[0033] In this example, the first row shows the extents E1 to E8, with entries for E4 and E5 replicas. The second row shows the access counts for I / O operations for each extent. As shown, the access counts for E4 and E5 are 104 and 123, respectively. The E4 and E5 replicas are shown as NA because there were no accesses before the replicas were created.
[0034] In contrast, Heat Map Example 2 shows the updated heat map 118 after copying regions 4 and 5 (E4, E5):
[0035] E1 E2 E3 E4 E5 E6 E7 E8 E4_copy E5_Copy 101 100 103 23 30 132 73 12 134 122
[0036] Heatmap Example 2
[0037] In this example, the heat values of E4 and E5 are 23 and 30 respectively, indicating that the original copies of E4 and E5 are rarely accessed during the upgrade cycle after the copy area. In addition, the heat values of the copies of E4 and E5 are 134 and 122, indicating that more accesses are performed to take advantage of the faster response speed of the upper level in the peer pool.
[0038] However, by any write operation to the copied zone, creating a copy of the zone may be complicated. More specifically, if one of the copies is overwritten by a write operation, the other copy is no longer valid for the read operation. Although the MTSS manager 106 can update another copy by repeating the write operation on another copy, the additional write may be an expensive I / O operation, and therefore may increase latency. Therefore, the candidate zone can be classified based on the access count and the type of I / O operation performed for the candidate zone. Therefore, the candidate zone can be upgraded (copied to other storage pools 110) based on the percentage of operations being read and written. For example, the relocator 116 can divide the candidate zone into READ_ONLY, READ_INTENSIVE, MIXED_WORKLOAD, and WRITE_MAJOR based on their read / write workloads. In the current upgrade cycle, the READ_ONLY category may include candidate zones with read operations but no write operations. In the current upgrade cycle, the READ_INTENSIVE category may include candidate zones with read operations exceeding a predetermined threshold for write operations. For example, the READ_INTENSIVE category may include candidate regions for which read operations represent 80% or more of the I / O operations. The MIXED_WORKLOAD category may include candidate regions for which read operations represent 50% to 80% of the I / O operations. The WRITE_MAJOR category may include candidate regions for which write operations represent more than 50% of the I / O operations.
[0039] Therefore, the priority of candidate areas for upgrading across storage pools 110 can be based on category. For example, a READ_ONLY area can be assigned a higher priority than the remaining categories. In this way, additional write operations performed to maintain the data integrity of two copies can be avoided. However, in some embodiments, candidate areas in other categories can be copied to other storage pools 110 in descending priority of READ_MAJOR, MIXED_WORKLOAD, and WRITE_MAJOR categories. Priority adjustments can be performed to accommodate I / O processing intensive operations, such as duplicating write operations to maintain valid copies in faster tiers and slower tiers.
[0040] The API 120 may provide the host 108 with access to data extents in the pools 110 of the multi-tiered storage device 104. In other words, when the host 108 performs read or write access to a data extent, the host 108 may call the API 120 to identify the location of the data extent. If the data extent has been promoted across storage pools 110, the API 120 may identify the appropriate location of the data extent. In this manner, the host 108 may read from or write to a data extent without knowing which storage pool 110 or tier 112 the data extent is stored on.
[0041] Now refer to Figure 2A , which is a block diagram of MTSS pools 202-1, 202-2 of multi-level storage devices before copying according to some embodiments of the present disclosure. The MTSS pool 202-1 includes an upper-level storage device 204-1 and a lower-level storage device 206-1. The upper-level storage device 204-1 may represent a level with relatively faster access compared to the lower-level storage device 206-1. The upper-level storage device 204-1 includes four time slots 208-1A to 208-1D to store upgraded areas. For example, the time slots 208-1A, 208-1B store areas 1 and 2, respectively. Similarly, the lower-level storage device 206-1 includes four time slots 210-1A to 210-1D to store areas. For example, the time slots 210-1A to 210-1D store areas 3 to 6, respectively. In this example, areas 3 to 6 are annotated with an asterisk "*". The asterisks indicate that these zones have reached the heat map threshold for promotion to upper-tier storage 204-1. In addition, zones 4 and 5 also include the annotation "R." The R annotation indicates that these zones are READ_ONLY zones.
[0042] Additionally, the MTSS pool 202-2 includes an upper-level storage device 204-2 and a lower-level storage device 206-2. The upper-level storage device 204-2 includes four time slots 208-2A to 208-2D to store upgraded zones. For example, the time slots 208-2A and 208-2B store zones 7 and 8, respectively. Similarly, the lower-level storage device 206-2 includes four time slots 210-2A to 210-2D to store zones. For example, the time slots 210-2A to 210-2D store zones 9 to 12, respectively. Compared to the lower-level storage device 206-1, any zone in the time slots 210-2A to 210-2D does not meet the upgrade conditions.
[0043] Although there are four candidate areas for upgrading from the lower level storage device 206-1, there are only two available time slots in the upper level storage device 204-1. Thus, there is not enough available space in the upper level storage device 204-1 to upgrade the four candidate areas to the upper level storage device 204-1. However, in the MTSS pool 202-2, the upper level storage device 204-2 includes two available time slots 208-2C, 208-2D for upgrading.
[0044] Now refer to Figure 2B , which is a block diagram of MTSS pools 202-1, 202-2 of a multi-level storage device after copying according to some embodiments of the present disclosure. According to an embodiment of the present disclosure, an MTSS manager such as MTSS manager 106 can upgrade zone 3 and zone 6 to time slots 208-1C, 208-1D, respectively. Therefore, time slots 208-1C, 208-1D can store zone 3 and zone 6, respectively.
[0045] In addition, according to an embodiment of the present disclosure, the MTSS manager 106 may copy the READ_ONLY candidate areas (area 4 and area 5) to time slots 208-2C, 208-2D, respectively. When an upper-level storage device outside the primary storage pool is used to store the candidate areas, the MTSS manager 106 may maintain the original copies of the candidate areas in the primary storage pool. For example, time slots 210-1B, 210-1C in the lower-level storage device 206-1 may continue to store area 4 and area 5, respectively. The primary storage pool may reference the original physical location of the candidate areas before copying to the peer storage pool.
[0046] Now refer to Figure 3A , which is a block diagram showing an example of a read operation from a system 300 for multi-tiered storage according to some embodiments of the present disclosure. The system 300 includes an MTSS pool 302-1, an MTSS pool 302-2, a virtualization layer 312, and a host 314. The MTSS pools 302-1 and 302-2 may represent Figure 2BThe MTSS pools 202-1, 202-2 described above are Figure 2B Similarly, MTSS pools 302-1 and 302-2 include upper-level storage devices 304-1 and 304-2, respectively. Figure 2B Similarly, the upper level storage devices 304-1, 304-2 and the lower level storage devices 306-1, 306-2 include time slots 308-1A to 308-1D, 308-2A to 308-2D and time slots 310-1A to 310-1D, 310-2A to 310-2D. However, referring back to Figure 3A , zones 1 to 12 are represented as E1 to E12 respectively.
[0047] Additionally, the host 314 may represent a computer application that can perform various techniques according to the encoded computer instructions of the host 314. In order to perform these techniques, the host 314 may manipulate and / or calculate various data items. Additionally, the host 314 may read the data from the MTSS pools 302-1, 302-2 and store the data therein. However, access to the data is transparent to the host 314, which means that the host 314 does not know where its data is specifically stored in the MTSS pools 302-1, 302-2. Specifically, the host 314 may maintain an internal directory of memory references and pass the associated memory references to the virtualization layer together with the request to read from or write to the memory references. The memory references may represent a zone, or a grain of a zone.
[0048] The virtualization layer 312 may represent one or more computer applications of the operating system. Through these computer applications, the virtualization layer 312 may translate the address of the requested memory reference from the host 314 into the actual physical address in the MTSS pools 302-1, 302-2. For example, the virtualization layer 312 may use an API, such as Figure 1 The API 120 described herein is used to determine the specific granule and region in the MTSS pool 302-1, 302-2 in which to store a memory reference in a request from the host 314.
[0049] Thus, the downward arrow from the host 314 to the virtualization layer 312 can represent a request from the host 314 to the virtualization layer 312 to read data from zone 4. Therefore, the virtualization layer 312 can determine that zone 4 is copied to the MTSS pool 302-2, thereby providing faster access to the copy in the lower-level storage device 306-1. The arrow from the virtualization layer 312 to zone 4 (E4) represents a request to read E4 data from time slot 308-2C. In addition, the arrow from E4 to the virtualization layer 312 can represent a response to the request, i.e., E4 data. Similarly, the arrow from the virtualization layer 312 to the host 314 can represent a response to the original request from the host 314 with E4 data.
[0050] As previously described, the monitor 114 tracks I / O operations for all zones in the multi-level storage device 104 to generate a heat map 118. However, as described above, because there may be two copies of a zone across the MTSS pools 302-1, 302-2, the monitor 114 may treat each read of a zone from the upper level storage device 304-2 as two reads. Therefore, for zones that the MTSS manager 106 copies across the MTSS pools 302-1, 302-2, the relocator 116 may divide the heat value of the copied zone by a redundancy factor (e.g., 2) before determining whether the zone has again met the upgrade threshold in the next upgrade cycle. If space becomes available in the upper level of the primary storage pool (e.g., the upper level storage device 304-1), and the copied zone E4 again meets the upgrade threshold, E4 may be moved to the upper level storage device 304-1. Accordingly, moving E4 may mean deleting E4 from the upper level storage device 304-2. Additionally, moving E4 may mean updating the cross-pool mapping to remove E4. In this manner, new space becomes available in the upper-level storage 304-2, which can be used for other upgrade candidates in the MTSS pool 302-1 that may have been delayed in upgrading due to space limitations.
[0051] Furthermore, even though the MTSS manager 106 may classify the candidate zone as READ_ONLY, thereby copying the candidate zone across pools, the host 314 may write to the zone later. However, because there are two copies of the zone, one in each MTSS pool 302-1, 302-2, overwriting the data in one copy may invalidate the data in the other copy. Invalidation means that the data in the copy is no longer up to date, i.e., valid. Therefore, reading the invalidated copy provides erroneous data. Therefore, in some embodiments of the present disclosure, the MTSS manager 106 may replicate write operations when copying zones across pools. Alternatively, the MTSS manager 106 may overwrite the copy in the primary storage pool (e.g., MTSS pool 302-1) and use invalidation techniques to prevent future reads of the invalidated copy.
[0052] Now refer to Figure 3B, which is a block diagram of an example of a write operation performed with replication in a system 300 for multi-tiered storage according to some embodiments of the present disclosure. The arrow from the host 314 to the virtualization layer 312 may represent a request to write a value to a specific particle of E4. Therefore, the virtualization layer 312 may issue a request for two write operations. The two arrows from the virtualization layer 312 to E4 in time slots 310-1B, 308-2A may represent these write requests. Additionally, the virtualization layer 312 may notify the host 314 when the write operation is completed. Specifically, the arrow from the virtualization layer 312 to the host 314 may represent an acknowledgment (ACK) that the write operation was successfully completed.
[0053] Copying writes to copies of the zone in the two MTSS pools 302-1, 302-2 keeps the two copies synchronized. In this way, the MTSS manager 106 can preserve the atomicity consistency isolation durability (ACID) properties of the copied zone. This technique can be useful for zones classified as READ_ONLY or READ_INTENSIVE because the additional latency of the copied writes can be relatively infrequent compared to the number of read operations that may occur in such zones. Therefore, the savings of performing reads from the upper-level storage device 304-2, as opposed to the lower-level storage device 306-1, can compensate for the additional latency of the copied write operations and still provide I / O operation cost savings. However, similar to read operations performed on the copied zone, the copied write means that two writes will be recorded in the heat map in the next upgrade cycle, which gives the copied zone an unfair advantage in the next upgrade cycle. Thus, similar to the technique for reads, when the MTSS manager 106 replicates writes on a copied extent, the relocator 116 may divide the number of writes by two when considering the hotness of the copied extent in the next promotion cycle.
[0054] Now refer to Figure 3C, which is a block diagram representing an example of an invalid write operation in a system 300 for multi-tiered storage according to some embodiments of the present disclosure. According to an embodiment of the present disclosure, when the MTSS manager 106 copies E4 to the MTSS pool 302-2, the MTSS manager 106 may also generate a grain map 316. The grain map 316 may be a bitmap in which each bit represents a grain of the copied zone. Each bit may indicate whether the associated grain is still a valid copy, meaning that the original copy in the MTSS pool 302-1 has not been written to since the zone copy. Therefore, the grain map 316 may initially be set to 1, indicating: yes, the grain is valid. In an alternative embodiment, the grain map 316 may be an array of any kind capable of representing the validity of each grain in the copied zone, such as an array of single character text values (e.g., "Y" or "N"). Example grain map state 1 represents a potential representation of the grain map 316 of E4 when it is first copied to the MTSS pool 302-2:
[0055] 1 tablet 2 tablets 3 tablets 4 grains 5 grains 6 tablets 7 grains 8 grains Y Y Y Y Y Y Y Y
[0056] Example Particle Image Status 1
[0057] Therefore, when the host 314 requests a read of a grain of the zone, the virtualization layer 312 can use the grain map 316 to determine whether the copy in the MTSS pool 302-2 is still valid before attempting the read. However, when a write operation is performed on the copied zone, the MTSS manager 106 can update the grain map 316 to indicate that the grain being written is no longer valid.
[0058] For example, the arrow from the host 314 to the virtualization layer 312 may represent a request to write to E4's granule 3. Thus, the arrow from the virtualization layer 312 to E4 in the time slot 310-1B in the lower-level storage device 306-1 may represent a write operation performed on E4's granule 3. However, since E4's granule 3 has been updated in the MTSS pool 302-1, the copy in the pool 302-2 is no longer valid. Thus, the arrow from the virtualization layer 312 to the granule map 316 may represent an update to the granule map 316 that invalidates granule 3. Example granule map state 2 represents the granule map 316 after the update:
[0059] 1 tablet 2 tablets 3 tablets 4 grains 5 grains 6 tablets 7 grains 8 grains Y Y N Y Y Y Y Y
[0060] Example Particle Image State 2
[0061] As shown, granule 3 is invalidated. Therefore, future reads of granule 3 are performed from the original copy in MTSS pool 302-1. Additionally, the arrow from virtualization layer 312 to the host represents a write ACK response to the original request to write granule 3 to E4.
[0062] This invalidation technique may be useful for zones classified as MIXED_WORKLOAD, since multiple read and write operations may be performed on the zone. Therefore, the replication technique may result in a significant increase in latency. Advantageously, by performing only a single write to the original copy for this invalidation technique, latency is not increased due to the replication write of the zone copy in the MTSS pool 302-2.
[0063] Figure 4 is a flow chart of an example method 400 for a multi-tier storage system according to some embodiments of the present disclosure. The MTSS manager 106 may perform the method 400 according to some embodiments of the present disclosure. At block 402, the MTSS manager 106 may identify candidate extents that are blocked from being upgraded. Using the heat map 118, the MTSS manager 106 may identify candidate extents in each storage pool 110 that have met a threshold to be upgraded to a faster tier. In addition, the MTSS manager 106 may determine whether there is sufficient free space in the faster tier for the primary storage pool of the candidate extent to upgrade the candidate extent. Thus, the MTSS manager 106 identifies candidate extents in the faster tier that are blocked from being upgraded due to a lack of free space.
[0064] At block 404, the MTSS manager 106 may identify available upgrade tiers in the peer storage pool for the blocked candidate extent. According to an embodiment of the present disclosure, the MTSS manager 106 may analyze the tiers in the peer storage pool for tiers that provide faster I / O operations than the current tier of the blocked candidate extent. In this manner, the MTSS manager 106 may identify potential destinations for copying the blocked candidate extent.
[0065] At block 406, the MTSS manager 106 may copy the candidate region to the identified peer pool. Thus, the original copy of the candidate region is still stored in the primary storage pool. Additionally, a copy of the candidate region is stored in a faster tier of the peer storage pool. To utilize the faster tier in the peer pool, a read of the candidate region is performed on the additional copy.
[0066] At block 408, the MTSS manager 106 may generate a cross-pool mapping for the copied extent. The cross-pool mapping may map the physical address of the original candidate extent to a physical address in the peer pool storing the copy. The cross-pool mapping is useful when the host requests an I / O operation for the extent.
[0067] Figure 55 is a flow chart of an example method 500 for a multi-tier storage system according to some embodiments of the present disclosure. The MTSS manager 106 may perform the method 500 according to some embodiments of the present disclosure. In block 502, the MTSS manager 106 may generate a grain map, such as grain map 316, for the copied region. As previously described, the MTSS manager 106 may use different techniques to handle write operations: a replicated copy technique and an invalidation technique. When initially copied to a peer pool, the generated grain map 316 may indicate the valid state of each grain of the copied region. For the replicated copy method, the MTSS manager 106 does not generate a grain map 316.
[0068] At block 504, the MTSS manager 106 may receive a write request for a copied extent. The host 314 may generate the write request.
[0069] At block 506, the MTSS manager 106 may perform a write operation on the original copy of the extent in the primary storage pool. The MTSS manager 106 may perform block 506 regardless of whether a replicated copy technique or an invalidation technique is used for the write.
[0070] At block 508, the MTSS manager 106 may perform updates in the peer pool. For the replicated copy technique, the MTSS manager 106 may replicate the write in the peer pool. Alternatively, for the invalidation technique, the MTSS manager 106 may update the granule map 316 for each granule written to the primary storage pool. In other words, any granule written to the primary storage pool is invalidated in the granule map 316 of the peer pool. Therefore, future reads of the overwritten granule are performed in the primary storage pool.
[0071] Figure 6 is a flow chart of an example method 600 for a multi-tier storage system according to some embodiments of the present disclosure. The MTSS manager 106 may perform the method 600 according to some embodiments of the present disclosure. At block 602, the MTSS manager 106 may receive a read request for a copied area. The host 314 may provide the read request.
[0072] At block 604, the MTSS manager 106 may determine the physical address of the copied extent in the peer storage pool. The MTSS manager 106 may determine the address using a cross-pool map.
[0073] At block 606, the MTSS manager 106 may determine whether the granule(s) in the peer storage pool are valid. If the granule(s) in the peer storage pool are valid, control flows to block 608. At block 608, the MTSS manager 106 may read the granule(s) from the faster tier in the peer storage pool.
[0074] If the granule(s) in the peer storage pool are not valid, control flows to block 610. At block 610, the MTSS manager 106 may read the granule(s) from the primary storage pool.
[0075] Advantageously, embodiments of the present disclosure may be implemented without adding new hardware and thus may be relatively easily implemented in current storage systems. Additionally, embodiments may include implementation of inbound and outbound APIs for inter-pool information queries for tier limits and storage space statistics.
[0076] Now refer to Figure 7 , illustrates a block diagram of an example MTSS manager 700 according to some embodiments of the present disclosure. In various embodiments, the MTSS manager 700 is similar to the MTSS manager 106 and may execute Figure 4-Figure 6 The methods described in and / or Figure 1 3. In some embodiments, the MTSS manager 700 provides instructions for the aforementioned methods and / or functionality to the client machine, so that the client machine performs the method or a portion of the method based on the instructions provided by the MTSS manager 700. In some embodiments, the MTSS manager 700 includes software executed on hardware incorporated into a plurality of devices.
[0077] MTSS manager 700 includes memory 725 , storage 730 , interconnect (eg, bus) 720 , one or more CPUs 705 (also referred to herein as processors 705 ), I / O device interfaces 710 , I / O devices 712 , and network interfaces 715 .
[0078] Each CPU 705 obtains and executes programming instructions stored in memory 725 or storage device 730. Interconnect 720 is used to move data, such as programming instructions, between CPU 705, I / O device interface 710, storage device 730, network interface 715 and memory 725. Interconnect 720 can be implemented using one or more buses. In various embodiments, CPU 705 can be a single CPU, multiple CPUs, or a single CPU with multiple processing cores. In some embodiments, CPU 705 can be a digital signal processor (DSP). In some embodiments, CPU 705 includes one or more 3D integrated circuits (3DIC) (e.g., 3D wafer level packaging (3DWLP), 3D interposer-based integration, 3D stacked IC (3D-SIC), monolithic 3D IC, 3D heterogeneous integration, 3D system-level packaging (3DSiP) and / or stacked packaging (PoP) CPU configuration). Memory 725 is generally included to represent random access memory (e.g., static random access memory (SRAM), dynamic random access memory (DRAM) or flash memory). Storage 730 is generally included to represent non-volatile memory, such as a hard drive, a solid-state device (SSD), a removable memory card, an optical storage device, and / or a flash memory device. Additionally, storage 730 may include a storage area network (SAN) device, cloud, or other device connected to MTSS Manager 700 via I / O device interface 710 or to network 750 via network interface 715.
[0079] In some embodiments, the memory 725 stores instructions 760. However, in various embodiments, the instructions 760 are stored partially in the memory 725 and partially in the storage device 730, or they are all stored in the memory 725 or all stored in the storage device 730, or they are accessed through the network 750 via the network interface 715.
[0080] Instruction 760 may be a processor-executable instruction for executing Figure 4-Figure 6 any part of, or all of, any method and / or Figure 1 - Any functionality discussed in Figure 3.
[0081] In various embodiments, I / O device 712 includes an interface capable of presenting information and receiving input. For example, I / O device 712 may present information to a listener interacting with MTSS manager 700 and receive input from the listener.
[0082] MTSS manager 700 is connected to network 750 via network interface 715. Network 750 may include physical, wireless, cellular or different networks.
[0083] In some embodiments, the MTSS manager 700 may be a multi-user mainframe computer system, a single-user system or a server computer or similar device that has little or no direct user interface and instead receives requests from other computer systems (clients). In addition, in some embodiments, the MTSS manager 700 may be implemented as a desktop computer, a portable computer, a laptop or notebook computer, a tablet computer, a pocket computer, a phone, a smart phone, a network switch or router, or any other suitable type of electronic device.
[0084] Notice, Figure 7 The following is intended to depict representative major components of an exemplary MTSS manager 700. However, in some embodiments, the various components may have more Figure 7 Greater or less complexity than shown may also exist with Figure 7 Components different from or in addition to those shown Figure 7 Components other than those shown in , and the number, type, and configuration of these components may vary.
[0085] The present disclosure may be a system, method and / or computer program product at any possible level of technical detail integration. The computer program product may include a computer-readable storage medium (or multiple media) having computer-readable program instructions thereon, and the computer-readable program instructions are used to cause a processor to perform various aspects of the present disclosure.
[0086] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device (such as a punch card or a raised structure in a groove, on which instructions are recorded) and any suitable combination of the foregoing. As used herein, a computer-readable storage medium should not be understood to be a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (such as a light pulse passing through a fiber optic cable), or an electrical signal transmitted by a wire.
[0087] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device, or downloaded to an external computer or external storage device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network). The network may include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the corresponding computing / processing device.
[0088] The computer-readable program instructions for performing the operation of the present disclosure may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, configuration data for integrated circuits, or source code or object code written in any combination of one or more programming languages (including object-oriented programming languages such as Smalltalk, C++, and procedural programming languages such as "C" programming language or similar programming languages). The computer-readable program instructions may be executed completely on the user's computer, partially on the user's computer, executed as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected (e.g., by using the Internet of an Internet service provider) with an external computer. In some embodiments, an electronic circuit device (including, for example, a programmable logic circuit device, a field programmable gate array (FPGA), or a programmable logic array (PLA)) can execute computer-readable program instructions by personalizing the electronic circuit device using state information of the computer-readable program instructions so as to perform various aspects of the present disclosure.
[0089] Various aspects of the present disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It is to be understood that each box in these flowchart illustrations and / or block diagrams and the combination of boxes in these flowchart illustrations and / or block diagrams can be implemented by computer-readable program instructions.
[0090] These computer-readable program instructions can be provided to a processor of a computer or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device create components for implementing the functions / actions specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which can instruct a computer, other programmable data processing device, and / or other equipment to function in a specific manner, so that the computer-readable storage medium in which the instructions are stored includes an article of manufacture, which includes instructions, and the instructions implement various aspects of the functions / actions specified in one or more boxes of the flowchart and / or block diagram.
[0091] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to enable a series of operational steps to be performed on the computer, other programmable apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable apparatus, or other device to implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram.
[0092] The flowchart and block diagram in the figure illustrate the architecture, functionality and operation of the possible implementation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, fragment or part of an instruction, which includes one or more executable instructions for implementing a specified (multiple) logical function. In some alternative implementations, the function indicated in the box may not occur in the order indicated in the figure. For example, the two boxes shown in succession can actually be completed as a step, can be performed simultaneously, substantially simultaneously in a manner that partially or completely overlaps in time, or the box can sometimes be performed in the opposite order, depending on the functionality involved. It should also be noted that each of the block diagrams and / or flowchart illustrations and the combination of the boxes in the block diagrams and / or flowchart illustrations can be implemented by a special-purpose hardware-based dedicated system that performs a specified function or action or performs a combination of hardware and computer instructions for a special purpose.
Claims
1. A computer-implemented method for a multi-tier storage system, comprising: identifying a candidate extent stored in a first tier of a first storage pool of a multi-tier storage system (MTSS), wherein the candidate extent is blocked from upgrading due to space limitations on a second tier of the first storage pool; identifying a second tier of a second storage pool of the MTSS, wherein the second tier of the second storage pool provides faster input-output (I / O) access than the first tier of the first storage pool, wherein the second storage pool includes available space to store the candidate area; copying the candidate area to the second level of the second storage pool; as well as A cross-pool mapping is generated from a first address of the candidate extent in the first tier of the first storage pool to a second address of the copied candidate extent in the second tier of the second storage pool.
2. The method according to claim 1, further comprising: A granule map of the candidate region of the copy is generated, wherein the granule map includes a table indicating whether a plurality of granules in the candidate region of the copy are valid for a read operation.
3. The method according to claim 2, further comprising: receiving a write operation request for the candidate area; In the first level of the first storage pool, performing the write operation on the candidate area; as well as The granule map is updated to invalidate granules of the candidate area updated by the write operation.
4. The method according to claim 1, comprising: receiving a write operation request for the candidate area; In the first level of the first storage pool, performing the write operation on the candidate area; as well as In the second tier of the second storage pool, the write operation for the candidate area is performed.
5. The method according to claim 1, comprising: receiving a read operation request for the candidate area; determining that the candidate area is copied to the second level of the second storage pool; as well as In the second tier of the second storage pool, the read operation for the candidate area is performed.
6. The method according to claim 1, further comprising: identifying said candidate regions for copying during an upgrade cycle; as well as The hot value of the candidate region is modified by dividing the read access count of the candidate region by a redundancy factor.
7. The method according to claim 1, further comprising: identifying said candidate regions for copying during an upgrade cycle; as well as The hot value of the candidate region is modified by dividing the write access count of the hot value of the candidate region by two.
8. The method of claim 1, further comprising generating a heat map for the MTSS by: monitoring the number of read operations performed on the candidate area; and The number of write operations performed on the candidate area is monitored. 9 . The method of claim 8 , wherein identifying the candidate area comprises determining that the candidate area is a READ_ONLY area, wherein the number of read operations for the candidate area is greater than zero, and the number of write operations for the candidate area is equal to zero.
10. The method of claim 8, wherein identifying the candidate area comprises determining that the candidate area is a READ_INTENSIVE area, wherein the number of read operations is greater than a specified threshold percentage of the sum of the number of read operations and the number of write operations.
11. A computer program product comprising program instructions stored on a computer-readable storage medium, wherein the program instructions are executable by a processor to cause the processor to perform the method according to any one of claims 1 to 10.
12. A system comprising: Computer processing circuits; as well as A computer-readable storage medium storing instructions, which, when executed by the computer processing circuit, are configured to cause the computer processing circuit to perform the method according to any one of claims 1 to 10.
13. A system comprising modules respectively configured to perform the steps of the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Virtualisation engine and method, system, and computer program product for managing the storage of data
CN101223498A
Method and system for dynamic storage tiering using allocate-on-write snapshots
CN102150144A
Grading storage method and grading storage system
CN102521152A
Extent migration for tiered storage architecture
CN102713827A
Data migration system and data migration method
CN103052938A
