Date: Wed, 1 Sep 1999 00:52:55 -0700 (PDT) From: Jaye Mathisen <mrcpu@internetcds.com> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: hackers@FreeBSD.ORG Subject: Re: Minor patches to pwd_mkdb Message-ID: <Pine.BSF.4.10.9909010051550.358-100000@schizo.cdsnet.net> In-Reply-To: <9565.936171675@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, in my case, changing from 2MB to 8MB's knocked the rebuild time from 2:05 to 36 seconds, for appx 15000 records. not enough memory to make a real difference that I can see, but it kept the disk tps meter pegged at 118-120. On Wed, 1 Sep 1999, Sheldon Hearn wrote: > > > On Tue, 31 Aug 1999 18:29:58 MST, Jaye Mathisen wrote: > > > Got tired of the dinky cachesize for pwd_mkdb, especially since vipw > > doesn't take advantage of the -u or -s options. > > Vipw doesn't take advantage of the -u option? I must have read through > the code too fast. > > > Dramatically helps on those 10-15k line password files. > > What impact does your patch have on a loaded machine? > > Since vipw already knows how many lines there are in the file, surely we > could get it to approximate an ideal cache size and pass it as the > argument to pwd_mkdb's -s option? > > Ciao, > Sheldon. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > 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?Pine.BSF.4.10.9909010051550.358-100000>
