On Fri, Apr 12, 2024 at 12:21:43PM +0200, Dan wrote:

> 
> Really, I fear this value is due to a wrong tweak..


Fear is a bad advisor.

If you look at man 3 sysctl, you'll see what vfs.ffs.dirhash_mem
means:

                 FFS_DIRHASH_MEM (vfs.ffs.dirhash_mem)
                          The amount of memory currently used by all directory
                          hashes.

In other words a harmless mem usage metric. 

        -Otto

> 
> -Dan
> 
> Apr 12, 2024 09:09:06 Dan <d...@nnnne-o-o-o.com>:
> 
> > 
> >> Yes, that fixes it for me:
> >> 
> >> $ sysctl vfs.ffs
> >> vfs.ffs.dirhash_dirsize=2560
> >> vfs.ffs.dirhash_maxmem=5242880
> >> vfs.ffs.dirhash_mem=767359
> > 
> > 
> > I have this value in 7.4 stable:
> > 
> > vfs.ffs.dirhash_mem=1412837
> > 
> > is it correct? or how to fix it?
> > 
> > 
> > -Dan
> 

Reply via email to