diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-18 22:30:30 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-06-19 05:38:06 +0200 |
commit | 7fae6c44e2ffd720af406d1e0b48c08007091aab (patch) | |
tree | 2cbc29f44c60c335ee0f6c54cdd16751ff17a56d /dfs_server | |
parent | 35381cad1fec621c66b8cc309ed5f4156c4c9d3d (diff) | |
download | samba-7fae6c44e2ffd720af406d1e0b48c08007091aab.tar.gz samba-7fae6c44e2ffd720af406d1e0b48c08007091aab.tar.bz2 samba-7fae6c44e2ffd720af406d1e0b48c08007091aab.zip |
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>
Diffstat (limited to 'dfs_server')
0 files changed, 0 insertions, 0 deletions