From: Sage Weil Date: Sat, 18 Sep 2010 03:30:55 +0000 (-0700) Subject: client: increase default cache size to 16K dentries and lru insertion point .25 X-Git-Tag: v0.21.3~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ce63cf424d3d695754aaa075af63c2edf7148b75;p=ceph.git client: increase default cache size to 16K dentries and lru insertion point .25 --- diff --git a/src/config.cc b/src/config.cc index 92cbf6723d4..412670a1267 100644 --- a/src/config.cc +++ b/src/config.cc @@ -341,8 +341,8 @@ static struct config_option config_optionsp[] = { OPTION(auth_nonce_len, 0, OPT_INT, 16), OPTION(mon_client_hunt_interval, 0, OPT_DOUBLE, 3.0), // try new mon every N seconds until we connect OPTION(mon_client_ping_interval, 0, OPT_DOUBLE, 10.0), // ping every N seconds - OPTION(client_cache_size, 0, OPT_INT, 1000), - OPTION(client_cache_mid, 0, OPT_FLOAT, .5), + OPTION(client_cache_size, 0, OPT_INT, 16384), + OPTION(client_cache_mid, 0, OPT_FLOAT, .75), OPTION(client_cache_stat_ttl, 0, OPT_INT, 0), // seconds until cached stat results become invalid OPTION(client_cache_readdir_ttl, 0, OPT_INT, 1), // 1 second only OPTION(client_use_random_mds, 0, OPT_BOOL, false),