Subject: Re: pwd_mkdb(8) performance
To: Current Users <>
From: Peter Seebach <>
List: current-users
Date: 07/05/2000 00:55:23
In message <>, Jukka Marin writes:
>It is well known that pwd_mkdb(8) is slow with a large user database.
>In FreeBSD (I think it was) there's an option that tells pwd_mkdb to
>rebuild only one entry of the database, dropping the execution time to
>a fraction of normal.  Is anyone planning to port this option to NetBSD
>and committing the changes to the tree?

>I'm responsible of a system which may soon have over 50000 users and
>whenever any user changes his/her password, it takes a long time (maybe
>several minutes under normal load) to rebuild the database. :-(

Hmm.  I don't know about porting the FreeBSD code, but one of BSDI's customers
recently did a similar piece of work; I'll ask him what license terms he's
putting it under.  :)  I think most of the passwd code is sharable, but I'm
not sure.