IP Library Granted Patent US 10,331,350
Granted Patent B1
US 10,331,350 · App. 15/499,297 · Granted Jun 25, 2019

Capacity determination for content-based storage

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,331,350
App. No.
15/499,297
Granted
Jun 25, 2019
Kind
B1
Abstract

A computer program product, system, and method for visiting each node of a snapshot tree within a content-based storage system having a plurality of volumes and/or snapshots; for each node, scanning an address-to-hash (A2H) table to calculate one or more resource usage metrics, wherein the A2H tables map logical I/O addresses to chunk hashes; and determining, based on the resource usage metrics, an amount of memory and/or disk capacity that would be freed by deleting one or more of the volumes and/or snapshots.

Claims (46)

1. A method comprising:

visiting each node of a snapshot tree within a content-based storage system having a plurality of volumes and snapshots;

for each node, scanning an address-to-hash (A2H) table to calculate one or more resource usage metrics, wherein the A2H tables map logical I/O addresses to chunk hashes;

determining, based on the resource usage metrics, an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots, the determining performed on a per-node basis and including determining the amount of memory for each ancestor node of the node that is not also an ancestor node of another node, determining the amount of memory for each leaf node of the node, and summing the resource usage metrics for each of the ancestor nodes of the node and for each of the leaf nodes of the node; and

deleting the one or more of the volumes and snapshots from the content-based storage system determined based on the per-node resource usage metrics.

2. The method of claim 1 wherein, for each node, scanning the A2H table to calculate one or more resource usage metrics includes determining a count of entries in the A2H table.

3. The method of claim 2 wherein determining an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots includes determining, for each node, an amount of memory based on the count of entries in the A2H table.

4. The method of claim 2 further comprising determining accessible space provided by one or more of the volumes and snapshots.

5. The method of claim 1 wherein, for each node, scanning the A2H table to calculate one or more resource usage metrics includes:

finding one or more unique chunks associated with the node; and

determining a compression ratio for each of the unique chunks associated with the node.

6. The method of claim 5 wherein determining an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots includes determining, for each node, a minimum disk capacity that would be freed by deleting the node using a count of unique chunks and the compression ratios.

7. The method of claim 1 wherein, for each node, scanning the A2H table to calculate one or more resource usage metrics includes:

determining a count of chunks associated with the node;

determining a compression ratio for each of the chunks associated with the node; and

determining a reference count for each of the chunks associated with the node.

8. The method of claim 7 wherein determining an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots includes determining, for each node, an estimated disk capacity that would be freed by deleting the node based on the count of chunks associated with the node, the compression ratios, and the reference counts.

9. A computer program product tangibly embodied in a non-transitory computer-readable medium, the computer-readable medium storing program instructions that are executable to:

visit each node of a snapshot tree within a content-based storage system having a plurality of volumes and snapshots;

for each node, scan an address-to-hash (A2H) table to calculate one or more resource usage metrics, wherein the A2H tables map logical I/O addresses to chunk hashes;

determine, based on the resource usage metrics, an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots, the determining performed on a per-node basis and including determining the amount of memory for each ancestor node of the node that is not also an ancestor node of another node, determining the amount of memory for each leaf node of the node, and summing the resource usage metrics for each of the ancestor nodes of the node and for each of the leaf nodes of the node; and

delete the one or more of the volumes and snapshots from the content-based storage system determined based on the per-node resource usage metrics.

10. The computer product of claim 9 wherein, for each node, scanning the A2H table to calculate one or more resource usage metrics includes determining a count of entries in the A2H table.

11. The computer product of claim 10 wherein determining an one or more of amount of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots includes determining, for each node, an amount of memory based on the count of entries in the A2H table.

12. The computer product of claim 10 further comprising

determining accessible space provided by one or more of the volumes and snapshots.

13. A system comprising:

a processor;

a volatile memory; and

a non-volatile memory storing computer program code that when executed on the processor causes the processor to execute a process operable to:

visit each node of a snapshot tree within a content-based storage system having a plurality of volumes and snapshots;

for each node, scan an address-to-hash (A2H) table to calculate one or more resource usage metrics, wherein the A2H tables map logical I/O addresses to chunk hashes;

determine, based on the resource usage metrics, an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots, the determining performed on a per-node basis and including determining the amount of memory for each ancestor node of the node that is not also an ancestor node of another node, determining the amount of memory for each leaf node of the node, and summing the resource usage metrics for each of the ancestor nodes of the node and for each of the leaf nodes of the node; and

delete the one or more of the volumes and snapshots from the content-based storage system determined based on the per-node resource usage metrics.

14. The system of claim 13 wherein, for each node, scanning the A2H table to calculate one or more resource usage metrics includes determining a count of entries in the A2H table.

15. The system of claim 14 wherein determining an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots includes determining, for each node, an amount of memory based on the count of entries in the A2H table.

16. The system of claim 14 further comprising determining accessible space provided by one or more of the volumes and snapshots.

17. The system of claim 13 wherein, for each node, scanning the A2H table to calculate one or more resource usage metrics includes:

finding one or more unique chunks associated with the node; and

determining a compression ratio for each of the unique chunks associated with the node.

18. The system of claim 17 wherein determining an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots includes determining, for each node, a minimum disk capacity that would be freed by deleting the node using a count of unique chunks and the compression ratios.

19. The system of claim 13 wherein, for each node, scanning the A2H table to calculate one or more resource usage metrics includes:

determining a count of chunks associated with the node;

determining a compression ratio for each of the chunks associated with the node; and

determining a reference count for each of the chunks associated with the node.

20. The system of claim 19 wherein determining an amount of one or more of memory and disk capacity that would be freed by deleting one or more of the volumes and snapshots includes determining, for each node, an estimated disk capacity that would be freed by deleting the node based on the count of chunks associated with the node, the compression ratios, and the reference counts.

Assignments (7)
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 (042769/0001) Recorded Apr 26, 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 (ON BEHALF OF ITSELF AND AS SUCCESSOR-IN-INTEREST TO MOZY, INC.); DELL MARKETING CORPORATION (SUCCESSOR-IN-INTEREST TO WYSE TECHNOLOGY L.L.C.)
Reel/Frame 059803/0802 →
RELEASE OF SECURITY INTEREST AT REEL 042768 FRAME 0585 Recorded Nov 2, 2021
From: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH
To: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; MOZY, INC.; WYSE TECHNOLOGY L.L.C.
Reel/Frame 058297/0536 →
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 →
PATENT SECURITY INTEREST (CREDIT) Recorded Jun 12, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; MOZY, INC.; WYSE TECHNOLOGY L.L.C.
To: CREDIT SUISSE AG, CAYMAN ISLANDS BRANCH, AS COLLATERAL AGENT
Reel/Frame 042768/0585 →
PATENT SECURITY INTEREST (NOTES) Recorded Jun 12, 2017
From: DELL PRODUCTS L.P.; EMC CORPORATION; EMC IP HOLDING COMPANY LLC; MOZY, INC.; WYSE TECHNOLOGY L.L.C.
To: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., AS COLLATERAL AGENT
Reel/Frame 042769/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 5, 2017
From: KUCHEROV, ANTON; BUCHMAN, OPHIR; MEIRI, DAVID
To: EMC IP HOLDING COMPANY LLC
Reel/Frame 042251/0544 →