]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Reduce TT size to 32M (was 40M for Mozilla's benefit). 40 M is just
authorJulian Seward <jseward@acm.org>
Fri, 3 May 2002 18:59:21 +0000 (18:59 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 3 May 2002 18:59:21 +0000 (18:59 +0000)
ridiculous overkill for most "normal" apps.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@200

coregrind/vg_transtab.c
vg_transtab.c

index 0ef2be20a2f4dd1c6cccf55a3491c541cddb00ff..d0f0eb1e2f06def4317de0db49d480e55774fa8e 100644 (file)
    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
index 0ef2be20a2f4dd1c6cccf55a3491c541cddb00ff..d0f0eb1e2f06def4317de0db49d480e55774fa8e 100644 (file)
    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