Bump up default BDB cache- and allowed mmap size considerably
authorPanu Matilainen <pmatilai@redhat.com>
Mon, 3 Jan 2011 13:49:50 +0000 (15:49 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Mon, 3 Jan 2011 13:57:41 +0000 (15:57 +0200)
commitf65a10a2b49304fab8f4e0839ccd486cc627bfa0
tree237fce4ffaa546a9b4f081799b6874cb44ab8661
parentfe3e41d45243fcc572b2cca0803433f0621a38d9
Bump up default BDB cache- and allowed mmap size considerably
- The former defaults come from nearly a decade ago, things have
  changed a bit since then... Even BDB's own default cache size is
  much larger (8MB) now than what we've been setting.
- Using 64MB cache improves cache hit rate (and performance) massively.
  Last-gasp default to roughly BDB's own current defaults, higher
  settings in the default macro setup.
(cherry picked from commit 6b6310b152475793a1272d8829a9df89a6edaee6)
lib/backend/dbconfig.c
macros.in