From: Julian Seward Date: Fri, 3 May 2002 18:59:21 +0000 (+0000) Subject: Reduce TT size to 32M (was 40M for Mozilla's benefit). 40 M is just X-Git-Tag: svn/VALGRIND_1_0_3~252 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ec28cebfe948b0674e4091fdca979aa7b86da0e;p=thirdparty%2Fvalgrind.git Reduce TT size to 32M (was 40M for Mozilla's benefit). 40 M is just ridiculous overkill for most "normal" apps. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@200 --- diff --git a/coregrind/vg_transtab.c b/coregrind/vg_transtab.c index 0ef2be20a2..d0f0eb1e2f 100644 --- a/coregrind/vg_transtab.c +++ b/coregrind/vg_transtab.c @@ -42,17 +42,17 @@ of code retranslation. */ /* Size of the translation cache, in bytes. */ -#define VG_TC_SIZE /*16000000*/ /*32000000*/ 40000000 +#define VG_TC_SIZE /*16000000*/ 32000000 /*40000000*/ /* Do a LRU pass when the translation cache becomes this full. */ -#define VG_TC_LIMIT_PERCENT 95 +#define VG_TC_LIMIT_PERCENT 98 /* When doing an LRU pass, reduce TC fullness to this level. */ #define VG_TC_TARGET_PERCENT 85 /* Number of entries in the translation table. This must be a prime number in order to make the hashing work properly. */ -#define VG_TT_SIZE /*100129*/ /*200191*/ 250829 +#define VG_TT_SIZE /*100129*/ 200191 /*250829*/ /* Do an LRU pass when the translation table becomes this full. */ #define VG_TT_LIMIT_PERCENT /*67*/ 80 diff --git a/vg_transtab.c b/vg_transtab.c index 0ef2be20a2..d0f0eb1e2f 100644 --- a/vg_transtab.c +++ b/vg_transtab.c @@ -42,17 +42,17 @@ of code retranslation. */ /* Size of the translation cache, in bytes. */ -#define VG_TC_SIZE /*16000000*/ /*32000000*/ 40000000 +#define VG_TC_SIZE /*16000000*/ 32000000 /*40000000*/ /* Do a LRU pass when the translation cache becomes this full. */ -#define VG_TC_LIMIT_PERCENT 95 +#define VG_TC_LIMIT_PERCENT 98 /* When doing an LRU pass, reduce TC fullness to this level. */ #define VG_TC_TARGET_PERCENT 85 /* Number of entries in the translation table. This must be a prime number in order to make the hashing work properly. */ -#define VG_TT_SIZE /*100129*/ /*200191*/ 250829 +#define VG_TT_SIZE /*100129*/ 200191 /*250829*/ /* Do an LRU pass when the translation table becomes this full. */ #define VG_TT_LIMIT_PERCENT /*67*/ 80