Optimizing compression based on data activity
First Claim
Patent Images
1. A method for managing data compression in storage systems, the method comprising:
- receiving a request to compress particular data stored within a memory space;
determining an activity level for the particular data, wherein determining the activity level includes processing a historical log of locks imposed on the memory space to ascertain the number of times the particular data stored within the memory space was accessed during a recent time period, wherein the historical log of locks imposed on the memory space identifies ranges of extents which were locked during IO operations performed on the memory space, wherein processing the historical log of locks imposed on the memory space includes updating a set of counters based on the ranges of extents which were locked during the IO operations and which are identified by the historical log of locks;
determining if compressing the particular data will increase or decrease system performance;
if compressing the particular data will increase system performance, enabling compression of the particular data determined to have an activity level below a predetermined activity level threshold; and
if compressing the particular data will decrease system performance, disabling compression of the particular data determined to have an activity level above the predetermined activity level threshold.
9 Assignments
0 Petitions
Accused Products
Abstract
A method is used in managing data compression in storage systems. A request to compress particular data stored within a memory space is received. An activity level for the particular data is determined. Compression is enabled for data determined to have an activity level below a predetermined threshold and compression is disabled for data determined to have an activity level above the predetermined threshold.
-
Citations
13 Claims
-
1. A method for managing data compression in storage systems, the method comprising:
-
receiving a request to compress particular data stored within a memory space; determining an activity level for the particular data, wherein determining the activity level includes processing a historical log of locks imposed on the memory space to ascertain the number of times the particular data stored within the memory space was accessed during a recent time period, wherein the historical log of locks imposed on the memory space identifies ranges of extents which were locked during IO operations performed on the memory space, wherein processing the historical log of locks imposed on the memory space includes updating a set of counters based on the ranges of extents which were locked during the IO operations and which are identified by the historical log of locks; determining if compressing the particular data will increase or decrease system performance; if compressing the particular data will increase system performance, enabling compression of the particular data determined to have an activity level below a predetermined activity level threshold; and if compressing the particular data will decrease system performance, disabling compression of the particular data determined to have an activity level above the predetermined activity level threshold. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for managing data compression in storage systems, the system comprising:
-
a host interface; memory which provides a memory space; and processing circuitry coupled to the host interface and the memory, the processing circuitry being constructed and arranged to; receive a request to compress particular data stored within a memory space; determine an activity level for the particular data, wherein determine the activity level includes processing a historical log of locks imposed on the memory space to ascertain the number of times the particular data stored within the memory space was accessed during a recent time period, wherein the historical log of locks imposed on the memory space identifies ranges of extents which were locked during IO operations performed on the memory space, wherein processing the historical log of locks imposed on the memory space includes updating a set of counters based on the ranges of extents which were locked during the IO operations and which are identified by the historical log of locks; determine if compressing the particular data will increase or decrease system performance; if compressing the particular data will increase system performance, enable compression of the particular data determined to have an activity level below a predetermined activity level threshold; and if compressing the particular data will decrease system performance, disable compression of the particular data determined to have an activity level above the predetermined activity level threshold. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product having a non-transitory computer readable medium storing a set of instructions which, when carried out by computerized circuitry, directs the computerized circuitry to manage data fragmentation by performing a method comprising:
-
receiving a request to compress particular data stored within a memory space; determining an activity level for the particular data, wherein determining the activity level includes processing a historical log of locks imposed on the memory space to ascertain the number of times the particular data stored within the memory space was accessed during a recent time period, wherein the historical log of locks imposed on the memory space identifies ranges of extents which were locked during IO operations performed on the memory space, wherein processing the historical log of locks imposed on the memory space includes updating a set of counters based on the ranges of extents which were locked during the IO operations and which are identified by the historical log of locks; determining if compressing the particular data will increase or decrease system performance; if compressing the particular data will increase system performance, enabling compression of the particular data determined to have an activity level below a predetermined activity level threshold; and if compressing the particular data will decrease system performance, disabling compression of the particular data determined to have an activity level above the predetermined activity level threshold.
-
Specification