Patent attributes
A primary storage array and a remote storage array each create compressibility heat maps and periodically exchange compressibility heat maps over a remote replication facility. The primary R1 storage array also forwards an Activity Based Compression (ABC) heat map describing extent IO activity to the remote storage array. The primary and remote storage arrays use the compressibility heat maps to update per-extent compressibility forecast models to forecast compressibility values for extents during an upcoming time interval. The storage arrays use both activity-based scores and forecast compressibility scores to select extents to be stored in compressed and uncompressed form. By considering both the activity-based scores as well as compressibility scores, it is possible to prioritize compression resources by selecting the most compressible extents with the lowest activity-based scores for compression, while selectively enabling extents with higher activity-based scores and high compressibility scores to also be selected for compression.