Dynamic Sidefile Threshold Management for Asynchronous Replication
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current asynchronous data replication systems, such as z/OS Global Mirror, inefficiently utilize sidefiles across varying workloads, leading to suboptimal resource allocation and distribution of record sets.
Innovation Solution
Implementing a method that dynamically manages sidefiles by setting upper and lower thresholds, activating or deactivating them based on workload demands, ensuring efficient resource allocation and distribution of record sets between active and inactive sidefiles.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If record sets are distributed to sidefiles in a round-robin manner, then record sets are distributed substantially equally among the sidefiles, but the system does not adapt to heavy or light workloads efficiently
Solution Approach 1:
The system dynamically adjusts sidefile activation and deactivation based on workload conditions. When workload increases, additional sidefiles are activated to handle the load; when workload decreases, sidefiles are deactivated to conserve resources. This dynamic behavior resolves the contradiction by making the distribution system adaptable to varying workload conditions while maintaining reasonable uniformity through controlled activation sequences.
Solution Approach 2:
The system changes operational parameters (sidefile activation state) based on workload thresholds. By monitoring workload metrics and adjusting the number of active sidefiles accordingly, the system can adapt to heavy or light workloads efficiently while maintaining controlled distribution patterns through parameter-based management.
2Productivity
If more sidefiles are activated to handle heavy workloads, then the system can process more record sets, but more resources are consumed
Solution Approach 1:
The system dynamically scales the number of active sidefiles based on actual workload demands. During heavy workloads, more sidefiles are activated to increase processing capacity; during light workloads, fewer sidefiles remain active to conserve resources. This dynamic scaling resolves the contradiction by matching resource consumption to actual productivity needs.
Solution Approach 2:
The system activates sidefiles partially (only when needed) rather than keeping all sidefiles continuously active. By activating sidefiles only when workload thresholds are exceeded, the system avoids excessive resource consumption during light workloads while ensuring sufficient capacity during heavy workloads, thus resolving the contradiction between productivity and resource consumption.
3Quantity of substance
If fewer sidefiles are kept active to conserve resources, then resource consumption is reduced, but the system cannot handle heavy workloads efficiently
Solution Approach 1:
The system dynamically adjusts the number of active sidefiles based on workload monitoring. When workload exceeds predefined thresholds, additional sidefiles are activated to handle the increased load; when workload is low, fewer sidefiles remain active to conserve resources. This dynamic adjustment resolves the contradiction by ensuring sufficient processing capacity is available when needed while minimizing resource consumption during normal operation.
Solution Approach 2:
The system prepares additional sidefiles in advance (keeping them in a ready state) that can be quickly activated when workload increases. This preliminary preparation ensures that when heavy workloads occur, the system can rapidly scale up processing capacity without significant delay, thus resolving the contradiction between resource conservation and productivity readiness.
Data Source
AI summary
A method to more efficiently utilize sidefiles in an asynchronous data replication system is disclosed. In one embodiment, such a method includes maintaining, in memory of a primary storage system, a set of sidefiles for mirroring record sets from the primary storage system to a secondary storage system. Each sidefile has a status of either active or inactive. The method further establishes an upper threshold and lower threshold for each sidefile. The method receives, into active sidefiles, record sets that need to be mirrored to the secondary storage system. When record sets in each of the actives sidefiles reaches the upper threshold, the method activates a deactivated sidefile. When record sets in an active sidefile fall below the lower threshold, the method deactivates and drains the sidefile. A corresponding system and computer program product are also disclosed.


