Subject: Re: pwd_mkdb - 29,000 users in 7 Seconds.
To: , <netbsd-users@netbsd.org>
From: Greg A. Woods <woods@weird.com>
List: netbsd-users
Date: 08/10/2001 09:58:44
[ On Thursday, August 9, 2001 at 20:23:56 (+0200), Wojciech Puchar wrote: ]
> Subject: Re: pwd_mkdb - 29,000 users in 7 Seconds.
>
> it's still 6.58s too much
> the right solution is to use database files directly and only change data
> that were changed without rebuilding. "real" files should be generated
> only in case of vipw.

The real world doesn't work that way.  For the general purpose system
both /etc/passwd and /etc/master.passwd must also be kept up-to-date for
non-DB-capable programs which access their contents (awk, cut, sed, etc.).

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>     <woods@robohack.ca>
Planix, Inc. <woods@planix.com>;   Secrets of the Weird <woods@weird.com>