Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jan 2018 11:20:26 +0100
From:      Luciano Mannucci <luciano@vespaperitivo.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: Directory listing speed, Solved!
Message-ID:  <3zM34q031Vz3jYmC@baobab.bilink.it>
In-Reply-To: <e3d61568-dfe7-1934-001c-295e146167f3@sentex.net>
References:  <3zLS8V1nCxz3jYqr@baobab.bilink.it> <e3d61568-dfe7-1934-001c-295e146167f3@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 Jan 2018 21:30:56 -0500
Mike Tancsa <mike@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@sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3zM34q031Vz3jYmC>