From owner-freebsd-stable@FreeBSD.ORG Sun Apr 20 15:59:11 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 B891837B401; Sun, 20 Apr 2003 15:59:11 -0700 (PDT) Received: from speicher.org (sirius.speicher.org [209.74.10.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id D16E243FD7; Sun, 20 Apr 2003 15:59:09 -0700 (PDT) (envelope-from geoff@speicher.org) Received: from localhost (geoff@localhost) by speicher.org (8.11.6/8.11.6) with ESMTP id h3KNDUM57584; Sun, 20 Apr 2003 19:13:34 -0400 (EDT) (envelope-from geoff@speicher.org) Date: Sun, 20 Apr 2003 19:13:30 -0400 (EDT) From: "Geoffrey C. Speicher" To: Doug Barton In-Reply-To: <20030420140851.H631@znfgre.tberna.bet> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: freebsd-gnats-submit@freebsd.org cc: Alex Semenyaka 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 22:59:12 -0000 On Sun, 20 Apr 2003, Doug Barton wrote: > 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. :) Are your feelings strong enough to commit bin/38676 so that people can use pw(8) safely and concurrently on mondo huge master.passwd files? :) bin/23501 was supposed to have fixed the problem, but it doesn't appear to have been committed before it was closed. bin/38676 is a revised/improved version of the original patch in bin/23501. Geoff