Capacity and performance optimization within heterogeneous storage
By determining performance and capacity weights for each storage subsystem, the system optimizes data distribution to balance performance and capacity, addressing inefficiencies in non-homogeneous data storage systems.
Patent Information
- Application Number
- JP2022553201
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-03-09
- Publication Date
- 2024-10-09
- Estimated Expiration
- 2040-03-09
AI Technical Summary
Data storage systems with non-homogeneous subsystems face challenges in load balancing and data distribution due to differences in performance and capacity, leading to inefficient utilization and potential capacity issues.
A computing device determines performance quantities and initial distribution weights for each storage subsystem, adjusting weights to optimize data distribution based on performance and capacity, ensuring even capacity usage across subsystems.
The solution optimizes performance while maintaining even capacity usage, preventing capacity issues and stabilizing performance across non-homogeneous storage subsystems.
Smart Images

Figure 0007564879000001 
Figure 0007564879000002 
Figure 0007564879000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the field of data storage. [Background technology]
[0002] Data objects and other types of data may be stored within a storage pool or other storage system arrangement that may include multiple data storage subsystems. A storage system may expand by adding new subsystems that may have higher performance and / or capacity when compared to existing subsystems in the storage system. Thus, a storage system may end up with multiple subsystems that are non-homogeneous in terms of capacity and / or performance. For example, each subsystem may have different performance and capacity than other subsystems in the storage system, which may complicate load balancing and data distribution. For example, in such a situation, simply distributing data evenly across the storage subsystems does not take into account the better performance of the higher performance subsystems. Summary of the Invention [Means for solving the problem]
[0003] Some implementations include a computing device configured to store data in the storage subsystems in a storage pool. The computing device may determine, for each storage subsystem, a potential performance metric representative of the relative performance of the storage subsystem, and may determine an individual initial distribution weight for each storage subsystem based at least on the potential performance metric. The computing device may further determine, for each storage subsystem having a percentage of used storage capacity that is higher by more than a threshold amount than a percentage of storage capacity used by the storage subsystem having the lowest percentage of used storage capacity, one or more amounts to adjust the initial distribution weight to determine an individual desired distribution weight for the respective storage subsystem. The computing device may select one or more of the storage subsystems to receive the data based at least on the desired distribution weight. [Brief description of the drawings]
[0004] The detailed description is provided with reference to the accompanying drawings, in which the left-most digit of a reference number identifies the figure in which the reference number first appears. Use of the same reference number in different figures indicates similar or identical items or features.
[0005] [Figure 1] FIG. 1 illustrates an example architecture for a system capable of storing data across multiple disparate storage subsystems according to some implementations.
[0006] [Diagram 2] FIG. 2 illustrates a flow diagram of a first portion of a process for optimizing and controlling traffic distribution according to some implementations.
[0007] [Diagram 3] FIG. 3 illustrates a continuation flow diagram of a process for optimizing and controlling traffic distribution according to some implementations.
[0008] [Figure 4]FIG. 4 is a block diagram illustrating an example of determining a selection list according to some implementations.
[0009] [Diagram 5] FIG. 5 is a block diagram illustrating an example of determining a selection list according to some implementations.
[0010] [Figure 6] FIG. 6 is a block diagram illustrating an example of determining a selection list according to some implementations.
[0011] [Figure 7] FIG. 7 illustrates an example of selected components of a service computing device that may be used to implement at least some of the functionality of the systems described herein.
[0012] [Figure 8] FIG. 8 illustrates selected components of an example subsystem configuration according to some implementations. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Some implementations herein are directed to techniques and arrangements for optimizing the use of a data storage pool or other collection of storage subsystems. The distribution of data for storage to individual subsystems in a storage pool may be controlled, for example to optimize performance while maintaining similar capacity usage levels across the subsystems. Weights (also referred to herein as skew) may be configurable by the user to better focus on improving performance or managing capacity. Subsystem performance and capacity may be reported by the subsystems or may be determined and maintained by one or more service nodes. Solutions herein optimize performance while filling the storage capacity of the subsystems approximately evenly. Implementations herein can optimize the performance of a pool of non-homogeneous storage subsystems without causing capacity issues. Thus, the system uses the performance capabilities and capacity of the subsystems to calculate the optimal distribution.
[0014] Some examples herein optimize the performance of multiple storage subsystems while distributing data evenly across the subsystems. The system allows the user to set a configurable weight (skew) for capacity versus performance. For example, a high skew may place more emphasis on selecting the least full subsystem in the storage pool, whereas a low skew may emphasize high performance with less concern for evenly distributing capacity. Furthermore, the determined distribution may optimize with respect to the performance of individual storage of each subsystem, or provide an even distribution if all subsystems are identical. Additionally, the system may be configured to distribute data based on individual statistics and results, and / or maintain the distribution based on throughput.
[0015] The workload distribution herein may track threads in use and maintain an expected in-use percentage. Additionally, when capacities differ, a combination of capacity skew and optimal performance distribution may result in steady-state performance of the storage pool. For example, the highest performing devices may accept less data ingest as they become full. Additionally, the data distribution process herein may be employed with any practical number of storage subsystems in a storage pool and may avoid out-of-capacity errors by redirecting data storage based on capacity, such as when one of the storage subsystems reaches full storage capacity.
[0016] Some examples herein include data distribution algorithms that take into account the combined performance and capacity of multiple non-homogeneous storage subsystems to optimize performance while resulting in similar utilization percentages of the subsystems. The system may further include a sliding adjustment to allow a user to manually adjust the weights to further focus the resulting data distribution on performance or capacity. The system herein may provide consistent pool performance with some calculable difference in capacity utilization between subsystems, such as based on adjusting the weight skew to focus on subsystem capacity or subsystem performance.
[0017] For illustrative purposes, some implementations are in the context of one or more service computing devices in communication with multiple disparate storage subsystems to optimally manage data distribution based on balancing performance and capacity usage of the storage subsystems, however, implementations herein are not limited to the examples provided and may be extended to other types of computing system architectures, other types of storage environments, other types of client configurations, other types of data, etc., as will be apparent to those skilled in the art in light of the disclosure herein.
[0018] FIG. 1 illustrates an example architecture of a system 100 capable of storing data in multiple disparate storage subsystems according to some implementations. System 100 includes one or more service computing devices 102 that can communicate with or are connected to a storage pool 103 that includes multiple storage subsystems 104, such as a first subsystem 104(1), a second subsystem 104(2), a third subsystem 104(3), a fourth subsystem 104(4), etc., via one or more networks 105, etc. Subsystems 104(1)-104(4) may each include one or more computing devices (not shown in FIG. 1) that manage a specified number of storage devices separately from each of the other subsystems 104(1)-104(4). Further details of subsystem 104 are discussed below with respect to FIG. 8.
[0019] Additionally, the service computing device 102 may communicate with one or more user computing devices 108 over one or more networks 106. For example, the service computing device 102 may be an access node, a server node, a management node, and / or other type of service node that provides access to the storage pool 104 for client devices to enable the client devices to store data in the storage pool 104, as well as to perform other management and control functions as discussed further below.
[0020] The service computing device 102 may be in communication with one or more administrator computing devices 110, such as via network 105 or via network 106. For example, the administrator computing device 110 may be used to configure the service computing device 102 and / or the storage pool 104. The client devices 108 and administrator devices 110 may be any of a variety of types of computing devices, as discussed further below.
[0021] In some examples, the service computing device 102 may include one or more servers that may be embodied in any number of ways. For example, at least a portion of the programs, other functional components, and data storage of the service computing device 102 may be implemented on at least one server in a cluster of servers, a server farm, a data center, a cloud-hosted computing service, etc., although other computer architectures may additionally or alternatively be used. As another example, the service computing device 102 may be abstracted or treated as a single node that is actually a cluster including multiple service computing devices 102. Further details of the service computing device 102 are discussed below with respect to FIG. 7.
[0022] The one or more networks 105 and 106 may include any suitable network including a wide area network such as the Internet, a local area network (LAN) such as an intranet, a wireless network such as a cellular network, a local wireless network such as Wi-Fi, and / or a short-range wireless communication such as BLUETOOTH, a wired network including Fibre Channel, optical fiber, Ethernet, or any other such network, a direct wired connection, or any combination thereof. Thus, the one or more networks 105 and 106 may include both wired and / or wireless communication technologies. The components used for such communication may depend at least in part on the type of network, the selected environment, or both. Protocols for communicating on such networks are well known and will not be discussed in detail herein. By way of example, the network 105 may be a private network such as a LAN, a storage area network (SAN), a Fibre Channel network, while the network 106 may include the Internet in some cases, a public network, or a combination of public and private networks. Implementations herein are not limited to a particular type of network such as the networks 105 and 106.
[0023] The service computing devices 102 may be configured to provide storage and data management services to client users 112, respectively, via client devices 108. As some non-limiting examples, the users 112 may include users performing functions for a company, enterprise, organization, government entity, academic entity, etc., and may also include storage that stores very large amounts of data, in some examples. Nonetheless, implementations herein are not limited to any particular use or application of the system 100 and other systems and arrangements described herein.
[0024] Each client device 108 may be any suitable type of computing device, such as a desktop, laptop, tablet computing device, mobile device, smartphone, wearable device, terminal, and / or any other type of computing device capable of transmitting data over a network. Users 112 may be associated with client devices 108 by individual user accounts, user login credentials, etc. Additionally, client devices 108 may be configured to communicate with service computing device 102 over one or more networks 106, over a separate network, or over any other suitable type of communications connection. Numerous other variations will be apparent to those of ordinary skill in the art having the benefit of this disclosure.
[0025] Additionally, each client device 108 may include a respective instance of a user application 114 that may be executed on the client device 108 to communicate with a client web application 116 executable on the service computing device 102, such as to send user data for storage on the subsystem 104 via data instructions 118 such as write operations, read operations, delete operations, etc., and / or to receive stored data from the subsystem 104. In some cases, the application 114 may include or be operated by a browser, while in other cases the application 114 may include any other type of application having communication capabilities that enable communication with the client web application 116 or other applications on the service computing device 102 over one or more networks 106. Thus, the service computing device 102 may provide storage for the users 112 and their respective client devices 108. During steady state operation, there may be users 112 that periodically communicate with the service computing device 102.
[0026] Additionally, the administrator device 110 may be any suitable type of computing device, such as a desktop, laptop, tablet computing device, mobile device, smartphone, wearable device, terminal, and / or any other type of computing device capable of transmitting data over a network. The administrator 120 may be associated with the administrator device 110 by an individual administrator account, administrator login credentials, etc. Additionally, the administrator device 110 may be capable of communicating with the service computing device 102 over one or more networks 106, 107, over a separate network, or over any other suitable type of communications connection.
[0027] Additionally, each administrator device 110 may include a respective instance of an administrator application 122 that may execute on the administrator device 110 to communicate with an administration web application 124 executable on the service computing device 102, such as to send administration instructions for managing the system 100, such as with administration commands, and to send administration data for storage on the subsystems 104 and / or to receive stored administration data from the subsystems 104. In some cases, the administrator application 122 may include or be operated by a browser, while in other cases, the administrator application 122 may include any other type of application having communication capabilities that enable communication with the administration web application 124 or other applications on the service computing device 102 or subsystem 104 over one or more networks 107 or 106.
[0028] The service computing device 102 may execute a storage management program 128 that may provide access to the subsystems 104, such as to transmit data 130 stored in the subsystems 104 and to retrieve requested data 130 from the subsystems 104. In addition, the storage management program 128 may manage the data stored by the system 100, such as for data retention periods, data protection levels, data replication, etc. In some cases, the storage management program 128 may periodically receive subsystem metrics 132, such as performance metrics, capacity usage metrics, etc., from each subsystem 104. Additionally, as discussed further below, the storage management program 128 may include a load balancing optimization program 134 that may optimize the performance of the subsystems 104 while generally balancing the storage capacity of the subsystems 104.
[0029] In this example, the load balancing optimization program 134 is shown as part of the storage management program 128. However, in other examples, the load balancing optimization program 134 may be a program separate from the storage management program 128 and may be called by the storage management program 128 or other programs executing on the service computing device 102, the administrator device 110, etc.
[0030] The service computing device 102 may further include a metadata database (DB) 136, which may be distributed across one or more service computing devices 102. For example, the metadata DB 136 may be used to manage the data 130 stored in the subsystem 104. The metadata DB 136 may include a number of metadata about the data 136, such as information about individual data objects or other data, how to access the data, storage protection levels for the data, storage retention periods, data owner information, data size, data type, etc. Furthermore, the storage management program 138 may manage and maintain the metadata DB 136, such as to update the metadata DB 136 when new data is stored, old data is deleted, data is moved, etc., as well as to respond to requests to access the data 130.
[0031] As an example, the storage management program 128 may receive a data command to store the data 130 in the storage pool 103. The storage management program 128 may select a destination subsystem 104 based at least in part on the selection list 138. The storage management program 128 may add metadata for the data 130 to the metadata database 136 and may transmit the data 130 to the selected subsystem 104. The number of connections for the selected subsystem 104 may be incremented by one. After the transmission of the data 130 to the selected subsystem 104 is complete, the number of connections to the selected subsystem 104 may be decremented by one and the storage management program 128 may begin responding to the requesting client device 108 with a completion message indicating success, failure, etc. Details of determining the selection list 138 are discussed further below.
[0032] Each subsystem 104(1)-104(4) may execute a storage program 140(1)-140(4) to manage the storage of the respective data 130(1)-130(4) in the respective subsystem 104(1)-104(4). For example, the storage program 140 may receive the data 130 from the storage management program 128 of the service computing device 102, store the data 130 on one or more storage devices in the subsystem 104, or retrieve and send requested data to the storage management program 128 in response to a client read request or the like. The storage program 140 may provide information to the storage management program 128, such as performance information, capacity usage information, etc., regarding individual storage devices managed by a particular storage program 140 on a particular one of the subsystems 104.
[0033] 2 and 3 are flow diagrams illustrating an example of a process 200 for optimizing and controlling traffic distribution according to some implementations. The process is illustrated as a collection of blocks in a logical flow diagram that represent a sequence of operations, some or all of which may be implemented by hardware, software, or a combination thereof. In the context of software, the blocks may represent computer-executable instructions stored on one or more computer-readable media that, when executed by one or more processors, programs the processors to perform the recited operations. Generally, computer-executable instructions include routines, programs, objects, components, data structures, etc. that perform particular functions or implement particular data types. The order in which the blocks are described should not be construed as a limitation. Any number of the described blocks may be combined in any order and / or in parallel to implement this process or alternative processes, and not all of the blocks must be performed. For illustrative purposes, the process is described with reference to the environments, frameworks, and systems described in the examples herein, but the process may be implemented in a wide variety of other environments, frameworks, and systems.
[0034] The load balancing optimization program 134 may be based in part on the following algorithm: n Let C represent the percentage of capacity used within a storage subsystem 104 in the storage pool 103, where n is a number between 1 and the number of subsystems 104 in the storage pool 103. Thus, C n is (used capacity / total capacity) * It may be equal to 100. min The percentage of capacity used on the subsystem with the least percentage used (i.e. the smallest C in the pool) n ) Furthermore, let BT be the equilibrium threshold percentage, say C min C is not higher than BT nAny subsystem with C is considered to be balanced. If all systems are balanced, then data distribution is entirely based on performance and not on capacity, regardless of the skew multiplier S. Therefore, (C n -C min ) may represent the out of balance percentage of a given storage subsystem 104 in the storage pool 103. This value is min is 0, and (C n -C min ) ≤ BT is effectively 0 for any subsystem. Furthermore, D n Let be the percentage of traffic distribution for a particular storage subsystem. n The sum may always be 100%.
[0035] (C n -C min In a balanced system with BT, D n may be calculated as follows: D n =T n / TP+SUM(However(C x -C min ≦BT)(MIN((C x -C min ) * S, 100%) * T x / TP / NB) Formula (1)
[0036] In equation (1), T n is the maximum throughput of a storage subsystem in the pool, where n is a number between 1 and the number of subsystems in the pool. The units may be MB / sec or other consistent units. n The value of may be limited by any number of performance characteristics, such as disk speed, network bandwidth, and CPU limitations.
[0037] In addition, in equation (1), TP is the total throughput capacity of the subsystems 104 in the storage pool 103, i.e., all T n It may also represent the sum of
[0038] Additionally, in equation (1), S may represent a skew multiplier to control performance versus capacity. For example, a large number distributes data based solely on capacity, whereas a value of 0 results in data distribution based solely on the performance capabilities of the subsystem. When S is set equal to 1, the system may distribute traffic based on an approximately equal application of performance and capacity.
[0039] In addition, in equation (1), Cx is the C n , and x ranges from 1 to the number of unbalanced subsystems ((C n -C min )>BT).
[0040] Additionally, in equation (1), Tx may be the same as Tn for the unbalanced subsystems in the pool 103, where x ranges from 1 to the number of unbalanced subsystems (C n -C min )>BT).
[0041] In addition, in equation (1), NB is the number of balancing subsystems 104 in the pool 103, i.e., (C n -C min BT.) may represent the number of subsystems 104 for which BT.
[0042] Furthermore, (C n -C min )> For the unbalanced subsystem 104 in the storage pool 103 where BT holds, n can be calculated as follows: D n =MAX((100%-(C n -C min ) * S) * T n / TP,0%) Formula (2) However, C n , C min , S, T n, and the values of TP may be the same as those discussed above with respect to equation (1).
[0043] In the following examples of Figures 2-6, some concepts of the equations discussed above may be partially generalized and applied to determine and control the distribution of ingest data traffic among multiple subsystems 104, such as in a storage pool 103 in the example system 100 discussed above with respect to Figure 1. Assume that the balance threshold BT, i.e., the allowable percentage difference between the percentage of capacity used in subsystems 104 in the pool 103, is configured to a predefined value, such as 2%. Furthermore, assume that the initial desired distribution (IDD) is the percentage of connections that each storage subsystem 104 in the pool 103 is expected to get based on performance. The IDD may be a weight based only on the performance and not the capacity of the individual subsystems 104. Additionally, an out of balance percentage (OOBP) may represent an increase in the usage percentage of a storage subsystem 104 if the increase exceeds BT. The OOBP may be calculated for the storage subsystem 104 with the smallest percentage of capacity used. Additionally, the redistribution percentage (RDP) may represent the amount of IDD to be subtracted from one of the subsystems that is filled above the balance threshold and added to the smallest balanced subsystem. The RDP may be used to determine the adjusted redistribution percentage (ARDP), which is the amount of IDD to be distributed from the unbalanced subsystem to one of the smallest balanced subsystems, i.e., ARDP = (RDP / number of balanced subsystems). Additionally, the current distribution (CD) may represent the percentage of open connections on the storage subsystems in the pool. CD is calculated as CD = (100% * The desired distribution (DD) may be calculated as: open connections on a subsystem / open connections in a pool. Additionally, the desired distribution (DD) may be a weight indicating the percentage of traffic that is directed to each of the subsystems 104.
[0044] 2 illustrates a flow diagram of a first portion of a process 200 for optimizing and controlling traffic distribution according to some implementations. In the example of FIG. 2, the process 200 may be performed at least in part by one or more service computing devices 102 executing a load distribution optimization program 134, such as a storage management program 128.
[0045] The load balancing optimizer 134 matches the performance and capacity of the storage subsystems 104 to optimize performance while resulting in similar percentage usage of the capacity of the subsystems 104. The load balancing optimizer 134 may perform optimization even when the subsystems are completely dissimilar (non-homogeneous) in terms of performance and capacity.
[0046] In some cases, the load balancing optimizer 134 may include a skew multiplier, which is a weighting multiplier that can be used to adjust the focus of the optimization toward more performance or toward more capacity balancing. In the implementation herein, a skew multiplier value of "0" may direct traffic to always achieve the highest performance without considering capacity usage until each individual subsystem 104 is fully filled. On the other hand, a large skew multiplier value (e.g., significantly greater than "1") may direct all traffic to balance the capacity of the storage subsystems 104 and ignore the performance of each individual subsystem 104. If the skew multiplier value is above (100% / balance threshold), no traffic will go to the unbalanced subsystem. A skew multiplier value of "1" allows capacity and performance to have equal weighting.
[0047] In some examples herein, a storage pool 103 containing multiple subsystems 104 may become out of balance in a number of scenarios. As an example, a new subsystem 104 may be added to an aging and filled storage pool 103. As a new (and presumably empty) subsystem 104 is added to the storage pool 103, the load balancing optimizer 134 takes advantage of the newly added storage capacity that is less full while still maintaining optimal performance. Since the new subsystem 104 may be expected to fill up faster than the existing subsystems 104, the out-of-balance difference between all subsystems 104 becomes smaller and newly ingested data may be gradually directed to the existing partially filled subsystems 104.
[0048] If all subsystems 104 have the same performance characteristics, they may continually approach balanced capacity while optimizing performance. If the subsystems 104 have different performance from one another, the load balancing optimizer 134 may allow the faster systems to fill more quickly. The subsystems 104 may then go from balanced capacity to out-of-balanced capacity. In this situation, the load balancing optimizer 134 begins to restrict the flow of new data to the faster (higher performing) subsystems that are filled more quickly. Performance across the subsystems 104 may gradually stabilize based on the skew multiplier as the focus gradually shifts to the less filled and slower filling subsystems 104.
[0049] At 201, the service computing device may determine whether there are existing unexpired metrics for the subsystem 104. If so, the process may proceed to 204. If not, the process may proceed to 202 to obtain metrics for the subsystem 104.
[0050] At 202, the service computing device may receive capacity metrics, and in some examples performance metrics, for the subsystem 104. For example, the service computing device may request the metrics from the subsystem 104, may wait to receive the metrics periodically, or may calculate the metrics based on information determined by the service computing device 102. In some examples, the subsystem 104 may be configured to send the performance and capacity metrics to the service computing device 102 periodically. As some non-limiting examples, this period may be every 1 minute, 2 minutes, 3 minutes, 5 minutes, 15 minutes, 30 minutes, every hour, every day, etc.
[0051] At 204, the service computing device may determine whether performance metrics have been received for each subsystem 104. If so, the process proceeds to 208. If not, the process proceeds to 206.
[0052] At 206, if performance metrics have not been received for all connected subsystems 104, the service computing device may initially set an initial desired distribution (IDD) for data distribution equally across all subsystems 104. For example, if any of the subsystems 104 in a storage pool 103 do not return performance metrics, the initial desired distribution IDD may be evenly distributed across the subsystems 104 in the storage pool 103. Additionally or alternatively, even if performance metrics may not be returned by a particular subsystem 104, performance metrics may be calculated by the service computing device 102 based on the results of subsequent calculations, etc.
[0053] At 208, when performance metrics have been received for all subsystems 104 in the storage pool 103, the service computing device may calculate an IDD for data distribution based on the remaining performance capacity of the subsystems 104. For example, the IDD for each subsystem 104 may be calculated by dividing the available performance capacity of that subsystem by the sum of the available performance capacity of all subsystems 104.
[0054] At 210, the service computing device may determine whether the difference between the highest and lowest subsystem capacity utilization percentages is greater than a balance threshold BT for the difference. If not, the process proceeds to 212. On the other hand, if the difference is greater than the balance threshold BT, the process proceeds to 214.
[0055] If, at 212, the difference is not greater than the balance threshold BT for any of the subsystems 104, then the subsystems 104 have balanced capacity and none of the subsystems 104 have a re-distribution percentage (RDP) or an adjusted re-distribution percentage (ARDP), and therefore blocks 214-220 may be skipped and the process may proceed to block 301 of FIG.
[0056] At 214, if the difference between the highest subsystem capacity usage percentage and the lowest subsystem capacity usage percentage is greater than the balance threshold BT, the service computing device may determine an out-of-balance percentage (OOBP) for each subsystem that exceeds the balance threshold BT. For example, the OOBP may be equal to the subsystem's percentage capacity minus the lowest percent capacity used by any subsystem 104 in the storage pool 103.
[0057] At 216, the service computing device may multiply the OOBP by a skew multiplier (also referred to herein as a weight multiplier) to determine a redistribution percentage (RDP), e.g., the RDP is the percentage of the initial distribution that is evenly redistributed from the selected subsystem to the less-full subsystems.
[0058] At 218, the service computing device may determine whether all out-of-balance subsystems have been processed to determine the OOBP and RDP. If so, the process proceeds to 220. If not, the process returns to 214 to select another out-of-balance subsystem for determining the OOBP and RDP. This determines an RDP for each subsystem that has a percent capacity used that is higher than the balance threshold BT than the percent used on the subsystem with the lowest percentage used.
[0059] At 220, the service computing device may determine an adjusted redistribution percentage ARDP by dividing the total RDP by the number of subsystems for which the RDP was not calculated. As noted above, the RDP is not calculated for any subsystem within the balance threshold BT of the least filled subsystem.
[0060] FIG. 3 illustrates a continuing flow diagram of a process 200 for optimizing and controlling traffic distribution according to some implementations.
[0061] At 301, the service computing device may determine the desired distribution DD weights of each subsystem 104 by multiplying the IDD of each subsystem by a percentage of the ARDP, and subtracting the RDP from the IDD for each subsystem that has an ARDP (or subtracting that product from the IDD once for each balancing subsystem in the storage pool to achieve the same result). For each subsystem that does not have an ARDP, the product of the ARDP and IDD from the subsystems that have an ARDP is added to the IDD of those systems. If none of the subsystems 104 have an ARDP, then the respective IDD is also the respective DD for each subsystem 104.
[0062] At 302, the service computing device may receive a data ingest request. As an example, a client device may request to store data in storage pool 103, as discussed above with respect to Figure 1. Various other sources of data ingest requests will be apparent to those of ordinary skill in the art having the benefit of the disclosure herein.
[0063] At 303, the service computing device may determine whether values of desired variance DD have been established for all subsystems 104 and have not expired. For example, subsystem metrics may have expiration based on a fixed expiration time, based on a percentage change in one or more metrics, based on receipt of new metrics, etc. In some cases, the metrics may be maintained in a separate computing device, such as within the system 100 or outside the system 100. In addition, values of desired variance DD may also have an expiration, which in some cases may be related to the expiration of the metrics, or in other cases may be unrelated and managed separately. In addition, in some examples, values of DD may only be calculated in response to receiving a data ingestion request. If values of DD have been calculated and have not expired, processing proceeds to 304. If values of DD have not been calculated or have expired, processing proceeds to FIG. 2 to execute block 201.
[0064] At 304, the service computing device may determine whether all subsystem connections are maintained or none of the subsystems' current connection counts are zero. The connections may be maintained by the service computing device 102, such as based on actual usage of the ranked selection list 138. For example, if after determining the desired distribution, one or more of the subsystems 104 no longer have any connections, the determined distribution may be invalid. If the condition is met, processing proceeds to 308. If the condition is not met, processing proceeds to 306.
[0065] At 306, if one or more subsystems are no longer connected or no connection is maintained with others (e.g., at least one subsystem has no connection), the service computing device may randomly order the selection list 138 of the subsystems 104 using their respective desired variance DDs as weights.
[0066] At 308, if all subsystems 104 have at least one known connection, the service computing device may order the selection list of subsystems by ranking the subsystem with the highest desired variance DD that is farthest from CD to the top of the selection list 138, the subsystem with the lowest DD that is farthest from CD to the bottom of the selection list 138, and ranking other subsystems in between accordingly based on the respective distances of their respective DDs from CD. For example, the current variance CD is 100 * It may be calculated as open connections on a subsystem / open connections in a storage pool.
[0067] At 310, the service computing device may move subsystems that have a capacity usage above a maximum capacity usage threshold to the bottom of the selection list. As one non-limiting example, assume that the maximum capacity threshold is 90 percent full. Thus, any subsystem with a capacity usage above 90 percent is moved to the bottom of the selection list 138, regardless of the difference between the DD and CD of that subsystem.
[0068] At 312, the service computing device may use the selection list 138 to distribute the ingest data to each subsystem 104. For example, the service computing device 102 may distribute the ingest data among one or more subsystems 104 based on the ranking of each subsystem 104 in the selection list 138. For example, the service computing device may select the first subsystem in the selection list. The calculations herein do not need to understand the data protection level (DPL) being used for the data. For example, more than one subsystem may be selected at the same time to meet the configured DPL, such as in cases where one or more redundant copies are stored. The process 200 may generate DDs at intervals based on the storage pool 103. In some cases, each request may use the DD to generate a ranking for the selection list 138. After the ingest data is sent to the selected subsystem 104, the process may return to block 302 to wait for the next data ingest request to be received.
[0069] The example processes described herein are merely example processes provided for illustrative purposes. Numerous other variations will become apparent to those skilled in the art in light of the disclosure herein. Additionally, while the disclosure herein describes some example frameworks, architectures, and environments suitable for carrying out the processes, the implementations herein are not limited to the specific examples shown and described. Additionally, the disclosure provides various implementations described and illustrated in the figures. However, the disclosure is not limited to the implementations described and illustrated herein, and may extend to other implementations known or to become known to those skilled in the art.
[0070] 4 is a block diagram illustrating an example 400 of determining a selection list 138 according to some implementations. In this example, assume that the first subsystem 104(1) has 10 open connections, the second subsystem 104(2) has 15 open connections, the third subsystem 104(3) has 5 open connections, and the fourth subsystem 104(4) has 10 open connections, for a total of 40 open connections. Therefore, the current variance CD of the first subsystem 104(1) is 25% (i.e., 10 / 40), the CD of the second subsystem 104(2) is 37.5% (15 / 40), the CD of the third subsystem 104(3) is 12.5% (5 / 40), and the CD of the fourth subsystem 104(4) is 25% (10 / 40). Further, in this example, assume that the first subsystem 104(1) is currently using 90% capacity, the second subsystem 104(2) is currently using 50% capacity, the third subsystem 104(3) is currently using 11% capacity, and the fourth subsystem 104(4) is currently using 10% capacity.
[0071] In this example, we assume that subsystems 104(1)-104(4) all have an equal additional performance headroom of 100 MB / s, so the initial desired distribution IDD is 25% (100 MB / s / (4 * The RDP is calculated for both the first subsystem 104(1) and the second subsystem 104(2) at a 2% higher balance threshold BT than the least-full subsystem 104(4). In this example, it is assumed that the skew multiplier has a value of 1, which corresponds to balanced performance and capacity being commensurate.
[0072] For the first subsystem 104(1), the OOBP is 90-10=80% out of balance. The RDP is also 80% because the skew multiplier is 1. The two least-full subsystems, 104(3) and 104(4), are within 2% capacity of each other and are therefore considered to be in balance, so for the first subsystem 104(1), the ARDP is 80% / 2=40%.
[0073] For the second subsystem, the OOBP is 50-10=40%, the RDP is also equal to 40% and the ARDP is 40% / 2 or 20%.
[0074] A desired distribution DD may then be determined for each subsystem 104(1)-104(4). The DD may be determined based on a rule that any subsystem 104(1)-104(4) that has an ARDP should reduce the ARDP for its least satisfied subsystem from its own IDD and increase its least satisfied subsystem by that percentage.
[0075] For the first subsystem 104(1), IDD=25%, RDP=80%, ARDP=40%, and * 25%=10%, so DD=25%-10%-10%=5%.
[0076] For the second subsystem 104(2), IDD=25%, RDP=40%, ARDP=20%, and * 25%=5%, so DD=25%-5%-5%=15%.
[0077] For the third subsystem 104(3), IDD=25% and therefore DD=25%+10%+5%=40%.
[0078] For the fourth subsystem 104(4), IDD=25% and DD=25%+10%+5%=40%.
[0079] In addition, as discussed above, all of the subsystems 104(1)-104(4) in this example have known connections, so the selection list 138 may be sorted based on the difference between the DD and CD of each of the subsystems 104(1)-104(4).
[0080] Therefore, the third subsystem 104(3) may be ranked first: DD-CD=40%-12.5%=27.5% less.
[0081] The fourth subsystem 104(4) may be ranked second: DD-CD=40%-25%=15% less.
[0082] The first subsystem 104(1) may be ranked number 3: DD-CD=5%-25%=-20% too little (20% too much).
[0083] The second subsystem 104(2) may be ranked number 4: DD-CD=15%-37.5%=-22.5% too little (22.5% too much).
[0084] However, assume that the most full capacity threshold is set to 90%. Thus, because first subsystem 104(1) is at 90% capacity, selection list 138 is rearranged to move first subsystem 104(1) to the bottom for a final selection order of third subsystem 104(3), fourth subsystem 104(4), second subsystem 104(2), and first subsystem 104(1).
[0085] 5 is a block diagram illustrating an example 500 of determining a selection list 138 according to some implementations. In this example, assume that the first subsystem 104(1) has 10 open connections, the second subsystem 104(2) has 15 open connections, the third subsystem 104(3) has 5 open connections, and the fourth subsystem 104(4) has 10 open connections, for a total of 40 open connections. Therefore, the CD of the first subsystem 104(1) is 25%, the CD of the second subsystem 104(2) is 37.5%, the CD of the third subsystem 104(3) is 12.5%, and the CD of the fourth subsystem 104(4) is 25%. Further, in this example, assume that the first subsystem 104(1) is currently using 90% capacity, the second subsystem 104(2) is currently using 50% capacity, the third subsystem 104(3) is currently using 11% capacity, and the fourth subsystem 104(4) is currently using 10% capacity.
[0086] In this example, it is assumed that subsystems 104(1)-104(4) have different potential performance. For example, first subsystem 104(1) and second subsystem 104(2) report a potential performance of 400 MB / s, while third subsystem 104(3) and fourth subsystem 104(4) report a potential performance of 100 MB / s. Thus, the initial desired variance IDD is 40% for first subsystem 104(1) and second subsystem 104(2), i.e., (400 MB / s / (400 MB / s+400 MB / s+100 MB / s+100 MB / s)), and 10% for third subsystem 104(3) and fourth subsystem 104(4).
[0087] In addition, the first subsystem 104(1) and the second subsystem 104(2) are more than 2% above the balance threshold BT than the least-satisfied subsystem 104(4), so the RDP may be calculated for both the first subsystem 104(1) and the second subsystem 104(2). In this example, it is assumed that the skew multiplier has a value of 1, which corresponds to balanced performance and capacity matching.
[0088] For the first subsystem 104(1), the OOBP is 90-10=80% out of balance. The RDP is also 80% because the skew multiplier is 1. The two least-full subsystems, 104(3) and 104(4), are within 2% capacity of each other and are therefore considered to be in balance, so the ARDP for the first subsystem 104(1) is 80% / 2=40%.
[0089] For the second subsystem, the OOBP is 50-10=40%. The RDP is also equal to 40% and the ARDP is 40% / 2 or 20%.
[0090] A desired distribution DD may then be determined for each subsystem 104(1)-104(4). The DD may be determined based on a rule that any subsystem 104(1)-104(4) that has an ARDP should reduce the ARDP for each least satisfied subsystem from its own IDD and increase the least satisfied subsystem by that percentage.
[0091] For the first subsystem 104(1), IDD=40%, RDP=80%, ARDP=40%, and * 40%=16%, so DD=40%-16%-16%=8%.
[0092] For the second subsystem 104(2), IDD=40%, RDP=40%, ARDP=20%, and * 40%=8%, so DD=40%-8%-8%=24%.
[0093] For the third subsystem 104(3), IDD=10% and therefore DD=10%+16%+8%=34%.
[0094] For the fourth subsystem 104(4), IDD=10% and DD=10%+16%+8%=34%.
[0095] In addition, as discussed above, all of the subsystems 104(1)-104(4) in this example have known connections, so selection list 138 may be sorted based on the difference between the DD and CD of each subsystem 104(1)-104(4).
[0096] Therefore, the third subsystem 104(3) may be ranked first: DD-CD=34%-12.5%=21.5% less.
[0097] The fourth subsystem 104(4) may be ranked second: DD-CD=34%-25%=9% less.
[0098] The second subsystem 104(2) may be ranked number 3: DD-CD=24%-37.5%=-13.5% too little (13.5% too much).
[0099] The first subsystem 104(1) can be ranked number 4: DD-CD=8%-25%=-17% too little (17% too much).
[0100] In addition, assume that the most full capacity threshold is set to 90%. Thus, because first subsystem 104(1) is at 90% capacity, first subsystem 104(1) should be placed at the bottom of selection list 138; however, because first subsystem 104(1) is already ranked at the bottom, there is no need to rearrange selection list 138 in this example.
[0101] 6 is a block diagram illustrating an example 600 of determining a selection list 138 according to some implementations. In this example, assume that the first subsystem 104(1) has 10 open connections, the second subsystem 104(2) has 15 open connections, the third subsystem 104(3) has 5 open connections, and the fourth subsystem 104(4) has 10 open connections, for a total of 40 open connections. Therefore, the current variance CD of the first subsystem 104(1) is 25% (i.e., 10 / 40), the CD of the second subsystem 104(2) is 37.5% (15 / 40), the CD of the third subsystem 104(3) is 12.5% (5 / 40), and the CD of the fourth subsystem 104(4) is 25% (10 / 40). Further, in this example, assume that the first subsystem 104(1) is currently using 90% capacity, the second subsystem 104(2) is currently using 50% capacity, the third subsystem 104(3) is currently using 11% capacity, and the fourth subsystem 104(4) is currently using 10% capacity.
[0102] In this example, assume that subsystems 104(1)-104(4) have different potential performance. For example, assume that first subsystem 104(1) and second subsystem 104(2) report a potential performance of 400 MB / s, while third subsystem 104(3) and fourth subsystem 104(4) report a potential performance of 100 MB / s. Thus, the initial desired variance IDD is 40% for first subsystem 104(1) and second subsystem 104(2), i.e., (400 MB / s / (400 MB / s+400 MB / s+100 MB / s+100 MB / s)), and 10% for third subsystem 104(3) and fourth subsystem 104(4).
[0103] In addition, the first subsystem 104(1) and the second subsystem 104(2) are more than 2% above the balance threshold BT than the least-satisfied subsystem 104(4), so the RDP may be calculated for both the first subsystem 104(1) and the second subsystem 104(2). In this example, we assume that the skew multiplier has a value of 0.9, which corresponds to a bias toward performance over capacity balancing.
[0104] For the first subsystem 104(1), the OOBP is 90-10=80% out of balance. Since the skew multiplier is 0.9, the RDP is 0.9 * The two least-full subsystems, 104(3) and 104(4), are within 2% capacity of each other and are therefore considered to be in balance, so for the first subsystem 104(1), the ARDP is 72% / 2=36%.
[0105] For the second subsystem, OOBP is 50-10=40%. RDP is 40% * 0.9=36%, so the ARDP is 36% / 2 or 18%.
[0106] A desired distribution DD may then be determined for each subsystem 104(1)-104(4). The DD may be determined based on the rule that any subsystem 104(1)-104(4) that has an ARDP should subtract the ARDP for its least satisfied subsystem from its IDD and increase it by that percentage for its least satisfied subsystems.
[0107] For the first subsystem 104(1), IDD=40%, RDP=72%, and ARDP=36%, * 40%=14.4%, so DD=40%-14.4%-14.4%=11.2%.
[0108] For the second subsystem 104(2), IDD=40%, RDP=36%, and ARDP=18%.* 40%=7.2%, so DD=40%-7.2%-7.2%=25.6.
[0109] For the third subsystem 104(3), IDD=10%, so DD=10%+14.4%+7.2%=31.6%.
[0110] For the fourth subsystem 104(4), IDD=10% and therefore DD=10%+14.4%+7.2%=31.6%.
[0111] In addition, as discussed above, all of the subsystems 104(1)-104(4) in this example have known connections, so selection list 138 may be sorted based on the difference between the DD and CD of each subsystem 104(1)-104(4).
[0112] Therefore, the third subsystem 104(3) may be ranked first: DD-CD=31.6%-12.5%=19.1% less.
[0113] The fourth subsystem 104(4) may be ranked second: DD-CD=31.6%-25%=6.6% less.
[0114] The second subsystem 104(2) may be ranked number 3: DD-CD=25.6%-37.5%=-11.9% too little (11.9% too much).
[0115] The first subsystem 104(1) may be ranked number 4: DD-CD=11.2%-25%=-13.8% too little (13.8% too much).
[0116] In addition, assume that the most full capacity threshold is set to 90%. Thus, because first subsystem 104(1) is at 90% capacity, first subsystem 104(1) should be placed at the bottom of selection list 138, but because first subsystem 104(1) is already ranked at the bottom, there is no need to rearrange selection list 138 in this example.
[0117] FIG. 7 illustrates an example of selected components of a service computing device 102 that may be used to implement at least some of the functionality of the system described herein. The service computing device 102 may include one or more servers or other types of computing devices that may be embodied in any number of ways. For example, in the case of a server, the programs, other functional components, and data may be implemented on a single server, a cluster of servers, a server farm, or a data center, a cloud-hosted computing service, etc., although other computer architectures may additionally or alternatively be used. Multiple service computing devices 102 may be located together or separately and organized, for example, as virtual servers, server banks, and / or server farms. The described functionality may be provided by the servers of a single entity or company, or by the servers and / or services of multiple different entities or companies.
[0118] In the illustrated example, the service computing device 102 may include or be associated with one or more processors 702, one or more computer-readable media 704, and one or more communication interfaces 706. Each processor 702 may be a single processing unit or several processing units and may include single or multiple computational units or multiple processing cores. The processor 702 may be implemented as one or more central processing units, microprocessors, microcomputers, microcontrollers, digital signal processors, state machines, logic circuits, and / or any device that manipulates signals based on operational instructions. By way of example, the processor 702 may include one or more hardware processors and / or logic circuits of any suitable type that are specifically programmed or configured to execute the algorithms and processes described herein. The processor 702 may be configured to retrieve and execute computer-readable instructions stored in the computer-readable media 704 that may program the processor 702 to perform the functions described herein.
[0119] The computer readable medium 704 may include volatile and non-volatile memory and / or removable and non-removable media implemented by any type of technology for storing information such as computer readable instructions, data structures, program modules, or other data. For example, the computer readable medium 704 may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, optical storage, solid state storage, magnetic tape, magnetic disk storage, RAID storage systems, storage arrays, network attached storage, storage area networks, cloud storage, or any other medium that can be used to store the desired information and that is accessible by a computing device. Depending on the configuration of the service computing device 102, the computer readable medium 704 may be a tangible non-transitory medium, insofar as non-transitory computer readable media is referred to as excluding media such as energy, carrier signals, electromagnetic waves, and / or signals themselves. In some cases, the computer readable medium 704 may be co-located with the service computing device 102, while in other examples the computer readable medium 704 may be partially separate from the service computing device 102. For example, in some cases, the computer-readable medium 704 may include a portion of the storage within the subsystem 104 discussed above with respect to FIG.
[0120] The computer readable medium 704 may be used to store any number of functional components executable by the processor 702. In many implementations, these functional components include instructions or programs executable by the processor 702 that, when executed, among other things, program the processor 702 to perform operations ascribed herein to the service computing device 102. The functional components stored within the computer readable medium 704 may include the client web application 116, the management web application 124, and the storage management program 128, including the load balancing optimization program 134, each of which may include one or more computer programs, applications, executable code, or portions thereof. Additionally, although these programs are shown together in this example, during use, some or all of these programs may be executed on separate service computing devices 102.
[0121] Additionally, the computer-readable medium 704 may store data, data structures, and other information used to perform the functions and services described herein. For example, the computer-readable medium 704 may store the metadata database 136, the subsystem metrics 132, and the selection list 138. Moreover, although these data structures are shown together in this example, during use, some or all of these data structures may be stored on separate service computing devices 102. The service computing device 102 may also include or maintain other functional components and data, which may include programs, drivers, etc., and data used or generated by the functional components. Additionally, the service computing device 102 may include many other logical, programmatic, and physical components, of which the above-mentioned are merely examples relevant to the discussion herein.
[0122] The one or more communications interfaces 706 may include one or more software and hardware components for enabling communication with various other devices, such as over one or more networks 106 and 105. For example, the communications interface 706 may enable communication via one or more of a LAN, the Internet, a cable network, a cellular network, a wireless network (e.g., Wi-Fi) and a wired network (e.g., Fibre Channel, Fiber Optic, Ethernet), a direct connection, and short-range communications such as BLUETOOTH, etc., as further listed elsewhere herein.
[0123] 8 illustrates selected components of an example configuration of subsystem 104 according to some implementations. Subsystem 104 may include one or more storage computing devices 802, which may include one or more servers or any other suitable computing devices, such as any of the examples discussed above with respect to service computing device 102. Storage computing devices 802 may each include one or more processors 804, one or more computer readable media 806, and one or more communication interfaces 808. For example, processor 804 may correspond to any of the examples discussed above with respect to processor 702, computer readable media 806 may correspond to any of the examples discussed above with respect to computer readable medium 704, and communication interface 808 may correspond to any of the examples discussed above with respect to communication interface 706.
[0124] Additionally, computer readable medium 806 may include storage programs 140 discussed above as functional components executed by one or more processors 804 to manage the storage of data 130 on storage 810 associated with subsystem 104. Storage 810 may include one or more controllers 812 associated with storage 150 for storing data 130 on one or more trays, racks, extent groups, or other types of arrays 814 of storage devices 816. For example, controller 152 may control array 814, such as to configure array 814 in an erasure code protected configuration, or any of a variety of other configurations such as a RAID configuration, a JBOD configuration, and / or to present storage extents, logical units, etc. based on storage devices 156 to storage program 148 and to manage data 130 stored on underlying physical storage devices 816. Storage devices 816 may be any type of storage device, such as hard disk drives, solid state drives, optical drives, magnetic tape, combinations thereof, etc.
[0125] Various instructions, methods, and techniques described herein may be discussed in the general context of computer-executable instructions, such as computer programs and applications, stored on a computer-readable medium and executed by a processor herein. In general, the terms programs and applications may be used interchangeably and may include instructions, routines, modules, objects, components, data structures, executable code, and the like, for performing particular tasks or implementing particular data types. These programs, applications, and the like may be executed as native code or may be downloaded and executed, such as in a virtual machine or other just-in-time compilation execution environment. Typically, the functionality of the programs and applications may be combined or distributed as desired in various implementations. Implementations of these programs, applications, and techniques may be stored on a computer storage medium or transmitted over some form of communication medium.
[0126] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as example forms of implementing the claims.
Claims
1. 1. A system comprising: a computing device configured to store data in a plurality of storage subsystems in a storage pool; the computing device is configured to perform operations according to executable instructions; The operation is determining, for each storage subsystem, an amount of potential performance at the respective storage subsystem by the computing device; determining, by the computing device, an initial distribution weight that serves as a criterion to be stored in each storage subsystem when distributing and storing data in the storage pool, based at least on the potential performance amount for each storage subsystem; determining, by the computing device, one or more adjustment amounts for adjusting the initial distribution weight for each storage subsystem having a percentage of used storage capacity that is higher than a threshold amount than the percentage of used storage capacity by the storage subsystem having the lowest percentage of used storage capacity to determine a respective desired distribution weight for each storage subsystem; receiving, by the computing device, data for storage in the storage pool; selecting one or more of the storage subsystems for receiving the data based at least on the respective desired distribution weights determined for the storage subsystems; determining one or more adjustment amounts to adjust the initial distribution weight for each storage subsystem having a percentage of used storage capacity that is higher than a threshold amount by the storage subsystem having the lowest percentage of used storage capacity to determine a respective desired distribution weight for each storage subsystem; determining an out-of-balance percentage for each storage subsystem having the percentage of used storage capacity greater than the threshold amount; determining the adjustment amount based on the out-of-balance percentage; the out-of-balance percentage being the difference between the percentage of used storage capacity and the percentage of storage capacity used by the storage subsystem having the lowest percentage of used storage capacity; Determining the adjustment amount based on the out-of-balance percentage includes: for each storage subsystem having the percentage of used storage capacity greater than the threshold amount, determining a redistribution percentage based on multiplying the out-of-balance percentage by a skew multiplier; determining the adjustment amount based on the redistribution percentage; and Further comprising: determining the adjustment amount based on the redistribution percentage; and determining, for each storage subsystem having the percentage of used storage capacity greater than the threshold amount, an adjusted redistribution percentage based on dividing the redistribution percentage by the number of storage subsystems having used storage capacity within the threshold amount of the storage capacity used by the storage subsystem having the lowest percentage of used storage capacity; determining the adjustment amount based on the adjusted redistribution percentage; and Further comprising: Determining the adjustment amount based on the adjusted redistribution percentage includes: for each storage subsystem having the adjusted re-distribution percentage, multiplying the adjusted re-distribution percentage by the initial distribution weight for the respective storage subsystem to obtain a first value; Determining a desired distribution weight for each of the respective storage subsystems includes: subtracting the respective first value n times from the respective initial distribution weight of the respective storage subsystem to determine the respective desired distribution weight for the respective storage subsystem having the adjusted re-distribution percentage, where n is a number of storage subsystems not having the adjusted re-distribution percentage. system.
2. The operation is determining a number of open connections between the computing device and each storage subsystem that are available for storing the data; determining a current distribution weight, the distribution weight taking into account the number of open connections to each storage subsystem; determining a ranking for selecting one or more of the storage subsystems from among the plurality of storage subsystems to receive the data based at least on a difference between the respective desired distribution weight for each storage subsystem and the current distribution weight of the storage subsystem; The system of claim 1 further comprising:
3. The operation is determining that the percentage of storage capacity used by a first storage subsystem of the storage subsystem exceeds a threshold upper limit for used storage capacity; determining the ranking of the first storage subsystem based on the percentage of used storage capacity that exceeds the threshold limit; The system of claim 2 further comprising:
4. 2. The system of claim 1, wherein the operations further comprise: periodically receiving from each storage subsystem a respective indication of the amount of potential performance of the respective storage subsystem.
5. The system of claim 1 , wherein the skew multiplier having a value less than one enhances system performance and the skew multiplier having a value greater than one enhances system capacity balancing.
6. Determining a desired distribution weight for each of the respective storage subsystems includes:
2. The system of claim 1, further comprising: adding the respective first values determined for each of the storage subsystems having the adjusted redistribution percentage to the initial distribution weights of each of the storage subsystems not having the adjusted redistribution percentage to determine the respective desired distribution weights for each of the storage subsystems not having the adjusted redistribution percentage.
7. 2. The system of claim 1, wherein at least one of the plurality of storage subsystems has a different performance or storage capacity than other storage subsystems in the plurality of storage subsystems.
8. 1. A method comprising: determining, by a computing device, for each storage subsystem of a plurality of storage subsystems of a storage pool, a potential performance amount for the each storage subsystem; determining, by the computing device, an initial distribution weight that serves as a criterion to be stored in each storage subsystem when distributing and storing data in the storage pool, based at least on the potential performance amount of each storage subsystem; determining, by the computing device, one or more adjustment amounts for adjusting the initial distribution weight for each storage subsystem having a percentage of storage capacity used that is more than a threshold amount higher than the percentage of storage capacity used by the storage subsystem having the lowest percentage of storage capacity used, to determine a respective desired distribution weight for each storage subsystem; receiving, by the computing device, data for storage in the storage pool; selecting one of the storage subsystems for receiving the data based at least on the respective desired distribution weights determined for the storage subsystems; determining one or more adjustment amounts to adjust the initial distribution weight for each storage subsystem having a percentage of used storage capacity that is higher than a threshold amount by the storage subsystem having the lowest percentage of used storage capacity to determine a respective desired distribution weight for each storage subsystem; determining an out-of-balance percentage for each storage subsystem having the percentage of used storage capacity greater than the threshold amount; determining the adjustment amount based on the out-of-balance percentage; the out-of-balance percentage being the difference between the percentage of used storage capacity and the percentage of storage capacity used by the storage subsystem having the lowest percentage of used storage capacity; Determining the adjustment amount based on the out-of-balance percentage includes: for each storage subsystem having the percentage of used storage capacity greater than the threshold amount, determining a redistribution percentage based on multiplying the out-of-balance percentage by a skew multiplier; determining the adjustment amount based on the redistribution percentage; and Further comprising: determining the adjustment amount based on the redistribution percentage; and determining, for each storage subsystem having the percentage of used storage capacity greater than the threshold amount, an adjusted redistribution percentage based on dividing the redistribution percentage by the number of storage subsystems having used storage capacity within the threshold amount of the storage capacity used by the storage subsystem having the lowest percentage of used storage capacity; determining the adjustment amount based on the adjusted redistribution percentage; and Further comprising: Determining the adjustment amount based on the adjusted redistribution percentage includes: for each storage subsystem having the adjusted re-distribution percentage, multiplying the adjusted re-distribution percentage by the initial distribution weight for the respective storage subsystem to obtain a first value; Determining a desired distribution weight for each of the respective storage subsystems includes: subtracting the respective first value n times from the respective initial distribution weight of the respective storage subsystem to determine the respective desired distribution weight for the respective storage subsystem having the adjusted re-distribution percentage, where n is a number of storage subsystems not having the adjusted re-distribution percentage. method.
9. determining a number of open connections between the computing device and each storage subsystem that are available for storing the data; determining a current distribution weight, the distribution weight taking into account the number of open connections to each storage subsystem; determining a ranking for selecting one or more of the storage subsystems from among the plurality of storage subsystems to receive the data based at least on a difference between the respective desired distribution weight of the respective storage subsystem and the current distribution weight of the storage subsystem; The method of claim 8 further comprising:
10. One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors of a computing device, configure the computing device to perform operations, The operation is determining, by a computing device, for each storage subsystem of a plurality of storage subsystems of a storage pool, a potential performance amount for the each storage subsystem; determining, by the computing device, an initial distribution weight that serves as a criterion to be stored in each storage subsystem when distributing and storing data in the storage pool, based at least on the potential performance amount of each storage subsystem; determining, by the computing device, one or more adjustment amounts for adjusting the initial distribution weight for each storage subsystem having a percentage of storage capacity used that is more than a threshold amount higher than the percentage of storage capacity used by the storage subsystem having the lowest percentage of storage capacity used, to determine a respective desired distribution weight for each storage subsystem; receiving, by the computing device, data for storage in the storage pool; selecting one of the storage subsystems for receiving the data based at least on the respective desired distribution weights determined for the storage subsystems; determining one or more adjustment amounts to adjust the initial distribution weight for each storage subsystem having a percentage of used storage capacity that is higher than a threshold amount by the storage subsystem having the lowest percentage of used storage capacity to determine a respective desired distribution weight for each storage subsystem; determining an out-of-balance percentage for each storage subsystem having the percentage of used storage capacity greater than the threshold amount; determining the adjustment amount based on the out-of-balance percentage; the out-of-balance percentage being the difference between the percentage of used storage capacity and the percentage of storage capacity used by the storage subsystem having the lowest percentage of used storage capacity; Determining the adjustment amount based on the out-of-balance percentage includes: for each storage subsystem having the percentage of used storage capacity greater than the threshold amount, determining a redistribution percentage based on multiplying the out-of-balance percentage by a skew multiplier; determining the adjustment amount based on the redistribution percentage; and Further comprising: determining the adjustment amount based on the redistribution percentage; and determining, for each storage subsystem having the percentage of used storage capacity greater than the threshold amount, an adjusted redistribution percentage based on dividing the redistribution percentage by the number of storage subsystems having used storage capacity within the threshold amount of the storage capacity used by the storage subsystem having the lowest percentage of used storage capacity; determining the adjustment amount based on the adjusted redistribution percentage; and Further comprising: Determining the adjustment amount based on the adjusted redistribution percentage includes: for each storage subsystem having the adjusted re-distribution percentage, multiplying the adjusted re-distribution percentage by the initial distribution weight for the respective storage subsystem to obtain a first value; Determining a desired distribution weight for each of the respective storage subsystems includes: subtracting the respective first value n times from the respective initial distribution weight of the respective storage subsystem to determine the respective desired distribution weight for the respective storage subsystem having the adjusted re-distribution percentage, where n is a number of storage subsystems not having the adjusted re-distribution percentage. One or more non-transitory computer-readable media.
11. The operation is determining a number of open connections between the computing device and each storage subsystem that are available for storing the data; determining a current distribution weight, the distribution weight taking into account the number of open connections to each storage subsystem; determining a ranking for selecting one or more of the storage subsystems from among the plurality of storage subsystems to receive the data based at least on a difference between the respective desired distribution weight for each storage subsystem and the current distribution weight of the storage subsystem; 11. One or more non-transitory computer-readable media as recited in claim 10.
Citation Information
Patent Citations
Fixing structure of optical adapter
JP2008180819A
File arrangement and access method in distributed storage, device therefor and program therefor
JP2009129164A
File location determination apparatus, file location determination method, and file location determination program
JP2015158779A
User interface optimization for delayed data
WO2019199308A1
