diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-10-11 07:09:18 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2010-10-11 07:10:25 +1100 |
commit | a33838effd10bed81132d9a2a8ddb1c83445dd5e (patch) | |
tree | 2fa883a5c005dc7ee680ad78cf29b5ac84c0bc1a | |
parent | 90445abbab7b0b773b2c45d11e26307550e46f48 (diff) | |
download | samba-a33838effd10bed81132d9a2a8ddb1c83445dd5e.tar.gz samba-a33838effd10bed81132d9a2a8ddb1c83445dd5e.tar.xz samba-a33838effd10bed81132d9a2a8ddb1c83445dd5e.zip |
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)
-rw-r--r-- | ctdb/server/ctdb_tunables.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) }, |