summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Shakhat <ishakhat@mirantis.com>2016-03-17 18:27:12 +0300
committerIlya Shakhat <ishakhat@mirantis.com>2016-03-17 18:27:12 +0300
commitfbbebdf86b811cdc5fe9bf171358205720f93d8b (patch)
tree177af89c0230b73d3ae2f719918c4139dd3de034
parente41e4212d892645e04fe30e6955e24c86b234b7a (diff)
Throughput is sum of all processes
-rw-r--r--performa/scenarios/mq/omsimulator.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/performa/scenarios/mq/omsimulator.rst b/performa/scenarios/mq/omsimulator.rst
index de551d1..74a01ef 100644
--- a/performa/scenarios/mq/omsimulator.rst
+++ b/performa/scenarios/mq/omsimulator.rst
@@ -60,9 +60,9 @@ depending on number of concurrent threads.
60 pipeline: 60 pipeline:
61 - { $match: { task: omsimulator, mode: call }} 61 - { $match: { task: omsimulator, mode: call }}
62 - { $group: { _id: { threads: { $multiply: [ "$threads", "$host_count" ] } }, 62 - { $group: { _id: { threads: { $multiply: [ "$threads", "$host_count" ] } },
63 msg_sent_per_sec: { $avg: { $divide: ["$client.count", "$client.duration"] }}, 63 msg_sent_per_sec: { $sum: { $divide: ["$client.count", "$client.duration"] }},
64 msg_received_per_sec: { $avg: { $divide: ["$server.count", "$server.duration"] }}, 64 msg_received_per_sec: { $sum: { $divide: ["$server.count", "$server.duration"] }},
65 msg_round_trip_per_sec: { $avg: { $divide: ["$round_trip.count", "$round_trip.duration"] }}, 65 msg_round_trip_per_sec: { $sum: { $divide: ["$round_trip.count", "$round_trip.duration"] }},
66 latency: { $avg: "$round_trip.latency" }, 66 latency: { $avg: "$round_trip.latency" },
67 rabbit_total: { $avg: "$rabbit_total" } 67 rabbit_total: { $avg: "$rabbit_total" }
68 }} 68 }}
@@ -129,8 +129,8 @@ depending on number of concurrent threads.
129 pipeline: 129 pipeline:
130 - { $match: { task: omsimulator, mode: cast }} 130 - { $match: { task: omsimulator, mode: cast }}
131 - { $group: { _id: { threads: { $multiply: [ "$threads", "$host_count" ] } }, 131 - { $group: { _id: { threads: { $multiply: [ "$threads", "$host_count" ] } },
132 msg_sent_per_sec: { $avg: { $divide: ["$client.count", "$client.duration"] }}, 132 msg_sent_per_sec: { $sum: { $divide: ["$client.count", "$client.duration"] }},
133 msg_received_per_sec: { $avg: { $divide: ["$server.count", "$server.duration"] }}, 133 msg_received_per_sec: { $sum: { $divide: ["$server.count", "$server.duration"] }},
134 latency: { $avg: "$server.latency" }, 134 latency: { $avg: "$server.latency" },
135 rabbit_total: { $avg: "$rabbit_total" } 135 rabbit_total: { $avg: "$rabbit_total" }
136 }} 136 }}
@@ -196,8 +196,8 @@ depending on number of concurrent threads.
196 pipeline: 196 pipeline:
197 - { $match: { task: omsimulator, mode: notify }} 197 - { $match: { task: omsimulator, mode: notify }}
198 - { $group: { _id: { threads: { $multiply: [ "$threads", "$host_count" ] } }, 198 - { $group: { _id: { threads: { $multiply: [ "$threads", "$host_count" ] } },
199 msg_sent_per_sec: { $avg: { $divide: ["$client.count", "$client.duration"] }}, 199 msg_sent_per_sec: { $sum: { $divide: ["$client.count", "$client.duration"] }},
200 msg_received_per_sec: { $avg: { $divide: ["$server.count", "$server.duration"] }}, 200 msg_received_per_sec: { $sum: { $divide: ["$server.count", "$server.duration"] }},
201 latency: { $avg: "$server.latency" }, 201 latency: { $avg: "$server.latency" },
202 rabbit_total: { $avg: "$rabbit_total" } 202 rabbit_total: { $avg: "$rabbit_total" }
203 }} 203 }}