]> git.ozlabs.org Git - ccan/commit
Import from SAMBA tdb:
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 29 Jul 2009 23:20:38 +0000 (08:50 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 29 Jul 2009 23:20:38 +0000 (08:50 +0930)
commitccce1aa254cb9c7a2796e3171c7146703ab7ae40
tree58987331e9b443af4acf3d64b357d2e4b32d40d1
parent059678ec4216112f96d8ad992ec7c0b8a6e3b80b
Import from SAMBA tdb:
commit a6cc04a20089e8fbcce138c271961c37ddcd6c34
Author: Andrew Tridgell <tridge@samba.org>
Date:   Mon Jun 1 13:13:07 2009 +1000

    overallocate all records by 25%

    This greatly reduces the fragmentation of databases where records
    tend to grow slowly by a small amount each time. The case where this
    is most seen is the ldb index records. Adding this overallocation
    reduced the size of the resulting database by more than 20x when
    running a test that adds 10k users.
ccan/tdb/freelist.c