We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a7902c commit d0450f9Copy full SHA for d0450f9
src/crimson/osd/osd.cc
@@ -411,11 +411,16 @@ seastar::future<> OSD::start()
411
shard_stats[seastar::this_shard_id()] = stats;
412
}).then([this, FNAME] {
413
std::ostringstream oss;
414
+ double agg_ru = 0;
415
+ int cnt = 0;
416
for (const auto &stats : shard_stats) {
417
+ agg_ru += stats.reactor_utilization;
418
+ ++cnt;
419
oss << int(stats.reactor_utilization);
420
oss << ",";
421
}
- INFO("reactor_utilizations: {}", oss.str());
422
+ INFO("reactor_utilizations: {}({})",
423
+ int(agg_ru/cnt), oss.str());
424
});
425
426
gate.dispatch_in_background("stats_store", *this, [this] {
0 commit comments