aboutsummaryrefslogtreecommitdiff
path: root/internal/syscallcompat/getdents_other.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2020-05-17 21:37:36 +0200
committerJakob Unterwurzacher2020-05-17 21:37:36 +0200
commitf8ad2ac3e252108ccfedd115eb3009a5a7d77106 (patch)
tree66b9ddec7b8a2eddda7e432389ee23ee4abb410b /internal/syscallcompat/getdents_other.go
parentf6088e5008606ba8ca8f7be2b95b5087b59e5cab (diff)
dircache: increase cache size & lifetime
Looking at the dircache debug output, we see that a "git status" workload has a very bad cache hit rate because the entries expire or get evicted before they can be reused. Increase both cache size and lifetime for a 4x speedup: Before: 75s After: 17s https://github.com/rfjakob/gocryptfs/issues/410
Diffstat (limited to 'internal/syscallcompat/getdents_other.go')
0 files changed, 0 insertions, 0 deletions