From a33838effd10bed81132d9a2a8ddb1c83445dd5e Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Mon, 11 Oct 2010 07:09:18 +1100 Subject: Update the default hash size to be 100001 instead of 10000 This can sometimes improve performance for environments where very many files are touched in rapid succession (This used to be ctdb commit 15455a13863105a87d2cae9f06eed7435898c30b) --- ctdb/server/ctdb_tunables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c index 02e76ae308..4a3cfbbab2 100644 --- a/ctdb/server/ctdb_tunables.c +++ b/ctdb/server/ctdb_tunables.c @@ -42,7 +42,7 @@ static const struct { { "EventScriptUnhealthyOnTimeout", 0, offsetof(struct ctdb_tunable, script_unhealthy_on_timeout) },/* OBSOLETE */ { "RecoveryGracePeriod", 120, offsetof(struct ctdb_tunable, recovery_grace_period) }, { "RecoveryBanPeriod", 300, offsetof(struct ctdb_tunable, recovery_ban_period) }, - { "DatabaseHashSize", 10000, offsetof(struct ctdb_tunable, database_hash_size) }, + { "DatabaseHashSize", 100001, offsetof(struct ctdb_tunable, database_hash_size) }, { "DatabaseMaxDead", 5, offsetof(struct ctdb_tunable, database_max_dead) }, { "RerecoveryTimeout", 10, offsetof(struct ctdb_tunable, rerecovery_timeout) }, { "EnableBans", 1, offsetof(struct ctdb_tunable, enable_bans) }, -- cgit