Directory listing speed, Solved!

Luciano Mannucci luciano at vespaperitivo.it
Wed Jan 17 10:20:28 UTC 2018


On Tue, 16 Jan 2018 21:30:56 -0500
Mike Tancsa <mike at sentex.net> wrote:

> vfs.ufs.dirhash_maxmem
Increased by X4, not changet that much...

Was:
# sysctl vfs.ufs.dirhash_maxmem
vfs.ufs.dirhash_maxmem: 26947584

Now:
vfs.ufs.dirhash_maxmem: 107790336

> Also, if you have a lot of users in the master.passwd file, I find
> changing /etc/nsswitch.conf to
> 
> group: files
> group_compat: nis
> hosts: files dns
> networks: files
> passwd: files
^^^^^^^^^^^^^^^
YES!
That did work.

Many, many thanks!

Luciano.
-- 
 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/


More information about the freebsd-questions mailing list