f8ad2ac3e2
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 |
||
---|---|---|
.. | ||
args.go | ||
ctlsock_interface.go | ||
dircache.go | ||
file_allocate_truncate.go | ||
file_holes.go | ||
file.go | ||
fs_dir.go | ||
fs.go | ||
openbackingdir_test.go | ||
openbackingdir.go | ||
xattr_darwin.go | ||
xattr_linux.go | ||
xattr_unit_test.go | ||
xattr.go |