Giter Site home page Giter Site logo

Doubts about discarding monotonic time about ice HOT 4 CLOSED

jech avatar jech commented on June 25, 2024
Doubts about discarding monotonic time

from ice.

Comments (4)

paulwe avatar paulwe commented on June 25, 2024

in practice i don't think it matters. on any well behaved system the aberrations in wall clock time should be smaller than the tolerance for timeout/keepalive scheduling.

because it's part of the public api we can't really do anything more clever. go ahead and revert it if you like. none of this had a measurable impact on my target metric.

from ice.

jech avatar jech commented on June 25, 2024

in practice i don't think it matters. on any well behaved system the aberrations in wall clock time should be smaller than the tolerance for timeout/keepalive scheduling.

What happens if the system clock is stepped?

Some systems have no battery-backed clock. On such systems, the system clock is stepped after NTP has had time to converge, typically a couple of minutes after boot. If I understand your patch correctly, it will cause Pion to break after the clock is stepped.

none of this had a measurable impact on my target metric.ou

Did you test while stepping the clock?

go ahead and revert it if you like

@Sean-Der could you please consider PRs #698 and #699? They unbreak Pion on systems with no battery-backed clock (such as Raspberry Pis and other SBCs).

from ice.

paulwe avatar paulwe commented on June 25, 2024

sorry i thought you had commit or i would have done it myself. like i said, this didn't fix the issue i was trying to solve so i'm not super attached to it.

from ice.

jech avatar jech commented on June 25, 2024

Thanks!

from ice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.