Re: Where I can find the definition/meanings of options parameter in /src/common/config.cc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux