|
From: Julian S. <js...@ac...> - 2003-12-14 14:25:54
|
CVS commit by jseward:
Increase the max size of the translation cache from 200k average bbs to
300k average bbs. Programs on the size of OOo (680m17) are thrashing the
cache at the smaller size, creating large numbers of retranslations and
wasting significant time as a result.
M +2 -2 vg_transtab.c 1.25
--- valgrind/coregrind/vg_transtab.c #1.24:1.25
@@ -50,5 +50,5 @@ static /* const */ Int vg_tc_sector_szB
/* 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 /*5281*/ /*100129*/ 200191 /*250829*/
+#define VG_TT_SIZE /*5281*/ /*100129*/ /*200191*/ /*250829*/ 300007
/* Do an LRU pass when the translation table becomes this full. */
@@ -652,5 +652,5 @@ void VG_(init_tt_tc) ( void )
/* Ensure the calculated value is not way crazy. */
vg_assert(vg_tc_sector_szB >= 200000);
- vg_assert(vg_tc_sector_szB <= 6000000);
+ vg_assert(vg_tc_sector_szB <= 8000000);
for (s = 0; s < VG_TC_N_SECTORS; s++) {
|