From owner-freebsd-questions@freebsd.org Wed Jan 17 10:20:28 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7561FEBB2CE for ; Wed, 17 Jan 2018 10:20:28 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 396BC3CFE for ; Wed, 17 Jan 2018 10:20:28 +0000 (UTC) (envelope-from luciano@vespaperitivo.it) Received: from baobab.bilink.net (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3zM34q0p24z3jYmM for ; Wed, 17 Jan 2018 11:20:27 +0100 (CET) Received: from hermes.mcs.it (unknown [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3zM34q031Vz3jYmC for ; Wed, 17 Jan 2018 11:20:27 +0100 (CET) Received: from mordeus (unknown [192.168.45.6]) by hermes.mcs.it (Postfix) with ESMTP id DE5481B7303 for ; Wed, 17 Jan 2018 11:20:26 +0100 (CET) Date: Wed, 17 Jan 2018 11:20:26 +0100 From: Luciano Mannucci To: freebsd-questions@freebsd.org Subject: Re: Directory listing speed, Solved! In-Reply-To: References: <3zLS8V1nCxz3jYqr@baobab.bilink.it> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) X-Face: 4qPv4GNcD; h<7Q/sK>+GqF4=CR@KmnPkSmwd+#%\F`4yjKO3"C]p'z=(oWRnsYBQGM\5g:4skqQY0NnV'dM:Mm:^/_+I@a"; [-s=ogufdF"9ggQ'=y MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <3zM34q031Vz3jYmC@baobab.bilink.it> X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2018 10:20:28 -0000 On Tue, 16 Jan 2018 21:30:56 -0500 Mike Tancsa 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/