From a226b8251690cc3c89253cd65de9297a09cdb9ee Mon Sep 17 00:00:00 2001 From: sageweil Date: Wed, 11 Jul 2007 18:56:40 +0000 Subject: [PATCH] * larger log import map interval git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1487 29311d96-e01e-0410-9327-a35deaab8ce9 --- branches/sage/cephmds2/config.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/branches/sage/cephmds2/config.cc b/branches/sage/cephmds2/config.cc index f42ba796b31be..eff13b20be567 100644 --- a/branches/sage/cephmds2/config.cc +++ b/branches/sage/cephmds2/config.cc @@ -37,8 +37,7 @@ Mutex _dout_lock; FileLayout g_OSD_FileLayout( 1<<26, 1, 1<<26, 2 ); // stripe over 64M objects, 2x replication FileLayout g_OSD_MDDirLayout( 1<<23, 1, 1<<23, 2 ); // 8M objects, 2x replication. (a lie) -//FileLayout g_OSD_MDLogLayout( 1<<20, 1, 1<<20, 2 ); // 1M objects, 2x replication -FileLayout g_OSD_MDLogLayout( 1<<18, 1, 1<<18, 2 ); // 1M objects, 2x replication +FileLayout g_OSD_MDLogLayout( 1<<20, 1, 1<<20, 2 ); // 1M objects, 2x replication #include @@ -175,7 +174,7 @@ md_config_t g_conf = { mds_log_read_inc: 1<<20, mds_log_pad_entry: 128,//256,//64, mds_log_flush_on_shutdown: true, - mds_log_import_map_interval: 10*1024, // frequency (in bytes) of EImportMap in log + mds_log_import_map_interval: 128*1024, // frequency (in bytes) of EImportMap in log mds_log_eopen_size: 100, // # open inodes per log entry mds_bal_replicate_threshold: 2000, -- 2.39.5