Skip to main content

NetApp_Insight_2020.png 

NetApp Knowledgebase

When does cloud reclamation/garbage collection run on the AltaVault

Views:
97
Visibility:
Public
Votes:
0
Category:
altavault
Specialty:
dp
Last Updated:

Applies to

At what intervals cloud reclamation/garbage collection run on the AltaVault

Answer

SteelStore
  • In SteelStore, cloud reclamation, aka garbage collection (GC), runs when pending_slabs exceed a threshold.
  • When a user deletes a file, the slabs referenced by it are added to the pending_slabs list, and GC will run when their number reaches a model-dependent threshold.
  • The number of files deleted since the last GC run is the counter gc.pending_oids.
  • These thresholds and counters are recorded in stats_megastore (values when the system dump was collected) and collect_stats/rfsctl-a.log (recorded every 60 seconds).

gc.pending_oids: 36

gc.pending_slabs: 200644

gc.policy.pending_slabs_threshold: 200000

AltaVault
  • In AltaVault, cloud reclamation runs when the candidate slab set size reaches five percent of total slabs in the system, or the number of files deleted reaches five percent of total number of files on the AltaVault.
  • When a user deletes a file, the gc.removed_oids counter will increment. This counter divided by the total number of files stored on the AltaVault is displayed as gc.current_removed_oids_pct, and GC will run if it reaches five percent (0.05).
  • When a user deletes a file, the slabs referenced by it are added to the candidate_slabs list.  This counter divided by the total number of slabs on the local cache is displayed as gc.current_candidate_slabs_pct, and GC will run if it reaches five percent (0.05).
  • These thresholds and counters are recorded in stats_megastore and collect_stats/rfsctl-a.log.

gc.current_candidate_slabs_pct: 1.40311

gc.current_removed_oids_pct: 2.0117647

Additional Information

N/A