bin/51148 Slow vipw and fast pwd_mkdb
Geoffrey C. Speicher
geoff at speicher.org
Sun Apr 20 16:00:44 PDT 2003
The following reply was made to PR bin/51148; it has been noted by GNATS.
From: "Geoffrey C. Speicher" <geoff at speicher.org>
To: Doug Barton <DougB at freebsd.org>
Cc: Alex Semenyaka <alexs at ratmir.ru>, freebsd-hackers at freebsd.org,
freebsd-gnats-submit at freebsd.org, freebsd-stable at freebsd.org
Subject: Re: bin/51148 Slow vipw and fast pwd_mkdb
Date: Sun, 20 Apr 2003 19:13:30 -0400 (EDT)
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
More information about the freebsd-bugs
mailing list