Unfortunately a lot of the config options aren't really defined or described anywhere outside the code. Some of them are described in the wiki at http://ceph.newdream.net/wiki/Ceph.conf, and possibly on other pages (use the search option). Feel free to ask about specific options you're interested in (the names are usually at least *somewhat* helpful, so you should be able to figure out which ones are potentially interesting) and to update the wiki if you get answers on something that's not documented! :) -Greg On Thu, Apr 7, 2011 at 9:33 AM, Colin McCabe <cmccabe@xxxxxxxxxxxxxx> wrote: > Hi AnnyRen, > > These parameters are set in your ceph.conf file. You can find their > value by looking in the ceph.conf file, or by running > > ./cconf -c <path-to-ceph-conf-file> --lookup <param_name> > > Also, after using injectargs to change a setting related to logging, > you must send the process a SIGHUP to get it to re-read its logging > settings. > > cheers, > Colin > > > On Thu, Apr 7, 2011 at 2:44 AM, AnnyRen <annyren6@xxxxxxxxx> wrote: >> Hi: >> >> I'm trying to tune the options parameters defined in config.cc, like >> >> OPTION(mon_osd_down_out_interval, 0, OPT_INT, 300), // seconds >> OPTION(mds_replay_interval, 0, OPT_FLOAT, 1.0), // time to wait >> before starting replay again >> OPTION(mds_shutdown_check, 0, OPT_INT, 0), >> OPTION(mds_thrash_exports, 0, OPT_INT, 0), >> OPTION(mds_thrash_fragments, 0, OPT_INT, 0), >> OPTION(mds_dump_cache_on_map, 0, OPT_BOOL, false), >> OPTION(mds_dump_cache_after_rejoin, 0, OPT_BOOL, false), >> OPTION(mds_verify_scatter, 0, OPT_BOOL, false), >> OPTION(mds_debug_scatterstat, 0, OPT_BOOL, false), >> OPTION(mds_debug_frag, 0, OPT_BOOL, false), >> OPTION(mds_kill_mdstable_at, 0, OPT_INT, 0), >> OPTION(mds_kill_export_at, 0, OPT_INT, 0), >> OPTION(mds_kill_import_at, 0, OPT_INT, 0), >> OPTION(mds_kill_rename_at, 0, OPT_INT, 0), >> OPTION(mds_wipe_sessions, 0, OPT_BOOL, 0), >> >> to test the functionalities and performance in ceph, >> Could you tell me where to find the definitions of all parameters, so >> I could tune Ceph to run with the best performance? >> Thanks very much! >> >> Another question is if I want to adjust a config option, but I don't >> want to modify the ceph.conf and restart the monitor, >> could I use { ceph mon injectargs 0 '--mon_osd_down_out_interval >> 600' } the instruction to modify the settings? >> and how can I query the current settings I had made? >> >> For example >> I use the following command to enable debug messages >> {ceph mds injectargs 0 '--debug_ms 1 --debug_mds 10'} >> How to query the current setting and how to disable or cancel the setting? >> >> Please help me~ Thank you!!! >> >> >> Best Regards, >> Anny >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html >> > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html