IP Library › Granted Patent US 10,430,383
Granted Patent B1
US 10,430,383 · App. 14/870,942 · Granted Oct 1, 2019

Efficiently estimating data compression ratio of ad-hoc set of files in protection storage filesystem with stream segmentation and data deduplication

Inventors: Guilherme Menezes (Santa Clara, CA); Teng Xu (Mountain View, CA); Abdullah Reza (Santa Clara, CA)
Assignee: EMC IP HOLDING COMPANY LLC
G06F16/1744G06F16/1734
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,430,383
App. No.
14/870,942
Filed
Sep 30, 2015
Granted
Oct 1, 2019
Kind
B1
Art Unit
2167
USPC
707/693
Abstract

In one example, a method for processing data includes receiving information that identifies an ad hoc group of size ‘n’ of files F 1 . . . F n , each file F including a respective file sequence S that includes K data segments. Next, each file sequence S is sampled to obtain a sequence SS of data segments from the file sequence S, and a non-random sampling of data segments is sampled from each sequence SS to obtain a set SSU of the sequence SS. The data segments of each set SSU are then sampled to obtain a sample subset SSUS of the set SSU, and a compression ratio is determined for each data segment in each sample subset SSUS. Finally, an average data compression R F1 . . . Fn is estimated and output for the files F in the group of size ‘n’, based on the compression ratios.

Claims (53)

1. A method, comprising:

receiving a saveset at a storage node, the saveset comprising data that has been segmented and deduplicated;

improving data storage efficiency by compressing the segmented and deduplicated data, when the segmented and deduplicated data has not already been compressed;

writing the compressed data to storage;

receiving, from a user, a selection that identifies an ad hoc group of size ‘n’ of files F 1 . . . F n that are included in the stored data, each file F including a respective file sequence S that includes K data segments;

sampling each file sequence S to obtain a sequence SS of data segments from the file sequence S;

performing a non-random sampling of data segments from each sequence SS to obtain a set SSU of the sequence SS;

sampling the data segments of each set SSU to obtain a sample subset SSUS of the set SSU, wherein sampling the data segments of each set SSU and sampling the file sequences S reduces a number of Input/Output (IO) operations to disk/persistent storage that would otherwise be required by the method;

determining a compression ratio for each data segment in each sample subset SSUS;

estimating and outputting an average data compression R F1 . . . F n for the files F in the group of size ‘n’, based on the compression ratios; and

using the average data compression R F1 . . . F n to determine how much storage space is occupied by the files F.

2. The method as recited in claim 1 , wherein the non-random sampling of data segments from each sequence SS is based on the content of the sampled data segments.

3. The method as recited in claim 1 , wherein estimation of average data compression R F1 . . . F n for the files F in the group of size ‘n’ is performed at any time T.

4. The method as recited in claim 1 , wherein one or more of the files F includes deduplicated data.

5. The method as recited in claim 1 , further comprising using the average data compression R F1 . . . F n information as a basis to take one or more actions to be taken regarding data storage space in a datacenter, and wherein the actions to be taken regarding data storage space in the datacenter comprise changing a storage space efficiency of the datacenter.

6. The method as recited in claim 1 , wherein no data compression measurement has previously been performed respecting the sampled data segments S.

7. The method as recited in claim 1 , further comprising:

when retrieving compression information for one data segment from disk, the one data segment being included in a compression block, loading compression information for one or more other data segments within the same compression block into a lock-free, low memory overhead cache.

8. The method as recited in claim 1 , wherein a number of data segments sampled from each of the segment sets SSU is determined by applying a sampling ratio 1/M to each segment set SSU.

9. The method as recited in claim 1 , wherein performing a non-random sampling of data segments from each sequence SS to obtain a set SSU of sequence SS comprises identifying a set of unique data segments in the sequence SS.

10. A method for processing data, comprising:

deduplicating data segments of a saveset;

compressing data segments of the deduplicated saveset;

writing, or causing the writing of, the deduplicated and compressed saveset data segments to storage; and

performing, or causing the performance of, the following:

defining ad hoc a group of size ‘n’ of files F 1 . . . F n , one or more of which is included in the saveset; and

