From: Sage Weil Date: Thu, 12 Nov 2009 00:10:14 +0000 (-0800) Subject: uclient: increase cache size X-Git-Tag: v0.18~121^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0bd9fdacc972efcbe47aa26f71269f65b4013a9d;p=ceph.git uclient: increase cache size --- diff --git a/src/config.cc b/src/config.cc index 152e5e6ae979..267ad5a79cad 100644 --- a/src/config.cc +++ b/src/config.cc @@ -378,8 +378,8 @@ static struct config_option config_optionsp[] = { OPTION(fuse_direct_io, 0, OPT_INT, 0), OPTION(fuse_ll, 0, OPT_BOOL, true), OPTION(client_oc, 0, OPT_BOOL, true), - OPTION(client_oc_size, 0, OPT_INT, 1024*1024* 64), // MB * n - OPTION(client_oc_max_dirty, 0, OPT_INT, 1024*1024* 48), // MB * n (dirty OR tx.. bigish) + OPTION(client_oc_size, 0, OPT_INT, 1024*1024* 200), // MB * n + OPTION(client_oc_max_dirty, 0, OPT_INT, 1024*1024* 100), // MB * n (dirty OR tx.. bigish) OPTION(client_oc_target_dirty, 0, OPT_INT, 1024*1024* 8), // target dirty (keep this smallish) // note: the max amount of "in flight" dirty data is roughly (max - target) OPTION(client_oc_max_sync_write, 0, OPT_LONGLONG, 128*1024), // sync writes >= this use wrlock