Date: Wed, 01 Sep 1999 00:53:14 -0700 From: Mike Smith <mike@smith.net.au> To: Jaye Mathisen <mrcpu@internetcds.com> Cc: hackers@freebsd.org Subject: Re: Minor patches to pwd_mkdb Message-ID: <199909010753.AAA03419@dingo.cdrom.com> In-Reply-To: Your message of "Tue, 31 Aug 1999 18:29:58 PDT." <Pine.BSF.4.10.9908311826340.358-100000@schizo.cdsnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > Got tired of the dinky cachesize for pwd_mkdb, especially since vipw > doesn't take advantage of the -u or -s options. > > So here a couple patches that make the cachesize tweakable from make.conf. > > Dramatically helps on those 10-15k line password files. > > I would appreciate it if somebody would at least consider committing > this... No. Try for a patch that guesses how big the password file is (try using stat()) and tunes the cache dynamically. Hardcoding this at _build_ time is not any sort of "right" solution. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909010753.AAA03419>