-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Garbage Collection Performance #3333
Comments
Related issue: ipfs/go-datastore#40 |
Speeding up |
@kevina i've been looking at the providers GC code recently, i'll push a couple PRs towards improving that soon. |
Related #3462 |
I think @kevina has improved the perf of both of these routines pretty decently. Well enough for me to feel okay closing this issue (for now). |
IPFS currently has two different garbage collectors that run. The manual
ipfs repo gc
, and the provider cache cleanup routine. Currently,ipfs repo gc
is very slow, and the providers garbage collection is very ineficient (causes mars to OOM frequently) due to what appears to be the same issue. The problem i've identified so far is that creatingds.Key
s from the individual datastores, then parsing those back into strings for different types is quite expensive.Lets try and figure out how to make both of these usecases faster.
The text was updated successfully, but these errors were encountered: