Tuning EXT4 vfs_cache_pressure

We are all in the middle of a mess. GC here… trash cleanup there… growing ingress data…
I want to talk here about vfs_cache_pressure. I think an important setting after all tunings discussed on filesystem.
I tried 100… 80… never gone less (afraid of making a mistake). Someone have done some test?

100 is a default.

What issue are you seeing that you are trying to solve? Memory starvation? Reducing the value will make it worse.

1 Like

Optimize ram for storj. I assumed that the server will only be used as a storj node.
I want the ram to be used almost primarily for metadata and not file cache.