From owner-freebsd-isp Fri Aug 13 19:17:30 1999 Delivered-To: freebsd-isp@freebsd.org Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (Postfix) with ESMTP id C317614C57 for ; Fri, 13 Aug 1999 19:17:26 -0700 (PDT) (envelope-from mike@sentex.net) Received: from ospf-wat.sentex.net (ospf-wat.sentex.net [209.167.248.81]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id WAA19469 for ; Fri, 13 Aug 1999 22:15:12 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: FreeBSD-ISP@freebsd.org Subject: Re: pwd_mkdb and system processes Date: Sat, 14 Aug 1999 02:27:40 GMT Message-ID: <37b4d14c.830045772@mail.sentex.net> References: <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx> In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 13 Aug 1999 17:41:39 -0400, in sentex.lists.freebsd.isp you wrote: >man pwd_mkdb > > >In <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx>, on 08/13/99 > at 04:29 PM, "Alejandro Ramirez" said: > >>Hi, > >>How do you do it ??? You can also change the source code so that the default cache size is much bigger. see /usr/src/usr.sbin/pwd_mkdb HASHINFO openinfo = { 4096, /* bsize */ 32, /* ffactor */ 256, /* nelem */ 2048 * 1024, /* cachesize */ NULL, /* hash() */ 0 /* lorder */ }; Change it to something like 2048 * 1024 * 5, /* cachesize */ make depend make make install We use *10 here... ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Who is this 'BSD', and why should we free him?" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message