estimating an average data compression R F1 . . . F n for the files F in the group of size ‘n’, wherein some data of one or more of the files F in the saveset is undeduplicated data.

11. The method as recited in claim 10 , further comprising:

for each file F, identifying a sequence SS of data segments from a corresponding file sequence S 1 . . . S K ;

performing a non-random sampling of data segments from each sequence SS to obtain a set SSU of the sequence SS;

sampling the data segments of each set SSU to obtain a sample subset SSUS of the set SSU;

determining a compression ratio for each data segment in each sample subset SSUS; and

estimating and outputting an average data compression R F1 . . . F n for the files F in the group of size ‘n’, based on the compression ratios.

12. The method as recited in claim 11 , wherein a number of data segments sampled from each of the segment sets SSU is determined by applying a sampling ratio 1/M to each segment set SSU.

13. The method as recited in claim 10 , further comprising reporting the average data compression R F1 . . . F n .

14. The method as recited in claim 10 , further comprising taking any one or more of the following actions, using the average data compression R F1 . . . F n information:

changing a storage space efficiency of a datacenter;

identifying one or more files for movement to a different storage medium that is relatively less expensive than a storage medium in which the one or more files are then stored; or

identifying one or more files whose compression may be improved by an alternative to the compression method that was previously employed on the one or more files.

15. A non-transitory storage medium having stored therein computer-executable instructions which, when executed by one or more hardware processors, processes data by performing the following processes:

receiving a saveset at a storage node, the saveset comprising data that has been segmented and deduplicated;

improving data storage efficiency by compressing the segmented and deduplicated data, when the segmented and deduplicated data has not already been compressed;

writing the compressed data to storage;

receiving, from a user, a selection that identifies an ad hoc group of size ‘n’ of files F 1 . . . F n that are included in the stored data, each file F including a respective file sequence S that includes K data segments;

sampling each file sequence S to obtain a sequence SS of data segments from the file sequence S;

performing a non-random sampling of data segments from each sequence SS to obtain a set SSU of the sequence SS;

sampling the data segments of each set SSU to obtain a sample subset SSUS of the set SSU, wherein sampling the data segments of each set SSU and sampling the file sequences S reduces a number of Input/Output (IO) operations to disk/persistent storage that would otherwise be required by performance of the processes;

determining a compression ratio for each data segment in each sample subset SSUS;

estimating and outputting an average data compression R F1 . . . F n for the files F in the group of size ‘n’, based on the compression ratios; and

using the average data compression R F1 . . . F n to determine how much storage space is occupied by the files F.

16. The non-transitory storage medium of claim 15 , wherein the non-random sampling of data segments from each sequence SS is based on the content of the sampled data segments.

17. The non-transitory storage medium of claim 15 , wherein estimation of average data compression R F1 . . . F n for the files F in the group of size ‘n’ is performed at any time T.

18. The non-transitory storage medium of claim 15 , wherein one or more of the files F includes deduplicated data.

Assignments (14)
RELEASE OF SECURITY INTEREST IN PATENTS PREVIOUSLY RECORDED AT REEL/FRAME (051302/0528) 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 IP HOLDING COMPANY LLC; DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.); SECUREWORKS CORP.
Reel/Frame 060438/0593 →
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 (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 →
RELEASE OF SECURITY INTEREST AT REEL 051449 FRAME 0728 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.; EMC CORPORATION
Reel/Frame 058002/0010 →
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 →
SECURITY AGREEMENT Recorded Dec 31, 2019
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.; EMC CORPORATION
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
Reel/Frame 051449/0728 →
PATENT SECURITY AGREEMENT (NOTES) Recorded Dec 16, 2019
From: DELL PRODUCTS L.P.; EMC IP HOLDING COMPANY LLC; WYSE TECHNOLOGY L.L.C.; SECUREWORKS CORP.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 051302/0528 →
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 Oct 1, 2015
From: MENEZES, GUILHERME; XU, TENG; REZA, ABDULLAH
To: EMC CORPORATION
Reel/Frame 036702/0963 →
Cited By (2)
US 12,306,721 US 12,687,979