]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PerfMsgr: Add tips for running ceph_perf_msgr
authorHaomai Wang <haomaiwang@gmail.com>
Thu, 11 Jun 2015 16:32:02 +0000 (00:32 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Thu, 11 Jun 2015 16:32:02 +0000 (00:32 +0800)
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/test/msgr/perf_msgr_server.cc

index fc50f5c83eee271aa945f5daf766d50f7896dc8f..0a15c2ff0c3b12ff4d14858e4aef6016362f1e2b 100644 (file)
@@ -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;