svn commit: samba r452 - branches/SAMBA_4_0/source/lib/tdb

tridge at samba.org tridge at samba.org
Mon May 3 04:24:30 GMT 2004


Author: tridge
Date: 2004-05-03 04:24:30 +0000 (Mon, 03 May 2004)
New Revision: 452

Modified:
   branches/SAMBA_4_0/source/lib/tdb/tdb.c
Log:
move from first-fit to best-fit in tdb record allocation. For a
situation where we are continually increasing the size of a record
(such as ldb index records) this reduces the resulting tdb size by a
factor of over 100x, due to reductions in fragmentation. It appears to
have no noticable effect on the speed in other cases.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=452&nolog=1


More information about the samba-cvs mailing list