Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Aug 1999 09:57:13 -0500
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        "Mike Tancsa" <mike@sentex.net>, <FreeBSD-ISP@FreeBSD.ORG>
Subject:   RE: pwd_mkdb and system processes
Message-ID:  <001501bee665$4b380340$fca3f9cf@megared.net.mx>
References:  <00ca01bee5d2$ecf7aca0$fca3f9cf@megared.net.mx> <MAIL199908132139.QAA80727@troi.csw.net> <37b4d14c.830045772@mail.sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Thanks, this is great and permanent, just what I was looking for.

Ales

----- Original Message -----
From: Mike Tancsa <mike@sentex.net>
To: <FreeBSD-ISP@FreeBSD.ORG>
Sent: Friday, August 13, 1999 9:27 PM
Subject: Re: pwd_mkdb and system processes


> 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" <ales@megared.net.mx> 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




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001501bee665$4b380340$fca3f9cf>