Christian Hammers writes:
GDBM_SYNC(MODE) (default in 1.8.0), GDBM_NOLOCK and GDBM_FAST (obsolete
in 1.8.0) all do no change to my situation.
My man page claims that GDBM_SYNCMODE defaults to off.
GDBM_SYNCMODE - Turn on or off file system synchronization operations.
This setting defaults to off; value (see below) should be set to
either TRUE or FALSE.
Maybe it's really the combination of NFS and drbd. I now try to trace
It's possible. I hit this with AFS, with an older version of GDBM. I was
trying to figure out WTF writing GDBM files out on AFS was so damn slow.
Trace it, and found that the process is fsyncing all over the place. The
older GDBM defaulted to GDBM_SYNCMODE flipped on. Turned that off, got a
tenfold increase in speed.