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 majord...@freebsd.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message