[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:SERVER-30537 Continuously accumulate cumulative time metrics in ServiceExecutorAdaptive
Branch:master
https://github.com/mongodb/mongo/commit/548b9ee44d2906b290b4d132e5387463840abc93

Generated at Thu Feb 08 04:24:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.