From: Ronnie Sahlberg Date: Sun, 10 Oct 2010 20:09:18 +0000 (+1100) Subject: Update the default hash size to be 100001 instead of 10000 X-Git-Url: http://git.samba.org/?p=metze%2Fctdb%2Fwip.git;a=commitdiff_plain;h=15455a13863105a87d2cae9f06eed7435898c30b 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 --- diff --git a/server/ctdb_tunables.c b/server/ctdb_tunables.c index 02e76ae3..4a3cfbba 100644 --- a/server/ctdb_tunables.c +++ b/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) },