summaryrefslogtreecommitdiff
path: root/innobase/srv
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2003-01-09 00:10:36 +0200
committerheikki@hundin.mysql.fi <>2003-01-09 00:10:36 +0200
commitbe03863425e17439e28e238d8d9e066fb808a310 (patch)
treec8feba19d059f3cfb680b610d1d63f5c1f6764c6 /innobase/srv
parent5a107871c3df30f0114b845e7159e7576193d382 (diff)
downloadmariadb-git-be03863425e17439e28e238d8d9e066fb808a310.tar.gz
srv0srv.c, mem0pool.c, mem0pool.h, buf0buf.h, buf0buf.c:
Make smaller buffer headers and the lock table; fix AWE high_end bug
Diffstat (limited to 'innobase/srv')
-rw-r--r--innobase/srv/srv0srv.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/innobase/srv/srv0srv.c b/innobase/srv/srv0srv.c
index 56971ab86eb..6612b2006eb 100644
--- a/innobase/srv/srv0srv.c
+++ b/innobase/srv/srv0srv.c
@@ -1979,7 +1979,7 @@ srv_normalize_init_values(void)
srv_lock_table_size = 20 * srv_awe_window_size;
} else {
- srv_lock_table_size = 20 * srv_pool_size;
+ srv_lock_table_size = 5 * srv_pool_size;
}
return(DB_SUCCESS);
@@ -2345,6 +2345,12 @@ srv_sprintf_innodb_monitor(
"Total memory allocated %lu; in additional pool allocated %lu\n",
ut_total_allocated_memory,
mem_pool_get_reserved(mem_comm_pool));
+
+ if (mem_out_of_mem_err_msg_count > 0) {
+ buf += sprintf(buf,
+ "Mem allocation has spilled out of additional mem pool %lu times\n");
+ }
+
if (srv_use_awe) {
buf += sprintf(buf,
"In addition to that %lu MB of AWE memory allocated\n",