1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/lib/ntdb
Rusty Russell 7fae6c44e2 ntdb: reduce transaction pagesize from 64k to 16k.
The performance numbers for transaction pagesize are indeterminate:
larger pagesizes means a smaller transaction array, and a better
chance of having a contiguous record (more efficient for
ntdb_parse_record and some internal operations inside a transaction).

On the other hand, large pagesize means more I/O even if we change a
few bytes.

But it also controls the multiple by which we will enlarge the file,
and hence the minimum db size.  It's 4k for tdb1, but 16k seems
reasonable in these modern times.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:06 +02:00
..
ABI ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
doc ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
test ntdb: create initial database to be multiple of NTDB_PGSIZE. 2012-06-19 05:38:06 +02:00
tools ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
check.c ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
configure TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
free.c ntdb: make sure file is always a multiple of PAGESIZE (now NTDB_PGSIZE) 2012-06-19 05:38:06 +02:00
hash.c ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
io.c ntdb: make sure file is always a multiple of PAGESIZE (now NTDB_PGSIZE) 2012-06-19 05:38:06 +02:00
LICENSE TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
lock.c ntdb: make fork test more thorough. 2012-06-19 05:38:06 +02:00
Makefile TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
ntdb.c ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
ntdb.h ntdb: use NTDB_LOG_WARNING level for failed open() without O_CREAT. 2012-06-19 05:38:06 +02:00
ntdb.pc.in TDB2: Goodbye TDB2, Hello NTDB. 2012-06-19 05:38:06 +02:00
open.c ntdb: create initial database to be multiple of NTDB_PGSIZE. 2012-06-19 05:38:06 +02:00
private.h ntdb: reduce transaction pagesize from 64k to 16k. 2012-06-19 05:38:06 +02:00
pyntdb.c ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
summary.c ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
transaction.c ntdb: remove last block transactoin logic. 2012-06-19 05:38:06 +02:00
traverse.c ntdb: remove ntdb_error() 2012-06-19 05:38:06 +02:00
wscript ntdb: catch any valgrind errors in test 2012-06-19 05:38:06 +02:00