IP Library Granted Patent US 10,216,754
Granted Patent B1
US 10,216,754 · App. 14/038,632 · Granted Feb 26, 2019

System and method for balancing compression and read performance in a storage system

Inventors: Frederick Douglis (Basking Ridge, NJ); Philip Shilane (Yardley, PA); Grant Wallace (Pennington, NJ)
Assignee: EMC IP Holding Company LLC
G06F17/30153
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,216,754
App. No.
14/038,632
Filed
Sep 26, 2013
Granted
Feb 26, 2019
Kind
B1
Examiner
HU, JENSEN
Art Unit
2169
USPC
707/693
Abstract

Techniques for balancing data compression and read performance of data chunks of a storage system are described herein. According to one embodiment, similar data chunks are identified based on sketches of a plurality of data chunks stored in the storage system. A first portion of the similar data chunks as a first group is associated with a first storage area. The first storage area is associated with one or more data chunks that are dissimilar to the first group but are likely accessed together. The first group of the similar data chunks and its associated dissimilar data chunks are compressed and stored in the first storage area.

Claims (84)

1. A computer-implemented method for balancing data compression and read performance of data chunks of a storage system, the method comprising:

identifying similar data chunks based on sketches of a plurality of data chunks stored in the storage system;

ordering the similar data chunks of the storage system to be positioned close to each other by

scanning a metadata to retrieve chunk identifiers (IDs) and sketches of the plurality of data chunks, wherein each sketch includes a plurality of super features, each super feature being based on hashing one or more concatenated maximum hashes or minimum hashes of sub-regions of the corresponding data chunk,

storing the chunk IDs and sketches in a data structure, wherein the data structure includes a plurality of entries, each corresponding to one of the sketches and its respective chunk ID, and

sorting the entries of the data structure based on the sketches of the plurality of data chunks of the storage system, including

determining that a first sketch of the sketches includes a first feature and a second feature,

sorting the entries of the data structure based on the first feature,

identifying a subset of the entries of the data structure that are associated with the first feature, and

sorting the subset of the entries of the data structure based on the second feature, wherein the similar data chunks of the storage system are rearranged based on the sorted entries such that similar data chunks of the storage system are positioned close to each other;

associating a first portion of the similar data chunks as a first group with a first storage container;

associating with the first storage container one or more data chunks that are dissimilar to the first group but are likely accessed together;

compressing the first group of the similar data chunks and its associated dissimilar data chunks in a first compression region of the first storage container, wherein the first storage container contains a plurality of compression regions, each compression region storing a plurality of data chunks and is represented by a region sketch that is generated based on sketches of the plurality of data chunks stored therein for purposes of identifying similar data chunks, wherein the region sketch is generated by one or more selected super features for the container, wherein the one or more selected super features includes: a maximum chunk super feature, or a minimum chunk super feature; and

storing the first storage container in a persistent storage device of the storage system that stores a plurality of storage containers, wherein a data chunk stored in the persistent storage device is accessed by loading an entire compression region of a container associated with the data chunk into a memory, such that a number of input and output (TO) transactions is reduced.

2. The method of claim 1 , further comprising:

associating a second portion of the similar data chunks as a second group with a second storage area;

associating with the second storage area one or more data chunks that are dissimilar to the second group but are likely accessed together; and

compressing and storing the second group of the similar data chunks and its associated dissimilar data chunks in the second storage area.

3. The method of claim 1 , wherein a number of similar data chunks associated with the first storage container is limited to a predetermined minimum or maximum threshold.

4. The method of claim 1 , wherein the dissimilar data chunks are located near one or more of the similar data chunks in one or more files.

5. The method of claim 1 , wherein the dissimilar data chunks were accessed within a predetermined period of time in which the similar data chunks were accessed.

6. The method of claim 1 , wherein the similar data chunks are identified from data chunks associated with one or more files that have not been accessed for a predetermined period of time.

7. The method of claim 6 , wherein data chunks that have been recently accessed are not reorganized based on their similarity.

8. The method of claim 1 , wherein the dissimilar chunks include a second group of similar data chunks that is not similar to the first group of similar data chunks.

9. The method of claim 8 , wherein the similar data chunks of the first group represents different versions of a first data chunk, and wherein the similar data chunks of the second group represents different versions of a second data chunk.

10. The method of claim 1 , further comprising:

determining that a third data chunk compressed and stored in a third storage area and a fourth data chunk compressed and stored in a fourth storage area are accessed frequently; and

reorganizing data chunks stored in the third and fourth storage areas, such that the third data chunk and the fourth data chunk are compressed and stored together regardless whether they are similar.

11. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform operations for balancing data compression and read performance of data chunks of a storage system, the operations comprising:

identifying similar data chunks based on sketches of a plurality of data chunks stored in the storage system;

ordering the similar data chunks of the storage system to be positioned close to each other by

scanning a metadata to retrieve chunk identifiers (IDs) and sketches of the plurality of data chunks, wherein each sketch includes a plurality of super features, each super feature being based on hashing one or more concatenated maximum hashes or minimum hashes of sub-regions of the corresponding data chunk,

storing the chunk IDs and sketches in a data structure, wherein the data structure includes a plurality of entries, each corresponding to one of the sketches and its respective chunk ID, and

sorting the entries of the data structure based on the sketches of the plurality of data chunks of the storage system, including

determining that a first sketch of the sketches includes a first feature and a second feature,

sorting the entries of the data structure based on the first feature,

identifying a subset of the entries of the data structure that are associated with the first feature, and

sorting the subset of the entries of the data structure based on the second feature,

wherein the similar data chunks of the storage system are rearranged based on the sorted entries such that similar data chunks of the storage system are positioned close to each other;

associating a first portion of the similar data chunks as a first group with a first storage container;

associating with the first storage container one or more data chunks that are dissimilar to the first group but are likely accessed together;

compressing the first group of the similar data chunks and its associated dissimilar data chunks in a first compression region of the first storage container, wherein the first storage container contains a plurality of compression regions, each compression region storing a plurality of data chunks and is represented by a region sketch that is generated based on sketches of the plurality of data chunks stored therein for purposes of identifying similar data chunks, wherein the region sketch is generated by one or more selected super features for the container, wherein the one or more selected super features includes: a maximum chunk super feature, or a minimum chunk super feature; and

storing the first storage container in a persistent storage device of the storage system that stores a plurality of storage containers, wherein a data chunk stored in the persistent storage device is accessed by loading an entire compression region of a container associated with the data chunk into a memory, such that a number of input and output (TO) transactions is reduced.

12. The non-transitory machine-readable medium of claim 11 , wherein the operations further comprise:

associating a second portion of the similar data chunks as a second group with a second storage container;

associating with the second storage container one or more data chunks that are dissimilar to the second group but are likely accessed together; and

compressing and storing the second group of the similar data chunks and its associated dissimilar data chunks in the second storage container.

13. The non-transitory machine-readable medium of claim 11 , wherein a number of similar data chunks associated with the first storage container is limited to a predetermined minimum or maximum threshold.

14. The non-transitory machine-readable medium of claim 11 , wherein the dissimilar data chunks are located near one or more of the similar data chunks in one or more files.

15. The non-transitory machine-readable medium of claim 11 , wherein the dissimilar data chunks were accessed within a predetermined period of time in which the similar data chunks were accessed.

16. The non-transitory machine-readable medium of claim 11 , wherein the similar data chunks are identified from data chunks associated with one or more files that have not been accessed for a predetermined period of time.

17. The non-transitory machine-readable medium of claim 16 , wherein data chunks that have been recently accessed are not reorganized based on their similarity.

18. The non-transitory machine-readable medium of claim 11 , wherein the dissimilar chunks include a second group of similar data chunks that is not similar to the first group of similar data chunks.

19. The non-transitory machine-readable medium of claim 18 , wherein the similar data chunks of the first group represents different versions of a first data chunk, and wherein the similar data chunks of the second group represents different versions of a second data chunk.

20. The non-transitory machine-readable medium of claim 11 , wherein operations further comprise:

determining that a third data chunk compressed and stored in a third storage container and a fourth data chunk compressed and stored in a fourth storage container are accessed frequently; and

reorganizing data chunks stored in the third and fourth storage containers, such that the third data chunk and the fourth data chunk are compressed and stored together regardless whether they are similar.

21. A data processing system, comprising:

a processor; and

a memory coupled to the processor for storing instructions, which when executed by from the memory, cause the processor to perform operations, the operations including

identifying similar data chunks based on sketches of a plurality of data chunks stored in the storage system;

ordering the similar data chunks of the storage system to be positioned close to each other by

scanning a metadata to retrieve chunk identifiers (IDs) and sketches of the plurality of data chunks, wherein each sketch includes a plurality of super features, each super feature being based on hashing one or more concatenated maximum hashes or minimum hashes of sub-regions of the corresponding data chunk,

storing the chunk IDs and sketches in a data structure, wherein the data structure includes a plurality of entries, each corresponding to one of the sketches and its respective chunk ID, and

sorting the entries of the data structure based on the sketches of the plurality of data chunks of the storage system, including

