Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Our use of clock_gettime CLOCK_MONOTONIC_RAW slows things down #5202

Closed
ahupowerdns opened this issue Mar 24, 2017 · 2 comments
Closed

Our use of clock_gettime CLOCK_MONOTONIC_RAW slows things down #5202

ahupowerdns opened this issue Mar 24, 2017 · 2 comments

Comments

@ahupowerdns
Copy link
Contributor

  • Program: dnsdist
  • Issue type: Bug report

Short description

Netflix/rend#96
On common Linux platforms, CLOCK_MONOTONIC_RAW does not benefit from vDSO speedups.

Netflix/rend#96 (comment) has some insightful discussion and links. I've verified that if you remove _RAW, strace no longer shows clock_gettime.

Environment

  • Operating system: various versions of Linux I tried
  • Software version: dnsdist 1.1
  • Software source:

Steps to reproduce

Expected behaviour

Actual behaviour

Other information

Usecase

Description

@rgacogne
Copy link
Member

rgacogne commented Aug 3, 2017

Among other things, #5576 moves from CLOCK_MONOTONIC_RAW to CLOCK_MONOTONIC.

@rgacogne rgacogne modified the milestones: dnsdist-1.3.0, dnsdist-1.2.0 Aug 3, 2017
@rgacogne
Copy link
Member

rgacogne commented Nov 2, 2017

Fixed by #5576.

@rgacogne rgacogne closed this as completed Nov 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants