RPM Package Manager, CVS Repository
/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson
Root: /v/rpm/cvs Email: jbj@rpm5.org
Module: rpm Date: 27-Sep-2010 04:20:16
Branch: rpm-5_3 Handle: 2010092702201500
Modified files: (Branch: rpm-5_3)
rpm/tests Makefile.am
rpm/tests/ref DB_CONFIG
Log:
- tests: turn off log sync and hkp fetch for optimal solvedb creation.
Summary:
Revision Changes Path
1.63.2.26 +3 -3 rpm/tests/Makefile.am
1.1.2.2 +7 -4 rpm/tests/ref/DB_CONFIG
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/tests/Makefile.am
============================================================================
$ cvs diff -u -r1.63.2.25 -r1.63.2.26 Makefile.am
--- rpm/tests/Makefile.am 26 Sep 2010 23:20:02 -0000 1.63.2.25
+++ rpm/tests/Makefile.am 27 Sep 2010 02:20:15 -0000 1.63.2.26
@@ -538,7 +538,7 @@
@-${rpm} -i -D '_dbpath ${@D}/solve' --justdb --stats \
--replacepkgs --replacefiles --oldpackage \
--noaid --ignoresize --nodeps --noorder \
- --noscripts --notriggers --noparentdirs --nolinktos \
+ --noscripts --notriggers --noparentdirs --nolinktos --nosignature \
$< \
2>&1 | tee -a ${@D}/import
@echo "`${now}` <== ${@D}: Imported." | tee -a ${@D}/import
@@ -554,7 +554,7 @@
-r $(testdir)/$(<D)/ROOT \
-D '_dbpath /var/lib/rpm' \
-D '_solve_A $(<D)/solve' \
- --noparentdirs --nolinktos \
+ --noparentdirs --nolinktos --nosignature \
$(<D)/todo 2>&1 | tee -a $(<D)/install
@echo "`$(now)` <== ${<D}: Installed." | tee -a $(<D)/install
@-./devtool ${<D} > ${<D}/install.mongo
@@ -572,7 +572,7 @@
${rpm} -U --justdb --stats \
-D '_dbpath $(testdir)/$(<D)/ROOT/var/lib/rpm' \
-D "_solve_A $(<D)/solve" \
- --noscripts --notriggers --noparentdirs --nolinktos \
+ --noscripts --notriggers --noparentdirs --nolinktos --nosignature \
$$F \
2>&1 || : ; \
${rpm} -Va --nofiles --noaid \
@@ .
patch -p0 <<'@@ .'
Index: rpm/tests/ref/DB_CONFIG
============================================================================
$ cvs diff -u -r1.1.2.1 -r1.1.2.2 DB_CONFIG
--- rpm/tests/ref/DB_CONFIG 26 Sep 2010 03:05:26 -0000 1.1.2.1
+++ rpm/tests/ref/DB_CONFIG 27 Sep 2010 02:20:15 -0000 1.1.2.2
@@ -40,7 +40,7 @@
#set_flags DB_NOPANIC on
#set_flags DB_OVERWRITE on
#set_flags DB_REGION_INIT on
-#set_flags DB_TXN_NOSYNC on
+set_flags DB_TXN_NOSYNC on
#set_flags DB_TXN_NOWAIT on
#set_flags DB_TXN_SNAPSHOT on
#set_flags DB_TXN_WRITE_NOSYNC on
@@ -59,10 +59,12 @@
#set_log_config DB_LOG_IN_MEMORY on
#set_log_config DB_LOG_ZERO on
-#set_lg_bsize u
+# 32Kb on disk, 1Mb in memory
+#set_lg_bsize 268435456
#set_lg_filemode i
-#set_lg_max u
-#set_lg_regionmax u
+# 10Mb on disk, 256Kb in memory
+#set_lg_max 268435456
+#set_lg_regionmax 131072
# ================ Locking
#set_lk_detect DB_LOCK_DEFAULT
@@ -78,6 +80,7 @@
set_lk_max_locks 16000
set_lk_max_lockers 16000
set_lk_max_objects 16000
+# 10 * ncpus (or 1 for non-SMP)
#set_lk_partitions u
#set_lock_timeout u
@@ .
Received on Mon Sep 27 04:20:16 2010