[Heimdal-source-changes] [heimdal/heimdal] e3cc7d: Set def page size for HDB SQLite3 backend to 8KB

GitHub noreply at github.com
Tis Okt 10 23:00:47 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: e3cc7dfb94826aa709a617fb8e59ab07db584f92
      https://github.com/heimdal/heimdal/commit/e3cc7dfb94826aa709a617fb8e59ab07db584f92
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2017-10-10 (Tue, 10 Oct 2017)

  Changed paths:
    M lib/hdb/hdb-sqlite.c

  Log Message:
  -----------
  Set def page size for HDB SQLite3 backend to 8KB


  Commit: 5bcbe2125b18160f6ad348b15f8036ffedc15770
      https://github.com/heimdal/heimdal/commit/5bcbe2125b18160f6ad348b15f8036ffedc15770
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2017-10-10 (Tue, 10 Oct 2017)

  Changed paths:
    M lib/hdb/db.c
    M lib/hdb/db3.c
    M lib/hdb/hdb-ldap.c
    M lib/hdb/hdb-mdb.c
    M lib/hdb/hdb-mitdb.c
    M lib/hdb/hdb-sqlite.c
    M lib/hdb/hdb.h

  Log Message:
  -----------
  Add hdb_set_sync() method


  Commit: 305dc816525f461f9bfe640d87f671f53f0e0fc6
      https://github.com/heimdal/heimdal/commit/305dc816525f461f9bfe640d87f671f53f0e0fc6
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2017-10-10 (Tue, 10 Oct 2017)

  Changed paths:
    M lib/kadm5/ipropd_slave.c

  Log Message:
  -----------
  Disable sync during iprop receive_everything()

Doing an fsync per-record when receiving the complete HDB is a performance
disaster.  Among other things, if the HDB is very large, then one slave
receving a full HDB can cause other slaves to timeout and, if HDB write
activity is high enough to cause iprop log truncation, then also need full
syncs, which leads to a cycle of full syncs for all slaves until HDB write
activity drops.

Allowing the iprop log to be larger helps, but improving receive_everything()
performance helps even more.


  Commit: 7d5f8bb051ca84592d1196bf5d5522da5a50f9d6
      https://github.com/heimdal/heimdal/commit/7d5f8bb051ca84592d1196bf5d5522da5a50f9d6
  Author: Nicolas Williams <nico at twosigma.com>
  Date:   2017-10-10 (Tue, 10 Oct 2017)

  Changed paths:
    M kadmin/load.c

  Log Message:
  -----------
  Disable sync during kadmin load


Compare: https://github.com/heimdal/heimdal/compare/469366ddb8b3...7d5f8bb051ca


More information about the Heimdal-source-changes mailing list