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

Comments

Projects
None yet
2 participants
@ahupowerdns
Member

ahupowerdns commented Mar 24, 2017

  • 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 rgacogne added this to the dnsdist-1.2.0 milestone Mar 26, 2017

@rgacogne rgacogne added enhancement and removed defect labels Mar 26, 2017

@rgacogne

This comment has been minimized.

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

This comment has been minimized.

Member

rgacogne commented Nov 2, 2017

Fixed by #5576.

@rgacogne rgacogne closed this Nov 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment