Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Nov 1998 00:00:02 -0800 (PST)
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: misc/8764: pwd_mkdb is slow on many users
Message-ID:  <199811200800.AAA18282@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/8764; it has been noted by GNATS.

From: Ruslan Ermilov <ru@ucb.crimea.ua>
To: lem@cantv.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/8764: pwd_mkdb is slow on many users
Date: Fri, 20 Nov 1998 09:51:17 +0200

 On Thu, Nov 19, 1998 at 10:48:05AM -0800, lem@cantv.net wrote:
 
 > On systems with large user counts (>= 50k), the time to rebuild
 > tha password database becomes quite large. One of our test systems
 > clocked 60+ minutes with 150k users. Increasing the buffer space
 > as suggested on one of the freebsd-* lists reduced this time to
 > 44+ minutes, which is roughly a 25% improvement.
 > 
 > Probably further increasing cache could reduce the time by 50%.
 > 
 
 Did you try `-u' switch of pwd_mkdb?
 
 * -u username
 *       Only update the record for the specified user.  Utilities that op-
 *       erate on a single user can use this option to avoid the overhead of
 *       rebuilding the entire database.
 
 
 -- 
 Ruslan Ermilov		Sysadmin and DBA of the
 ru@ucb.crimea.ua	United Commercial Bank
 +380.652.247.647	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811200800.AAA18282>