From 9885a78118fd123b88a0d9df698b7cb99832b9d5 Mon Sep 17 00:00:00 2001 From: Changcheng Liu Date: Fri, 23 Aug 2019 20:13:08 +0800 Subject: [PATCH] doc: set ceph_perf_msgr_server arguments align with commit: d6f6ad03 PerfMsgr: Make Server worker threads configurable Signed-off-by: Changcheng Liu --- doc/dev/messenger.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/dev/messenger.rst b/doc/dev/messenger.rst index 9f313d2f178..7295389136e 100644 --- a/doc/dev/messenger.rst +++ b/doc/dev/messenger.rst @@ -12,14 +12,15 @@ ceph_perf_msgr is used to do benchmark for messenger module only and can help to find the bottleneck or time consuming within messenger moduleIt just like "iperf", we need to start server-side program firstly: -# ./ceph_perf_msgr_server 172.16.30.181:10001 0 +# ./ceph_perf_msgr_server 172.16.30.181:10001 1 0 The first argument is ip:port pair which is telling the destination address the -client need to specified. The second argument tells the "think time" when -dispatching messages. After Giant, CEPH_OSD_OP message which is the actual client -read/write io request is fast dispatched without queueing to Dispatcher, in order -to achieve better performance. So CEPH_OSD_OP message will be processed inline, -"think time" is used by mock this "inline process" process. +client need to specified. The second argument configures the server threads. The +third argument tells the "think time"(us) when dispatching messages. After Giant, +CEPH_OSD_OP message which is the actual client read/write io request is fast +dispatched without queueing to Dispatcher, in order to achieve better performance. +So CEPH_OSD_OP message will be processed inline, "think time" is used by mock +this "inline process" process. # ./ceph_perf_msgr_client 172.16.30.181:10001 1 32 10000 10 4096