[SERVER-30537] Continuously accumulate cumulative time metrics in ServiceExecutorAdaptive Created: 07/Aug/17 Updated: 30/Oct/23 Resolved: 11/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | 3.5.11 |
| Fix Version/s: | 3.5.13 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bruce Lucas (Inactive) | Assignee: | Jonathan Reams |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Platforms 2017-09-11, Platforms 2017-10-02 |
| Participants: |
| Description |
|
The cumulative time metrics such as _totalSpentExecuting and _totalSpentScheduled are accumulated in thread-local variables and are only rolled up to the global variables every few seconds, so that they increment in jumps every few seconds instead of continuously. This negates their usefulness for measuring the instantaneous number of operations in those states and instantaneous latency. They should either be incremented on every operation, or should be rolled up much more frequently. |
| Comments |
| Comment by Ramon Fernandez Marina [ 11/Sep/17 ] |
|
Author: {'username': u'jbreams', 'name': u'Jonathan Reams', 'email': u'jbreams@mongodb.com'}Message: |