-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed as not planned
Labels
A: gcRelated go garbage collectionRelated go garbage collectionfeature requestRequesting a new featureRequesting a new featurep3-nice-to-haveIt should be done this or next sprintIt should be done this or next sprint
Milestone
Description
It would be convenient to set up a strategy like LRU instead of removing everything or by time #678.
Use cases:
dvc gc --stragegy LRU 10Gb- release 10Gb from cachedvc config Core.LRU_Limit 20Gb && dvc run -d input/ -o output.tsv Rscript- it will GC automaticaly as a result ofdvc runif cache size if more then 20Gb
This should work on a shared cache as well for multiple users.
It looks like this appproach will require a special state file in a cache directory to support LRU strategy and some of the DVC commands will modify the file: dvc run, dvc repro etc.
Metadata
Metadata
Assignees
Labels
A: gcRelated go garbage collectionRelated go garbage collectionfeature requestRequesting a new featureRequesting a new featurep3-nice-to-haveIt should be done this or next sprintIt should be done this or next sprint