Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Inappropriate [configuration] |
| 2 | |
| 3 | Change cache size to reduce the usage of disk space from 62MB to 26MB. |
| 4 | |
| 5 | Signed-off-by: Mei Lei <lei.mei@intel.com> |
| 6 | |
| 7 | Index: rpm-5.4.14/rpmdb/DB_CONFIG.in |
| 8 | =================================================================== |
| 9 | --- rpm-5.4.14.orig/rpmdb/DB_CONFIG.in |
| 10 | +++ rpm-5.4.14/rpmdb/DB_CONFIG.in |
| 11 | @@ -29,7 +29,7 @@ set_thread_count 64 |
| 12 | |
| 13 | # ================ Memory Pool |
| 14 | #XXX initializing dbenv with set_cachesize has unimplemented prerequsites |
| 15 | -#set_cachesize 0 1048576 0 |
| 16 | +set_cachesize 0 1048576 0 |
| 17 | set_mp_mmapsize 268435456 |
| 18 | |
| 19 | # ================ Locking |