[SERVER-18922] Choose time source for measuring short durations dynamically at startup Created: 11/Jun/15  Updated: 19/Aug/20  Resolved: 19/Aug/20

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.0

Type: Improvement Priority: Major - P3
Reporter: Andy Schwerin Assignee: Benjamin Caimano (Inactive)
Resolution: Done Votes: 2
Labels: PM-733, move-sa, platforms-re-triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-18562 YCSB load phase (insert only) push 1... Closed
is depended on by SERVER-18613 We can double the WiredTiger YCSB loa... Closed
Related
related to SERVER-21538 Choose clock source for reading curre... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

On different hardware and under different virtualization environments, the latency of reading the system clock can fluctuate by over 1000x. When the clock may be read with extremely low latency, we would like to leverage it to provide very precise timing information for operation latencies inside the server. When the system clock is of higher latency, we would like to emulate a low-resolution clock that can be read very quickly, so that timing calls on such systems do not interfere with the execution of actual user operations.



 Comments   
Comment by Benjamin Caimano (Inactive) [ 19/Aug/20 ]

I've closed this ticket out since we landed a commit many versions ago. c46879f allows us to choose a tick source but only provides a single implementation. If you still feel we need the implementation described, please open a new ticket.

Comment by Githook User [ 12/Jun/15 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-18922 Refactor Timer to have customizable tick source
Branch: master
https://github.com/mongodb/mongo/commit/c46879fbb958214170d2f75edaf58f29547b8cba

Generated at Thu Feb 08 03:49:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.