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

Ngie Cooper (yaneurabeya) yaneurabeya at gmail.com
Wed Apr 6 22:48:31 UTC 2016


> 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?


More information about the svn-src-all mailing list