svn commit: r297626 - head/lib/libc/db/hash

Baptiste Daroussin bapt at FreeBSD.org
Wed Apr 6 22:52:02 UTC 2016


On Wed, Apr 06, 2016 at 03:48:20PM -0700, Ngie Cooper (yaneurabeya) wrote:
> 
> > On Apr 6, 2016, at 15:42, Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> > 
> > On Wed, Apr 06, 2016 at 10:38:50PM +0000, Bryan Drewery wrote:
> >> Author: bdrewery
> >> Date: Wed Apr  6 22:38:50 2016
> >> New Revision: 297626
> >> URL: https://svnweb.freebsd.org/changeset/base/297626
> >> 
> >> Log:
> >>  Follow-up r295924: Only sync hash-based db files open for writing when closing.
> >> 
> >>  This fixes a major performance regression when reading db files such as
> >>  the pw database during a 'pkg install'.
> >> 
> > FYI that causes pkg installation to be 10 times slower than before!
> 
> Does the before or after case cause it to be 10x slower?

before it was 10x slower

with that fix it works perfectly fine again :)

I see now my mail wasn't clear at all

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20160407/2d32790c/attachment.sig>


More information about the svn-src-all mailing list