summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-01-03 15:49:50 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-01-03 15:49:50 +0200
commit6b6310b152475793a1272d8829a9df89a6edaee6 (patch)
tree0de3aa4361d30b103002dd096dfefad90e2a2ed5 /macros.in
parentb76fa1a7fdf738ccd45dd70a5489d5110a6d5534 (diff)
downloadlibrpm-tizen-6b6310b152475793a1272d8829a9df89a6edaee6.tar.gz
librpm-tizen-6b6310b152475793a1272d8829a9df89a6edaee6.tar.bz2
librpm-tizen-6b6310b152475793a1272d8829a9df89a6edaee6.zip
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.
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index afa98f8eb..a279995be 100644
--- a/macros.in
+++ b/macros.in
@@ -533,7 +533,7 @@ print (t)\
#
# Misc BDB tuning options
-%__dbi_other mp_mmapsize=16Mb mp_size=1Mb
+%__dbi_other mp_mmapsize=128Mb mp_size=64Mb
%_dbi_config %{?__dbi_other}