mirror of
https://github.com/ceph/ceph
synced 2024-12-19 09:57:05 +00:00
common/common_init: disable ms subsystem log gathering for clients
The log gathering causes large performance degradation to clients with high message throughputs. This is hopefully a short-term workaround until per-message logging can be replaced with an efficient data recording system for post-incident analysis use-cases. Fixes: http://tracker.ceph.com/issues/21860 Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
parent
34951266fe
commit
a3a40413f7
@ -58,6 +58,10 @@ CephContext *common_preinit(const CephInitParameters &iparams,
|
||||
conf->set_val_or_die("err_to_stderr", "false");
|
||||
conf->set_val_or_die("log_flush_on_exit", "false");
|
||||
}
|
||||
if (code_env != CODE_ENVIRONMENT_DAEMON) {
|
||||
// NOTE: disable ms subsystem gathering in clients by default
|
||||
conf->set_val_or_die("debug_ms", "0/0");
|
||||
}
|
||||
|
||||
return cct;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user