Re: DragonflyBSD kernel clock improvements

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 01/25/04

  • Next message: Bill Paul: "Project Evil: The Evil Continues"
    Date: Sat, 24 Jan 2004 20:45:14 -0700 (MST)
    To: dillon@apollo.backplane.com
    
    

    In message: <200401242031.i0OKVD8A037265@apollo.backplane.com>
                Matthew Dillon <dillon@apollo.backplane.com> writes:
    : No apic timer. No acpi timer. No TSC garbage. none of that.

    We've found at work that while the 8254's timer tends to be the best
    universally available time keeping device, it is only as good as the
    quarts oscillator driving it. Other time keeping can be more precise.
    We've found that systems with APM disabled have a more stable NTP
    server when they are running on CPUs with TSC using the TSC
    timecounter, but about a factor of 5, mostly due to a reduced jitter
    in timestamping the PPS interrupts that we generate. Of course, we
    don't care one whit about SMP support for these systems.

    Maybe there are better ways to obtain these results. While not
    directly releated to the nanosleep work, but just another point of
    view.

    Warner
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Bill Paul: "Project Evil: The Evil Continues"

    Relevant Pages

    • Re: LTTng for 2.6.22.1-rt4 (timestamping)
      ... Every RT-kernel, has support ... hardware clock can provide. ... On X86 it will be TSC based, on ARM it can be based om ... I wonder how much time takes this timer read ...
      (Linux-Kernel)
    • summary (Re: [patch] prefer TSC over PM Timer)
      ... and attempted to summarize the ... if timer_pm is fixed to read the PM timer only once on non-broken systems ... until/unless C3 and deeper resync tsc then it's best not to default to tsc ... can't be shared with scheduler if we add variable scheduler ticks ...
      (Linux-Kernel)
    • [patch 0/9] x86_64: reliable TSC-based gettimeofday
      ... CPU's TSC even on SMP machines with unsynchronised TSCs. ... Inter-CPU monotonicity can not, however, be guaranteed in a vsyscall, so ... a lot faster using the TSC approximation instead of other hardware timers. ... Timer", from which all the time is calculated. ...
      (Linux-Kernel)
    • Re: large, spurious[?] TSC skews on AMD 760MPX boards
      ... > quite right' when running at stock speed. ... That points away from the TSC actually. ... which is managed by the PIT timer in the southbridge. ... it was always the only way to make the problem disappear and I ...
      (Linux-Kernel)
    • Re: large, spurious[?] TSC skews on AMD 760MPX boards
      ... > That points away from the TSC actually. ... the timer problem exists only when boot ... reports the TSC skew. ... several seconds, a few seconds of frames, freeze for several seconds, ...
      (Linux-Kernel)