You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
osd: avoid costly md_config_t::get_val<>() when preparing stats
It's know that the `md_config_t::get_val<>()` method template
is costly and should be avoided on hot paths.
Recent profiling[1] by Mark Kogani has shown that, on RGW's bucket
listing, an OSD had burnt 2,87% of CPU cycles on `get_val<long>()`
in `PG::prepare_stats_for_publish()`.
[1]: ceph#60278 (comment)
Fixes: https://tracker.ceph.com/issues/69657
Signed-off-by: Radoslaw Zarzynski <[email protected]>
0 commit comments