From 0bd9fdacc972efcbe47aa26f71269f65b4013a9d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 11 Nov 2009 16:10:14 -0800 Subject: [PATCH] uclient: increase cache size --- src/config.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.cc b/src/config.cc index 152e5e6ae979e..267ad5a79cade 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 -- 2.39.5