Skip to content

gc: don't re-open cache so often

Vladimír Čunát requested to merge gc-cpu-usage into master

Re-opening the cache every interval (1s by default) causes fsync. Normally that isn't noticeable, but on encrypted ZFS it causes high CPU consumption (even when "idle"). Reported on gitter.

Edited by Vladimír Čunát

Merge request reports