From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 20 14:20:16 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03FEE37B507 for ; Sun, 20 Apr 2003 14:20:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A410743F75 for ; Sun, 20 Apr 2003 14:20:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3KLKFUp030843 for ; Sun, 20 Apr 2003 14:20:15 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3KLKFGl030842; Sun, 20 Apr 2003 14:20:15 -0700 (PDT) Date: Sun, 20 Apr 2003 14:20:15 -0700 (PDT) Message-Id: <200304202120.h3KLKFGl030842@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Doug Barton Subject: Re: bin/51148 Slow vipw and fast pwd_mkdb X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Doug Barton List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2003 21:20:16 -0000 The following reply was made to PR bin/51148; it has been noted by GNATS. From: Doug Barton To: Alex Semenyaka Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: bin/51148 Slow vipw and fast pwd_mkdb Date: Sun, 20 Apr 2003 14:11:34 -0700 (PDT) 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