From eba4eb2ea4def39ef5c15a27e8d6157f35fb1d68 Mon Sep 17 00:00:00 2001 From: Haomai Wang Date: Fri, 12 Jun 2015 00:32:02 +0800 Subject: [PATCH] PerfMsgr: Add tips for running ceph_perf_msgr Signed-off-by: Haomai Wang --- src/test/msgr/perf_msgr_server.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/msgr/perf_msgr_server.cc b/src/test/msgr/perf_msgr_server.cc index fc50f5c83eee2..0a15c2ff0c3b1 100644 --- a/src/test/msgr/perf_msgr_server.cc +++ b/src/test/msgr/perf_msgr_server.cc @@ -154,6 +154,9 @@ int main(int argc, char **argv) } int think_time = atoi(args[1]); + cerr << " This tool won't handle connection error alike things, " << std::endl; + cerr << "please ensure the proper network environment to test." << std::endl; + cerr << " Or ctrl+c when meeting error and restart tests" << std::endl; cerr << " using ms-type " << g_ceph_context->_conf->ms_type << std::endl; cerr << " bind ip:port " << args[0] << std::endl; cerr << " thinktime(us) " << think_time << std::endl; -- 2.39.5