determining that a first sketch of the sketches includes a first feature and a second feature,

sorting the entries of the data structure based on the first feature,

identifying a subset of the entries of the data structure that are associated with the first feature, and

sorting the subset of the entries of the data structure based on the second feature,

wherein the similar data chunks of the storage system are rearranged based on the sorted entries such that similar data chunks of the storage system are positioned close to each other,

associating a first portion of the similar data chunks as a first group with a first storage container,

associating with the first storage container one or more data chunks that are dissimilar to the first group but are likely accessed together,

compressing the first group of the similar data chunks and its associated dissimilar data chunks in a first compression region of the first storage container, wherein the first storage container contains a plurality of compression regions, each compression region storing a plurality of data chunks and is represented by a region sketch that is generated based on sketches of the plurality of data chunks stored therein for purposes of identifying similar data chunks, wherein the region sketch is generated by one or more selected super features for the container, wherein the one or more selected super features includes: a maximum chunk super feature, or a minimum chunk super feature, and

storing the first storage container in a persistent storage device of the storage system that stores a plurality of storage containers, wherein a data chunk stored in the persistent storage device is accessed by loading an entire compression region of a container associated with the data chunk into a memory, such that a number of input and output (TO) transactions is reduced.

22. The system of claim 21 , wherein the operations further comprise:

associating a second portion of the similar data chunks as a second group with a second storage container;

associating with the second storage container one or more data chunks that are dissimilar to the second group but are likely accessed together; and

compressing and storing the second group of the similar data chunks and its associated dissimilar data chunks in the second storage container.

23. The system of claim 21 , wherein a number of similar data chunks associated with the first storage container is limited to a predetermined minimum or maximum threshold.

24. The system of claim 21 , wherein the dissimilar data chunks are located near one or more of the similar data chunks in one or more files.

25. The system of claim 21 , wherein the dissimilar data chunks were accessed within a predetermined period of time in which the similar data chunks were accessed.

26. The method of claim 1 , further comprising reorganizing newly received data chunks online by

identifying newly received data chunks; and

incorporating newly received data chunks with existing similar data chunks based on their respective sketches prior to compressing the newly received data chunks for storage.

Assignments (12)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (053546/0001) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC IP HOLDING COMPANY LLC
Reel/Frame 071642/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (050724/0466) Recorded Jun 23, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.)
Reel/Frame 060753/0486 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (045455/0001) Recorded May 20, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061753/0001 →
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (040136/0001) Recorded Apr 26, 2022
From: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
To: DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO ASAP SOFTWARE EXPRESS, INC.); DELL MARKETING L.P. (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO CREDANT TECHNOLOGIES, INC.); DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL PRODUCTS L.P.; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO FORCE10 NETWORKS, INC. AND WYSE TECHNOLOGY L.L.C.); EMC CORPORATION (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MAGINATICS LLC); EMC IP HOLDING COMPANY LLC (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); SCALEIO LLC
Reel/Frame 061324/0001 →
RELEASE OF SECURITY INTEREST Recorded Nov 3, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL, L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058216/0001 →
SECURITY AGREEMENT Recorded Apr 22, 2020
From: CREDANT TECHNOLOGIES INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 053546/0001 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Oct 15, 2019
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 050724/0466 →
SECURITY AGREEMENT Recorded Mar 21, 2019
From: CREDANT TECHNOLOGIES, INC.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL USA L.P.; EMC CORPORATION; FORCE10 NETWORKS, INC.; WYSE TECHNOLOGY L.L.C.; EMC IP HOLDING COMPANY LLC
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.
Reel/Frame 049452/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 29, 2016
From: EMC CORPORATION
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 040203/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 040136/0001 →
SECURITY AGREEMENT Recorded Sep 21, 2016
From: ASAP SOFTWARE EXPRESS, INC.; AVENTAIL LLC; CREDANT TECHNOLOGIES, INC.; DELL USA L.P.; DELL INTERNATIONAL L.L.C.; DELL MARKETING L.P.; DELL PRODUCTS L.P.; DELL SOFTWARE INC.; DELL SYSTEMS CORPORATION; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; FORCE10 NETWORKS, INC.; MAGINATICS LLC; MOZY, INC.; SCALEIO LLC; SPANNING CLOUD APPS LLC; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 040134/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 27, 2013
From: DOUGLIS, FREDERICK; SHILANE, PHILIP; WALLACE, GRANT
To: EMC CORPORATION
Reel/Frame 031302/0907 →
Cited By (4)
US 12,314,140 US 12,346,560 US 12,487,885 US 12,682,991