From owner-freebsd-stable@FreeBSD.ORG Sun Apr 20 14:11:37 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B08E37B401; Sun, 20 Apr 2003 14:11:37 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A53D43F75; Sun, 20 Apr 2003 14:11:36 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.gorean.org (12-234-22-23.client.attbi.com[12.234.22.23]) by sccrmhc03.attbi.com (sccrmhc03) with SMTP id <200304202111350030054db1e>; Sun, 20 Apr 2003 21:11:35 +0000 Date: Sun, 20 Apr 2003 14:11:34 -0700 (PDT) From: Doug Barton To: Alex Semenyaka In-Reply-To: <20030419062121.GA70121@snark.ratmir.ru> Message-ID: <20030420140851.H631@znfgre.tberna.bet> References: <20030419062121.GA70121@snark.ratmir.ru> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: freebsd-gnats-submit@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: bin/51148 Slow vipw and fast pwd_mkdb X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 21:11:37 -0000 On Sat, 19 Apr 2003, Alex Semenyaka wrote: > Hello, > > could somebody to comment PR bin/51148? It is suggestion how to pass > a value of cache size to pwd_mkdb when we are doing vipw or such. > It can give a greate speed-up when master.passwd is really big (and > sometimes it is). Appropriate cache size can make process 10 to 100 > or more times faster. I gave the results of measurements in that > problem report. Having been in a "mondo huge master.passwd file" situation myself, my comment is that people in this situation should probably not be relying on tools like vipw to manage their stuff. However, my feelings aren't strong enough to prompt me to close your PR, so good luck. :) Doug -- This .signature sanitized for your protection