From owner-freebsd-bugs Thu Nov 19 23:59:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA00951 for freebsd-bugs-outgoing; Thu, 19 Nov 1998 23:59:58 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00946 for ; Thu, 19 Nov 1998 23:59:57 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id AAA18282; Fri, 20 Nov 1998 00:00:02 -0800 (PST) Date: Fri, 20 Nov 1998 00:00:02 -0800 (PST) Message-Id: <199811200800.AAA18282@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Ruslan Ermilov Subject: Re: misc/8764: pwd_mkdb is slow on many users Reply-To: Ruslan Ermilov Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR misc/8764; it has been noted by GNATS. From: Ruslan Ermilov 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