Details
-
Improvement
-
Resolution: Done
-
Major
-
6.6.2
-
1
-
KV-Engine-Sept-21
Description
As seen in a recent customer issue, the way the system clock is configured and the overhead in reading it can have a measurable impact on the performance of KV-Enigne.
It would be of use to print an estimate of the overhead of reading the two clock sources KV-Engine uses:
- Fine clock (std::chrono::steady_clock) which is typically capable of nanosecond prevision.
- Coarse clock (folly::chrono::coarse_steady_clock) - which is only capable of millisecond precision but can be much cheaper to read.
Attachments
For Gerrit Dashboard: MB-48688 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
162649,6 | MB-48688: Introduce estimateClockOverhead | master | platform | Status: MERGED | +2 | +1 |
162650,8 | MB-48688: Print clock overheads at startup & via stats | master | kv_engine | Status: MERGED | +2 | +1 |
162863,2 | MB-48688: cbcollect_info: report clocksource details | master | ns_server | Status: MERGED | +2 | +1 |
162864,3 | MB-48688: cbcollect_info: Record new 'clocks' stat group | master | ns_server | Status: MERGED | +2 | +1 |